From 006a8c4c41b829deab6af62eb6b018f5c542ecad Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Fri, 24 May 2024 15:33:01 -0700 Subject: [PATCH] Upgrade terraform-provider-databricks to v1.45.0 (#480) This PR was generated via `$ upgrade-provider pulumi/pulumi-databricks`. --- - Upgrading terraform-provider-databricks from 1.44.0 to 1.45.0. Fixes #478 --- .../bridge-metadata.json | 148 +- .../pulumi-resource-databricks/schema.json | 875 +- provider/go.mod | 22 +- provider/go.sum | 35 +- provider/resources.go | 4 + .../AutomaticClusterUpdateWorkspaceSetting.cs | 101 + sdk/dotnet/Cluster.cs | 15 - ...mplianceSecurityProfileWorkspaceSetting.cs | 101 + ...ancedSecurityMonitoringWorkspaceSetting.cs | 101 + sdk/dotnet/GetExternalLocation.cs | 81 +- sdk/dotnet/GetStorageCredential.cs | 77 +- ...tingAutomaticClusterUpdateWorkspaceArgs.cs | 35 + ...terUpdateWorkspaceEnablementDetailsArgs.cs | 29 + ...UpdateWorkspaceEnablementDetailsGetArgs.cs | 29 + ...gAutomaticClusterUpdateWorkspaceGetArgs.cs | 35 + ...terUpdateWorkspaceMaintenanceWindowArgs.cs | 23 + ...UpdateWorkspaceMaintenanceWindowGetArgs.cs | 23 + ...intenanceWindowWeekDayBasedScheduleArgs.cs | 29 + ...enanceWindowWeekDayBasedScheduleGetArgs.cs | 29 + ...WeekDayBasedScheduleWindowStartTimeArgs.cs | 26 + ...kDayBasedScheduleWindowStartTimeGetArgs.cs | 26 + ...gComplianceSecurityProfileWorkspaceArgs.cs | 31 + ...mplianceSecurityProfileWorkspaceGetArgs.cs | 31 + ...EnhancedSecurityMonitoringWorkspaceArgs.cs | 23 + ...ancedSecurityMonitoringWorkspaceGetArgs.cs | 23 + ...GetExternalLocationExternalLocationInfo.cs | 20 +- ...xternalLocationExternalLocationInfoArgs.cs | 20 +- ...tStorageCredentialStorageCredentialInfo.cs | 27 + ...rageCredentialStorageCredentialInfoArgs.cs | 27 + .../Inputs/JobJobClusterNewClusterArgs.cs | 3 - .../JobJobClusterNewClusterCloneFromArgs.cs | 23 - ...JobJobClusterNewClusterCloneFromGetArgs.cs | 23 - .../Inputs/JobJobClusterNewClusterGetArgs.cs | 3 - sdk/dotnet/Inputs/JobNewClusterArgs.cs | 3 - sdk/dotnet/Inputs/JobNewClusterGetArgs.cs | 3 - .../JobTaskForEachTaskTaskNewClusterArgs.cs | 3 - ...kForEachTaskTaskNewClusterCloneFromArgs.cs | 23 - ...rEachTaskTaskNewClusterCloneFromGetArgs.cs | 23 - ...JobTaskForEachTaskTaskNewClusterGetArgs.cs | 3 - sdk/dotnet/Inputs/JobTaskNewClusterArgs.cs | 3 - .../Inputs/JobTaskNewClusterCloneFromArgs.cs | 23 - .../JobTaskNewClusterCloneFromGetArgs.cs | 23 - sdk/dotnet/Inputs/JobTaskNewClusterGetArgs.cs | 3 - ...rvedEntityExternalModelOpenaiConfigArgs.cs | 13 +- ...dEntityExternalModelOpenaiConfigGetArgs.cs | 13 +- .../Inputs/QualityMonitorCustomMetricArgs.cs | 56 + .../QualityMonitorCustomMetricGetArgs.cs | 56 + ...ityMonitorDataClassificationConfigArgs.cs} | 10 +- ...MonitorDataClassificationConfigGetArgs.cs} | 10 +- .../Inputs/QualityMonitorInferenceLogArgs.cs | 68 + .../QualityMonitorInferenceLogGetArgs.cs | 68 + .../Inputs/QualityMonitorNotificationsArgs.cs | 32 + .../QualityMonitorNotificationsGetArgs.cs | 32 + ...ualityMonitorNotificationsOnFailureArgs.cs | 28 + ...ityMonitorNotificationsOnFailureGetArgs.cs | 28 + ...tionsOnNewClassificationTagDetectedArgs.cs | 28 + ...nsOnNewClassificationTagDetectedGetArgs.cs | 28 + .../Inputs/QualityMonitorScheduleArgs.cs | 38 + .../Inputs/QualityMonitorScheduleGetArgs.cs | 38 + ...mArgs.cs => QualityMonitorSnapshotArgs.cs} | 9 +- ...gs.cs => QualityMonitorSnapshotGetArgs.cs} | 9 +- .../Inputs/QualityMonitorTimeSeriesArgs.cs | 38 + .../Inputs/QualityMonitorTimeSeriesGetArgs.cs | 38 + ...VectorSearchIndexDeltaSyncIndexSpecArgs.cs | 3 + ...torSearchIndexDeltaSyncIndexSpecGetArgs.cs | 3 + sdk/dotnet/LakehouseMonitor.cs | 2 + sdk/dotnet/ModelServing.cs | 18 + ...eSettingAutomaticClusterUpdateWorkspace.cs | 41 + ...ClusterUpdateWorkspaceEnablementDetails.cs | 33 + ...ClusterUpdateWorkspaceMaintenanceWindow.cs | 24 + ...ceMaintenanceWindowWeekDayBasedSchedule.cs | 33 + ...ndowWeekDayBasedScheduleWindowStartTime.cs | 29 + ...ttingComplianceSecurityProfileWorkspace.cs | 29 + ...ingEnhancedSecurityMonitoringWorkspace.cs} | 8 +- ...ernalLocationExternalLocationInfoResult.cs | 20 +- ...geCredentialStorageCredentialInfoResult.cs | 27 + sdk/dotnet/Outputs/JobJobClusterNewCluster.cs | 4 - sdk/dotnet/Outputs/JobNewCluster.cs | 4 - .../JobTaskForEachTaskTaskNewCluster.cs | 4 - sdk/dotnet/Outputs/JobTaskNewCluster.cs | 4 - .../Outputs/JobTaskNewClusterCloneFrom.cs | 24 - ...igServedEntityExternalModelOpenaiConfig.cs | 16 +- .../Outputs/QualityMonitorCustomMetric.cs | 56 + ...QualityMonitorDataClassificationConfig.cs} | 8 +- .../Outputs/QualityMonitorInferenceLog.cs | 70 + .../Outputs/QualityMonitorNotifications.cs | 35 + ...> QualityMonitorNotificationsOnFailure.cs} | 8 +- ...ficationsOnNewClassificationTagDetected.cs | 24 + sdk/dotnet/Outputs/QualityMonitorSchedule.cs | 42 + ...CloneFrom.cs => QualityMonitorSnapshot.cs} | 7 +- .../Outputs/QualityMonitorTimeSeries.cs | 35 + .../VectorSearchIndexDeltaSyncIndexSpec.cs | 4 + sdk/dotnet/QualityMonitor.cs | 485 + .../automaticClusterUpdateWorkspaceSetting.go | 232 + sdk/go/databricks/cluster.go | 22 +- ...mplianceSecurityProfileWorkspaceSetting.go | 232 + ...ancedSecurityMonitoringWorkspaceSetting.go | 232 + sdk/go/databricks/getExternalLocation.go | 50 +- sdk/go/databricks/getStorageCredential.go | 54 +- sdk/go/databricks/init.go | 28 + sdk/go/databricks/lakehouseMonitor.go | 2 + sdk/go/databricks/modelServing.go | 15 + sdk/go/databricks/pulumiTypes.go | 30331 ++++++++-------- sdk/go/databricks/pulumiTypes1.go | 2279 +- sdk/go/databricks/qualityMonitor.go | 570 + ...utomaticClusterUpdateWorkspaceSetting.java | 86 + ...aticClusterUpdateWorkspaceSettingArgs.java | 102 + .../java/com/pulumi/databricks/Cluster.java | 13 - .../com/pulumi/databricks/ClusterArgs.java | 18 - ...lianceSecurityProfileWorkspaceSetting.java | 86 + ...ceSecurityProfileWorkspaceSettingArgs.java | 102 + .../databricks/DatabricksFunctions.java | 328 + ...cedSecurityMonitoringWorkspaceSetting.java | 86 + ...ecurityMonitoringWorkspaceSettingArgs.java | 102 + .../pulumi/databricks/LakehouseMonitor.java | 2 + .../com/pulumi/databricks/ModelServing.java | 15 + .../pulumi/databricks/ModelServingArgs.java | 38 + .../com/pulumi/databricks/QualityMonitor.java | 531 + .../pulumi/databricks/QualityMonitorArgs.java | 624 + ...ngAutomaticClusterUpdateWorkspaceArgs.java | 133 + ...rUpdateWorkspaceEnablementDetailsArgs.java | 97 + ...rUpdateWorkspaceMaintenanceWindowArgs.java | 63 + ...tenanceWindowWeekDayBasedScheduleArgs.java | 98 + ...ekDayBasedScheduleWindowStartTimeArgs.java | 80 + ...ticClusterUpdateWorkspaceSettingState.java | 98 + .../inputs/ClusterCloneFromArgs.java | 65 - .../databricks/inputs/ClusterState.java | 35 - ...omplianceSecurityProfileWorkspaceArgs.java | 86 + ...eSecurityProfileWorkspaceSettingState.java | 98 + ...hancedSecurityMonitoringWorkspaceArgs.java | 63 + ...curityMonitoringWorkspaceSettingState.java | 98 + .../inputs/GetExternalLocationArgs.java | 65 +- ...tExternalLocationExternalLocationInfo.java | 90 +- ...ernalLocationExternalLocationInfoArgs.java | 128 +- .../inputs/GetExternalLocationPlainArgs.java | 47 +- .../inputs/GetStorageCredentialArgs.java | 57 + .../inputs/GetStorageCredentialPlainArgs.java | 41 + ...torageCredentialStorageCredentialInfo.java | 126 + ...geCredentialStorageCredentialInfoArgs.java | 180 + .../inputs/JobJobClusterNewClusterArgs.java | 18 - .../JobJobClusterNewClusterCloneFromArgs.java | 65 - .../databricks/inputs/JobNewClusterArgs.java | 18 - .../inputs/JobNewClusterCloneFromArgs.java | 65 - .../JobTaskForEachTaskTaskNewClusterArgs.java | 18 - ...orEachTaskTaskNewClusterCloneFromArgs.java | 65 - .../inputs/JobTaskNewClusterArgs.java | 18 - .../JobTaskNewClusterCloneFromArgs.java | 65 - ...edEntityExternalModelOpenaiConfigArgs.java | 65 +- .../databricks/inputs/ModelServingState.java | 38 + .../QualityMonitorCustomMetricArgs.java | 256 + ...tyMonitorDataClassificationConfigArgs.java | 63 + .../QualityMonitorInferenceLogArgs.java | 332 + .../QualityMonitorNotificationsArgs.java | 121 + ...lityMonitorNotificationsOnFailureArgs.java | 68 + ...onsOnNewClassificationTagDetectedArgs.java | 68 + .../inputs/QualityMonitorScheduleArgs.java | 164 + .../inputs/QualityMonitorSnapshotArgs.java | 28 + .../inputs/QualityMonitorState.java | 799 + .../inputs/QualityMonitorTimeSeriesArgs.java | 136 + ...ctorSearchIndexDeltaSyncIndexSpecArgs.java | 17 + ...ettingAutomaticClusterUpdateWorkspace.java | 103 + ...usterUpdateWorkspaceEnablementDetails.java | 75 + ...usterUpdateWorkspaceMaintenanceWindow.java | 49 + ...MaintenanceWindowWeekDayBasedSchedule.java | 76 + ...owWeekDayBasedScheduleWindowStartTime.java | 62 + .../databricks/outputs/ClusterCloneFrom.java | 50 - ...ingComplianceSecurityProfileWorkspace.java | 67 + ...ngEnhancedSecurityMonitoringWorkspace.java | 49 + ...tExternalLocationExternalLocationInfo.java | 52 +- .../outputs/GetExternalLocationResult.java | 12 +- .../outputs/GetStorageCredentialResult.java | 12 +- ...torageCredentialStorageCredentialInfo.java | 72 + .../outputs/JobJobClusterNewCluster.java | 14 - .../JobJobClusterNewClusterCloneFrom.java | 50 - .../databricks/outputs/JobNewCluster.java | 14 - .../outputs/JobNewClusterCloneFrom.java | 50 - .../JobTaskForEachTaskTaskNewCluster.java | 14 - ...askForEachTaskTaskNewClusterCloneFrom.java | 50 - .../databricks/outputs/JobTaskNewCluster.java | 14 - .../outputs/JobTaskNewClusterCloneFrom.java | 50 - ...ServedEntityExternalModelOpenaiConfig.java | 54 +- .../outputs/QualityMonitorCustomMetric.java | 154 + ...ualityMonitorDataClassificationConfig.java | 49 + .../outputs/QualityMonitorInferenceLog.java | 198 + .../outputs/QualityMonitorNotifications.java | 79 + .../QualityMonitorNotificationsOnFailure.java | 52 + ...cationsOnNewClassificationTagDetected.java | 52 + .../outputs/QualityMonitorSchedule.java | 104 + .../outputs/QualityMonitorSnapshot.java | 32 + .../outputs/QualityMonitorTimeSeries.java | 85 + .../VectorSearchIndexDeltaSyncIndexSpec.java | 13 + .../automaticClusterUpdateWorkspaceSetting.ts | 87 + sdk/nodejs/cluster.ts | 9 - ...mplianceSecurityProfileWorkspaceSetting.ts | 87 + ...ancedSecurityMonitoringWorkspaceSetting.ts | 87 + sdk/nodejs/getExternalLocation.ts | 58 +- sdk/nodejs/getStorageCredential.ts | 54 +- sdk/nodejs/index.ts | 32 + sdk/nodejs/lakehouseMonitor.ts | 2 + sdk/nodejs/modelServing.ts | 14 + sdk/nodejs/qualityMonitor.ts | 377 + sdk/nodejs/tsconfig.json | 4 + sdk/nodejs/types/input.ts | 268 +- sdk/nodejs/types/output.ts | 223 +- sdk/python/pulumi_databricks/__init__.py | 36 + sdk/python/pulumi_databricks/_inputs.py | 899 +- ...omatic_cluster_update_workspace_setting.py | 201 + sdk/python/pulumi_databricks/cluster.py | 54 - ...ance_security_profile_workspace_setting.py | 201 + ...d_security_monitoring_workspace_setting.py | 201 + .../get_external_location.py | 46 +- .../get_storage_credential.py | 46 +- .../pulumi_databricks/lakehouse_monitor.py | 4 + sdk/python/pulumi_databricks/model_serving.py | 47 + sdk/python/pulumi_databricks/outputs.py | 1049 +- .../pulumi_databricks/quality_monitor.py | 1022 + 216 files changed, 34208 insertions(+), 17070 deletions(-) create mode 100644 sdk/dotnet/AutomaticClusterUpdateWorkspaceSetting.cs create mode 100644 sdk/dotnet/ComplianceSecurityProfileWorkspaceSetting.cs create mode 100644 sdk/dotnet/EnhancedSecurityMonitoringWorkspaceSetting.cs create mode 100644 sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs.cs create mode 100644 sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs.cs create mode 100644 sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsGetArgs.cs create mode 100644 sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceGetArgs.cs create mode 100644 sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs.cs create mode 100644 sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowGetArgs.cs create mode 100644 sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs.cs create mode 100644 sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleGetArgs.cs create mode 100644 sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs.cs create mode 100644 sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeGetArgs.cs create mode 100644 sdk/dotnet/Inputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs.cs create mode 100644 sdk/dotnet/Inputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceGetArgs.cs create mode 100644 sdk/dotnet/Inputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs.cs create mode 100644 sdk/dotnet/Inputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceGetArgs.cs delete mode 100644 sdk/dotnet/Inputs/JobJobClusterNewClusterCloneFromArgs.cs delete mode 100644 sdk/dotnet/Inputs/JobJobClusterNewClusterCloneFromGetArgs.cs delete mode 100644 sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterCloneFromArgs.cs delete mode 100644 sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterCloneFromGetArgs.cs delete mode 100644 sdk/dotnet/Inputs/JobTaskNewClusterCloneFromArgs.cs delete mode 100644 sdk/dotnet/Inputs/JobTaskNewClusterCloneFromGetArgs.cs create mode 100644 sdk/dotnet/Inputs/QualityMonitorCustomMetricArgs.cs create mode 100644 sdk/dotnet/Inputs/QualityMonitorCustomMetricGetArgs.cs rename sdk/dotnet/Inputs/{ClusterCloneFromArgs.cs => QualityMonitorDataClassificationConfigArgs.cs} (51%) rename sdk/dotnet/Inputs/{ClusterCloneFromGetArgs.cs => QualityMonitorDataClassificationConfigGetArgs.cs} (50%) create mode 100644 sdk/dotnet/Inputs/QualityMonitorInferenceLogArgs.cs create mode 100644 sdk/dotnet/Inputs/QualityMonitorInferenceLogGetArgs.cs create mode 100644 sdk/dotnet/Inputs/QualityMonitorNotificationsArgs.cs create mode 100644 sdk/dotnet/Inputs/QualityMonitorNotificationsGetArgs.cs create mode 100644 sdk/dotnet/Inputs/QualityMonitorNotificationsOnFailureArgs.cs create mode 100644 sdk/dotnet/Inputs/QualityMonitorNotificationsOnFailureGetArgs.cs create mode 100644 sdk/dotnet/Inputs/QualityMonitorNotificationsOnNewClassificationTagDetectedArgs.cs create mode 100644 sdk/dotnet/Inputs/QualityMonitorNotificationsOnNewClassificationTagDetectedGetArgs.cs create mode 100644 sdk/dotnet/Inputs/QualityMonitorScheduleArgs.cs create mode 100644 sdk/dotnet/Inputs/QualityMonitorScheduleGetArgs.cs rename sdk/dotnet/Inputs/{JobNewClusterCloneFromArgs.cs => QualityMonitorSnapshotArgs.cs} (55%) rename sdk/dotnet/Inputs/{JobNewClusterCloneFromGetArgs.cs => QualityMonitorSnapshotGetArgs.cs} (55%) create mode 100644 sdk/dotnet/Inputs/QualityMonitorTimeSeriesArgs.cs create mode 100644 sdk/dotnet/Inputs/QualityMonitorTimeSeriesGetArgs.cs create mode 100644 sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace.cs create mode 100644 sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails.cs create mode 100644 sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow.cs create mode 100644 sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule.cs create mode 100644 sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime.cs create mode 100644 sdk/dotnet/Outputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace.cs rename sdk/dotnet/Outputs/{JobJobClusterNewClusterCloneFrom.cs => EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace.cs} (60%) delete mode 100644 sdk/dotnet/Outputs/JobTaskNewClusterCloneFrom.cs create mode 100644 sdk/dotnet/Outputs/QualityMonitorCustomMetric.cs rename sdk/dotnet/Outputs/{JobNewClusterCloneFrom.cs => QualityMonitorDataClassificationConfig.cs} (67%) create mode 100644 sdk/dotnet/Outputs/QualityMonitorInferenceLog.cs create mode 100644 sdk/dotnet/Outputs/QualityMonitorNotifications.cs rename sdk/dotnet/Outputs/{JobTaskForEachTaskTaskNewClusterCloneFrom.cs => QualityMonitorNotificationsOnFailure.cs} (62%) create mode 100644 sdk/dotnet/Outputs/QualityMonitorNotificationsOnNewClassificationTagDetected.cs create mode 100644 sdk/dotnet/Outputs/QualityMonitorSchedule.cs rename sdk/dotnet/Outputs/{ClusterCloneFrom.cs => QualityMonitorSnapshot.cs} (69%) create mode 100644 sdk/dotnet/Outputs/QualityMonitorTimeSeries.cs create mode 100644 sdk/dotnet/QualityMonitor.cs create mode 100644 sdk/go/databricks/automaticClusterUpdateWorkspaceSetting.go create mode 100644 sdk/go/databricks/complianceSecurityProfileWorkspaceSetting.go create mode 100644 sdk/go/databricks/enhancedSecurityMonitoringWorkspaceSetting.go create mode 100644 sdk/go/databricks/qualityMonitor.go create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/AutomaticClusterUpdateWorkspaceSetting.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/AutomaticClusterUpdateWorkspaceSettingArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/ComplianceSecurityProfileWorkspaceSetting.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/ComplianceSecurityProfileWorkspaceSettingArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/EnhancedSecurityMonitoringWorkspaceSetting.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/EnhancedSecurityMonitoringWorkspaceSettingArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/QualityMonitor.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/QualityMonitorArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingState.java delete mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterCloneFromArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/ComplianceSecurityProfileWorkspaceSettingState.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/EnhancedSecurityMonitoringWorkspaceSettingState.java delete mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/JobJobClusterNewClusterCloneFromArgs.java delete mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/JobNewClusterCloneFromArgs.java delete mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskNewClusterCloneFromArgs.java delete mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskNewClusterCloneFromArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorCustomMetricArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorDataClassificationConfigArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorInferenceLogArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorNotificationsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorNotificationsOnFailureArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorNotificationsOnNewClassificationTagDetectedArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorScheduleArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorSnapshotArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorState.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorTimeSeriesArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime.java delete mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/ClusterCloneFrom.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace.java delete mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/JobJobClusterNewClusterCloneFrom.java delete mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/JobNewClusterCloneFrom.java delete mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskNewClusterCloneFrom.java delete mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskNewClusterCloneFrom.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorCustomMetric.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorDataClassificationConfig.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorInferenceLog.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorNotifications.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorNotificationsOnFailure.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorNotificationsOnNewClassificationTagDetected.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorSchedule.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorSnapshot.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorTimeSeries.java create mode 100644 sdk/nodejs/automaticClusterUpdateWorkspaceSetting.ts create mode 100644 sdk/nodejs/complianceSecurityProfileWorkspaceSetting.ts create mode 100644 sdk/nodejs/enhancedSecurityMonitoringWorkspaceSetting.ts create mode 100644 sdk/nodejs/qualityMonitor.ts create mode 100644 sdk/python/pulumi_databricks/automatic_cluster_update_workspace_setting.py create mode 100644 sdk/python/pulumi_databricks/compliance_security_profile_workspace_setting.py create mode 100644 sdk/python/pulumi_databricks/enhanced_security_monitoring_workspace_setting.py create mode 100644 sdk/python/pulumi_databricks/quality_monitor.py diff --git a/provider/cmd/pulumi-resource-databricks/bridge-metadata.json b/provider/cmd/pulumi-resource-databricks/bridge-metadata.json index 85ae9529..498aa7b5 100644 --- a/provider/cmd/pulumi-resource-databricks/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-databricks/bridge-metadata.json @@ -26,6 +26,39 @@ } } }, + "databricks_automatic_cluster_update_workspace_setting": { + "current": "databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting", + "majorVersion": 1, + "fields": { + "automatic_cluster_update_workspace": { + "maxItemsOne": true, + "elem": { + "fields": { + "enablement_details": { + "maxItemsOne": true + }, + "maintenance_window": { + "maxItemsOne": true, + "elem": { + "fields": { + "week_day_based_schedule": { + "maxItemsOne": true, + "elem": { + "fields": { + "window_start_time": { + "maxItemsOne": true + } + } + } + } + } + } + } + } + } + } + } + }, "databricks_catalog": { "current": "databricks:index/catalog:Catalog", "majorVersion": 1 @@ -54,9 +87,6 @@ } } }, - "clone_from": { - "maxItemsOne": true - }, "cluster_log_conf": { "maxItemsOne": true, "elem": { @@ -188,6 +218,22 @@ } } }, + "databricks_compliance_security_profile_workspace_setting": { + "current": "databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting", + "majorVersion": 1, + "fields": { + "compliance_security_profile_workspace": { + "maxItemsOne": true, + "elem": { + "fields": { + "compliance_standards": { + "maxItemsOne": false + } + } + } + } + } + }, "databricks_connection": { "current": "databricks:index/connection:Connection", "majorVersion": 1 @@ -209,6 +255,15 @@ "current": "databricks:index/directory:Directory", "majorVersion": 1 }, + "databricks_enhanced_security_monitoring_workspace_setting": { + "current": "databricks:index/enhancedSecurityMonitoringWorkspaceSetting:EnhancedSecurityMonitoringWorkspaceSetting", + "majorVersion": 1, + "fields": { + "enhanced_security_monitoring_workspace": { + "maxItemsOne": true + } + } + }, "databricks_entitlements": { "current": "databricks:index/entitlements:Entitlements", "majorVersion": 1 @@ -452,9 +507,6 @@ } } }, - "clone_from": { - "maxItemsOne": true - }, "cluster_log_conf": { "maxItemsOne": true, "elem": { @@ -604,9 +656,6 @@ } } }, - "clone_from": { - "maxItemsOne": true - }, "cluster_log_conf": { "maxItemsOne": true, "elem": { @@ -909,9 +958,6 @@ } } }, - "clone_from": { - "maxItemsOne": true - }, "cluster_log_conf": { "maxItemsOne": true, "elem": { @@ -1197,9 +1243,6 @@ } } }, - "clone_from": { - "maxItemsOne": true - }, "cluster_log_conf": { "maxItemsOne": true, "elem": { @@ -2117,6 +2160,81 @@ "current": "databricks:index/metastoreProvider:MetastoreProvider", "majorVersion": 1 }, + "databricks_quality_monitor": { + "current": "databricks:index/qualityMonitor:QualityMonitor", + "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 + } + } + } + }, + "on_new_classification_tag_detected": { + "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_recipient": { "current": "databricks:index/recipient:Recipient", "majorVersion": 1, diff --git a/provider/cmd/pulumi-resource-databricks/schema.json b/provider/cmd/pulumi-resource-databricks/schema.json index 15a0ad1a..7d852c80 100644 --- a/provider/cmd/pulumi-resource-databricks/schema.json +++ b/provider/cmd/pulumi-resource-databricks/schema.json @@ -189,6 +189,80 @@ "matchType" ] }, + "databricks:index/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace:AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace": { + "properties": { + "canToggle": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "enablementDetails": { + "$ref": "#/types/databricks:index/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails:AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails" + }, + "maintenanceWindow": { + "$ref": "#/types/databricks:index/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow:AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow" + }, + "restartEvenIfNoUpdatesAvailable": { + "type": "boolean" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "enablementDetails" + ] + } + } + }, + "databricks:index/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails:AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails": { + "properties": { + "forcedForComplianceMode": { + "type": "boolean" + }, + "unavailableForDisabledEntitlement": { + "type": "boolean" + }, + "unavailableForNonEnterpriseTier": { + "type": "boolean" + } + }, + "type": "object" + }, + "databricks:index/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow:AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow": { + "properties": { + "weekDayBasedSchedule": { + "$ref": "#/types/databricks:index/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule:AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule" + } + }, + "type": "object" + }, + "databricks:index/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule:AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule": { + "properties": { + "dayOfWeek": { + "type": "string" + }, + "frequency": { + "type": "string" + }, + "windowStartTime": { + "$ref": "#/types/databricks:index/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime:AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime" + } + }, + "type": "object" + }, + "databricks:index/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime:AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime": { + "properties": { + "hours": { + "type": "integer" + }, + "minutes": { + "type": "integer" + } + }, + "type": "object" + }, "databricks:index/ClusterAutoscale:ClusterAutoscale": { "properties": { "maxWorkers": { @@ -275,17 +349,6 @@ }, "type": "object" }, - "databricks:index/ClusterCloneFrom:ClusterCloneFrom": { - "properties": { - "sourceClusterId": { - "type": "string" - } - }, - "type": "object", - "required": [ - "sourceClusterId" - ] - }, "databricks:index/ClusterClusterLogConf:ClusterClusterLogConf": { "properties": { "dbfs": { @@ -729,6 +792,20 @@ }, "type": "object" }, + "databricks:index/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace:ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace": { + "properties": { + "complianceStandards": { + "type": "array", + "items": { + "type": "string" + } + }, + "isEnabled": { + "type": "boolean" + } + }, + "type": "object" + }, "databricks:index/DefaultNamespaceSettingNamespace:DefaultNamespaceSettingNamespace": { "properties": { "value": { @@ -738,6 +815,14 @@ }, "type": "object" }, + "databricks:index/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace:EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace": { + "properties": { + "isEnabled": { + "type": "boolean" + } + }, + "type": "object" + }, "databricks:index/ExternalLocationEncryptionDetails:ExternalLocationEncryptionDetails": { "properties": { "sseEncryptionDetails": { @@ -1232,9 +1317,6 @@ "azureAttributes": { "$ref": "#/types/databricks:index/JobJobClusterNewClusterAzureAttributes:JobJobClusterNewClusterAzureAttributes" }, - "cloneFrom": { - "$ref": "#/types/databricks:index/JobJobClusterNewClusterCloneFrom:JobJobClusterNewClusterCloneFrom" - }, "clusterId": { "type": "string" }, @@ -1428,17 +1510,6 @@ }, "type": "object" }, - "databricks:index/JobJobClusterNewClusterCloneFrom:JobJobClusterNewClusterCloneFrom": { - "properties": { - "sourceClusterId": { - "type": "string" - } - }, - "type": "object", - "required": [ - "sourceClusterId" - ] - }, "databricks:index/JobJobClusterNewClusterClusterLogConf:JobJobClusterNewClusterClusterLogConf": { "properties": { "dbfs": { @@ -1885,9 +1956,6 @@ "azureAttributes": { "$ref": "#/types/databricks:index/JobNewClusterAzureAttributes:JobNewClusterAzureAttributes" }, - "cloneFrom": { - "$ref": "#/types/databricks:index/JobNewClusterCloneFrom:JobNewClusterCloneFrom" - }, "clusterId": { "type": "string" }, @@ -2081,17 +2149,6 @@ }, "type": "object" }, - "databricks:index/JobNewClusterCloneFrom:JobNewClusterCloneFrom": { - "properties": { - "sourceClusterId": { - "type": "string" - } - }, - "type": "object", - "required": [ - "sourceClusterId" - ] - }, "databricks:index/JobNewClusterClusterLogConf:JobNewClusterClusterLogConf": { "properties": { "dbfs": { @@ -3275,9 +3332,6 @@ "azureAttributes": { "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskNewClusterAzureAttributes:JobTaskForEachTaskTaskNewClusterAzureAttributes" }, - "cloneFrom": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskNewClusterCloneFrom:JobTaskForEachTaskTaskNewClusterCloneFrom" - }, "clusterId": { "type": "string" }, @@ -3471,17 +3525,6 @@ }, "type": "object" }, - "databricks:index/JobTaskForEachTaskTaskNewClusterCloneFrom:JobTaskForEachTaskTaskNewClusterCloneFrom": { - "properties": { - "sourceClusterId": { - "type": "string" - } - }, - "type": "object", - "required": [ - "sourceClusterId" - ] - }, "databricks:index/JobTaskForEachTaskTaskNewClusterClusterLogConf:JobTaskForEachTaskTaskNewClusterClusterLogConf": { "properties": { "dbfs": { @@ -4386,9 +4429,6 @@ "azureAttributes": { "$ref": "#/types/databricks:index/JobTaskNewClusterAzureAttributes:JobTaskNewClusterAzureAttributes" }, - "cloneFrom": { - "$ref": "#/types/databricks:index/JobTaskNewClusterCloneFrom:JobTaskNewClusterCloneFrom" - }, "clusterId": { "type": "string" }, @@ -4582,17 +4622,6 @@ }, "type": "object" }, - "databricks:index/JobTaskNewClusterCloneFrom:JobTaskNewClusterCloneFrom": { - "properties": { - "sourceClusterId": { - "type": "string" - } - }, - "type": "object", - "required": [ - "sourceClusterId" - ] - }, "databricks:index/JobTaskNewClusterClusterLogConf:JobTaskNewClusterClusterLogConf": { "properties": { "dbfs": { @@ -6170,6 +6199,15 @@ }, "databricks:index/ModelServingConfigServedEntityExternalModelOpenaiConfig:ModelServingConfigServedEntityExternalModelOpenaiConfig": { "properties": { + "microsoftEntraClientId": { + "type": "string" + }, + "microsoftEntraClientSecret": { + "type": "string" + }, + "microsoftEntraTenantId": { + "type": "string" + }, "openaiApiBase": { "type": "string" }, @@ -6189,10 +6227,7 @@ "type": "string" } }, - "type": "object", - "required": [ - "openaiApiKey" - ] + "type": "object" }, "databricks:index/ModelServingConfigServedEntityExternalModelPalmConfig:ModelServingConfigServedEntityExternalModelPalmConfig": { "properties": { @@ -7534,6 +7569,171 @@ "emailRecipients" ] }, + "databricks:index/QualityMonitorCustomMetric:QualityMonitorCustomMetric": { + "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", + "required": [ + "definition", + "inputColumns", + "name", + "outputDataType", + "type" + ] + }, + "databricks:index/QualityMonitorDataClassificationConfig:QualityMonitorDataClassificationConfig": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "databricks:index/QualityMonitorInferenceLog:QualityMonitorInferenceLog": { + "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", + "required": [ + "granularities", + "modelIdCol", + "predictionCol", + "problemType", + "timestampCol" + ] + }, + "databricks:index/QualityMonitorNotifications:QualityMonitorNotifications": { + "properties": { + "onFailure": { + "$ref": "#/types/databricks:index/QualityMonitorNotificationsOnFailure:QualityMonitorNotificationsOnFailure", + "description": "who to send notifications to on monitor failure.\n" + }, + "onNewClassificationTagDetected": { + "$ref": "#/types/databricks:index/QualityMonitorNotificationsOnNewClassificationTagDetected:QualityMonitorNotificationsOnNewClassificationTagDetected", + "description": "Who to send notifications to when new data classification tags are detected.\n" + } + }, + "type": "object" + }, + "databricks:index/QualityMonitorNotificationsOnFailure:QualityMonitorNotificationsOnFailure": { + "properties": { + "emailAddresses": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, + "databricks:index/QualityMonitorNotificationsOnNewClassificationTagDetected:QualityMonitorNotificationsOnNewClassificationTagDetected": { + "properties": { + "emailAddresses": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, + "databricks:index/QualityMonitorSchedule:QualityMonitorSchedule": { + "properties": { + "pauseStatus": { + "type": "string", + "description": "optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`).\n" + }, + "quartzCronExpression": { + "type": "string", + "description": "string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples.\n" + }, + "timezoneId": { + "type": "string", + "description": "string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression.\n" + } + }, + "type": "object", + "required": [ + "quartzCronExpression", + "timezoneId" + ] + }, + "databricks:index/QualityMonitorSnapshot:QualityMonitorSnapshot": { + "type": "object" + }, + "databricks:index/QualityMonitorTimeSeries:QualityMonitorTimeSeries": { + "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", + "required": [ + "granularities", + "timestampCol" + ] + }, "databricks:index/RecipientIpAccessList:RecipientIpAccessList": { "properties": { "allowedIpAddresses": { @@ -8255,7 +8455,15 @@ "type": "object", "required": [ "name" - ] + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "name", + "type" + ] + } + } }, "databricks:index/SqlWidgetParameter:SqlWidgetParameter": { "properties": { @@ -8502,6 +8710,10 @@ }, "willReplaceOnChanges": true }, + "embeddingWritebackTable": { + "type": "string", + "willReplaceOnChanges": true + }, "pipelineId": { "type": "string", "description": "ID of the associated Delta Live Table pipeline.\n" @@ -9423,13 +9635,16 @@ "description": "User-supplied comment.\n" }, "createdAt": { - "type": "integer" + "type": "integer", + "description": "Time at which this catalog was created, in epoch milliseconds.\n" }, "createdBy": { - "type": "string" + "type": "string", + "description": "Username of catalog creator.\n" }, "credentialId": { - "type": "string" + "type": "string", + "description": "Unique ID of storage credential.\n" }, "credentialName": { "type": "string", @@ -9440,11 +9655,12 @@ "description": "The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS).\n" }, "metastoreId": { - "type": "string" + "type": "string", + "description": "Unique identifier of the parent Metastore.\n" }, "name": { "type": "string", - "description": "The name of the storage credential\n" + "description": "The name of the external location\n" }, "owner": { "type": "string", @@ -9455,10 +9671,12 @@ "description": "Indicates whether the external location is read-only.\n" }, "updatedAt": { - "type": "integer" + "type": "integer", + "description": "Time at which this catalog was last modified, in epoch milliseconds.\n" }, "updatedBy": { - "type": "string" + "type": "string", + "description": "Username of user who last modified catalog.\n" }, "url": { "type": "string", @@ -14049,13 +14267,16 @@ "databricks:index/getStorageCredentialStorageCredentialInfo:getStorageCredentialStorageCredentialInfo": { "properties": { "awsIamRole": { - "$ref": "#/types/databricks:index/getStorageCredentialStorageCredentialInfoAwsIamRole:getStorageCredentialStorageCredentialInfoAwsIamRole" + "$ref": "#/types/databricks:index/getStorageCredentialStorageCredentialInfoAwsIamRole:getStorageCredentialStorageCredentialInfoAwsIamRole", + "description": "credential details for AWS:\n" }, "azureManagedIdentity": { - "$ref": "#/types/databricks:index/getStorageCredentialStorageCredentialInfoAzureManagedIdentity:getStorageCredentialStorageCredentialInfoAzureManagedIdentity" + "$ref": "#/types/databricks:index/getStorageCredentialStorageCredentialInfoAzureManagedIdentity:getStorageCredentialStorageCredentialInfoAzureManagedIdentity", + "description": "managed identity credential details for Azure\n" }, "azureServicePrincipal": { - "$ref": "#/types/databricks:index/getStorageCredentialStorageCredentialInfoAzureServicePrincipal:getStorageCredentialStorageCredentialInfoAzureServicePrincipal" + "$ref": "#/types/databricks:index/getStorageCredentialStorageCredentialInfoAzureServicePrincipal:getStorageCredentialStorageCredentialInfoAzureServicePrincipal", + "description": "service principal credential details for Azure:\n" }, "cloudflareApiToken": { "$ref": "#/types/databricks:index/getStorageCredentialStorageCredentialInfoCloudflareApiToken:getStorageCredentialStorageCredentialInfoCloudflareApiToken" @@ -14064,16 +14285,20 @@ "type": "string" }, "createdAt": { - "type": "integer" + "type": "integer", + "description": "Time at which this catalog was created, in epoch milliseconds.\n" }, "createdBy": { - "type": "string" + "type": "string", + "description": "Username of catalog creator.\n" }, "databricksGcpServiceAccount": { - "$ref": "#/types/databricks:index/getStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount:getStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount" + "$ref": "#/types/databricks:index/getStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount:getStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount", + "description": "credential details for GCP:\n" }, "id": { - "type": "string" + "type": "string", + "description": "Unique ID of storage credential.\n" }, "metastoreId": { "type": "string", @@ -14092,10 +14317,12 @@ "description": "Indicates whether the storage credential is only usable for read operations.\n" }, "updatedAt": { - "type": "integer" + "type": "integer", + "description": "Time at which this catalog was last modified, in epoch milliseconds.\n" }, "updatedBy": { - "type": "string" + "type": "string", + "description": "Username of user who last modified catalog.\n" }, "usedForManagedStorage": { "type": "boolean" @@ -14901,6 +15128,53 @@ "type": "object" } }, + "databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting": { + "properties": { + "automaticClusterUpdateWorkspace": { + "$ref": "#/types/databricks:index/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace:AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace" + }, + "etag": { + "type": "string" + }, + "settingName": { + "type": "string" + } + }, + "required": [ + "automaticClusterUpdateWorkspace", + "etag", + "settingName" + ], + "inputProperties": { + "automaticClusterUpdateWorkspace": { + "$ref": "#/types/databricks:index/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace:AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace" + }, + "etag": { + "type": "string" + }, + "settingName": { + "type": "string" + } + }, + "requiredInputs": [ + "automaticClusterUpdateWorkspace" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering AutomaticClusterUpdateWorkspaceSetting resources.\n", + "properties": { + "automaticClusterUpdateWorkspace": { + "$ref": "#/types/databricks:index/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace:AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace" + }, + "etag": { + "type": "string" + }, + "settingName": { + "type": "string" + } + }, + "type": "object" + } + }, "databricks:index/catalog:Catalog": { "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 sandbox = new databricks.Catalog(\"sandbox\", {\n name: \"sandbox\",\n comment: \"this catalog is managed by terraform\",\n properties: {\n purpose: \"testing\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsandbox = databricks.Catalog(\"sandbox\",\n name=\"sandbox\",\n comment=\"this catalog is managed by terraform\",\n properties={\n \"purpose\": \"testing\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sandbox = new Databricks.Catalog(\"sandbox\", new()\n {\n Name = \"sandbox\",\n Comment = \"this catalog is managed by terraform\",\n Properties = \n {\n { \"purpose\", \"testing\" },\n },\n });\n\n});\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.NewCatalog(ctx, \"sandbox\", \u0026databricks.CatalogArgs{\n\t\t\tName: pulumi.String(\"sandbox\"),\n\t\t\tComment: pulumi.String(\"this catalog is managed by terraform\"),\n\t\t\tProperties: pulumi.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\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 java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sandbox = new Catalog(\"sandbox\", CatalogArgs.builder()\n .name(\"sandbox\")\n .comment(\"this catalog is managed by terraform\")\n .properties(Map.of(\"purpose\", \"testing\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sandbox:\n type: databricks:Catalog\n properties:\n name: sandbox\n comment: this catalog is managed by terraform\n properties:\n purpose: testing\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* databricks.getTables data to list tables within Unity Catalog.\n* databricks.getSchemas data to list schemas within Unity Catalog.\n* databricks.getCatalogs data to list catalogs within Unity Catalog.\n\n## Import\n\nThis resource can be imported by name:\n\nbash\n\n```sh\n$ pulumi import databricks:index/catalog:Catalog this \u003cname\u003e\n```\n\n", "properties": { @@ -15208,9 +15482,6 @@ "azureAttributes": { "$ref": "#/types/databricks:index/ClusterAzureAttributes:ClusterAzureAttributes" }, - "cloneFrom": { - "$ref": "#/types/databricks:index/ClusterCloneFrom:ClusterCloneFrom" - }, "clusterId": { "type": "string" }, @@ -15227,9 +15498,6 @@ "type": "string", "description": "Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string.\n" }, - "clusterSource": { - "type": "string" - }, "customTags": { "type": "object", "additionalProperties": { @@ -15351,7 +15619,6 @@ }, "required": [ "clusterId", - "clusterSource", "defaultTags", "driverInstancePoolId", "driverNodeTypeId", @@ -15380,9 +15647,6 @@ "azureAttributes": { "$ref": "#/types/databricks:index/ClusterAzureAttributes:ClusterAzureAttributes" }, - "cloneFrom": { - "$ref": "#/types/databricks:index/ClusterCloneFrom:ClusterCloneFrom" - }, "clusterLogConf": { "$ref": "#/types/databricks:index/ClusterClusterLogConf:ClusterClusterLogConf" }, @@ -15525,9 +15789,6 @@ "azureAttributes": { "$ref": "#/types/databricks:index/ClusterAzureAttributes:ClusterAzureAttributes" }, - "cloneFrom": { - "$ref": "#/types/databricks:index/ClusterCloneFrom:ClusterCloneFrom" - }, "clusterId": { "type": "string" }, @@ -15544,9 +15805,6 @@ "type": "string", "description": "Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string.\n" }, - "clusterSource": { - "type": "string" - }, "customTags": { "type": "object", "additionalProperties": { @@ -15789,6 +16047,53 @@ "type": "object" } }, + "databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting": { + "properties": { + "complianceSecurityProfileWorkspace": { + "$ref": "#/types/databricks:index/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace:ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace" + }, + "etag": { + "type": "string" + }, + "settingName": { + "type": "string" + } + }, + "required": [ + "complianceSecurityProfileWorkspace", + "etag", + "settingName" + ], + "inputProperties": { + "complianceSecurityProfileWorkspace": { + "$ref": "#/types/databricks:index/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace:ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace" + }, + "etag": { + "type": "string" + }, + "settingName": { + "type": "string" + } + }, + "requiredInputs": [ + "complianceSecurityProfileWorkspace" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering ComplianceSecurityProfileWorkspaceSetting resources.\n", + "properties": { + "complianceSecurityProfileWorkspace": { + "$ref": "#/types/databricks:index/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace:ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace" + }, + "etag": { + "type": "string" + }, + "settingName": { + "type": "string" + } + }, + "type": "object" + } + }, "databricks:index/connection:Connection": { "description": "\u003e **Note** This resource could be only used with workspace-level provider!\n\nLakehouse Federation is the query federation platform for Databricks. Databricks uses Unity Catalog to manage query federation. To make a dataset available for read-only querying using Lakehouse Federation, you create the following:\n\n- A connection, a securable object in Unity Catalog that specifies a path and credentials for accessing an external database system.\n- A foreign catalog\n\nThis resource manages connections in Unity Catalog\n\n## Example Usage\n\nCreate a connection to a MySQL database\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst mysql = new databricks.Connection(\"mysql\", {\n name: \"mysql_connection\",\n connectionType: \"MYSQL\",\n comment: \"this is a connection to mysql db\",\n options: {\n host: \"test.mysql.database.azure.com\",\n port: \"3306\",\n user: \"user\",\n password: \"password\",\n },\n properties: {\n purpose: \"testing\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nmysql = databricks.Connection(\"mysql\",\n name=\"mysql_connection\",\n connection_type=\"MYSQL\",\n comment=\"this is a connection to mysql db\",\n options={\n \"host\": \"test.mysql.database.azure.com\",\n \"port\": \"3306\",\n \"user\": \"user\",\n \"password\": \"password\",\n },\n properties={\n \"purpose\": \"testing\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mysql = new Databricks.Connection(\"mysql\", new()\n {\n Name = \"mysql_connection\",\n ConnectionType = \"MYSQL\",\n Comment = \"this is a connection to mysql db\",\n Options = \n {\n { \"host\", \"test.mysql.database.azure.com\" },\n { \"port\", \"3306\" },\n { \"user\", \"user\" },\n { \"password\", \"password\" },\n },\n Properties = \n {\n { \"purpose\", \"testing\" },\n },\n });\n\n});\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.NewConnection(ctx, \"mysql\", \u0026databricks.ConnectionArgs{\n\t\t\tName: pulumi.String(\"mysql_connection\"),\n\t\t\tConnectionType: pulumi.String(\"MYSQL\"),\n\t\t\tComment: pulumi.String(\"this is a connection to mysql db\"),\n\t\t\tOptions: pulumi.Map{\n\t\t\t\t\"host\": pulumi.Any(\"test.mysql.database.azure.com\"),\n\t\t\t\t\"port\": pulumi.Any(\"3306\"),\n\t\t\t\t\"user\": pulumi.Any(\"user\"),\n\t\t\t\t\"password\": pulumi.Any(\"password\"),\n\t\t\t},\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\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Connection;\nimport com.pulumi.databricks.ConnectionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mysql = new Connection(\"mysql\", ConnectionArgs.builder()\n .name(\"mysql_connection\")\n .connectionType(\"MYSQL\")\n .comment(\"this is a connection to mysql db\")\n .options(Map.ofEntries(\n Map.entry(\"host\", \"test.mysql.database.azure.com\"),\n Map.entry(\"port\", \"3306\"),\n Map.entry(\"user\", \"user\"),\n Map.entry(\"password\", \"password\")\n ))\n .properties(Map.of(\"purpose\", \"testing\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mysql:\n type: databricks:Connection\n properties:\n name: mysql_connection\n connectionType: MYSQL\n comment: this is a connection to mysql db\n options:\n host: test.mysql.database.azure.com\n port: '3306'\n user: user\n password: password\n properties:\n purpose: testing\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreate a connection to a BigQuery database\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst bigquery = new databricks.Connection(\"bigquery\", {\n name: \"bq_connection\",\n connectionType: \"BIGQUERY\",\n comment: \"this is a connection to BQ\",\n options: {\n GoogleServiceAccountKeyJson: JSON.stringify({\n type: \"service_account\",\n project_id: \"PROJECT_ID\",\n private_key_id: \"KEY_ID\",\n private_key: `-----BEGIN PRIVATE KEY-----\nPRIVATE_KEY\n-----END PRIVATE KEY-----\n`,\n client_email: \"SERVICE_ACCOUNT_EMAIL\",\n client_id: \"CLIENT_ID\",\n auth_uri: \"https://accounts.google.com/o/oauth2/auth\",\n token_uri: \"https://accounts.google.com/o/oauth2/token\",\n auth_provider_x509_cert_url: \"https://www.googleapis.com/oauth2/v1/certs\",\n client_x509_cert_url: \"https://www.googleapis.com/robot/v1/metadata/x509/SERVICE_ACCOUNT_EMAIL\",\n universe_domain: \"googleapis.com\",\n }),\n },\n properties: {\n purpose: \"testing\",\n },\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_databricks as databricks\n\nbigquery = databricks.Connection(\"bigquery\",\n name=\"bq_connection\",\n connection_type=\"BIGQUERY\",\n comment=\"this is a connection to BQ\",\n options={\n \"GoogleServiceAccountKeyJson\": json.dumps({\n \"type\": \"service_account\",\n \"project_id\": \"PROJECT_ID\",\n \"private_key_id\": \"KEY_ID\",\n \"private_key\": \"\"\"-----BEGIN PRIVATE KEY-----\nPRIVATE_KEY\n-----END PRIVATE KEY-----\n\"\"\",\n \"client_email\": \"SERVICE_ACCOUNT_EMAIL\",\n \"client_id\": \"CLIENT_ID\",\n \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n \"token_uri\": \"https://accounts.google.com/o/oauth2/token\",\n \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\n \"client_x509_cert_url\": \"https://www.googleapis.com/robot/v1/metadata/x509/SERVICE_ACCOUNT_EMAIL\",\n \"universe_domain\": \"googleapis.com\",\n }),\n },\n properties={\n \"purpose\": \"testing\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var bigquery = new Databricks.Connection(\"bigquery\", new()\n {\n Name = \"bq_connection\",\n ConnectionType = \"BIGQUERY\",\n Comment = \"this is a connection to BQ\",\n Options = \n {\n { \"GoogleServiceAccountKeyJson\", JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"type\"] = \"service_account\",\n [\"project_id\"] = \"PROJECT_ID\",\n [\"private_key_id\"] = \"KEY_ID\",\n [\"private_key\"] = @\"-----BEGIN PRIVATE KEY-----\nPRIVATE_KEY\n-----END PRIVATE KEY-----\n\",\n [\"client_email\"] = \"SERVICE_ACCOUNT_EMAIL\",\n [\"client_id\"] = \"CLIENT_ID\",\n [\"auth_uri\"] = \"https://accounts.google.com/o/oauth2/auth\",\n [\"token_uri\"] = \"https://accounts.google.com/o/oauth2/token\",\n [\"auth_provider_x509_cert_url\"] = \"https://www.googleapis.com/oauth2/v1/certs\",\n [\"client_x509_cert_url\"] = \"https://www.googleapis.com/robot/v1/metadata/x509/SERVICE_ACCOUNT_EMAIL\",\n [\"universe_domain\"] = \"googleapis.com\",\n }) },\n },\n Properties = \n {\n { \"purpose\", \"testing\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"type\": \"service_account\",\n\t\t\t\"project_id\": \"PROJECT_ID\",\n\t\t\t\"private_key_id\": \"KEY_ID\",\n\t\t\t\"private_key\": \"-----BEGIN PRIVATE KEY-----\\nPRIVATE_KEY\\n-----END PRIVATE KEY-----\\n\",\n\t\t\t\"client_email\": \"SERVICE_ACCOUNT_EMAIL\",\n\t\t\t\"client_id\": \"CLIENT_ID\",\n\t\t\t\"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n\t\t\t\"token_uri\": \"https://accounts.google.com/o/oauth2/token\",\n\t\t\t\"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\n\t\t\t\"client_x509_cert_url\": \"https://www.googleapis.com/robot/v1/metadata/x509/SERVICE_ACCOUNT_EMAIL\",\n\t\t\t\"universe_domain\": \"googleapis.com\",\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\t_, err = databricks.NewConnection(ctx, \"bigquery\", \u0026databricks.ConnectionArgs{\n\t\t\tName: pulumi.String(\"bq_connection\"),\n\t\t\tConnectionType: pulumi.String(\"BIGQUERY\"),\n\t\t\tComment: pulumi.String(\"this is a connection to BQ\"),\n\t\t\tOptions: pulumi.Map{\n\t\t\t\t\"GoogleServiceAccountKeyJson\": pulumi.String(json0),\n\t\t\t},\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\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Connection;\nimport com.pulumi.databricks.ConnectionArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var bigquery = new Connection(\"bigquery\", ConnectionArgs.builder()\n .name(\"bq_connection\")\n .connectionType(\"BIGQUERY\")\n .comment(\"this is a connection to BQ\")\n .options(Map.of(\"GoogleServiceAccountKeyJson\", serializeJson(\n jsonObject(\n jsonProperty(\"type\", \"service_account\"),\n jsonProperty(\"project_id\", \"PROJECT_ID\"),\n jsonProperty(\"private_key_id\", \"KEY_ID\"),\n jsonProperty(\"private_key\", \"\"\"\n-----BEGIN PRIVATE KEY-----\nPRIVATE_KEY\n-----END PRIVATE KEY-----\n \"\"\"),\n jsonProperty(\"client_email\", \"SERVICE_ACCOUNT_EMAIL\"),\n jsonProperty(\"client_id\", \"CLIENT_ID\"),\n jsonProperty(\"auth_uri\", \"https://accounts.google.com/o/oauth2/auth\"),\n jsonProperty(\"token_uri\", \"https://accounts.google.com/o/oauth2/token\"),\n jsonProperty(\"auth_provider_x509_cert_url\", \"https://www.googleapis.com/oauth2/v1/certs\"),\n jsonProperty(\"client_x509_cert_url\", \"https://www.googleapis.com/robot/v1/metadata/x509/SERVICE_ACCOUNT_EMAIL\"),\n jsonProperty(\"universe_domain\", \"googleapis.com\")\n ))))\n .properties(Map.of(\"purpose\", \"testing\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n bigquery:\n type: databricks:Connection\n properties:\n name: bq_connection\n connectionType: BIGQUERY\n comment: this is a connection to BQ\n options:\n GoogleServiceAccountKeyJson:\n fn::toJSON:\n type: service_account\n project_id: PROJECT_ID\n private_key_id: KEY_ID\n private_key: |\n -----BEGIN PRIVATE KEY-----\n PRIVATE_KEY\n -----END PRIVATE KEY-----\n client_email: SERVICE_ACCOUNT_EMAIL\n client_id: CLIENT_ID\n auth_uri: https://accounts.google.com/o/oauth2/auth\n token_uri: https://accounts.google.com/o/oauth2/token\n auth_provider_x509_cert_url: https://www.googleapis.com/oauth2/v1/certs\n client_x509_cert_url: https://www.googleapis.com/robot/v1/metadata/x509/SERVICE_ACCOUNT_EMAIL\n universe_domain: googleapis.com\n properties:\n purpose: testing\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThis resource can be imported by `id`:\n\nbash\n\n```sh\n$ pulumi import databricks:index/connection:Connection this '\u003cmetastore_id\u003e|\u003cname\u003e'\n```\n\n", "properties": { @@ -16135,6 +16440,53 @@ "type": "object" } }, + "databricks:index/enhancedSecurityMonitoringWorkspaceSetting:EnhancedSecurityMonitoringWorkspaceSetting": { + "properties": { + "enhancedSecurityMonitoringWorkspace": { + "$ref": "#/types/databricks:index/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace:EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace" + }, + "etag": { + "type": "string" + }, + "settingName": { + "type": "string" + } + }, + "required": [ + "enhancedSecurityMonitoringWorkspace", + "etag", + "settingName" + ], + "inputProperties": { + "enhancedSecurityMonitoringWorkspace": { + "$ref": "#/types/databricks:index/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace:EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace" + }, + "etag": { + "type": "string" + }, + "settingName": { + "type": "string" + } + }, + "requiredInputs": [ + "enhancedSecurityMonitoringWorkspace" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering EnhancedSecurityMonitoringWorkspaceSetting resources.\n", + "properties": { + "enhancedSecurityMonitoringWorkspace": { + "$ref": "#/types/databricks:index/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace:EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace" + }, + "etag": { + "type": "string" + }, + "settingName": { + "type": "string" + } + }, + "type": "object" + } + }, "databricks:index/entitlements:Entitlements": { "description": "This resource allows you to set entitlements to existing databricks_users, databricks.Group or databricks_service_principal.\n\n\u003e **Note** You must define entitlements of a principal using either `databricks.Entitlements` or directly within one of databricks_users, databricks.Group or databricks_service_principal. Having entitlements defined in both resources will result in non-deterministic behaviour.\n\n## Example Usage\n\nSetting entitlements for a 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 = databricks.getUser({\n userName: \"me@example.com\",\n});\nconst meEntitlements = new databricks.Entitlements(\"me\", {\n userId: me.then(me =\u003e me.id),\n allowClusterCreate: true,\n allowInstancePoolCreate: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nme = databricks.get_user(user_name=\"me@example.com\")\nme_entitlements = databricks.Entitlements(\"me\",\n user_id=me.id,\n allow_cluster_create=True,\n allow_instance_pool_create=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var me = Databricks.GetUser.Invoke(new()\n {\n UserName = \"me@example.com\",\n });\n\n var meEntitlements = new Databricks.Entitlements(\"me\", new()\n {\n UserId = me.Apply(getUserResult =\u003e getUserResult.Id),\n AllowClusterCreate = true,\n AllowInstancePoolCreate = true,\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\tme, err := databricks.LookupUser(ctx, \u0026databricks.LookupUserArgs{\n\t\t\tUserName: pulumi.StringRef(\"me@example.com\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewEntitlements(ctx, \"me\", \u0026databricks.EntitlementsArgs{\n\t\t\tUserId: pulumi.String(me.Id),\n\t\t\tAllowClusterCreate: pulumi.Bool(true),\n\t\t\tAllowInstancePoolCreate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetUserArgs;\nimport com.pulumi.databricks.Entitlements;\nimport com.pulumi.databricks.EntitlementsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var me = DatabricksFunctions.getUser(GetUserArgs.builder()\n .userName(\"me@example.com\")\n .build());\n\n var meEntitlements = new Entitlements(\"meEntitlements\", EntitlementsArgs.builder()\n .userId(me.applyValue(getUserResult -\u003e getUserResult.id()))\n .allowClusterCreate(true)\n .allowInstancePoolCreate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n meEntitlements:\n type: databricks:Entitlements\n name: me\n properties:\n userId: ${me.id}\n allowClusterCreate: true\n allowInstancePoolCreate: true\nvariables:\n me:\n fn::invoke:\n Function: databricks:getUser\n Arguments:\n userName: me@example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nSetting entitlements for a service principal:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst this = databricks.getServicePrincipal({\n applicationId: \"11111111-2222-3333-4444-555666777888\",\n});\nconst thisEntitlements = new databricks.Entitlements(\"this\", {\n servicePrincipalId: _this.then(_this =\u003e _this.spId),\n allowClusterCreate: true,\n allowInstancePoolCreate: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.get_service_principal(application_id=\"11111111-2222-3333-4444-555666777888\")\nthis_entitlements = databricks.Entitlements(\"this\",\n service_principal_id=this.sp_id,\n allow_cluster_create=True,\n allow_instance_pool_create=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = Databricks.GetServicePrincipal.Invoke(new()\n {\n ApplicationId = \"11111111-2222-3333-4444-555666777888\",\n });\n\n var thisEntitlements = new Databricks.Entitlements(\"this\", new()\n {\n ServicePrincipalId = @this.Apply(@this =\u003e @this.Apply(getServicePrincipalResult =\u003e getServicePrincipalResult.SpId)),\n AllowClusterCreate = true,\n AllowInstancePoolCreate = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.LookupServicePrincipal(ctx, \u0026databricks.LookupServicePrincipalArgs{\n\t\t\tApplicationId: pulumi.StringRef(\"11111111-2222-3333-4444-555666777888\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewEntitlements(ctx, \"this\", \u0026databricks.EntitlementsArgs{\n\t\t\tServicePrincipalId: pulumi.String(this.SpId),\n\t\t\tAllowClusterCreate: pulumi.Bool(true),\n\t\t\tAllowInstancePoolCreate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetServicePrincipalArgs;\nimport com.pulumi.databricks.Entitlements;\nimport com.pulumi.databricks.EntitlementsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var this = DatabricksFunctions.getServicePrincipal(GetServicePrincipalArgs.builder()\n .applicationId(\"11111111-2222-3333-4444-555666777888\")\n .build());\n\n var thisEntitlements = new Entitlements(\"thisEntitlements\", EntitlementsArgs.builder()\n .servicePrincipalId(this_.spId())\n .allowClusterCreate(true)\n .allowInstancePoolCreate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n thisEntitlements:\n type: databricks:Entitlements\n name: this\n properties:\n servicePrincipalId: ${this.spId}\n allowClusterCreate: true\n allowInstancePoolCreate: true\nvariables:\n this:\n fn::invoke:\n Function: databricks:getServicePrincipal\n Arguments:\n applicationId: 11111111-2222-3333-4444-555666777888\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nSetting entitlements to all users in a workspace - referencing special `users` databricks.Group\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst users = databricks.getGroup({\n displayName: \"users\",\n});\nconst workspace_users = new databricks.Entitlements(\"workspace-users\", {\n groupId: users.then(users =\u003e users.id),\n allowClusterCreate: true,\n allowInstancePoolCreate: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nusers = databricks.get_group(display_name=\"users\")\nworkspace_users = databricks.Entitlements(\"workspace-users\",\n group_id=users.id,\n allow_cluster_create=True,\n allow_instance_pool_create=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var users = Databricks.GetGroup.Invoke(new()\n {\n DisplayName = \"users\",\n });\n\n var workspace_users = new Databricks.Entitlements(\"workspace-users\", new()\n {\n GroupId = users.Apply(getGroupResult =\u003e getGroupResult.Id),\n AllowClusterCreate = true,\n AllowInstancePoolCreate = true,\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\tusers, err := databricks.LookupGroup(ctx, \u0026databricks.LookupGroupArgs{\n\t\t\tDisplayName: \"users\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewEntitlements(ctx, \"workspace-users\", \u0026databricks.EntitlementsArgs{\n\t\t\tGroupId: pulumi.String(users.Id),\n\t\t\tAllowClusterCreate: pulumi.Bool(true),\n\t\t\tAllowInstancePoolCreate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetGroupArgs;\nimport com.pulumi.databricks.Entitlements;\nimport com.pulumi.databricks.EntitlementsArgs;\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 users = DatabricksFunctions.getGroup(GetGroupArgs.builder()\n .displayName(\"users\")\n .build());\n\n var workspace_users = new Entitlements(\"workspace-users\", EntitlementsArgs.builder()\n .groupId(users.applyValue(getGroupResult -\u003e getGroupResult.id()))\n .allowClusterCreate(true)\n .allowInstancePoolCreate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n workspace-users:\n type: databricks:Entitlements\n properties:\n groupId: ${users.id}\n allowClusterCreate: true\n allowInstancePoolCreate: true\nvariables:\n users:\n fn::invoke:\n Function: databricks:getGroup\n Arguments:\n displayName: users\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 can be imported using a synthetic identifier. Examples of valid synthetic identifiers are:\n\n* `user/user_id` - user `user_id`.\n\n* `group/group_id` - group `group_id`.\n\n* `spn/spn_id` - service principal `spn_id`.\n\nbash\n\n```sh\n$ pulumi import databricks:index/entitlements:Entitlements me user/\u003cuser-id\u003e\n```\n\n", "properties": { @@ -18205,7 +18557,7 @@ } }, "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 .name(\"sandbox\")\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 .name(\"things\")\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 .name(\"bar\")\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 name: sandbox\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 name: things\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 name: bar\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 tableName: `${sandbox.name}.${things.name}.${myTestTable.name}`,\n assetsDir: `/Shared/provider-test/databricks_lakehouse_monitoring/${myTestTable.name}`,\n outputSchemaName: `${sandbox.name}.${things.name}`,\n inferenceLog: {\n granularities: [\"1 hour\"],\n timestampCol: \"timestamp\",\n predictionCol: \"prediction\",\n modelIdCol: \"model_id\",\n problemType: \"PROBLEM_TYPE_REGRESSION\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ntest_monitor_inference = databricks.LakehouseMonitor(\"testMonitorInference\",\n table_name=f\"{sandbox['name']}.{things['name']}.{my_test_table['name']}\",\n assets_dir=f\"/Shared/provider-test/databricks_lakehouse_monitoring/{my_test_table['name']}\",\n output_schema_name=f\"{sandbox['name']}.{things['name']}\",\n inference_log=databricks.LakehouseMonitorInferenceLogArgs(\n granularities=[\"1 hour\"],\n timestamp_col=\"timestamp\",\n prediction_col=\"prediction\",\n model_id_col=\"model_id\",\n problem_type=\"PROBLEM_TYPE_REGRESSION\",\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 testMonitorInference = new Databricks.LakehouseMonitor(\"testMonitorInference\", new()\n {\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 InferenceLog = new Databricks.Inputs.LakehouseMonitorInferenceLogArgs\n {\n Granularities = new[]\n {\n \"1 hour\",\n },\n TimestampCol = \"timestamp\",\n PredictionCol = \"prediction\",\n ModelIdCol = \"model_id\",\n ProblemType = \"PROBLEM_TYPE_REGRESSION\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewLakehouseMonitor(ctx, \"testMonitorInference\", \u0026databricks.LakehouseMonitorArgs{\n\t\t\tTableName: pulumi.String(fmt.Sprintf(\"%v.%v.%v\", sandbox.Name, things.Name, myTestTable.Name)),\n\t\t\tAssetsDir: pulumi.String(fmt.Sprintf(\"/Shared/provider-test/databricks_lakehouse_monitoring/%v\", myTestTable.Name)),\n\t\t\tOutputSchemaName: pulumi.String(fmt.Sprintf(\"%v.%v\", sandbox.Name, things.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\tTimestampCol: pulumi.String(\"timestamp\"),\n\t\t\t\tPredictionCol: pulumi.String(\"prediction\"),\n\t\t\t\tModelIdCol: pulumi.String(\"model_id\"),\n\t\t\t\tProblemType: pulumi.String(\"PROBLEM_TYPE_REGRESSION\"),\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.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 .tableName(String.format(\"%s.%s.%s\", sandbox.name(),things.name(),myTestTable.name()))\n .assetsDir(String.format(\"/Shared/provider-test/databricks_lakehouse_monitoring/%s\", myTestTable.name()))\n .outputSchemaName(String.format(\"%s.%s\", sandbox.name(),things.name()))\n .inferenceLog(LakehouseMonitorInferenceLogArgs.builder()\n .granularities(\"1 hour\")\n .timestampCol(\"timestamp\")\n .predictionCol(\"prediction\")\n .modelIdCol(\"model_id\")\n .problemType(\"PROBLEM_TYPE_REGRESSION\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMonitorInference:\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 inferenceLog:\n granularities:\n - 1 hour\n timestampCol: timestamp\n predictionCol: prediction\n modelIdCol: model_id\n problemType: PROBLEM_TYPE_REGRESSION\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 tableName: `${sandbox.name}.${things.name}.${myTestTable.name}`,\n assetsDir: `/Shared/provider-test/databricks_lakehouse_monitoring/${myTestTable.name}`,\n outputSchemaName: `${sandbox.name}.${things.name}`,\n snapshot: {},\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ntest_monitor_inference = databricks.LakehouseMonitor(\"testMonitorInference\",\n table_name=f\"{sandbox['name']}.{things['name']}.{my_test_table['name']}\",\n assets_dir=f\"/Shared/provider-test/databricks_lakehouse_monitoring/{my_test_table['name']}\",\n output_schema_name=f\"{sandbox['name']}.{things['name']}\",\n snapshot=databricks.LakehouseMonitorSnapshotArgs())\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 TableName = $\"{sandbox.Name}.{things.Name}.{myTestTable.Name}\",\n AssetsDir = $\"/Shared/provider-test/databricks_lakehouse_monitoring/{myTestTable.Name}\",\n OutputSchemaName = $\"{sandbox.Name}.{things.Name}\",\n Snapshot = null,\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\tTableName: pulumi.String(fmt.Sprintf(\"%v.%v.%v\", sandbox.Name, things.Name, myTestTable.Name)),\n\t\t\tAssetsDir: pulumi.String(fmt.Sprintf(\"/Shared/provider-test/databricks_lakehouse_monitoring/%v\", myTestTable.Name)),\n\t\t\tOutputSchemaName: pulumi.String(fmt.Sprintf(\"%v.%v\", sandbox.Name, things.Name)),\n\t\t\tSnapshot: nil,\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 .tableName(String.format(\"%s.%s.%s\", sandbox.name(),things.name(),myTestTable.name()))\n .assetsDir(String.format(\"/Shared/provider-test/databricks_lakehouse_monitoring/%s\", myTestTable.name()))\n .outputSchemaName(String.format(\"%s.%s\", sandbox.name(),things.name()))\n .snapshot()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMonitorInference:\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 snapshot: {}\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", + "description": "NOTE: This resource has been deprecated and will be removed soon. Please use the databricks.QualityMonitor resource instead.\n\nThis 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 .name(\"sandbox\")\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 .name(\"things\")\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 .name(\"bar\")\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 name: sandbox\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 name: things\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 name: bar\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 tableName: `${sandbox.name}.${things.name}.${myTestTable.name}`,\n assetsDir: `/Shared/provider-test/databricks_lakehouse_monitoring/${myTestTable.name}`,\n outputSchemaName: `${sandbox.name}.${things.name}`,\n inferenceLog: {\n granularities: [\"1 hour\"],\n timestampCol: \"timestamp\",\n predictionCol: \"prediction\",\n modelIdCol: \"model_id\",\n problemType: \"PROBLEM_TYPE_REGRESSION\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ntest_monitor_inference = databricks.LakehouseMonitor(\"testMonitorInference\",\n table_name=f\"{sandbox['name']}.{things['name']}.{my_test_table['name']}\",\n assets_dir=f\"/Shared/provider-test/databricks_lakehouse_monitoring/{my_test_table['name']}\",\n output_schema_name=f\"{sandbox['name']}.{things['name']}\",\n inference_log=databricks.LakehouseMonitorInferenceLogArgs(\n granularities=[\"1 hour\"],\n timestamp_col=\"timestamp\",\n prediction_col=\"prediction\",\n model_id_col=\"model_id\",\n problem_type=\"PROBLEM_TYPE_REGRESSION\",\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 testMonitorInference = new Databricks.LakehouseMonitor(\"testMonitorInference\", new()\n {\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 InferenceLog = new Databricks.Inputs.LakehouseMonitorInferenceLogArgs\n {\n Granularities = new[]\n {\n \"1 hour\",\n },\n TimestampCol = \"timestamp\",\n PredictionCol = \"prediction\",\n ModelIdCol = \"model_id\",\n ProblemType = \"PROBLEM_TYPE_REGRESSION\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewLakehouseMonitor(ctx, \"testMonitorInference\", \u0026databricks.LakehouseMonitorArgs{\n\t\t\tTableName: pulumi.String(fmt.Sprintf(\"%v.%v.%v\", sandbox.Name, things.Name, myTestTable.Name)),\n\t\t\tAssetsDir: pulumi.String(fmt.Sprintf(\"/Shared/provider-test/databricks_lakehouse_monitoring/%v\", myTestTable.Name)),\n\t\t\tOutputSchemaName: pulumi.String(fmt.Sprintf(\"%v.%v\", sandbox.Name, things.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\tTimestampCol: pulumi.String(\"timestamp\"),\n\t\t\t\tPredictionCol: pulumi.String(\"prediction\"),\n\t\t\t\tModelIdCol: pulumi.String(\"model_id\"),\n\t\t\t\tProblemType: pulumi.String(\"PROBLEM_TYPE_REGRESSION\"),\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.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 .tableName(String.format(\"%s.%s.%s\", sandbox.name(),things.name(),myTestTable.name()))\n .assetsDir(String.format(\"/Shared/provider-test/databricks_lakehouse_monitoring/%s\", myTestTable.name()))\n .outputSchemaName(String.format(\"%s.%s\", sandbox.name(),things.name()))\n .inferenceLog(LakehouseMonitorInferenceLogArgs.builder()\n .granularities(\"1 hour\")\n .timestampCol(\"timestamp\")\n .predictionCol(\"prediction\")\n .modelIdCol(\"model_id\")\n .problemType(\"PROBLEM_TYPE_REGRESSION\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMonitorInference:\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 inferenceLog:\n granularities:\n - 1 hour\n timestampCol: timestamp\n predictionCol: prediction\n modelIdCol: model_id\n problemType: PROBLEM_TYPE_REGRESSION\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 tableName: `${sandbox.name}.${things.name}.${myTestTable.name}`,\n assetsDir: `/Shared/provider-test/databricks_lakehouse_monitoring/${myTestTable.name}`,\n outputSchemaName: `${sandbox.name}.${things.name}`,\n snapshot: {},\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ntest_monitor_inference = databricks.LakehouseMonitor(\"testMonitorInference\",\n table_name=f\"{sandbox['name']}.{things['name']}.{my_test_table['name']}\",\n assets_dir=f\"/Shared/provider-test/databricks_lakehouse_monitoring/{my_test_table['name']}\",\n output_schema_name=f\"{sandbox['name']}.{things['name']}\",\n snapshot=databricks.LakehouseMonitorSnapshotArgs())\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 TableName = $\"{sandbox.Name}.{things.Name}.{myTestTable.Name}\",\n AssetsDir = $\"/Shared/provider-test/databricks_lakehouse_monitoring/{myTestTable.Name}\",\n OutputSchemaName = $\"{sandbox.Name}.{things.Name}\",\n Snapshot = null,\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\tTableName: pulumi.String(fmt.Sprintf(\"%v.%v.%v\", sandbox.Name, things.Name, myTestTable.Name)),\n\t\t\tAssetsDir: pulumi.String(fmt.Sprintf(\"/Shared/provider-test/databricks_lakehouse_monitoring/%v\", myTestTable.Name)),\n\t\t\tOutputSchemaName: pulumi.String(fmt.Sprintf(\"%v.%v\", sandbox.Name, things.Name)),\n\t\t\tSnapshot: nil,\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 .tableName(String.format(\"%s.%s.%s\", sandbox.name(),things.name(),myTestTable.name()))\n .assetsDir(String.format(\"/Shared/provider-test/databricks_lakehouse_monitoring/%s\", myTestTable.name()))\n .outputSchemaName(String.format(\"%s.%s\", sandbox.name(),things.name()))\n .snapshot()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMonitorInference:\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 snapshot: {}\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", @@ -19360,6 +19712,10 @@ }, "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" }, + "routeOptimized": { + "type": "boolean", + "description": "A boolean enabling route optimization for the endpoint. NOTE: only available for custom models.\n" + }, "servingEndpointId": { "type": "string", "description": "Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations.\n" @@ -19394,6 +19750,10 @@ }, "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" }, + "routeOptimized": { + "type": "boolean", + "description": "A boolean enabling route optimization for the endpoint. NOTE: only available for custom models.\n" + }, "tags": { "type": "array", "items": { @@ -19424,6 +19784,10 @@ }, "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" }, + "routeOptimized": { + "type": "boolean", + "description": "A boolean enabling route optimization for the endpoint. NOTE: only available for custom models.\n" + }, "servingEndpointId": { "type": "string", "description": "Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations.\n" @@ -22117,6 +22481,269 @@ "type": "object" } }, + "databricks:index/qualityMonitor:QualityMonitor": { + "description": "This resource allows you to manage [Lakehouse Monitors](https://docs.databricks.com/en/lakehouse-monitoring/index.html) in Databricks. \n\nA `databricks.QualityMonitor` 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.QualityMonitor;\nimport com.pulumi.databricks.QualityMonitorArgs;\nimport com.pulumi.databricks.inputs.QualityMonitorTimeSeriesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sandbox = new Catalog(\"sandbox\", CatalogArgs.builder()\n .name(\"sandbox\")\n .comment(\"this catalog is managed by terraform\")\n .properties(Map.of(\"purpose\", \"testing\"))\n .build());\n\n var things = new Schema(\"things\", SchemaArgs.builder()\n .catalogName(sandbox.id())\n .name(\"things\")\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 .name(\"bar\")\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 QualityMonitor(\"testTimeseriesMonitor\", QualityMonitorArgs.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_quality_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(QualityMonitorTimeSeriesArgs.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 name: sandbox\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 name: things\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 name: bar\n tableType: MANAGED\n dataSourceFormat: DELTA\n columns:\n - name: timestamp\n position: 1\n type: int\n testTimeseriesMonitor:\n type: databricks:QualityMonitor\n properties:\n tableName: ${sandbox.name}.${things.name}.${myTestTable.name}\n assetsDir: /Shared/provider-test/databricks_quality_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.QualityMonitor(\"testMonitorInference\", {\n tableName: `${sandbox.name}.${things.name}.${myTestTable.name}`,\n assetsDir: `/Shared/provider-test/databricks_quality_monitoring/${myTestTable.name}`,\n outputSchemaName: `${sandbox.name}.${things.name}`,\n inferenceLog: {\n granularities: [\"1 hour\"],\n timestampCol: \"timestamp\",\n predictionCol: \"prediction\",\n modelIdCol: \"model_id\",\n problemType: \"PROBLEM_TYPE_REGRESSION\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ntest_monitor_inference = databricks.QualityMonitor(\"testMonitorInference\",\n table_name=f\"{sandbox['name']}.{things['name']}.{my_test_table['name']}\",\n assets_dir=f\"/Shared/provider-test/databricks_quality_monitoring/{my_test_table['name']}\",\n output_schema_name=f\"{sandbox['name']}.{things['name']}\",\n inference_log=databricks.QualityMonitorInferenceLogArgs(\n granularities=[\"1 hour\"],\n timestamp_col=\"timestamp\",\n prediction_col=\"prediction\",\n model_id_col=\"model_id\",\n problem_type=\"PROBLEM_TYPE_REGRESSION\",\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 testMonitorInference = new Databricks.QualityMonitor(\"testMonitorInference\", new()\n {\n TableName = $\"{sandbox.Name}.{things.Name}.{myTestTable.Name}\",\n AssetsDir = $\"/Shared/provider-test/databricks_quality_monitoring/{myTestTable.Name}\",\n OutputSchemaName = $\"{sandbox.Name}.{things.Name}\",\n InferenceLog = new Databricks.Inputs.QualityMonitorInferenceLogArgs\n {\n Granularities = new[]\n {\n \"1 hour\",\n },\n TimestampCol = \"timestamp\",\n PredictionCol = \"prediction\",\n ModelIdCol = \"model_id\",\n ProblemType = \"PROBLEM_TYPE_REGRESSION\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewQualityMonitor(ctx, \"testMonitorInference\", \u0026databricks.QualityMonitorArgs{\n\t\t\tTableName: pulumi.String(fmt.Sprintf(\"%v.%v.%v\", sandbox.Name, things.Name, myTestTable.Name)),\n\t\t\tAssetsDir: pulumi.String(fmt.Sprintf(\"/Shared/provider-test/databricks_quality_monitoring/%v\", myTestTable.Name)),\n\t\t\tOutputSchemaName: pulumi.String(fmt.Sprintf(\"%v.%v\", sandbox.Name, things.Name)),\n\t\t\tInferenceLog: \u0026databricks.QualityMonitorInferenceLogArgs{\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\tTimestampCol: pulumi.String(\"timestamp\"),\n\t\t\t\tPredictionCol: pulumi.String(\"prediction\"),\n\t\t\t\tModelIdCol: pulumi.String(\"model_id\"),\n\t\t\t\tProblemType: pulumi.String(\"PROBLEM_TYPE_REGRESSION\"),\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.QualityMonitor;\nimport com.pulumi.databricks.QualityMonitorArgs;\nimport com.pulumi.databricks.inputs.QualityMonitorInferenceLogArgs;\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 QualityMonitor(\"testMonitorInference\", QualityMonitorArgs.builder()\n .tableName(String.format(\"%s.%s.%s\", sandbox.name(),things.name(),myTestTable.name()))\n .assetsDir(String.format(\"/Shared/provider-test/databricks_quality_monitoring/%s\", myTestTable.name()))\n .outputSchemaName(String.format(\"%s.%s\", sandbox.name(),things.name()))\n .inferenceLog(QualityMonitorInferenceLogArgs.builder()\n .granularities(\"1 hour\")\n .timestampCol(\"timestamp\")\n .predictionCol(\"prediction\")\n .modelIdCol(\"model_id\")\n .problemType(\"PROBLEM_TYPE_REGRESSION\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMonitorInference:\n type: databricks:QualityMonitor\n properties:\n tableName: ${sandbox.name}.${things.name}.${myTestTable.name}\n assetsDir: /Shared/provider-test/databricks_quality_monitoring/${myTestTable.name}\n outputSchemaName: ${sandbox.name}.${things.name}\n inferenceLog:\n granularities:\n - 1 hour\n timestampCol: timestamp\n predictionCol: prediction\n modelIdCol: model_id\n problemType: PROBLEM_TYPE_REGRESSION\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.QualityMonitor(\"testMonitorInference\", {\n tableName: `${sandbox.name}.${things.name}.${myTestTable.name}`,\n assetsDir: `/Shared/provider-test/databricks_quality_monitoring/${myTestTable.name}`,\n outputSchemaName: `${sandbox.name}.${things.name}`,\n snapshot: {},\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ntest_monitor_inference = databricks.QualityMonitor(\"testMonitorInference\",\n table_name=f\"{sandbox['name']}.{things['name']}.{my_test_table['name']}\",\n assets_dir=f\"/Shared/provider-test/databricks_quality_monitoring/{my_test_table['name']}\",\n output_schema_name=f\"{sandbox['name']}.{things['name']}\",\n snapshot=databricks.QualityMonitorSnapshotArgs())\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.QualityMonitor(\"testMonitorInference\", new()\n {\n TableName = $\"{sandbox.Name}.{things.Name}.{myTestTable.Name}\",\n AssetsDir = $\"/Shared/provider-test/databricks_quality_monitoring/{myTestTable.Name}\",\n OutputSchemaName = $\"{sandbox.Name}.{things.Name}\",\n Snapshot = null,\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.NewQualityMonitor(ctx, \"testMonitorInference\", \u0026databricks.QualityMonitorArgs{\n\t\t\tTableName: pulumi.String(fmt.Sprintf(\"%v.%v.%v\", sandbox.Name, things.Name, myTestTable.Name)),\n\t\t\tAssetsDir: pulumi.String(fmt.Sprintf(\"/Shared/provider-test/databricks_quality_monitoring/%v\", myTestTable.Name)),\n\t\t\tOutputSchemaName: pulumi.String(fmt.Sprintf(\"%v.%v\", sandbox.Name, things.Name)),\n\t\t\tSnapshot: nil,\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.QualityMonitor;\nimport com.pulumi.databricks.QualityMonitorArgs;\nimport com.pulumi.databricks.inputs.QualityMonitorSnapshotArgs;\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 QualityMonitor(\"testMonitorInference\", QualityMonitorArgs.builder()\n .tableName(String.format(\"%s.%s.%s\", sandbox.name(),things.name(),myTestTable.name()))\n .assetsDir(String.format(\"/Shared/provider-test/databricks_quality_monitoring/%s\", myTestTable.name()))\n .outputSchemaName(String.format(\"%s.%s\", sandbox.name(),things.name()))\n .snapshot()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMonitorInference:\n type: databricks:QualityMonitor\n properties:\n tableName: ${sandbox.name}.${things.name}.${myTestTable.name}\n assetsDir: /Shared/provider-test/databricks_quality_monitoring/${myTestTable.name}\n outputSchemaName: ${sandbox.name}.${things.name}\n snapshot: {}\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/QualityMonitorCustomMetric:QualityMonitorCustomMetric" + }, + "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/QualityMonitorDataClassificationConfig:QualityMonitorDataClassificationConfig", + "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/QualityMonitorInferenceLog:QualityMonitorInferenceLog", + "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/QualityMonitorNotifications:QualityMonitorNotifications", + "description": "The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify:\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/QualityMonitorSchedule:QualityMonitorSchedule", + "description": "The schedule for automatically updating and refreshing metric tables. This block consists of following fields:\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/QualityMonitorSnapshot:QualityMonitorSnapshot", + "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/QualityMonitorTimeSeries:QualityMonitorTimeSeries", + "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/QualityMonitorCustomMetric:QualityMonitorCustomMetric" + }, + "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/QualityMonitorDataClassificationConfig:QualityMonitorDataClassificationConfig", + "description": "The data classification config for the monitor\n" + }, + "inferenceLog": { + "$ref": "#/types/databricks:index/QualityMonitorInferenceLog:QualityMonitorInferenceLog", + "description": "Configuration for the inference log monitor\n" + }, + "latestMonitorFailureMsg": { + "type": "string" + }, + "notifications": { + "$ref": "#/types/databricks:index/QualityMonitorNotifications:QualityMonitorNotifications", + "description": "The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify:\n" + }, + "outputSchemaName": { + "type": "string", + "description": "Schema where output metric tables are created\n" + }, + "schedule": { + "$ref": "#/types/databricks:index/QualityMonitorSchedule:QualityMonitorSchedule", + "description": "The schedule for automatically updating and refreshing metric tables. This block consists of following fields:\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/QualityMonitorSnapshot:QualityMonitorSnapshot", + "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/QualityMonitorTimeSeries:QualityMonitorTimeSeries", + "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 QualityMonitor resources.\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/QualityMonitorCustomMetric:QualityMonitorCustomMetric" + }, + "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/QualityMonitorDataClassificationConfig:QualityMonitorDataClassificationConfig", + "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/QualityMonitorInferenceLog:QualityMonitorInferenceLog", + "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/QualityMonitorNotifications:QualityMonitorNotifications", + "description": "The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify:\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/QualityMonitorSchedule:QualityMonitorSchedule", + "description": "The schedule for automatically updating and refreshing metric tables. This block consists of following fields:\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/QualityMonitorSnapshot:QualityMonitorSnapshot", + "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/QualityMonitorTimeSeries:QualityMonitorTimeSeries", + "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" + } + }, "databricks:index/recipient:Recipient": { "description": "\u003e **Note** This resource could be only used with workspace-level provider!\n\nIn Delta Sharing, a recipient is an entity that receives shares from a provider. In Unity Catalog, a share is a securable object that represents an organization and associates it with a credential or secure sharing identifier that allows that organization to access one or more shares.\n\nAs a data provider (sharer), you can define multiple recipients for any given Unity Catalog metastore, but if you want to share data from multiple metastores with a particular user or group of users, you must define the recipient separately for each metastore. A recipient can have access to multiple shares.\n\nA `databricks.Recipient` is contained within databricks.Metastore and can have permissions to `SELECT` from a list of shares.\n\n## Example Usage\n\n### Databricks Sharing with non databricks recipient\n\nSetting `authentication_type` type to `TOKEN` creates a temporary url to download a credentials file. This is used to\nauthenticate to the sharing server to access data. This is for when the recipient is not using Databricks.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\nimport * as random from \"@pulumi/random\";\n\nconst db2opensharecode = new random.index.Password(\"db2opensharecode\", {\n length: 16,\n special: true,\n});\nconst current = databricks.getCurrentUser({});\nconst db2open = new databricks.Recipient(\"db2open\", {\n name: current.then(current =\u003e `${current.alphanumeric}-recipient`),\n comment: \"made by terraform\",\n authenticationType: \"TOKEN\",\n sharingCode: db2opensharecode.result,\n ipAccessList: {\n allowedIpAddresses: [],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\nimport pulumi_random as random\n\ndb2opensharecode = random.index.Password(\"db2opensharecode\",\n length=16,\n special=True)\ncurrent = databricks.get_current_user()\ndb2open = databricks.Recipient(\"db2open\",\n name=f\"{current.alphanumeric}-recipient\",\n comment=\"made by terraform\",\n authentication_type=\"TOKEN\",\n sharing_code=db2opensharecode[\"result\"],\n ip_access_list=databricks.RecipientIpAccessListArgs(\n allowed_ip_addresses=[],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\nusing Random = Pulumi.Random;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var db2opensharecode = new Random.Index.Password(\"db2opensharecode\", new()\n {\n Length = 16,\n Special = true,\n });\n\n var current = Databricks.GetCurrentUser.Invoke();\n\n var db2open = new Databricks.Recipient(\"db2open\", new()\n {\n Name = $\"{current.Apply(getCurrentUserResult =\u003e getCurrentUserResult.Alphanumeric)}-recipient\",\n Comment = \"made by terraform\",\n AuthenticationType = \"TOKEN\",\n SharingCode = db2opensharecode.Result,\n IpAccessList = new Databricks.Inputs.RecipientIpAccessListArgs\n {\n AllowedIpAddresses = new() { },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi-random/sdk/v4/go/random\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tdb2opensharecode, err := random.NewPassword(ctx, \"db2opensharecode\", \u0026random.PasswordArgs{\n\t\t\tLength: 16,\n\t\t\tSpecial: true,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcurrent, err := databricks.GetCurrentUser(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewRecipient(ctx, \"db2open\", \u0026databricks.RecipientArgs{\n\t\t\tName: pulumi.String(fmt.Sprintf(\"%v-recipient\", current.Alphanumeric)),\n\t\t\tComment: pulumi.String(\"made by terraform\"),\n\t\t\tAuthenticationType: pulumi.String(\"TOKEN\"),\n\t\t\tSharingCode: db2opensharecode.Result,\n\t\t\tIpAccessList: \u0026databricks.RecipientIpAccessListArgs{\n\t\t\t\tAllowedIpAddresses: pulumi.StringArray{},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.random.password;\nimport com.pulumi.random.PasswordArgs;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.Recipient;\nimport com.pulumi.databricks.RecipientArgs;\nimport com.pulumi.databricks.inputs.RecipientIpAccessListArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var db2opensharecode = new Password(\"db2opensharecode\", PasswordArgs.builder()\n .length(16)\n .special(true)\n .build());\n\n final var current = DatabricksFunctions.getCurrentUser();\n\n var db2open = new Recipient(\"db2open\", RecipientArgs.builder()\n .name(String.format(\"%s-recipient\", current.applyValue(getCurrentUserResult -\u003e getCurrentUserResult.alphanumeric())))\n .comment(\"made by terraform\")\n .authenticationType(\"TOKEN\")\n .sharingCode(db2opensharecode.result())\n .ipAccessList(RecipientIpAccessListArgs.builder()\n .allowedIpAddresses()\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n db2opensharecode:\n type: random:password\n properties:\n length: 16\n special: true\n db2open:\n type: databricks:Recipient\n properties:\n name: ${current.alphanumeric}-recipient\n comment: made by terraform\n authenticationType: TOKEN\n sharingCode: ${db2opensharecode.result}\n ipAccessList:\n allowedIpAddresses: []\nvariables:\n current:\n fn::invoke:\n Function: databricks:getCurrentUser\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n", "properties": { @@ -26777,16 +27404,21 @@ } }, "databricks:index/getExternalLocation:getExternalLocation": { - "description": "## Example Usage\n\nGetting details of an existing external location in the metastore\n\n", + "description": "## Example Usage\n\nGetting details of an existing external location in the metastore\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst this = databricks.getExternalLocation({\n name: \"this\",\n});\nexport const createdBy = _this.then(_this =\u003e _this.externalLocationInfo?.createdBy);\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.get_external_location(name=\"this\")\npulumi.export(\"createdBy\", this.external_location_info.created_by)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = Databricks.GetExternalLocation.Invoke(new()\n {\n Name = \"this\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"createdBy\"] = @this.Apply(@this =\u003e @this.Apply(getExternalLocationResult =\u003e getExternalLocationResult.ExternalLocationInfo?.CreatedBy)),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.LookupExternalLocation(ctx, \u0026databricks.LookupExternalLocationArgs{\n\t\t\tName: \"this\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"createdBy\", this.ExternalLocationInfo.CreatedBy)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetExternalLocationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var this = DatabricksFunctions.getExternalLocation(GetExternalLocationArgs.builder()\n .name(\"this\")\n .build());\n\n ctx.export(\"createdBy\", this_.externalLocationInfo().createdBy());\n }\n}\n```\n```yaml\nvariables:\n this:\n fn::invoke:\n Function: databricks:getExternalLocation\n Arguments:\n name: this\noutputs:\n createdBy: ${this.externalLocationInfo.createdBy}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* databricks.getExternalLocations to get names of all external locations\n* databricks.ExternalLocation to manage external locations within Unity Catalog.\n", "inputs": { "description": "A collection of arguments for invoking getExternalLocation.\n", "properties": { "externalLocationInfo": { - "$ref": "#/types/databricks:index/getExternalLocationExternalLocationInfo:getExternalLocationExternalLocationInfo" + "$ref": "#/types/databricks:index/getExternalLocationExternalLocationInfo:getExternalLocationExternalLocationInfo", + "description": "array of objects with information about external location:\n" + }, + "id": { + "type": "string", + "description": "external location ID - same as name.\n" }, "name": { "type": "string", - "description": "The name of the storage credential\n", + "description": "The name of the external location\n", "willReplaceOnChanges": true } }, @@ -26799,10 +27431,11 @@ "description": "A collection of values returned by getExternalLocation.\n", "properties": { "externalLocationInfo": { - "$ref": "#/types/databricks:index/getExternalLocationExternalLocationInfo:getExternalLocationExternalLocationInfo" + "$ref": "#/types/databricks:index/getExternalLocationExternalLocationInfo:getExternalLocationExternalLocationInfo", + "description": "array of objects with information about external location:\n" }, "id": { - "description": "The provider-assigned unique ID for this managed resource.\n", + "description": "external location ID - same as name.\n", "type": "string" }, "name": { @@ -26811,8 +27444,8 @@ }, "required": [ "externalLocationInfo", - "name", - "id" + "id", + "name" ], "type": "object" } @@ -28518,17 +29151,22 @@ } }, "databricks:index/getStorageCredential:getStorageCredential": { - "description": "## Example Usage\n\nGetting details of an existing storage credential in the metastore\n\n", + "description": "## Example Usage\n\nGetting details of an existing storage credential in the metastore\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst this = databricks.getStorageCredential({\n name: \"this\",\n});\nexport const createdBy = _this.then(_this =\u003e _this.storageCredentialInfo?.createdBy);\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.get_storage_credential(name=\"this\")\npulumi.export(\"createdBy\", this.storage_credential_info.created_by)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = Databricks.GetStorageCredential.Invoke(new()\n {\n Name = \"this\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"createdBy\"] = @this.Apply(@this =\u003e @this.Apply(getStorageCredentialResult =\u003e getStorageCredentialResult.StorageCredentialInfo?.CreatedBy)),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.LookupStorageCredential(ctx, \u0026databricks.LookupStorageCredentialArgs{\n\t\t\tName: \"this\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"createdBy\", this.StorageCredentialInfo.CreatedBy)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetStorageCredentialArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var this = DatabricksFunctions.getStorageCredential(GetStorageCredentialArgs.builder()\n .name(\"this\")\n .build());\n\n ctx.export(\"createdBy\", this_.storageCredentialInfo().createdBy());\n }\n}\n```\n```yaml\nvariables:\n this:\n fn::invoke:\n Function: databricks:getStorageCredential\n Arguments:\n name: this\noutputs:\n createdBy: ${this.storageCredentialInfo.createdBy}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* databricks.getStorageCredentials to get names of all credentials\n* databricks.StorageCredential to manage Storage Credentials within Unity Catalog.\n", "inputs": { "description": "A collection of arguments for invoking getStorageCredential.\n", "properties": { + "id": { + "type": "string", + "description": "Unique ID of storage credential.\n" + }, "name": { "type": "string", "description": "The name of the storage credential\n", "willReplaceOnChanges": true }, "storageCredentialInfo": { - "$ref": "#/types/databricks:index/getStorageCredentialStorageCredentialInfo:getStorageCredentialStorageCredentialInfo" + "$ref": "#/types/databricks:index/getStorageCredentialStorageCredentialInfo:getStorageCredentialStorageCredentialInfo", + "description": "array of objects with information about storage credential.\n" } }, "type": "object", @@ -28540,20 +29178,21 @@ "description": "A collection of values returned by getStorageCredential.\n", "properties": { "id": { - "description": "The provider-assigned unique ID for this managed resource.\n", + "description": "Unique ID of storage credential.\n", "type": "string" }, "name": { "type": "string" }, "storageCredentialInfo": { - "$ref": "#/types/databricks:index/getStorageCredentialStorageCredentialInfo:getStorageCredentialStorageCredentialInfo" + "$ref": "#/types/databricks:index/getStorageCredentialStorageCredentialInfo:getStorageCredentialStorageCredentialInfo", + "description": "array of objects with information about storage credential.\n" } }, "required": [ + "id", "name", - "storageCredentialInfo", - "id" + "storageCredentialInfo" ], "type": "object" } diff --git a/provider/go.mod b/provider/go.mod index ed7dfa2a..cc359d44 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-20240520223432-0c0bf0d65f10 require ( - github.com/databricks/databricks-sdk-go v0.40.1 - github.com/databricks/terraform-provider-databricks v1.44.0 + github.com/databricks/databricks-sdk-go v0.41.0 + github.com/databricks/terraform-provider-databricks v1.45.0 github.com/pulumi/pulumi-terraform-bridge/v3 v3.83.0 ) @@ -32,7 +32,7 @@ require ( github.com/Masterminds/semver/v3 v3.2.0 // indirect github.com/Masterminds/sprig/v3 v3.2.3 // indirect github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/ProtonMail/go-crypto v1.1.0-alpha.0 // indirect + github.com/ProtonMail/go-crypto v1.1.0-alpha.2 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-cidr v1.1.0 // indirect @@ -118,16 +118,16 @@ require ( github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/golang-lru v0.6.0 // indirect - github.com/hashicorp/hc-install v0.6.3 // indirect + github.com/hashicorp/hc-install v0.6.4 // indirect github.com/hashicorp/hcl v1.0.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 - github.com/hashicorp/terraform-json v0.21.0 // indirect + github.com/hashicorp/terraform-exec v0.21.0 // indirect + github.com/hashicorp/terraform-json v0.22.1 // indirect github.com/hashicorp/terraform-plugin-go v0.23.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect - github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 // indirect + github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0 // indirect github.com/hashicorp/terraform-registry-address v0.2.3 // indirect github.com/hashicorp/terraform-svchost v0.1.1 // indirect github.com/hashicorp/vault/api v1.8.2 // indirect @@ -223,15 +223,15 @@ require ( go.uber.org/atomic v1.10.0 // indirect gocloud.dev v0.37.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect - golang.org/x/crypto v0.22.0 // indirect + golang.org/x/crypto v0.23.0 // indirect golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect golang.org/x/mod v0.17.0 // indirect golang.org/x/net v0.24.0 // indirect golang.org/x/oauth2 v0.18.0 // indirect golang.org/x/sync v0.6.0 // indirect - golang.org/x/sys v0.19.0 // indirect - golang.org/x/term v0.19.0 // indirect - golang.org/x/text v0.14.0 // indirect + golang.org/x/sys v0.20.0 // indirect + golang.org/x/term v0.20.0 // indirect + golang.org/x/text v0.15.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 diff --git a/provider/go.sum b/provider/go.sum index 7967aadc..242aea06 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1277,8 +1277,9 @@ github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb0 github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= -github.com/ProtonMail/go-crypto v1.1.0-alpha.0 h1:nHGfwXmFvJrSR9xu8qL7BkO4DqTHXE9N5vPhgY2I+j0= github.com/ProtonMail/go-crypto v1.1.0-alpha.0/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= +github.com/ProtonMail/go-crypto v1.1.0-alpha.2 h1:bkyFVUP+ROOARdgCiJzNQo2V2kiB97LyUpzH9P6Hrlg= +github.com/ProtonMail/go-crypto v1.1.0-alpha.2/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= @@ -1655,10 +1656,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.40.1 h1:rE5yP9gIW2oap+6CnumixnZSDIsXwVojAuDBuKUl5GU= -github.com/databricks/databricks-sdk-go v0.40.1/go.mod h1:rLIhh7DvifVLmf2QxMr/vMRGqdrTZazn8VYo4LilfCo= -github.com/databricks/terraform-provider-databricks v1.44.0 h1:zOiVvZzK5yIOX7PfeqO6vfiUjfDy7oY/DdmElvG22xE= -github.com/databricks/terraform-provider-databricks v1.44.0/go.mod h1:gv0gO+f4MWAkUiSBHnOTFBckR2/JrzGiHyAy+6woRcY= +github.com/databricks/databricks-sdk-go v0.41.0 h1:OyhYY+Q6+gqkWeXmpGEiacoU2RStTeWPF0x4vmqbQdc= +github.com/databricks/databricks-sdk-go v0.41.0/go.mod h1:rLIhh7DvifVLmf2QxMr/vMRGqdrTZazn8VYo4LilfCo= +github.com/databricks/terraform-provider-databricks v1.45.0 h1:W5+8n0sDdrfXs884jIEaYf8TOPw0BoDiL4AC457ClSo= +github.com/databricks/terraform-provider-databricks v1.45.0/go.mod h1:D1A1+fQQRGWGcM+a5GvPGm0PWXGRzStsFZXyWITznVc= 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= @@ -2227,8 +2228,9 @@ github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uG github.com/hashicorp/golang-lru v0.6.0 h1:uL2shRDx7RTrOrTCUZEGP/wJUFiUI8QT6E7z5o8jga4= github.com/hashicorp/golang-lru v0.6.0/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hc-install v0.6.2/go.mod h1:2JBpd+NCFKiHiu/yYCGaPyPHhZLxXTpz8oreHa/a3Ps= -github.com/hashicorp/hc-install v0.6.3 h1:yE/r1yJvWbtrJ0STwScgEnCanb0U9v7zp0Gbkmcoxqs= github.com/hashicorp/hc-install v0.6.3/go.mod h1:KamGdbodYzlufbWh4r9NRo8y6GLHWZP2GBtdnms1Ln0= +github.com/hashicorp/hc-install v0.6.4 h1:QLqlM56/+SIIGvGcfFiwMY3z5WGXT066suo/v9Km8e0= +github.com/hashicorp/hc-install v0.6.4/go.mod h1:05LWLy8TD842OtgcfBbOT0WMoInBMUSHjmDx10zuBIA= github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod h1:oZtUIOe8dh44I2q6ScRibXws4Ajl+d+nod3AaR9vL5w= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= @@ -2249,12 +2251,14 @@ github.com/hashicorp/nomad/api v0.0.0-20220629141207-c2428e1673ec/go.mod h1:jP79 github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8/go.mod h1:p+ivJws3dpqbp1iP84+npOyAmTTOLMgCzrXd3GSdn/A= -github.com/hashicorp/terraform-exec v0.20.0 h1:DIZnPsqzPGuUnq6cH8jWcPunBfY+C+M8JyYF3vpnuEo= github.com/hashicorp/terraform-exec v0.20.0/go.mod h1:ckKGkJWbsNqFKV1itgMnE0hY9IYf1HoiekpuN0eWoDw= +github.com/hashicorp/terraform-exec v0.21.0 h1:uNkLAe95ey5Uux6KJdua6+cv8asgILFVWkd/RG0D2XQ= +github.com/hashicorp/terraform-exec v0.21.0/go.mod h1:1PPeMYou+KDUSSeRE9szMZ/oHf4fYUmB923Wzbq1ICg= github.com/hashicorp/terraform-json v0.4.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8jnkVYN28gJkSJrLhU= github.com/hashicorp/terraform-json v0.19.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk= -github.com/hashicorp/terraform-json v0.21.0 h1:9NQxbLNqPbEMze+S6+YluEdXgJmhQykRyRNd+zTI05U= github.com/hashicorp/terraform-json v0.21.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk= +github.com/hashicorp/terraform-json v0.22.1 h1:xft84GZR0QzjPVWs4lRUwvTcPnegqlyS7orfb5Ltvec= +github.com/hashicorp/terraform-json v0.22.1/go.mod h1:JbWSQCLFSXFFhg42T7l9iJwdGXBYV8fmmD6o/ML4p3A= github.com/hashicorp/terraform-plugin-go v0.22.0/go.mod h1:mPULV91VKss7sik6KFEcEu7HuTogMLLO/EvWCuFkRVE= github.com/hashicorp/terraform-plugin-go v0.23.0 h1:AALVuU1gD1kPb48aPQUjug9Ir/125t+AAurhqphJ2Co= github.com/hashicorp/terraform-plugin-go v0.23.0/go.mod h1:1E3Cr9h2vMlahWMbsSEcNrOCxovCZhOOIXjFHbjc/lQ= @@ -3232,8 +3236,8 @@ golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= -golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30= -golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M= +golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= +golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= 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= @@ -3641,8 +3645,8 @@ 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/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o= -golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.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= @@ -3666,8 +3670,8 @@ 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.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.19.0 h1:+ThwsDv+tYfnJFhF4L8jITxu1tdTWRTZpdsWgEgjL6Q= -golang.org/x/term v0.19.0/go.mod h1:2CuTdWZ7KHSQwUzKva0cbMg6q2DMI3Mmxp+gKJbskEk= +golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw= +golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= 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= @@ -3688,8 +3692,9 @@ golang.org/x/text v0.10.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= +golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= diff --git a/provider/resources.go b/provider/resources.go index a0949800..f26e37a1 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -139,6 +139,10 @@ func Provider() tfbridge.ProviderInfo { "databricks_provider": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "MetastoreProvider")}, "databricks_table": {Docs: &tfbridge.DocInfo{AllowMissing: true}}, + + "databricks_automatic_cluster_update_workspace_setting": {Docs: &tfbridge.DocInfo{AllowMissing: true}}, + "databricks_compliance_security_profile_workspace_setting": {Docs: &tfbridge.DocInfo{AllowMissing: true}}, + "databricks_enhanced_security_monitoring_workspace_setting": {Docs: &tfbridge.DocInfo{AllowMissing: true}}, }, DataSources: map[string]*tfbridge.DataSourceInfo{ "databricks_aws_crossaccount_policy": { diff --git a/sdk/dotnet/AutomaticClusterUpdateWorkspaceSetting.cs b/sdk/dotnet/AutomaticClusterUpdateWorkspaceSetting.cs new file mode 100644 index 00000000..99e2ed38 --- /dev/null +++ b/sdk/dotnet/AutomaticClusterUpdateWorkspaceSetting.cs @@ -0,0 +1,101 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + [DatabricksResourceType("databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting")] + public partial class AutomaticClusterUpdateWorkspaceSetting : global::Pulumi.CustomResource + { + [Output("automaticClusterUpdateWorkspace")] + public Output AutomaticClusterUpdateWorkspace { get; private set; } = null!; + + [Output("etag")] + public Output Etag { get; private set; } = null!; + + [Output("settingName")] + public Output SettingName { get; private set; } = null!; + + + /// + /// Create a AutomaticClusterUpdateWorkspaceSetting 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 AutomaticClusterUpdateWorkspaceSetting(string name, AutomaticClusterUpdateWorkspaceSettingArgs args, CustomResourceOptions? options = null) + : base("databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting", name, args ?? new AutomaticClusterUpdateWorkspaceSettingArgs(), MakeResourceOptions(options, "")) + { + } + + private AutomaticClusterUpdateWorkspaceSetting(string name, Input id, AutomaticClusterUpdateWorkspaceSettingState? state = null, CustomResourceOptions? options = null) + : base("databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting", 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 AutomaticClusterUpdateWorkspaceSetting 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 AutomaticClusterUpdateWorkspaceSetting Get(string name, Input id, AutomaticClusterUpdateWorkspaceSettingState? state = null, CustomResourceOptions? options = null) + { + return new AutomaticClusterUpdateWorkspaceSetting(name, id, state, options); + } + } + + public sealed class AutomaticClusterUpdateWorkspaceSettingArgs : global::Pulumi.ResourceArgs + { + [Input("automaticClusterUpdateWorkspace", required: true)] + public Input AutomaticClusterUpdateWorkspace { get; set; } = null!; + + [Input("etag")] + public Input? Etag { get; set; } + + [Input("settingName")] + public Input? SettingName { get; set; } + + public AutomaticClusterUpdateWorkspaceSettingArgs() + { + } + public static new AutomaticClusterUpdateWorkspaceSettingArgs Empty => new AutomaticClusterUpdateWorkspaceSettingArgs(); + } + + public sealed class AutomaticClusterUpdateWorkspaceSettingState : global::Pulumi.ResourceArgs + { + [Input("automaticClusterUpdateWorkspace")] + public Input? AutomaticClusterUpdateWorkspace { get; set; } + + [Input("etag")] + public Input? Etag { get; set; } + + [Input("settingName")] + public Input? SettingName { get; set; } + + public AutomaticClusterUpdateWorkspaceSettingState() + { + } + public static new AutomaticClusterUpdateWorkspaceSettingState Empty => new AutomaticClusterUpdateWorkspaceSettingState(); + } +} diff --git a/sdk/dotnet/Cluster.cs b/sdk/dotnet/Cluster.cs index bfd8dc1d..27da88e1 100644 --- a/sdk/dotnet/Cluster.cs +++ b/sdk/dotnet/Cluster.cs @@ -110,9 +110,6 @@ public partial class Cluster : global::Pulumi.CustomResource [Output("azureAttributes")] public Output AzureAttributes { get; private set; } = null!; - [Output("cloneFrom")] - public Output CloneFrom { get; private set; } = null!; - [Output("clusterId")] public Output ClusterId { get; private set; } = null!; @@ -128,9 +125,6 @@ public partial class Cluster : global::Pulumi.CustomResource [Output("clusterName")] public Output ClusterName { get; private set; } = null!; - [Output("clusterSource")] - public Output ClusterSource { get; private set; } = null!; - /// /// should have tag `ResourceClass` set to value `Serverless` /// @@ -407,9 +401,6 @@ public sealed class ClusterArgs : global::Pulumi.ResourceArgs [Input("azureAttributes")] public Input? AzureAttributes { get; set; } - [Input("cloneFrom")] - public Input? CloneFrom { get; set; } - [Input("clusterLogConf")] public Input? ClusterLogConf { get; set; } @@ -684,9 +675,6 @@ public sealed class ClusterState : global::Pulumi.ResourceArgs [Input("azureAttributes")] public Input? AzureAttributes { get; set; } - [Input("cloneFrom")] - public Input? CloneFrom { get; set; } - [Input("clusterId")] public Input? ClusterId { get; set; } @@ -707,9 +695,6 @@ public InputList ClusterMountInfos [Input("clusterName")] public Input? ClusterName { get; set; } - [Input("clusterSource")] - public Input? ClusterSource { get; set; } - [Input("customTags")] private InputMap? _customTags; diff --git a/sdk/dotnet/ComplianceSecurityProfileWorkspaceSetting.cs b/sdk/dotnet/ComplianceSecurityProfileWorkspaceSetting.cs new file mode 100644 index 00000000..839f988e --- /dev/null +++ b/sdk/dotnet/ComplianceSecurityProfileWorkspaceSetting.cs @@ -0,0 +1,101 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + [DatabricksResourceType("databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting")] + public partial class ComplianceSecurityProfileWorkspaceSetting : global::Pulumi.CustomResource + { + [Output("complianceSecurityProfileWorkspace")] + public Output ComplianceSecurityProfileWorkspace { get; private set; } = null!; + + [Output("etag")] + public Output Etag { get; private set; } = null!; + + [Output("settingName")] + public Output SettingName { get; private set; } = null!; + + + /// + /// Create a ComplianceSecurityProfileWorkspaceSetting 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 ComplianceSecurityProfileWorkspaceSetting(string name, ComplianceSecurityProfileWorkspaceSettingArgs args, CustomResourceOptions? options = null) + : base("databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting", name, args ?? new ComplianceSecurityProfileWorkspaceSettingArgs(), MakeResourceOptions(options, "")) + { + } + + private ComplianceSecurityProfileWorkspaceSetting(string name, Input id, ComplianceSecurityProfileWorkspaceSettingState? state = null, CustomResourceOptions? options = null) + : base("databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting", 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 ComplianceSecurityProfileWorkspaceSetting 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 ComplianceSecurityProfileWorkspaceSetting Get(string name, Input id, ComplianceSecurityProfileWorkspaceSettingState? state = null, CustomResourceOptions? options = null) + { + return new ComplianceSecurityProfileWorkspaceSetting(name, id, state, options); + } + } + + public sealed class ComplianceSecurityProfileWorkspaceSettingArgs : global::Pulumi.ResourceArgs + { + [Input("complianceSecurityProfileWorkspace", required: true)] + public Input ComplianceSecurityProfileWorkspace { get; set; } = null!; + + [Input("etag")] + public Input? Etag { get; set; } + + [Input("settingName")] + public Input? SettingName { get; set; } + + public ComplianceSecurityProfileWorkspaceSettingArgs() + { + } + public static new ComplianceSecurityProfileWorkspaceSettingArgs Empty => new ComplianceSecurityProfileWorkspaceSettingArgs(); + } + + public sealed class ComplianceSecurityProfileWorkspaceSettingState : global::Pulumi.ResourceArgs + { + [Input("complianceSecurityProfileWorkspace")] + public Input? ComplianceSecurityProfileWorkspace { get; set; } + + [Input("etag")] + public Input? Etag { get; set; } + + [Input("settingName")] + public Input? SettingName { get; set; } + + public ComplianceSecurityProfileWorkspaceSettingState() + { + } + public static new ComplianceSecurityProfileWorkspaceSettingState Empty => new ComplianceSecurityProfileWorkspaceSettingState(); + } +} diff --git a/sdk/dotnet/EnhancedSecurityMonitoringWorkspaceSetting.cs b/sdk/dotnet/EnhancedSecurityMonitoringWorkspaceSetting.cs new file mode 100644 index 00000000..9e05a05c --- /dev/null +++ b/sdk/dotnet/EnhancedSecurityMonitoringWorkspaceSetting.cs @@ -0,0 +1,101 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + [DatabricksResourceType("databricks:index/enhancedSecurityMonitoringWorkspaceSetting:EnhancedSecurityMonitoringWorkspaceSetting")] + public partial class EnhancedSecurityMonitoringWorkspaceSetting : global::Pulumi.CustomResource + { + [Output("enhancedSecurityMonitoringWorkspace")] + public Output EnhancedSecurityMonitoringWorkspace { get; private set; } = null!; + + [Output("etag")] + public Output Etag { get; private set; } = null!; + + [Output("settingName")] + public Output SettingName { get; private set; } = null!; + + + /// + /// Create a EnhancedSecurityMonitoringWorkspaceSetting 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 EnhancedSecurityMonitoringWorkspaceSetting(string name, EnhancedSecurityMonitoringWorkspaceSettingArgs args, CustomResourceOptions? options = null) + : base("databricks:index/enhancedSecurityMonitoringWorkspaceSetting:EnhancedSecurityMonitoringWorkspaceSetting", name, args ?? new EnhancedSecurityMonitoringWorkspaceSettingArgs(), MakeResourceOptions(options, "")) + { + } + + private EnhancedSecurityMonitoringWorkspaceSetting(string name, Input id, EnhancedSecurityMonitoringWorkspaceSettingState? state = null, CustomResourceOptions? options = null) + : base("databricks:index/enhancedSecurityMonitoringWorkspaceSetting:EnhancedSecurityMonitoringWorkspaceSetting", 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 EnhancedSecurityMonitoringWorkspaceSetting 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 EnhancedSecurityMonitoringWorkspaceSetting Get(string name, Input id, EnhancedSecurityMonitoringWorkspaceSettingState? state = null, CustomResourceOptions? options = null) + { + return new EnhancedSecurityMonitoringWorkspaceSetting(name, id, state, options); + } + } + + public sealed class EnhancedSecurityMonitoringWorkspaceSettingArgs : global::Pulumi.ResourceArgs + { + [Input("enhancedSecurityMonitoringWorkspace", required: true)] + public Input EnhancedSecurityMonitoringWorkspace { get; set; } = null!; + + [Input("etag")] + public Input? Etag { get; set; } + + [Input("settingName")] + public Input? SettingName { get; set; } + + public EnhancedSecurityMonitoringWorkspaceSettingArgs() + { + } + public static new EnhancedSecurityMonitoringWorkspaceSettingArgs Empty => new EnhancedSecurityMonitoringWorkspaceSettingArgs(); + } + + public sealed class EnhancedSecurityMonitoringWorkspaceSettingState : global::Pulumi.ResourceArgs + { + [Input("enhancedSecurityMonitoringWorkspace")] + public Input? EnhancedSecurityMonitoringWorkspace { get; set; } + + [Input("etag")] + public Input? Etag { get; set; } + + [Input("settingName")] + public Input? SettingName { get; set; } + + public EnhancedSecurityMonitoringWorkspaceSettingState() + { + } + public static new EnhancedSecurityMonitoringWorkspaceSettingState Empty => new EnhancedSecurityMonitoringWorkspaceSettingState(); + } +} diff --git a/sdk/dotnet/GetExternalLocation.cs b/sdk/dotnet/GetExternalLocation.cs index 2e4bc461..e9d5dd83 100644 --- a/sdk/dotnet/GetExternalLocation.cs +++ b/sdk/dotnet/GetExternalLocation.cs @@ -15,6 +15,33 @@ public static class GetExternalLocation /// ## Example Usage /// /// Getting details of an existing external location in the metastore + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetExternalLocation.Invoke(new() + /// { + /// Name = "this", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["createdBy"] = @this.Apply(@this => @this.Apply(getExternalLocationResult => getExternalLocationResult.ExternalLocationInfo?.CreatedBy)), + /// }; + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.getExternalLocations to get names of all external locations + /// * databricks.ExternalLocation to manage external locations within Unity Catalog. /// public static Task InvokeAsync(GetExternalLocationArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("databricks:index/getExternalLocation:getExternalLocation", args ?? new GetExternalLocationArgs(), options.WithDefaults()); @@ -23,6 +50,33 @@ public static Task InvokeAsync(GetExternalLocationArg /// ## Example Usage /// /// Getting details of an existing external location in the metastore + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetExternalLocation.Invoke(new() + /// { + /// Name = "this", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["createdBy"] = @this.Apply(@this => @this.Apply(getExternalLocationResult => getExternalLocationResult.ExternalLocationInfo?.CreatedBy)), + /// }; + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.getExternalLocations to get names of all external locations + /// * databricks.ExternalLocation to manage external locations within Unity Catalog. /// public static Output Invoke(GetExternalLocationInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getExternalLocation:getExternalLocation", args ?? new GetExternalLocationInvokeArgs(), options.WithDefaults()); @@ -31,11 +85,20 @@ public static Output Invoke(GetExternalLocationInvoke public sealed class GetExternalLocationArgs : global::Pulumi.InvokeArgs { + /// + /// array of objects with information about external location: + /// [Input("externalLocationInfo")] public Inputs.GetExternalLocationExternalLocationInfoArgs? ExternalLocationInfo { get; set; } /// - /// The name of the storage credential + /// external location ID - same as name. + /// + [Input("id")] + public string? Id { get; set; } + + /// + /// The name of the external location /// [Input("name", required: true)] public string Name { get; set; } = null!; @@ -48,11 +111,20 @@ public GetExternalLocationArgs() public sealed class GetExternalLocationInvokeArgs : global::Pulumi.InvokeArgs { + /// + /// array of objects with information about external location: + /// [Input("externalLocationInfo")] public Input? ExternalLocationInfo { get; set; } /// - /// The name of the storage credential + /// external location ID - same as name. + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// The name of the external location /// [Input("name", required: true)] public Input Name { get; set; } = null!; @@ -67,9 +139,12 @@ public GetExternalLocationInvokeArgs() [OutputType] public sealed class GetExternalLocationResult { + /// + /// array of objects with information about external location: + /// public readonly Outputs.GetExternalLocationExternalLocationInfoResult ExternalLocationInfo; /// - /// The provider-assigned unique ID for this managed resource. + /// external location ID - same as name. /// public readonly string Id; public readonly string Name; diff --git a/sdk/dotnet/GetStorageCredential.cs b/sdk/dotnet/GetStorageCredential.cs index cfbe81d8..0e7784f9 100644 --- a/sdk/dotnet/GetStorageCredential.cs +++ b/sdk/dotnet/GetStorageCredential.cs @@ -15,6 +15,33 @@ public static class GetStorageCredential /// ## Example Usage /// /// Getting details of an existing storage credential in the metastore + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetStorageCredential.Invoke(new() + /// { + /// Name = "this", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["createdBy"] = @this.Apply(@this => @this.Apply(getStorageCredentialResult => getStorageCredentialResult.StorageCredentialInfo?.CreatedBy)), + /// }; + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.getStorageCredentials to get names of all credentials + /// * databricks.StorageCredential to manage Storage Credentials within Unity Catalog. /// public static Task InvokeAsync(GetStorageCredentialArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("databricks:index/getStorageCredential:getStorageCredential", args ?? new GetStorageCredentialArgs(), options.WithDefaults()); @@ -23,6 +50,33 @@ public static Task InvokeAsync(GetStorageCredentialA /// ## Example Usage /// /// Getting details of an existing storage credential in the metastore + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetStorageCredential.Invoke(new() + /// { + /// Name = "this", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["createdBy"] = @this.Apply(@this => @this.Apply(getStorageCredentialResult => getStorageCredentialResult.StorageCredentialInfo?.CreatedBy)), + /// }; + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.getStorageCredentials to get names of all credentials + /// * databricks.StorageCredential to manage Storage Credentials within Unity Catalog. /// public static Output Invoke(GetStorageCredentialInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getStorageCredential:getStorageCredential", args ?? new GetStorageCredentialInvokeArgs(), options.WithDefaults()); @@ -31,12 +85,21 @@ public static Output Invoke(GetStorageCredentialInvo public sealed class GetStorageCredentialArgs : global::Pulumi.InvokeArgs { + /// + /// Unique ID of storage credential. + /// + [Input("id")] + public string? Id { get; set; } + /// /// The name of the storage credential /// [Input("name", required: true)] public string Name { get; set; } = null!; + /// + /// array of objects with information about storage credential. + /// [Input("storageCredentialInfo")] public Inputs.GetStorageCredentialStorageCredentialInfoArgs? StorageCredentialInfo { get; set; } @@ -48,12 +111,21 @@ public GetStorageCredentialArgs() public sealed class GetStorageCredentialInvokeArgs : global::Pulumi.InvokeArgs { + /// + /// Unique ID of storage credential. + /// + [Input("id")] + public Input? Id { get; set; } + /// /// The name of the storage credential /// [Input("name", required: true)] public Input Name { get; set; } = null!; + /// + /// array of objects with information about storage credential. + /// [Input("storageCredentialInfo")] public Input? StorageCredentialInfo { get; set; } @@ -68,10 +140,13 @@ public GetStorageCredentialInvokeArgs() public sealed class GetStorageCredentialResult { /// - /// The provider-assigned unique ID for this managed resource. + /// Unique ID of storage credential. /// public readonly string Id; public readonly string Name; + /// + /// array of objects with information about storage credential. + /// public readonly Outputs.GetStorageCredentialStorageCredentialInfoResult StorageCredentialInfo; [OutputConstructor] diff --git a/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs.cs b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs.cs new file mode 100644 index 00000000..085f48e5 --- /dev/null +++ b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs.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 AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs : global::Pulumi.ResourceArgs + { + [Input("canToggle")] + public Input? CanToggle { get; set; } + + [Input("enabled")] + public Input? Enabled { get; set; } + + [Input("enablementDetails")] + public Input? EnablementDetails { get; set; } + + [Input("maintenanceWindow")] + public Input? MaintenanceWindow { get; set; } + + [Input("restartEvenIfNoUpdatesAvailable")] + public Input? RestartEvenIfNoUpdatesAvailable { get; set; } + + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs() + { + } + public static new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs Empty => new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs.cs b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs.cs new file mode 100644 index 00000000..be4a4488 --- /dev/null +++ b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs.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 AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs : global::Pulumi.ResourceArgs + { + [Input("forcedForComplianceMode")] + public Input? ForcedForComplianceMode { get; set; } + + [Input("unavailableForDisabledEntitlement")] + public Input? UnavailableForDisabledEntitlement { get; set; } + + [Input("unavailableForNonEnterpriseTier")] + public Input? UnavailableForNonEnterpriseTier { get; set; } + + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs() + { + } + public static new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs Empty => new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsGetArgs.cs b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsGetArgs.cs new file mode 100644 index 00000000..f4bf0802 --- /dev/null +++ b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsGetArgs.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 AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsGetArgs : global::Pulumi.ResourceArgs + { + [Input("forcedForComplianceMode")] + public Input? ForcedForComplianceMode { get; set; } + + [Input("unavailableForDisabledEntitlement")] + public Input? UnavailableForDisabledEntitlement { get; set; } + + [Input("unavailableForNonEnterpriseTier")] + public Input? UnavailableForNonEnterpriseTier { get; set; } + + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsGetArgs() + { + } + public static new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsGetArgs Empty => new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceGetArgs.cs b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceGetArgs.cs new file mode 100644 index 00000000..054402c4 --- /dev/null +++ b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceGetArgs.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 AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceGetArgs : global::Pulumi.ResourceArgs + { + [Input("canToggle")] + public Input? CanToggle { get; set; } + + [Input("enabled")] + public Input? Enabled { get; set; } + + [Input("enablementDetails")] + public Input? EnablementDetails { get; set; } + + [Input("maintenanceWindow")] + public Input? MaintenanceWindow { get; set; } + + [Input("restartEvenIfNoUpdatesAvailable")] + public Input? RestartEvenIfNoUpdatesAvailable { get; set; } + + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceGetArgs() + { + } + public static new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceGetArgs Empty => new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs.cs b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs.cs new file mode 100644 index 00000000..37a02469 --- /dev/null +++ b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs.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 AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs : global::Pulumi.ResourceArgs + { + [Input("weekDayBasedSchedule")] + public Input? WeekDayBasedSchedule { get; set; } + + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs() + { + } + public static new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs Empty => new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowGetArgs.cs b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowGetArgs.cs new file mode 100644 index 00000000..feb20c69 --- /dev/null +++ b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowGetArgs.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 AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowGetArgs : global::Pulumi.ResourceArgs + { + [Input("weekDayBasedSchedule")] + public Input? WeekDayBasedSchedule { get; set; } + + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowGetArgs() + { + } + public static new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowGetArgs Empty => new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs.cs b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs.cs new file mode 100644 index 00000000..617877a6 --- /dev/null +++ b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs.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 AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs : global::Pulumi.ResourceArgs + { + [Input("dayOfWeek")] + public Input? DayOfWeek { get; set; } + + [Input("frequency")] + public Input? Frequency { get; set; } + + [Input("windowStartTime")] + public Input? WindowStartTime { get; set; } + + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs() + { + } + public static new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs Empty => new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleGetArgs.cs b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleGetArgs.cs new file mode 100644 index 00000000..eaac3b84 --- /dev/null +++ b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleGetArgs.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 AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleGetArgs : global::Pulumi.ResourceArgs + { + [Input("dayOfWeek")] + public Input? DayOfWeek { get; set; } + + [Input("frequency")] + public Input? Frequency { get; set; } + + [Input("windowStartTime")] + public Input? WindowStartTime { get; set; } + + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleGetArgs() + { + } + public static new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleGetArgs Empty => new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs.cs b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs.cs new file mode 100644 index 00000000..0a1f8766 --- /dev/null +++ b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs.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 AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs : global::Pulumi.ResourceArgs + { + [Input("hours")] + public Input? Hours { get; set; } + + [Input("minutes")] + public Input? Minutes { get; set; } + + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs() + { + } + public static new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs Empty => new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeGetArgs.cs b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeGetArgs.cs new file mode 100644 index 00000000..c5f386bc --- /dev/null +++ b/sdk/dotnet/Inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeGetArgs.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 AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeGetArgs : global::Pulumi.ResourceArgs + { + [Input("hours")] + public Input? Hours { get; set; } + + [Input("minutes")] + public Input? Minutes { get; set; } + + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeGetArgs() + { + } + public static new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeGetArgs Empty => new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs.cs b/sdk/dotnet/Inputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs.cs new file mode 100644 index 00000000..50a6f460 --- /dev/null +++ b/sdk/dotnet/Inputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs : global::Pulumi.ResourceArgs + { + [Input("complianceStandards")] + private InputList? _complianceStandards; + public InputList ComplianceStandards + { + get => _complianceStandards ?? (_complianceStandards = new InputList()); + set => _complianceStandards = value; + } + + [Input("isEnabled")] + public Input? IsEnabled { get; set; } + + public ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs() + { + } + public static new ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs Empty => new ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceGetArgs.cs b/sdk/dotnet/Inputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceGetArgs.cs new file mode 100644 index 00000000..c2f4f5ff --- /dev/null +++ b/sdk/dotnet/Inputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceGetArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceGetArgs : global::Pulumi.ResourceArgs + { + [Input("complianceStandards")] + private InputList? _complianceStandards; + public InputList ComplianceStandards + { + get => _complianceStandards ?? (_complianceStandards = new InputList()); + set => _complianceStandards = value; + } + + [Input("isEnabled")] + public Input? IsEnabled { get; set; } + + public ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceGetArgs() + { + } + public static new ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceGetArgs Empty => new ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs.cs b/sdk/dotnet/Inputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs.cs new file mode 100644 index 00000000..9a933e5f --- /dev/null +++ b/sdk/dotnet/Inputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs.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 EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs : global::Pulumi.ResourceArgs + { + [Input("isEnabled")] + public Input? IsEnabled { get; set; } + + public EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs() + { + } + public static new EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs Empty => new EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs(); + } +} diff --git a/sdk/dotnet/Inputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceGetArgs.cs b/sdk/dotnet/Inputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceGetArgs.cs new file mode 100644 index 00000000..ad126ade --- /dev/null +++ b/sdk/dotnet/Inputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceGetArgs.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 EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceGetArgs : global::Pulumi.ResourceArgs + { + [Input("isEnabled")] + public Input? IsEnabled { get; set; } + + public EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceGetArgs() + { + } + public static new EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceGetArgs Empty => new EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetExternalLocationExternalLocationInfo.cs b/sdk/dotnet/Inputs/GetExternalLocationExternalLocationInfo.cs index 4d4bd841..7dfdc9f9 100644 --- a/sdk/dotnet/Inputs/GetExternalLocationExternalLocationInfo.cs +++ b/sdk/dotnet/Inputs/GetExternalLocationExternalLocationInfo.cs @@ -27,12 +27,21 @@ public sealed class GetExternalLocationExternalLocationInfoArgs : global::Pulumi [Input("comment")] public string? Comment { get; set; } + /// + /// Time at which this catalog was created, in epoch milliseconds. + /// [Input("createdAt")] public int? CreatedAt { get; set; } + /// + /// Username of catalog creator. + /// [Input("createdBy")] public string? CreatedBy { get; set; } + /// + /// Unique ID of storage credential. + /// [Input("credentialId")] public string? CredentialId { get; set; } @@ -48,11 +57,14 @@ public sealed class GetExternalLocationExternalLocationInfoArgs : global::Pulumi [Input("encryptionDetails")] public Inputs.GetExternalLocationExternalLocationInfoEncryptionDetailsArgs? EncryptionDetails { get; set; } + /// + /// Unique identifier of the parent Metastore. + /// [Input("metastoreId")] public string? MetastoreId { get; set; } /// - /// The name of the storage credential + /// The name of the external location /// [Input("name")] public string? Name { get; set; } @@ -69,9 +81,15 @@ public sealed class GetExternalLocationExternalLocationInfoArgs : global::Pulumi [Input("readOnly")] public bool? ReadOnly { get; set; } + /// + /// Time at which this catalog was last modified, in epoch milliseconds. + /// [Input("updatedAt")] public int? UpdatedAt { get; set; } + /// + /// Username of user who last modified catalog. + /// [Input("updatedBy")] public string? UpdatedBy { get; set; } diff --git a/sdk/dotnet/Inputs/GetExternalLocationExternalLocationInfoArgs.cs b/sdk/dotnet/Inputs/GetExternalLocationExternalLocationInfoArgs.cs index 9b0da914..b2ccd33c 100644 --- a/sdk/dotnet/Inputs/GetExternalLocationExternalLocationInfoArgs.cs +++ b/sdk/dotnet/Inputs/GetExternalLocationExternalLocationInfoArgs.cs @@ -27,12 +27,21 @@ public sealed class GetExternalLocationExternalLocationInfoInputArgs : global::P [Input("comment")] public Input? Comment { get; set; } + /// + /// Time at which this catalog was created, in epoch milliseconds. + /// [Input("createdAt")] public Input? CreatedAt { get; set; } + /// + /// Username of catalog creator. + /// [Input("createdBy")] public Input? CreatedBy { get; set; } + /// + /// Unique ID of storage credential. + /// [Input("credentialId")] public Input? CredentialId { get; set; } @@ -48,11 +57,14 @@ public sealed class GetExternalLocationExternalLocationInfoInputArgs : global::P [Input("encryptionDetails")] public Input? EncryptionDetails { get; set; } + /// + /// Unique identifier of the parent Metastore. + /// [Input("metastoreId")] public Input? MetastoreId { get; set; } /// - /// The name of the storage credential + /// The name of the external location /// [Input("name")] public Input? Name { get; set; } @@ -69,9 +81,15 @@ public sealed class GetExternalLocationExternalLocationInfoInputArgs : global::P [Input("readOnly")] public Input? ReadOnly { get; set; } + /// + /// Time at which this catalog was last modified, in epoch milliseconds. + /// [Input("updatedAt")] public Input? UpdatedAt { get; set; } + /// + /// Username of user who last modified catalog. + /// [Input("updatedBy")] public Input? UpdatedBy { get; set; } diff --git a/sdk/dotnet/Inputs/GetStorageCredentialStorageCredentialInfo.cs b/sdk/dotnet/Inputs/GetStorageCredentialStorageCredentialInfo.cs index ad7ee22c..10d5f828 100644 --- a/sdk/dotnet/Inputs/GetStorageCredentialStorageCredentialInfo.cs +++ b/sdk/dotnet/Inputs/GetStorageCredentialStorageCredentialInfo.cs @@ -12,12 +12,21 @@ namespace Pulumi.Databricks.Inputs public sealed class GetStorageCredentialStorageCredentialInfoArgs : global::Pulumi.InvokeArgs { + /// + /// credential details for AWS: + /// [Input("awsIamRole")] public Inputs.GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs? AwsIamRole { get; set; } + /// + /// managed identity credential details for Azure + /// [Input("azureManagedIdentity")] public Inputs.GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs? AzureManagedIdentity { get; set; } + /// + /// service principal credential details for Azure: + /// [Input("azureServicePrincipal")] public Inputs.GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs? AzureServicePrincipal { get; set; } @@ -27,15 +36,27 @@ public sealed class GetStorageCredentialStorageCredentialInfoArgs : global::Pulu [Input("comment")] public string? Comment { get; set; } + /// + /// Time at which this catalog was created, in epoch milliseconds. + /// [Input("createdAt")] public int? CreatedAt { get; set; } + /// + /// Username of catalog creator. + /// [Input("createdBy")] public string? CreatedBy { get; set; } + /// + /// credential details for GCP: + /// [Input("databricksGcpServiceAccount")] public Inputs.GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs? DatabricksGcpServiceAccount { get; set; } + /// + /// Unique ID of storage credential. + /// [Input("id")] public string? Id { get; set; } @@ -63,9 +84,15 @@ public sealed class GetStorageCredentialStorageCredentialInfoArgs : global::Pulu [Input("readOnly")] public bool? ReadOnly { get; set; } + /// + /// Time at which this catalog was last modified, in epoch milliseconds. + /// [Input("updatedAt")] public int? UpdatedAt { get; set; } + /// + /// Username of user who last modified catalog. + /// [Input("updatedBy")] public string? UpdatedBy { get; set; } diff --git a/sdk/dotnet/Inputs/GetStorageCredentialStorageCredentialInfoArgs.cs b/sdk/dotnet/Inputs/GetStorageCredentialStorageCredentialInfoArgs.cs index 5e773f8d..76c31929 100644 --- a/sdk/dotnet/Inputs/GetStorageCredentialStorageCredentialInfoArgs.cs +++ b/sdk/dotnet/Inputs/GetStorageCredentialStorageCredentialInfoArgs.cs @@ -12,12 +12,21 @@ namespace Pulumi.Databricks.Inputs public sealed class GetStorageCredentialStorageCredentialInfoInputArgs : global::Pulumi.ResourceArgs { + /// + /// credential details for AWS: + /// [Input("awsIamRole")] public Input? AwsIamRole { get; set; } + /// + /// managed identity credential details for Azure + /// [Input("azureManagedIdentity")] public Input? AzureManagedIdentity { get; set; } + /// + /// service principal credential details for Azure: + /// [Input("azureServicePrincipal")] public Input? AzureServicePrincipal { get; set; } @@ -27,15 +36,27 @@ public sealed class GetStorageCredentialStorageCredentialInfoInputArgs : global: [Input("comment")] public Input? Comment { get; set; } + /// + /// Time at which this catalog was created, in epoch milliseconds. + /// [Input("createdAt")] public Input? CreatedAt { get; set; } + /// + /// Username of catalog creator. + /// [Input("createdBy")] public Input? CreatedBy { get; set; } + /// + /// credential details for GCP: + /// [Input("databricksGcpServiceAccount")] public Input? DatabricksGcpServiceAccount { get; set; } + /// + /// Unique ID of storage credential. + /// [Input("id")] public Input? Id { get; set; } @@ -63,9 +84,15 @@ public sealed class GetStorageCredentialStorageCredentialInfoInputArgs : global: [Input("readOnly")] public Input? ReadOnly { get; set; } + /// + /// Time at which this catalog was last modified, in epoch milliseconds. + /// [Input("updatedAt")] public Input? UpdatedAt { get; set; } + /// + /// Username of user who last modified catalog. + /// [Input("updatedBy")] public Input? UpdatedBy { get; set; } diff --git a/sdk/dotnet/Inputs/JobJobClusterNewClusterArgs.cs b/sdk/dotnet/Inputs/JobJobClusterNewClusterArgs.cs index 99447999..8239da1b 100644 --- a/sdk/dotnet/Inputs/JobJobClusterNewClusterArgs.cs +++ b/sdk/dotnet/Inputs/JobJobClusterNewClusterArgs.cs @@ -27,9 +27,6 @@ public sealed class JobJobClusterNewClusterArgs : global::Pulumi.ResourceArgs [Input("azureAttributes")] public Input? AzureAttributes { get; set; } - [Input("cloneFrom")] - public Input? CloneFrom { get; set; } - [Input("clusterId")] public Input? ClusterId { get; set; } diff --git a/sdk/dotnet/Inputs/JobJobClusterNewClusterCloneFromArgs.cs b/sdk/dotnet/Inputs/JobJobClusterNewClusterCloneFromArgs.cs deleted file mode 100644 index 885836d2..00000000 --- a/sdk/dotnet/Inputs/JobJobClusterNewClusterCloneFromArgs.cs +++ /dev/null @@ -1,23 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.Databricks.Inputs -{ - - public sealed class JobJobClusterNewClusterCloneFromArgs : global::Pulumi.ResourceArgs - { - [Input("sourceClusterId", required: true)] - public Input SourceClusterId { get; set; } = null!; - - public JobJobClusterNewClusterCloneFromArgs() - { - } - public static new JobJobClusterNewClusterCloneFromArgs Empty => new JobJobClusterNewClusterCloneFromArgs(); - } -} diff --git a/sdk/dotnet/Inputs/JobJobClusterNewClusterCloneFromGetArgs.cs b/sdk/dotnet/Inputs/JobJobClusterNewClusterCloneFromGetArgs.cs deleted file mode 100644 index f45ecd7d..00000000 --- a/sdk/dotnet/Inputs/JobJobClusterNewClusterCloneFromGetArgs.cs +++ /dev/null @@ -1,23 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.Databricks.Inputs -{ - - public sealed class JobJobClusterNewClusterCloneFromGetArgs : global::Pulumi.ResourceArgs - { - [Input("sourceClusterId", required: true)] - public Input SourceClusterId { get; set; } = null!; - - public JobJobClusterNewClusterCloneFromGetArgs() - { - } - public static new JobJobClusterNewClusterCloneFromGetArgs Empty => new JobJobClusterNewClusterCloneFromGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/JobJobClusterNewClusterGetArgs.cs b/sdk/dotnet/Inputs/JobJobClusterNewClusterGetArgs.cs index 30d9bc69..198699b1 100644 --- a/sdk/dotnet/Inputs/JobJobClusterNewClusterGetArgs.cs +++ b/sdk/dotnet/Inputs/JobJobClusterNewClusterGetArgs.cs @@ -27,9 +27,6 @@ public sealed class JobJobClusterNewClusterGetArgs : global::Pulumi.ResourceArgs [Input("azureAttributes")] public Input? AzureAttributes { get; set; } - [Input("cloneFrom")] - public Input? CloneFrom { get; set; } - [Input("clusterId")] public Input? ClusterId { get; set; } diff --git a/sdk/dotnet/Inputs/JobNewClusterArgs.cs b/sdk/dotnet/Inputs/JobNewClusterArgs.cs index 43e89029..d52e953c 100644 --- a/sdk/dotnet/Inputs/JobNewClusterArgs.cs +++ b/sdk/dotnet/Inputs/JobNewClusterArgs.cs @@ -27,9 +27,6 @@ public sealed class JobNewClusterArgs : global::Pulumi.ResourceArgs [Input("azureAttributes")] public Input? AzureAttributes { get; set; } - [Input("cloneFrom")] - public Input? CloneFrom { get; set; } - [Input("clusterId")] public Input? ClusterId { get; set; } diff --git a/sdk/dotnet/Inputs/JobNewClusterGetArgs.cs b/sdk/dotnet/Inputs/JobNewClusterGetArgs.cs index c0471eb8..4e811bff 100644 --- a/sdk/dotnet/Inputs/JobNewClusterGetArgs.cs +++ b/sdk/dotnet/Inputs/JobNewClusterGetArgs.cs @@ -27,9 +27,6 @@ public sealed class JobNewClusterGetArgs : global::Pulumi.ResourceArgs [Input("azureAttributes")] public Input? AzureAttributes { get; set; } - [Input("cloneFrom")] - public Input? CloneFrom { get; set; } - [Input("clusterId")] public Input? ClusterId { get; set; } diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterArgs.cs index 1d14159d..114126e1 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterArgs.cs @@ -27,9 +27,6 @@ public sealed class JobTaskForEachTaskTaskNewClusterArgs : global::Pulumi.Resour [Input("azureAttributes")] public Input? AzureAttributes { get; set; } - [Input("cloneFrom")] - public Input? CloneFrom { get; set; } - [Input("clusterId")] public Input? ClusterId { get; set; } diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterCloneFromArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterCloneFromArgs.cs deleted file mode 100644 index e9f49a8d..00000000 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterCloneFromArgs.cs +++ /dev/null @@ -1,23 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.Databricks.Inputs -{ - - public sealed class JobTaskForEachTaskTaskNewClusterCloneFromArgs : global::Pulumi.ResourceArgs - { - [Input("sourceClusterId", required: true)] - public Input SourceClusterId { get; set; } = null!; - - public JobTaskForEachTaskTaskNewClusterCloneFromArgs() - { - } - public static new JobTaskForEachTaskTaskNewClusterCloneFromArgs Empty => new JobTaskForEachTaskTaskNewClusterCloneFromArgs(); - } -} diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterCloneFromGetArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterCloneFromGetArgs.cs deleted file mode 100644 index 5fa2e139..00000000 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterCloneFromGetArgs.cs +++ /dev/null @@ -1,23 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.Databricks.Inputs -{ - - public sealed class JobTaskForEachTaskTaskNewClusterCloneFromGetArgs : global::Pulumi.ResourceArgs - { - [Input("sourceClusterId", required: true)] - public Input SourceClusterId { get; set; } = null!; - - public JobTaskForEachTaskTaskNewClusterCloneFromGetArgs() - { - } - public static new JobTaskForEachTaskTaskNewClusterCloneFromGetArgs Empty => new JobTaskForEachTaskTaskNewClusterCloneFromGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterGetArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterGetArgs.cs index 45b4a49a..a7530384 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterGetArgs.cs @@ -27,9 +27,6 @@ public sealed class JobTaskForEachTaskTaskNewClusterGetArgs : global::Pulumi.Res [Input("azureAttributes")] public Input? AzureAttributes { get; set; } - [Input("cloneFrom")] - public Input? CloneFrom { get; set; } - [Input("clusterId")] public Input? ClusterId { get; set; } diff --git a/sdk/dotnet/Inputs/JobTaskNewClusterArgs.cs b/sdk/dotnet/Inputs/JobTaskNewClusterArgs.cs index e51661e2..99602740 100644 --- a/sdk/dotnet/Inputs/JobTaskNewClusterArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskNewClusterArgs.cs @@ -27,9 +27,6 @@ public sealed class JobTaskNewClusterArgs : global::Pulumi.ResourceArgs [Input("azureAttributes")] public Input? AzureAttributes { get; set; } - [Input("cloneFrom")] - public Input? CloneFrom { get; set; } - [Input("clusterId")] public Input? ClusterId { get; set; } diff --git a/sdk/dotnet/Inputs/JobTaskNewClusterCloneFromArgs.cs b/sdk/dotnet/Inputs/JobTaskNewClusterCloneFromArgs.cs deleted file mode 100644 index b4859f19..00000000 --- a/sdk/dotnet/Inputs/JobTaskNewClusterCloneFromArgs.cs +++ /dev/null @@ -1,23 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.Databricks.Inputs -{ - - public sealed class JobTaskNewClusterCloneFromArgs : global::Pulumi.ResourceArgs - { - [Input("sourceClusterId", required: true)] - public Input SourceClusterId { get; set; } = null!; - - public JobTaskNewClusterCloneFromArgs() - { - } - public static new JobTaskNewClusterCloneFromArgs Empty => new JobTaskNewClusterCloneFromArgs(); - } -} diff --git a/sdk/dotnet/Inputs/JobTaskNewClusterCloneFromGetArgs.cs b/sdk/dotnet/Inputs/JobTaskNewClusterCloneFromGetArgs.cs deleted file mode 100644 index f8fc4e9a..00000000 --- a/sdk/dotnet/Inputs/JobTaskNewClusterCloneFromGetArgs.cs +++ /dev/null @@ -1,23 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.Databricks.Inputs -{ - - public sealed class JobTaskNewClusterCloneFromGetArgs : global::Pulumi.ResourceArgs - { - [Input("sourceClusterId", required: true)] - public Input SourceClusterId { get; set; } = null!; - - public JobTaskNewClusterCloneFromGetArgs() - { - } - public static new JobTaskNewClusterCloneFromGetArgs Empty => new JobTaskNewClusterCloneFromGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/JobTaskNewClusterGetArgs.cs b/sdk/dotnet/Inputs/JobTaskNewClusterGetArgs.cs index 9ab24ffc..259d8aee 100644 --- a/sdk/dotnet/Inputs/JobTaskNewClusterGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskNewClusterGetArgs.cs @@ -27,9 +27,6 @@ public sealed class JobTaskNewClusterGetArgs : global::Pulumi.ResourceArgs [Input("azureAttributes")] public Input? AzureAttributes { get; set; } - [Input("cloneFrom")] - public Input? CloneFrom { get; set; } - [Input("clusterId")] public Input? ClusterId { get; set; } diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigArgs.cs index 1954c0a2..5a11fb2a 100644 --- a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigArgs.cs @@ -12,11 +12,20 @@ namespace Pulumi.Databricks.Inputs public sealed class ModelServingConfigServedEntityExternalModelOpenaiConfigArgs : global::Pulumi.ResourceArgs { + [Input("microsoftEntraClientId")] + public Input? MicrosoftEntraClientId { get; set; } + + [Input("microsoftEntraClientSecret")] + public Input? MicrosoftEntraClientSecret { get; set; } + + [Input("microsoftEntraTenantId")] + public Input? MicrosoftEntraTenantId { get; set; } + [Input("openaiApiBase")] public Input? OpenaiApiBase { get; set; } - [Input("openaiApiKey", required: true)] - public Input OpenaiApiKey { get; set; } = null!; + [Input("openaiApiKey")] + public Input? OpenaiApiKey { get; set; } [Input("openaiApiType")] public Input? OpenaiApiType { get; set; } diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigGetArgs.cs index dd28de43..941ad130 100644 --- a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigGetArgs.cs @@ -12,11 +12,20 @@ namespace Pulumi.Databricks.Inputs public sealed class ModelServingConfigServedEntityExternalModelOpenaiConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("microsoftEntraClientId")] + public Input? MicrosoftEntraClientId { get; set; } + + [Input("microsoftEntraClientSecret")] + public Input? MicrosoftEntraClientSecret { get; set; } + + [Input("microsoftEntraTenantId")] + public Input? MicrosoftEntraTenantId { get; set; } + [Input("openaiApiBase")] public Input? OpenaiApiBase { get; set; } - [Input("openaiApiKey", required: true)] - public Input OpenaiApiKey { get; set; } = null!; + [Input("openaiApiKey")] + public Input? OpenaiApiKey { get; set; } [Input("openaiApiType")] public Input? OpenaiApiType { get; set; } diff --git a/sdk/dotnet/Inputs/QualityMonitorCustomMetricArgs.cs b/sdk/dotnet/Inputs/QualityMonitorCustomMetricArgs.cs new file mode 100644 index 00000000..18e16eb1 --- /dev/null +++ b/sdk/dotnet/Inputs/QualityMonitorCustomMetricArgs.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 QualityMonitorCustomMetricArgs : global::Pulumi.ResourceArgs + { + /// + /// [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + /// + [Input("definition", required: true)] + public Input Definition { get; set; } = null!; + + [Input("inputColumns", required: true)] + 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", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The output type of the custom metric. + /// + [Input("outputDataType", required: true)] + public Input OutputDataType { get; set; } = null!; + + /// + /// The type of the custom metric. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public QualityMonitorCustomMetricArgs() + { + } + public static new QualityMonitorCustomMetricArgs Empty => new QualityMonitorCustomMetricArgs(); + } +} diff --git a/sdk/dotnet/Inputs/QualityMonitorCustomMetricGetArgs.cs b/sdk/dotnet/Inputs/QualityMonitorCustomMetricGetArgs.cs new file mode 100644 index 00000000..7d67825a --- /dev/null +++ b/sdk/dotnet/Inputs/QualityMonitorCustomMetricGetArgs.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 QualityMonitorCustomMetricGetArgs : global::Pulumi.ResourceArgs + { + /// + /// [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + /// + [Input("definition", required: true)] + public Input Definition { get; set; } = null!; + + [Input("inputColumns", required: true)] + 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", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The output type of the custom metric. + /// + [Input("outputDataType", required: true)] + public Input OutputDataType { get; set; } = null!; + + /// + /// The type of the custom metric. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public QualityMonitorCustomMetricGetArgs() + { + } + public static new QualityMonitorCustomMetricGetArgs Empty => new QualityMonitorCustomMetricGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ClusterCloneFromArgs.cs b/sdk/dotnet/Inputs/QualityMonitorDataClassificationConfigArgs.cs similarity index 51% rename from sdk/dotnet/Inputs/ClusterCloneFromArgs.cs rename to sdk/dotnet/Inputs/QualityMonitorDataClassificationConfigArgs.cs index b2333ca7..2ce199e6 100644 --- a/sdk/dotnet/Inputs/ClusterCloneFromArgs.cs +++ b/sdk/dotnet/Inputs/QualityMonitorDataClassificationConfigArgs.cs @@ -10,14 +10,14 @@ namespace Pulumi.Databricks.Inputs { - public sealed class ClusterCloneFromArgs : global::Pulumi.ResourceArgs + public sealed class QualityMonitorDataClassificationConfigArgs : global::Pulumi.ResourceArgs { - [Input("sourceClusterId", required: true)] - public Input SourceClusterId { get; set; } = null!; + [Input("enabled")] + public Input? Enabled { get; set; } - public ClusterCloneFromArgs() + public QualityMonitorDataClassificationConfigArgs() { } - public static new ClusterCloneFromArgs Empty => new ClusterCloneFromArgs(); + public static new QualityMonitorDataClassificationConfigArgs Empty => new QualityMonitorDataClassificationConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterCloneFromGetArgs.cs b/sdk/dotnet/Inputs/QualityMonitorDataClassificationConfigGetArgs.cs similarity index 50% rename from sdk/dotnet/Inputs/ClusterCloneFromGetArgs.cs rename to sdk/dotnet/Inputs/QualityMonitorDataClassificationConfigGetArgs.cs index bb0875fd..7cfb4f29 100644 --- a/sdk/dotnet/Inputs/ClusterCloneFromGetArgs.cs +++ b/sdk/dotnet/Inputs/QualityMonitorDataClassificationConfigGetArgs.cs @@ -10,14 +10,14 @@ namespace Pulumi.Databricks.Inputs { - public sealed class ClusterCloneFromGetArgs : global::Pulumi.ResourceArgs + public sealed class QualityMonitorDataClassificationConfigGetArgs : global::Pulumi.ResourceArgs { - [Input("sourceClusterId", required: true)] - public Input SourceClusterId { get; set; } = null!; + [Input("enabled")] + public Input? Enabled { get; set; } - public ClusterCloneFromGetArgs() + public QualityMonitorDataClassificationConfigGetArgs() { } - public static new ClusterCloneFromGetArgs Empty => new ClusterCloneFromGetArgs(); + public static new QualityMonitorDataClassificationConfigGetArgs Empty => new QualityMonitorDataClassificationConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/QualityMonitorInferenceLogArgs.cs b/sdk/dotnet/Inputs/QualityMonitorInferenceLogArgs.cs new file mode 100644 index 00000000..48e557a9 --- /dev/null +++ b/sdk/dotnet/Inputs/QualityMonitorInferenceLogArgs.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 QualityMonitorInferenceLogArgs : global::Pulumi.ResourceArgs + { + [Input("granularities", required: true)] + 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", required: true)] + public Input ModelIdCol { get; set; } = null!; + + /// + /// Column of the model prediction + /// + [Input("predictionCol", required: true)] + public Input PredictionCol { get; set; } = null!; + + /// + /// 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", required: true)] + public Input ProblemType { get; set; } = null!; + + /// + /// Column of the timestamp of predictions + /// + [Input("timestampCol", required: true)] + public Input TimestampCol { get; set; } = null!; + + public QualityMonitorInferenceLogArgs() + { + } + public static new QualityMonitorInferenceLogArgs Empty => new QualityMonitorInferenceLogArgs(); + } +} diff --git a/sdk/dotnet/Inputs/QualityMonitorInferenceLogGetArgs.cs b/sdk/dotnet/Inputs/QualityMonitorInferenceLogGetArgs.cs new file mode 100644 index 00000000..b9e182da --- /dev/null +++ b/sdk/dotnet/Inputs/QualityMonitorInferenceLogGetArgs.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 QualityMonitorInferenceLogGetArgs : global::Pulumi.ResourceArgs + { + [Input("granularities", required: true)] + 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", required: true)] + public Input ModelIdCol { get; set; } = null!; + + /// + /// Column of the model prediction + /// + [Input("predictionCol", required: true)] + public Input PredictionCol { get; set; } = null!; + + /// + /// 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", required: true)] + public Input ProblemType { get; set; } = null!; + + /// + /// Column of the timestamp of predictions + /// + [Input("timestampCol", required: true)] + public Input TimestampCol { get; set; } = null!; + + public QualityMonitorInferenceLogGetArgs() + { + } + public static new QualityMonitorInferenceLogGetArgs Empty => new QualityMonitorInferenceLogGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/QualityMonitorNotificationsArgs.cs b/sdk/dotnet/Inputs/QualityMonitorNotificationsArgs.cs new file mode 100644 index 00000000..245fc82c --- /dev/null +++ b/sdk/dotnet/Inputs/QualityMonitorNotificationsArgs.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 QualityMonitorNotificationsArgs : global::Pulumi.ResourceArgs + { + /// + /// who to send notifications to on monitor failure. + /// + [Input("onFailure")] + public Input? OnFailure { get; set; } + + /// + /// Who to send notifications to when new data classification tags are detected. + /// + [Input("onNewClassificationTagDetected")] + public Input? OnNewClassificationTagDetected { get; set; } + + public QualityMonitorNotificationsArgs() + { + } + public static new QualityMonitorNotificationsArgs Empty => new QualityMonitorNotificationsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/QualityMonitorNotificationsGetArgs.cs b/sdk/dotnet/Inputs/QualityMonitorNotificationsGetArgs.cs new file mode 100644 index 00000000..cf7c16c4 --- /dev/null +++ b/sdk/dotnet/Inputs/QualityMonitorNotificationsGetArgs.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 QualityMonitorNotificationsGetArgs : global::Pulumi.ResourceArgs + { + /// + /// who to send notifications to on monitor failure. + /// + [Input("onFailure")] + public Input? OnFailure { get; set; } + + /// + /// Who to send notifications to when new data classification tags are detected. + /// + [Input("onNewClassificationTagDetected")] + public Input? OnNewClassificationTagDetected { get; set; } + + public QualityMonitorNotificationsGetArgs() + { + } + public static new QualityMonitorNotificationsGetArgs Empty => new QualityMonitorNotificationsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/QualityMonitorNotificationsOnFailureArgs.cs b/sdk/dotnet/Inputs/QualityMonitorNotificationsOnFailureArgs.cs new file mode 100644 index 00000000..99f79222 --- /dev/null +++ b/sdk/dotnet/Inputs/QualityMonitorNotificationsOnFailureArgs.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 QualityMonitorNotificationsOnFailureArgs : global::Pulumi.ResourceArgs + { + [Input("emailAddresses")] + private InputList? _emailAddresses; + public InputList EmailAddresses + { + get => _emailAddresses ?? (_emailAddresses = new InputList()); + set => _emailAddresses = value; + } + + public QualityMonitorNotificationsOnFailureArgs() + { + } + public static new QualityMonitorNotificationsOnFailureArgs Empty => new QualityMonitorNotificationsOnFailureArgs(); + } +} diff --git a/sdk/dotnet/Inputs/QualityMonitorNotificationsOnFailureGetArgs.cs b/sdk/dotnet/Inputs/QualityMonitorNotificationsOnFailureGetArgs.cs new file mode 100644 index 00000000..7017f136 --- /dev/null +++ b/sdk/dotnet/Inputs/QualityMonitorNotificationsOnFailureGetArgs.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 QualityMonitorNotificationsOnFailureGetArgs : global::Pulumi.ResourceArgs + { + [Input("emailAddresses")] + private InputList? _emailAddresses; + public InputList EmailAddresses + { + get => _emailAddresses ?? (_emailAddresses = new InputList()); + set => _emailAddresses = value; + } + + public QualityMonitorNotificationsOnFailureGetArgs() + { + } + public static new QualityMonitorNotificationsOnFailureGetArgs Empty => new QualityMonitorNotificationsOnFailureGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/QualityMonitorNotificationsOnNewClassificationTagDetectedArgs.cs b/sdk/dotnet/Inputs/QualityMonitorNotificationsOnNewClassificationTagDetectedArgs.cs new file mode 100644 index 00000000..090d8585 --- /dev/null +++ b/sdk/dotnet/Inputs/QualityMonitorNotificationsOnNewClassificationTagDetectedArgs.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 QualityMonitorNotificationsOnNewClassificationTagDetectedArgs : global::Pulumi.ResourceArgs + { + [Input("emailAddresses")] + private InputList? _emailAddresses; + public InputList EmailAddresses + { + get => _emailAddresses ?? (_emailAddresses = new InputList()); + set => _emailAddresses = value; + } + + public QualityMonitorNotificationsOnNewClassificationTagDetectedArgs() + { + } + public static new QualityMonitorNotificationsOnNewClassificationTagDetectedArgs Empty => new QualityMonitorNotificationsOnNewClassificationTagDetectedArgs(); + } +} diff --git a/sdk/dotnet/Inputs/QualityMonitorNotificationsOnNewClassificationTagDetectedGetArgs.cs b/sdk/dotnet/Inputs/QualityMonitorNotificationsOnNewClassificationTagDetectedGetArgs.cs new file mode 100644 index 00000000..81ca1e80 --- /dev/null +++ b/sdk/dotnet/Inputs/QualityMonitorNotificationsOnNewClassificationTagDetectedGetArgs.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 QualityMonitorNotificationsOnNewClassificationTagDetectedGetArgs : global::Pulumi.ResourceArgs + { + [Input("emailAddresses")] + private InputList? _emailAddresses; + public InputList EmailAddresses + { + get => _emailAddresses ?? (_emailAddresses = new InputList()); + set => _emailAddresses = value; + } + + public QualityMonitorNotificationsOnNewClassificationTagDetectedGetArgs() + { + } + public static new QualityMonitorNotificationsOnNewClassificationTagDetectedGetArgs Empty => new QualityMonitorNotificationsOnNewClassificationTagDetectedGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/QualityMonitorScheduleArgs.cs b/sdk/dotnet/Inputs/QualityMonitorScheduleArgs.cs new file mode 100644 index 00000000..e45caa5b --- /dev/null +++ b/sdk/dotnet/Inputs/QualityMonitorScheduleArgs.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 QualityMonitorScheduleArgs : global::Pulumi.ResourceArgs + { + /// + /// optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + /// + [Input("pauseStatus")] + public Input? PauseStatus { get; set; } + + /// + /// string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + /// + [Input("quartzCronExpression", required: true)] + public Input QuartzCronExpression { get; set; } = null!; + + /// + /// string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + /// + [Input("timezoneId", required: true)] + public Input TimezoneId { get; set; } = null!; + + public QualityMonitorScheduleArgs() + { + } + public static new QualityMonitorScheduleArgs Empty => new QualityMonitorScheduleArgs(); + } +} diff --git a/sdk/dotnet/Inputs/QualityMonitorScheduleGetArgs.cs b/sdk/dotnet/Inputs/QualityMonitorScheduleGetArgs.cs new file mode 100644 index 00000000..92303f34 --- /dev/null +++ b/sdk/dotnet/Inputs/QualityMonitorScheduleGetArgs.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 QualityMonitorScheduleGetArgs : global::Pulumi.ResourceArgs + { + /// + /// optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + /// + [Input("pauseStatus")] + public Input? PauseStatus { get; set; } + + /// + /// string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + /// + [Input("quartzCronExpression", required: true)] + public Input QuartzCronExpression { get; set; } = null!; + + /// + /// string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + /// + [Input("timezoneId", required: true)] + public Input TimezoneId { get; set; } = null!; + + public QualityMonitorScheduleGetArgs() + { + } + public static new QualityMonitorScheduleGetArgs Empty => new QualityMonitorScheduleGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/JobNewClusterCloneFromArgs.cs b/sdk/dotnet/Inputs/QualityMonitorSnapshotArgs.cs similarity index 55% rename from sdk/dotnet/Inputs/JobNewClusterCloneFromArgs.cs rename to sdk/dotnet/Inputs/QualityMonitorSnapshotArgs.cs index 4c858b49..85fb39e7 100644 --- a/sdk/dotnet/Inputs/JobNewClusterCloneFromArgs.cs +++ b/sdk/dotnet/Inputs/QualityMonitorSnapshotArgs.cs @@ -10,14 +10,11 @@ namespace Pulumi.Databricks.Inputs { - public sealed class JobNewClusterCloneFromArgs : global::Pulumi.ResourceArgs + public sealed class QualityMonitorSnapshotArgs : global::Pulumi.ResourceArgs { - [Input("sourceClusterId", required: true)] - public Input SourceClusterId { get; set; } = null!; - - public JobNewClusterCloneFromArgs() + public QualityMonitorSnapshotArgs() { } - public static new JobNewClusterCloneFromArgs Empty => new JobNewClusterCloneFromArgs(); + public static new QualityMonitorSnapshotArgs Empty => new QualityMonitorSnapshotArgs(); } } diff --git a/sdk/dotnet/Inputs/JobNewClusterCloneFromGetArgs.cs b/sdk/dotnet/Inputs/QualityMonitorSnapshotGetArgs.cs similarity index 55% rename from sdk/dotnet/Inputs/JobNewClusterCloneFromGetArgs.cs rename to sdk/dotnet/Inputs/QualityMonitorSnapshotGetArgs.cs index 6d54f7b4..180b927b 100644 --- a/sdk/dotnet/Inputs/JobNewClusterCloneFromGetArgs.cs +++ b/sdk/dotnet/Inputs/QualityMonitorSnapshotGetArgs.cs @@ -10,14 +10,11 @@ namespace Pulumi.Databricks.Inputs { - public sealed class JobNewClusterCloneFromGetArgs : global::Pulumi.ResourceArgs + public sealed class QualityMonitorSnapshotGetArgs : global::Pulumi.ResourceArgs { - [Input("sourceClusterId", required: true)] - public Input SourceClusterId { get; set; } = null!; - - public JobNewClusterCloneFromGetArgs() + public QualityMonitorSnapshotGetArgs() { } - public static new JobNewClusterCloneFromGetArgs Empty => new JobNewClusterCloneFromGetArgs(); + public static new QualityMonitorSnapshotGetArgs Empty => new QualityMonitorSnapshotGetArgs(); } } diff --git a/sdk/dotnet/Inputs/QualityMonitorTimeSeriesArgs.cs b/sdk/dotnet/Inputs/QualityMonitorTimeSeriesArgs.cs new file mode 100644 index 00000000..4f8692d2 --- /dev/null +++ b/sdk/dotnet/Inputs/QualityMonitorTimeSeriesArgs.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 QualityMonitorTimeSeriesArgs : global::Pulumi.ResourceArgs + { + [Input("granularities", required: true)] + 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", required: true)] + public Input TimestampCol { get; set; } = null!; + + public QualityMonitorTimeSeriesArgs() + { + } + public static new QualityMonitorTimeSeriesArgs Empty => new QualityMonitorTimeSeriesArgs(); + } +} diff --git a/sdk/dotnet/Inputs/QualityMonitorTimeSeriesGetArgs.cs b/sdk/dotnet/Inputs/QualityMonitorTimeSeriesGetArgs.cs new file mode 100644 index 00000000..6698f537 --- /dev/null +++ b/sdk/dotnet/Inputs/QualityMonitorTimeSeriesGetArgs.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 QualityMonitorTimeSeriesGetArgs : global::Pulumi.ResourceArgs + { + [Input("granularities", required: true)] + 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", required: true)] + public Input TimestampCol { get; set; } = null!; + + public QualityMonitorTimeSeriesGetArgs() + { + } + public static new QualityMonitorTimeSeriesGetArgs Empty => new QualityMonitorTimeSeriesGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecArgs.cs index b9f486f7..4a1f5889 100644 --- a/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecArgs.cs +++ b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecArgs.cs @@ -32,6 +32,9 @@ public InputList _embeddingVectorColumns = value; } + [Input("embeddingWritebackTable")] + public Input? EmbeddingWritebackTable { get; set; } + /// /// ID of the associated Delta Live Table pipeline. /// diff --git a/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecGetArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecGetArgs.cs index 131c9aad..2f79064d 100644 --- a/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecGetArgs.cs +++ b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecGetArgs.cs @@ -32,6 +32,9 @@ public InputList _embeddingVectorColumns = value; } + [Input("embeddingWritebackTable")] + public Input? EmbeddingWritebackTable { get; set; } + /// /// ID of the associated Delta Live Table pipeline. /// diff --git a/sdk/dotnet/LakehouseMonitor.cs b/sdk/dotnet/LakehouseMonitor.cs index 8ed234fa..a20882c1 100644 --- a/sdk/dotnet/LakehouseMonitor.cs +++ b/sdk/dotnet/LakehouseMonitor.cs @@ -10,6 +10,8 @@ namespace Pulumi.Databricks { /// + /// NOTE: This resource has been deprecated and will be removed soon. Please use the databricks.QualityMonitor resource instead. + /// /// 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. diff --git a/sdk/dotnet/ModelServing.cs b/sdk/dotnet/ModelServing.cs index cf93f966..361e2264 100644 --- a/sdk/dotnet/ModelServing.cs +++ b/sdk/dotnet/ModelServing.cs @@ -117,6 +117,12 @@ public partial class ModelServing : global::Pulumi.CustomResource [Output("rateLimits")] public Output> RateLimits { get; private set; } = null!; + /// + /// A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + /// + [Output("routeOptimized")] + public Output RouteOptimized { get; private set; } = null!; + /// /// Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. /// @@ -199,6 +205,12 @@ public InputList RateLimits set => _rateLimits = value; } + /// + /// A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + /// + [Input("routeOptimized")] + public Input? RouteOptimized { get; set; } + [Input("tags")] private InputList? _tags; @@ -243,6 +255,12 @@ public InputList RateLimits set => _rateLimits = value; } + /// + /// A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + /// + [Input("routeOptimized")] + public Input? RouteOptimized { get; set; } + /// /// Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. /// diff --git a/sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace.cs b/sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace.cs new file mode 100644 index 00000000..7725bc7d --- /dev/null +++ b/sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace.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 AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace + { + public readonly bool? CanToggle; + public readonly bool? Enabled; + public readonly Outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails? EnablementDetails; + public readonly Outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow? MaintenanceWindow; + public readonly bool? RestartEvenIfNoUpdatesAvailable; + + [OutputConstructor] + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace( + bool? canToggle, + + bool? enabled, + + Outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails? enablementDetails, + + Outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow? maintenanceWindow, + + bool? restartEvenIfNoUpdatesAvailable) + { + CanToggle = canToggle; + Enabled = enabled; + EnablementDetails = enablementDetails; + MaintenanceWindow = maintenanceWindow; + RestartEvenIfNoUpdatesAvailable = restartEvenIfNoUpdatesAvailable; + } + } +} diff --git a/sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails.cs b/sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails.cs new file mode 100644 index 00000000..c9a34398 --- /dev/null +++ b/sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails.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 AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails + { + public readonly bool? ForcedForComplianceMode; + public readonly bool? UnavailableForDisabledEntitlement; + public readonly bool? UnavailableForNonEnterpriseTier; + + [OutputConstructor] + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails( + bool? forcedForComplianceMode, + + bool? unavailableForDisabledEntitlement, + + bool? unavailableForNonEnterpriseTier) + { + ForcedForComplianceMode = forcedForComplianceMode; + UnavailableForDisabledEntitlement = unavailableForDisabledEntitlement; + UnavailableForNonEnterpriseTier = unavailableForNonEnterpriseTier; + } + } +} diff --git a/sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow.cs b/sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow.cs new file mode 100644 index 00000000..7131bf00 --- /dev/null +++ b/sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow.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 AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow + { + public readonly Outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule? WeekDayBasedSchedule; + + [OutputConstructor] + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow(Outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule? weekDayBasedSchedule) + { + WeekDayBasedSchedule = weekDayBasedSchedule; + } + } +} diff --git a/sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule.cs b/sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule.cs new file mode 100644 index 00000000..a89492e6 --- /dev/null +++ b/sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule.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 AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule + { + public readonly string? DayOfWeek; + public readonly string? Frequency; + public readonly Outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime? WindowStartTime; + + [OutputConstructor] + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule( + string? dayOfWeek, + + string? frequency, + + Outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime? windowStartTime) + { + DayOfWeek = dayOfWeek; + Frequency = frequency; + WindowStartTime = windowStartTime; + } + } +} diff --git a/sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime.cs b/sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime.cs new file mode 100644 index 00000000..388b5ce2 --- /dev/null +++ b/sdk/dotnet/Outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime.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 AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime + { + public readonly int? Hours; + public readonly int? Minutes; + + [OutputConstructor] + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime( + int? hours, + + int? minutes) + { + Hours = hours; + Minutes = minutes; + } + } +} diff --git a/sdk/dotnet/Outputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace.cs b/sdk/dotnet/Outputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace.cs new file mode 100644 index 00000000..25a77947 --- /dev/null +++ b/sdk/dotnet/Outputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace.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 ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace + { + public readonly ImmutableArray ComplianceStandards; + public readonly bool? IsEnabled; + + [OutputConstructor] + private ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace( + ImmutableArray complianceStandards, + + bool? isEnabled) + { + ComplianceStandards = complianceStandards; + IsEnabled = isEnabled; + } + } +} diff --git a/sdk/dotnet/Outputs/JobJobClusterNewClusterCloneFrom.cs b/sdk/dotnet/Outputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace.cs similarity index 60% rename from sdk/dotnet/Outputs/JobJobClusterNewClusterCloneFrom.cs rename to sdk/dotnet/Outputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace.cs index 55cd89fc..8cfa6ef5 100644 --- a/sdk/dotnet/Outputs/JobJobClusterNewClusterCloneFrom.cs +++ b/sdk/dotnet/Outputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace.cs @@ -11,14 +11,14 @@ namespace Pulumi.Databricks.Outputs { [OutputType] - public sealed class JobJobClusterNewClusterCloneFrom + public sealed class EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace { - public readonly string SourceClusterId; + public readonly bool? IsEnabled; [OutputConstructor] - private JobJobClusterNewClusterCloneFrom(string sourceClusterId) + private EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace(bool? isEnabled) { - SourceClusterId = sourceClusterId; + IsEnabled = isEnabled; } } } diff --git a/sdk/dotnet/Outputs/GetExternalLocationExternalLocationInfoResult.cs b/sdk/dotnet/Outputs/GetExternalLocationExternalLocationInfoResult.cs index 8a9aa615..d5f80125 100644 --- a/sdk/dotnet/Outputs/GetExternalLocationExternalLocationInfoResult.cs +++ b/sdk/dotnet/Outputs/GetExternalLocationExternalLocationInfoResult.cs @@ -22,8 +22,17 @@ public sealed class GetExternalLocationExternalLocationInfoResult /// User-supplied comment. /// public readonly string? Comment; + /// + /// Time at which this catalog was created, in epoch milliseconds. + /// public readonly int? CreatedAt; + /// + /// Username of catalog creator. + /// public readonly string? CreatedBy; + /// + /// Unique ID of storage credential. + /// public readonly string? CredentialId; /// /// Name of the databricks.StorageCredential to use with this external location. @@ -33,9 +42,12 @@ public sealed class GetExternalLocationExternalLocationInfoResult /// The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). /// public readonly Outputs.GetExternalLocationExternalLocationInfoEncryptionDetailsResult? EncryptionDetails; + /// + /// Unique identifier of the parent Metastore. + /// public readonly string? MetastoreId; /// - /// The name of the storage credential + /// The name of the external location /// public readonly string? Name; /// @@ -46,7 +58,13 @@ public sealed class GetExternalLocationExternalLocationInfoResult /// Indicates whether the external location is read-only. /// public readonly bool? ReadOnly; + /// + /// Time at which this catalog was last modified, in epoch milliseconds. + /// public readonly int? UpdatedAt; + /// + /// Username of user who last modified catalog. + /// public readonly string? UpdatedBy; /// /// Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). diff --git a/sdk/dotnet/Outputs/GetStorageCredentialStorageCredentialInfoResult.cs b/sdk/dotnet/Outputs/GetStorageCredentialStorageCredentialInfoResult.cs index f567cb9f..7ba62056 100644 --- a/sdk/dotnet/Outputs/GetStorageCredentialStorageCredentialInfoResult.cs +++ b/sdk/dotnet/Outputs/GetStorageCredentialStorageCredentialInfoResult.cs @@ -13,14 +13,35 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class GetStorageCredentialStorageCredentialInfoResult { + /// + /// credential details for AWS: + /// public readonly Outputs.GetStorageCredentialStorageCredentialInfoAwsIamRoleResult? AwsIamRole; + /// + /// managed identity credential details for Azure + /// public readonly Outputs.GetStorageCredentialStorageCredentialInfoAzureManagedIdentityResult? AzureManagedIdentity; + /// + /// service principal credential details for Azure: + /// public readonly Outputs.GetStorageCredentialStorageCredentialInfoAzureServicePrincipalResult? AzureServicePrincipal; public readonly Outputs.GetStorageCredentialStorageCredentialInfoCloudflareApiTokenResult? CloudflareApiToken; public readonly string? Comment; + /// + /// Time at which this catalog was created, in epoch milliseconds. + /// public readonly int? CreatedAt; + /// + /// Username of catalog creator. + /// public readonly string? CreatedBy; + /// + /// credential details for GCP: + /// public readonly Outputs.GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountResult? DatabricksGcpServiceAccount; + /// + /// Unique ID of storage credential. + /// public readonly string? Id; /// /// Unique identifier of the parent Metastore. @@ -38,7 +59,13 @@ public sealed class GetStorageCredentialStorageCredentialInfoResult /// Indicates whether the storage credential is only usable for read operations. /// public readonly bool? ReadOnly; + /// + /// Time at which this catalog was last modified, in epoch milliseconds. + /// public readonly int? UpdatedAt; + /// + /// Username of user who last modified catalog. + /// public readonly string? UpdatedBy; public readonly bool? UsedForManagedStorage; diff --git a/sdk/dotnet/Outputs/JobJobClusterNewCluster.cs b/sdk/dotnet/Outputs/JobJobClusterNewCluster.cs index e828eed1..b75fa7fb 100644 --- a/sdk/dotnet/Outputs/JobJobClusterNewCluster.cs +++ b/sdk/dotnet/Outputs/JobJobClusterNewCluster.cs @@ -18,7 +18,6 @@ public sealed class JobJobClusterNewCluster public readonly int? AutoterminationMinutes; public readonly Outputs.JobJobClusterNewClusterAwsAttributes? AwsAttributes; public readonly Outputs.JobJobClusterNewClusterAzureAttributes? AzureAttributes; - public readonly Outputs.JobJobClusterNewClusterCloneFrom? CloneFrom; public readonly string? ClusterId; public readonly Outputs.JobJobClusterNewClusterClusterLogConf? ClusterLogConf; public readonly ImmutableArray ClusterMountInfos; @@ -61,8 +60,6 @@ private JobJobClusterNewCluster( Outputs.JobJobClusterNewClusterAzureAttributes? azureAttributes, - Outputs.JobJobClusterNewClusterCloneFrom? cloneFrom, - string? clusterId, Outputs.JobJobClusterNewClusterClusterLogConf? clusterLogConf, @@ -120,7 +117,6 @@ private JobJobClusterNewCluster( AutoterminationMinutes = autoterminationMinutes; AwsAttributes = awsAttributes; AzureAttributes = azureAttributes; - CloneFrom = cloneFrom; ClusterId = clusterId; ClusterLogConf = clusterLogConf; ClusterMountInfos = clusterMountInfos; diff --git a/sdk/dotnet/Outputs/JobNewCluster.cs b/sdk/dotnet/Outputs/JobNewCluster.cs index 5404412f..7f848bcd 100644 --- a/sdk/dotnet/Outputs/JobNewCluster.cs +++ b/sdk/dotnet/Outputs/JobNewCluster.cs @@ -18,7 +18,6 @@ public sealed class JobNewCluster public readonly int? AutoterminationMinutes; public readonly Outputs.JobNewClusterAwsAttributes? AwsAttributes; public readonly Outputs.JobNewClusterAzureAttributes? AzureAttributes; - public readonly Outputs.JobNewClusterCloneFrom? CloneFrom; public readonly string? ClusterId; public readonly Outputs.JobNewClusterClusterLogConf? ClusterLogConf; public readonly ImmutableArray ClusterMountInfos; @@ -61,8 +60,6 @@ private JobNewCluster( Outputs.JobNewClusterAzureAttributes? azureAttributes, - Outputs.JobNewClusterCloneFrom? cloneFrom, - string? clusterId, Outputs.JobNewClusterClusterLogConf? clusterLogConf, @@ -120,7 +117,6 @@ private JobNewCluster( AutoterminationMinutes = autoterminationMinutes; AwsAttributes = awsAttributes; AzureAttributes = azureAttributes; - CloneFrom = cloneFrom; ClusterId = clusterId; ClusterLogConf = clusterLogConf; ClusterMountInfos = clusterMountInfos; diff --git a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskNewCluster.cs b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskNewCluster.cs index 1936f99a..4183cfd3 100644 --- a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskNewCluster.cs +++ b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskNewCluster.cs @@ -18,7 +18,6 @@ public sealed class JobTaskForEachTaskTaskNewCluster public readonly int? AutoterminationMinutes; public readonly Outputs.JobTaskForEachTaskTaskNewClusterAwsAttributes? AwsAttributes; public readonly Outputs.JobTaskForEachTaskTaskNewClusterAzureAttributes? AzureAttributes; - public readonly Outputs.JobTaskForEachTaskTaskNewClusterCloneFrom? CloneFrom; public readonly string? ClusterId; public readonly Outputs.JobTaskForEachTaskTaskNewClusterClusterLogConf? ClusterLogConf; public readonly ImmutableArray ClusterMountInfos; @@ -61,8 +60,6 @@ private JobTaskForEachTaskTaskNewCluster( Outputs.JobTaskForEachTaskTaskNewClusterAzureAttributes? azureAttributes, - Outputs.JobTaskForEachTaskTaskNewClusterCloneFrom? cloneFrom, - string? clusterId, Outputs.JobTaskForEachTaskTaskNewClusterClusterLogConf? clusterLogConf, @@ -120,7 +117,6 @@ private JobTaskForEachTaskTaskNewCluster( AutoterminationMinutes = autoterminationMinutes; AwsAttributes = awsAttributes; AzureAttributes = azureAttributes; - CloneFrom = cloneFrom; ClusterId = clusterId; ClusterLogConf = clusterLogConf; ClusterMountInfos = clusterMountInfos; diff --git a/sdk/dotnet/Outputs/JobTaskNewCluster.cs b/sdk/dotnet/Outputs/JobTaskNewCluster.cs index e0f96d70..ccf634ed 100644 --- a/sdk/dotnet/Outputs/JobTaskNewCluster.cs +++ b/sdk/dotnet/Outputs/JobTaskNewCluster.cs @@ -18,7 +18,6 @@ public sealed class JobTaskNewCluster public readonly int? AutoterminationMinutes; public readonly Outputs.JobTaskNewClusterAwsAttributes? AwsAttributes; public readonly Outputs.JobTaskNewClusterAzureAttributes? AzureAttributes; - public readonly Outputs.JobTaskNewClusterCloneFrom? CloneFrom; public readonly string? ClusterId; public readonly Outputs.JobTaskNewClusterClusterLogConf? ClusterLogConf; public readonly ImmutableArray ClusterMountInfos; @@ -61,8 +60,6 @@ private JobTaskNewCluster( Outputs.JobTaskNewClusterAzureAttributes? azureAttributes, - Outputs.JobTaskNewClusterCloneFrom? cloneFrom, - string? clusterId, Outputs.JobTaskNewClusterClusterLogConf? clusterLogConf, @@ -120,7 +117,6 @@ private JobTaskNewCluster( AutoterminationMinutes = autoterminationMinutes; AwsAttributes = awsAttributes; AzureAttributes = azureAttributes; - CloneFrom = cloneFrom; ClusterId = clusterId; ClusterLogConf = clusterLogConf; ClusterMountInfos = clusterMountInfos; diff --git a/sdk/dotnet/Outputs/JobTaskNewClusterCloneFrom.cs b/sdk/dotnet/Outputs/JobTaskNewClusterCloneFrom.cs deleted file mode 100644 index daab3bc5..00000000 --- a/sdk/dotnet/Outputs/JobTaskNewClusterCloneFrom.cs +++ /dev/null @@ -1,24 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.Databricks.Outputs -{ - - [OutputType] - public sealed class JobTaskNewClusterCloneFrom - { - public readonly string SourceClusterId; - - [OutputConstructor] - private JobTaskNewClusterCloneFrom(string sourceClusterId) - { - SourceClusterId = sourceClusterId; - } - } -} diff --git a/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelOpenaiConfig.cs b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelOpenaiConfig.cs index a559acd7..cf1c6992 100644 --- a/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelOpenaiConfig.cs +++ b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelOpenaiConfig.cs @@ -13,8 +13,11 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class ModelServingConfigServedEntityExternalModelOpenaiConfig { + public readonly string? MicrosoftEntraClientId; + public readonly string? MicrosoftEntraClientSecret; + public readonly string? MicrosoftEntraTenantId; public readonly string? OpenaiApiBase; - public readonly string OpenaiApiKey; + public readonly string? OpenaiApiKey; public readonly string? OpenaiApiType; public readonly string? OpenaiApiVersion; public readonly string? OpenaiDeploymentName; @@ -22,9 +25,15 @@ public sealed class ModelServingConfigServedEntityExternalModelOpenaiConfig [OutputConstructor] private ModelServingConfigServedEntityExternalModelOpenaiConfig( + string? microsoftEntraClientId, + + string? microsoftEntraClientSecret, + + string? microsoftEntraTenantId, + string? openaiApiBase, - string openaiApiKey, + string? openaiApiKey, string? openaiApiType, @@ -34,6 +43,9 @@ private ModelServingConfigServedEntityExternalModelOpenaiConfig( string? openaiOrganization) { + MicrosoftEntraClientId = microsoftEntraClientId; + MicrosoftEntraClientSecret = microsoftEntraClientSecret; + MicrosoftEntraTenantId = microsoftEntraTenantId; OpenaiApiBase = openaiApiBase; OpenaiApiKey = openaiApiKey; OpenaiApiType = openaiApiType; diff --git a/sdk/dotnet/Outputs/QualityMonitorCustomMetric.cs b/sdk/dotnet/Outputs/QualityMonitorCustomMetric.cs new file mode 100644 index 00000000..f11095e9 --- /dev/null +++ b/sdk/dotnet/Outputs/QualityMonitorCustomMetric.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 QualityMonitorCustomMetric + { + /// + /// [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 QualityMonitorCustomMetric( + 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/JobNewClusterCloneFrom.cs b/sdk/dotnet/Outputs/QualityMonitorDataClassificationConfig.cs similarity index 67% rename from sdk/dotnet/Outputs/JobNewClusterCloneFrom.cs rename to sdk/dotnet/Outputs/QualityMonitorDataClassificationConfig.cs index f6738792..9b9e113f 100644 --- a/sdk/dotnet/Outputs/JobNewClusterCloneFrom.cs +++ b/sdk/dotnet/Outputs/QualityMonitorDataClassificationConfig.cs @@ -11,14 +11,14 @@ namespace Pulumi.Databricks.Outputs { [OutputType] - public sealed class JobNewClusterCloneFrom + public sealed class QualityMonitorDataClassificationConfig { - public readonly string SourceClusterId; + public readonly bool? Enabled; [OutputConstructor] - private JobNewClusterCloneFrom(string sourceClusterId) + private QualityMonitorDataClassificationConfig(bool? enabled) { - SourceClusterId = sourceClusterId; + Enabled = enabled; } } } diff --git a/sdk/dotnet/Outputs/QualityMonitorInferenceLog.cs b/sdk/dotnet/Outputs/QualityMonitorInferenceLog.cs new file mode 100644 index 00000000..7dc6d844 --- /dev/null +++ b/sdk/dotnet/Outputs/QualityMonitorInferenceLog.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 QualityMonitorInferenceLog + { + /// + /// 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 QualityMonitorInferenceLog( + 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/QualityMonitorNotifications.cs b/sdk/dotnet/Outputs/QualityMonitorNotifications.cs new file mode 100644 index 00000000..f5fb7f7b --- /dev/null +++ b/sdk/dotnet/Outputs/QualityMonitorNotifications.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 QualityMonitorNotifications + { + /// + /// who to send notifications to on monitor failure. + /// + public readonly Outputs.QualityMonitorNotificationsOnFailure? OnFailure; + /// + /// Who to send notifications to when new data classification tags are detected. + /// + public readonly Outputs.QualityMonitorNotificationsOnNewClassificationTagDetected? OnNewClassificationTagDetected; + + [OutputConstructor] + private QualityMonitorNotifications( + Outputs.QualityMonitorNotificationsOnFailure? onFailure, + + Outputs.QualityMonitorNotificationsOnNewClassificationTagDetected? onNewClassificationTagDetected) + { + OnFailure = onFailure; + OnNewClassificationTagDetected = onNewClassificationTagDetected; + } + } +} diff --git a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskNewClusterCloneFrom.cs b/sdk/dotnet/Outputs/QualityMonitorNotificationsOnFailure.cs similarity index 62% rename from sdk/dotnet/Outputs/JobTaskForEachTaskTaskNewClusterCloneFrom.cs rename to sdk/dotnet/Outputs/QualityMonitorNotificationsOnFailure.cs index a1868740..1077f712 100644 --- a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskNewClusterCloneFrom.cs +++ b/sdk/dotnet/Outputs/QualityMonitorNotificationsOnFailure.cs @@ -11,14 +11,14 @@ namespace Pulumi.Databricks.Outputs { [OutputType] - public sealed class JobTaskForEachTaskTaskNewClusterCloneFrom + public sealed class QualityMonitorNotificationsOnFailure { - public readonly string SourceClusterId; + public readonly ImmutableArray EmailAddresses; [OutputConstructor] - private JobTaskForEachTaskTaskNewClusterCloneFrom(string sourceClusterId) + private QualityMonitorNotificationsOnFailure(ImmutableArray emailAddresses) { - SourceClusterId = sourceClusterId; + EmailAddresses = emailAddresses; } } } diff --git a/sdk/dotnet/Outputs/QualityMonitorNotificationsOnNewClassificationTagDetected.cs b/sdk/dotnet/Outputs/QualityMonitorNotificationsOnNewClassificationTagDetected.cs new file mode 100644 index 00000000..cf39f48e --- /dev/null +++ b/sdk/dotnet/Outputs/QualityMonitorNotificationsOnNewClassificationTagDetected.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 QualityMonitorNotificationsOnNewClassificationTagDetected + { + public readonly ImmutableArray EmailAddresses; + + [OutputConstructor] + private QualityMonitorNotificationsOnNewClassificationTagDetected(ImmutableArray emailAddresses) + { + EmailAddresses = emailAddresses; + } + } +} diff --git a/sdk/dotnet/Outputs/QualityMonitorSchedule.cs b/sdk/dotnet/Outputs/QualityMonitorSchedule.cs new file mode 100644 index 00000000..883586cc --- /dev/null +++ b/sdk/dotnet/Outputs/QualityMonitorSchedule.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 QualityMonitorSchedule + { + /// + /// optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + /// + public readonly string? PauseStatus; + /// + /// string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + /// + public readonly string QuartzCronExpression; + /// + /// string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + /// + public readonly string TimezoneId; + + [OutputConstructor] + private QualityMonitorSchedule( + string? pauseStatus, + + string quartzCronExpression, + + string timezoneId) + { + PauseStatus = pauseStatus; + QuartzCronExpression = quartzCronExpression; + TimezoneId = timezoneId; + } + } +} diff --git a/sdk/dotnet/Outputs/ClusterCloneFrom.cs b/sdk/dotnet/Outputs/QualityMonitorSnapshot.cs similarity index 69% rename from sdk/dotnet/Outputs/ClusterCloneFrom.cs rename to sdk/dotnet/Outputs/QualityMonitorSnapshot.cs index f13c46c6..60e8aa43 100644 --- a/sdk/dotnet/Outputs/ClusterCloneFrom.cs +++ b/sdk/dotnet/Outputs/QualityMonitorSnapshot.cs @@ -11,14 +11,11 @@ namespace Pulumi.Databricks.Outputs { [OutputType] - public sealed class ClusterCloneFrom + public sealed class QualityMonitorSnapshot { - public readonly string SourceClusterId; - [OutputConstructor] - private ClusterCloneFrom(string sourceClusterId) + private QualityMonitorSnapshot() { - SourceClusterId = sourceClusterId; } } } diff --git a/sdk/dotnet/Outputs/QualityMonitorTimeSeries.cs b/sdk/dotnet/Outputs/QualityMonitorTimeSeries.cs new file mode 100644 index 00000000..69f382d8 --- /dev/null +++ b/sdk/dotnet/Outputs/QualityMonitorTimeSeries.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 QualityMonitorTimeSeries + { + /// + /// 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 QualityMonitorTimeSeries( + ImmutableArray granularities, + + string timestampCol) + { + Granularities = granularities; + TimestampCol = timestampCol; + } + } +} diff --git a/sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpec.cs b/sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpec.cs index 76a641d5..4420783b 100644 --- a/sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpec.cs +++ b/sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpec.cs @@ -18,6 +18,7 @@ public sealed class VectorSearchIndexDeltaSyncIndexSpec /// public readonly ImmutableArray EmbeddingSourceColumns; public readonly ImmutableArray EmbeddingVectorColumns; + public readonly string? EmbeddingWritebackTable; /// /// ID of the associated Delta Live Table pipeline. /// @@ -34,6 +35,8 @@ private VectorSearchIndexDeltaSyncIndexSpec( ImmutableArray embeddingVectorColumns, + string? embeddingWritebackTable, + string? pipelineId, string? pipelineType, @@ -42,6 +45,7 @@ private VectorSearchIndexDeltaSyncIndexSpec( { EmbeddingSourceColumns = embeddingSourceColumns; EmbeddingVectorColumns = embeddingVectorColumns; + EmbeddingWritebackTable = embeddingWritebackTable; PipelineId = pipelineId; PipelineType = pipelineType; SourceTable = sourceTable; diff --git a/sdk/dotnet/QualityMonitor.cs b/sdk/dotnet/QualityMonitor.cs new file mode 100644 index 00000000..046606b1 --- /dev/null +++ b/sdk/dotnet/QualityMonitor.cs @@ -0,0 +1,485 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + /// + /// This resource allows you to manage [Lakehouse Monitors](https://docs.databricks.com/en/lakehouse-monitoring/index.html) in Databricks. + /// + /// A `databricks.QualityMonitor` is attached to a databricks.SqlTable and can be of type timeseries, snapshot or inference. + /// + /// ### Inference Monitor + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitorInference = new Databricks.QualityMonitor("testMonitorInference", new() + /// { + /// TableName = $"{sandbox.Name}.{things.Name}.{myTestTable.Name}", + /// AssetsDir = $"/Shared/provider-test/databricks_quality_monitoring/{myTestTable.Name}", + /// OutputSchemaName = $"{sandbox.Name}.{things.Name}", + /// InferenceLog = new Databricks.Inputs.QualityMonitorInferenceLogArgs + /// { + /// Granularities = new[] + /// { + /// "1 hour", + /// }, + /// TimestampCol = "timestamp", + /// PredictionCol = "prediction", + /// ModelIdCol = "model_id", + /// ProblemType = "PROBLEM_TYPE_REGRESSION", + /// }, + /// }); + /// + /// }); + /// ``` + /// ### Snapshot Monitor + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitorInference = new Databricks.QualityMonitor("testMonitorInference", new() + /// { + /// TableName = $"{sandbox.Name}.{things.Name}.{myTestTable.Name}", + /// AssetsDir = $"/Shared/provider-test/databricks_quality_monitoring/{myTestTable.Name}", + /// OutputSchemaName = $"{sandbox.Name}.{things.Name}", + /// Snapshot = null, + /// }); + /// + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are often used in the same context: + /// + /// * databricks.Catalog + /// * databricks.Schema + /// * databricks.SqlTable + /// + [DatabricksResourceType("databricks:index/qualityMonitor:QualityMonitor")] + public partial class QualityMonitor : 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. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + /// + [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. This block consists of following fields: + /// + [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 QualityMonitor 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 QualityMonitor(string name, QualityMonitorArgs args, CustomResourceOptions? options = null) + : base("databricks:index/qualityMonitor:QualityMonitor", name, args ?? new QualityMonitorArgs(), MakeResourceOptions(options, "")) + { + } + + private QualityMonitor(string name, Input id, QualityMonitorState? state = null, CustomResourceOptions? options = null) + : base("databricks:index/qualityMonitor:QualityMonitor", 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 QualityMonitor 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 QualityMonitor Get(string name, Input id, QualityMonitorState? state = null, CustomResourceOptions? options = null) + { + return new QualityMonitor(name, id, state, options); + } + } + + public sealed class QualityMonitorArgs : 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. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + /// + [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. This block consists of following fields: + /// + [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 QualityMonitorArgs() + { + } + public static new QualityMonitorArgs Empty => new QualityMonitorArgs(); + } + + public sealed class QualityMonitorState : 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. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + /// + [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. This block consists of following fields: + /// + [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 QualityMonitorState() + { + } + public static new QualityMonitorState Empty => new QualityMonitorState(); + } +} diff --git a/sdk/go/databricks/automaticClusterUpdateWorkspaceSetting.go b/sdk/go/databricks/automaticClusterUpdateWorkspaceSetting.go new file mode 100644 index 00000000..a0470490 --- /dev/null +++ b/sdk/go/databricks/automaticClusterUpdateWorkspaceSetting.go @@ -0,0 +1,232 @@ +// 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" +) + +type AutomaticClusterUpdateWorkspaceSetting struct { + pulumi.CustomResourceState + + AutomaticClusterUpdateWorkspace AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput `pulumi:"automaticClusterUpdateWorkspace"` + Etag pulumi.StringOutput `pulumi:"etag"` + SettingName pulumi.StringOutput `pulumi:"settingName"` +} + +// NewAutomaticClusterUpdateWorkspaceSetting registers a new resource with the given unique name, arguments, and options. +func NewAutomaticClusterUpdateWorkspaceSetting(ctx *pulumi.Context, + name string, args *AutomaticClusterUpdateWorkspaceSettingArgs, opts ...pulumi.ResourceOption) (*AutomaticClusterUpdateWorkspaceSetting, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.AutomaticClusterUpdateWorkspace == nil { + return nil, errors.New("invalid value for required argument 'AutomaticClusterUpdateWorkspace'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource AutomaticClusterUpdateWorkspaceSetting + err := ctx.RegisterResource("databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetAutomaticClusterUpdateWorkspaceSetting gets an existing AutomaticClusterUpdateWorkspaceSetting 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 GetAutomaticClusterUpdateWorkspaceSetting(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *AutomaticClusterUpdateWorkspaceSettingState, opts ...pulumi.ResourceOption) (*AutomaticClusterUpdateWorkspaceSetting, error) { + var resource AutomaticClusterUpdateWorkspaceSetting + err := ctx.ReadResource("databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering AutomaticClusterUpdateWorkspaceSetting resources. +type automaticClusterUpdateWorkspaceSettingState struct { + AutomaticClusterUpdateWorkspace *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace `pulumi:"automaticClusterUpdateWorkspace"` + Etag *string `pulumi:"etag"` + SettingName *string `pulumi:"settingName"` +} + +type AutomaticClusterUpdateWorkspaceSettingState struct { + AutomaticClusterUpdateWorkspace AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrInput + Etag pulumi.StringPtrInput + SettingName pulumi.StringPtrInput +} + +func (AutomaticClusterUpdateWorkspaceSettingState) ElementType() reflect.Type { + return reflect.TypeOf((*automaticClusterUpdateWorkspaceSettingState)(nil)).Elem() +} + +type automaticClusterUpdateWorkspaceSettingArgs struct { + AutomaticClusterUpdateWorkspace AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace `pulumi:"automaticClusterUpdateWorkspace"` + Etag *string `pulumi:"etag"` + SettingName *string `pulumi:"settingName"` +} + +// The set of arguments for constructing a AutomaticClusterUpdateWorkspaceSetting resource. +type AutomaticClusterUpdateWorkspaceSettingArgs struct { + AutomaticClusterUpdateWorkspace AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceInput + Etag pulumi.StringPtrInput + SettingName pulumi.StringPtrInput +} + +func (AutomaticClusterUpdateWorkspaceSettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*automaticClusterUpdateWorkspaceSettingArgs)(nil)).Elem() +} + +type AutomaticClusterUpdateWorkspaceSettingInput interface { + pulumi.Input + + ToAutomaticClusterUpdateWorkspaceSettingOutput() AutomaticClusterUpdateWorkspaceSettingOutput + ToAutomaticClusterUpdateWorkspaceSettingOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingOutput +} + +func (*AutomaticClusterUpdateWorkspaceSetting) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSetting)(nil)).Elem() +} + +func (i *AutomaticClusterUpdateWorkspaceSetting) ToAutomaticClusterUpdateWorkspaceSettingOutput() AutomaticClusterUpdateWorkspaceSettingOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingOutputWithContext(context.Background()) +} + +func (i *AutomaticClusterUpdateWorkspaceSetting) ToAutomaticClusterUpdateWorkspaceSettingOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingOutput) +} + +// AutomaticClusterUpdateWorkspaceSettingArrayInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingArray and AutomaticClusterUpdateWorkspaceSettingArrayOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingArrayInput` via: +// +// AutomaticClusterUpdateWorkspaceSettingArray{ AutomaticClusterUpdateWorkspaceSettingArgs{...} } +type AutomaticClusterUpdateWorkspaceSettingArrayInput interface { + pulumi.Input + + ToAutomaticClusterUpdateWorkspaceSettingArrayOutput() AutomaticClusterUpdateWorkspaceSettingArrayOutput + ToAutomaticClusterUpdateWorkspaceSettingArrayOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingArrayOutput +} + +type AutomaticClusterUpdateWorkspaceSettingArray []AutomaticClusterUpdateWorkspaceSettingInput + +func (AutomaticClusterUpdateWorkspaceSettingArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AutomaticClusterUpdateWorkspaceSetting)(nil)).Elem() +} + +func (i AutomaticClusterUpdateWorkspaceSettingArray) ToAutomaticClusterUpdateWorkspaceSettingArrayOutput() AutomaticClusterUpdateWorkspaceSettingArrayOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingArrayOutputWithContext(context.Background()) +} + +func (i AutomaticClusterUpdateWorkspaceSettingArray) ToAutomaticClusterUpdateWorkspaceSettingArrayOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingArrayOutput) +} + +// AutomaticClusterUpdateWorkspaceSettingMapInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingMap and AutomaticClusterUpdateWorkspaceSettingMapOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingMapInput` via: +// +// AutomaticClusterUpdateWorkspaceSettingMap{ "key": AutomaticClusterUpdateWorkspaceSettingArgs{...} } +type AutomaticClusterUpdateWorkspaceSettingMapInput interface { + pulumi.Input + + ToAutomaticClusterUpdateWorkspaceSettingMapOutput() AutomaticClusterUpdateWorkspaceSettingMapOutput + ToAutomaticClusterUpdateWorkspaceSettingMapOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingMapOutput +} + +type AutomaticClusterUpdateWorkspaceSettingMap map[string]AutomaticClusterUpdateWorkspaceSettingInput + +func (AutomaticClusterUpdateWorkspaceSettingMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AutomaticClusterUpdateWorkspaceSetting)(nil)).Elem() +} + +func (i AutomaticClusterUpdateWorkspaceSettingMap) ToAutomaticClusterUpdateWorkspaceSettingMapOutput() AutomaticClusterUpdateWorkspaceSettingMapOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingMapOutputWithContext(context.Background()) +} + +func (i AutomaticClusterUpdateWorkspaceSettingMap) ToAutomaticClusterUpdateWorkspaceSettingMapOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingMapOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSetting)(nil)).Elem() +} + +func (o AutomaticClusterUpdateWorkspaceSettingOutput) ToAutomaticClusterUpdateWorkspaceSettingOutput() AutomaticClusterUpdateWorkspaceSettingOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingOutput) ToAutomaticClusterUpdateWorkspaceSettingOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingOutput) AutomaticClusterUpdateWorkspace() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSetting) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { + return v.AutomaticClusterUpdateWorkspace + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingOutput) Etag() pulumi.StringOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSetting) pulumi.StringOutput { return v.Etag }).(pulumi.StringOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingOutput) SettingName() pulumi.StringOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSetting) pulumi.StringOutput { return v.SettingName }).(pulumi.StringOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingArrayOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AutomaticClusterUpdateWorkspaceSetting)(nil)).Elem() +} + +func (o AutomaticClusterUpdateWorkspaceSettingArrayOutput) ToAutomaticClusterUpdateWorkspaceSettingArrayOutput() AutomaticClusterUpdateWorkspaceSettingArrayOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingArrayOutput) ToAutomaticClusterUpdateWorkspaceSettingArrayOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingArrayOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingArrayOutput) Index(i pulumi.IntInput) AutomaticClusterUpdateWorkspaceSettingOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AutomaticClusterUpdateWorkspaceSetting { + return vs[0].([]*AutomaticClusterUpdateWorkspaceSetting)[vs[1].(int)] + }).(AutomaticClusterUpdateWorkspaceSettingOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingMapOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AutomaticClusterUpdateWorkspaceSetting)(nil)).Elem() +} + +func (o AutomaticClusterUpdateWorkspaceSettingMapOutput) ToAutomaticClusterUpdateWorkspaceSettingMapOutput() AutomaticClusterUpdateWorkspaceSettingMapOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingMapOutput) ToAutomaticClusterUpdateWorkspaceSettingMapOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingMapOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingMapOutput) MapIndex(k pulumi.StringInput) AutomaticClusterUpdateWorkspaceSettingOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AutomaticClusterUpdateWorkspaceSetting { + return vs[0].(map[string]*AutomaticClusterUpdateWorkspaceSetting)[vs[1].(string)] + }).(AutomaticClusterUpdateWorkspaceSettingOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingInput)(nil)).Elem(), &AutomaticClusterUpdateWorkspaceSetting{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingArrayInput)(nil)).Elem(), AutomaticClusterUpdateWorkspaceSettingArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingMapInput)(nil)).Elem(), AutomaticClusterUpdateWorkspaceSettingMap{}) + pulumi.RegisterOutputType(AutomaticClusterUpdateWorkspaceSettingOutput{}) + pulumi.RegisterOutputType(AutomaticClusterUpdateWorkspaceSettingArrayOutput{}) + pulumi.RegisterOutputType(AutomaticClusterUpdateWorkspaceSettingMapOutput{}) +} diff --git a/sdk/go/databricks/cluster.go b/sdk/go/databricks/cluster.go index d87a10aa..310a4c8f 100644 --- a/sdk/go/databricks/cluster.go +++ b/sdk/go/databricks/cluster.go @@ -106,13 +106,11 @@ type Cluster struct { AutoterminationMinutes pulumi.IntPtrOutput `pulumi:"autoterminationMinutes"` AwsAttributes ClusterAwsAttributesPtrOutput `pulumi:"awsAttributes"` AzureAttributes ClusterAzureAttributesPtrOutput `pulumi:"azureAttributes"` - CloneFrom ClusterCloneFromPtrOutput `pulumi:"cloneFrom"` ClusterId pulumi.StringOutput `pulumi:"clusterId"` ClusterLogConf ClusterClusterLogConfPtrOutput `pulumi:"clusterLogConf"` ClusterMountInfos ClusterClusterMountInfoArrayOutput `pulumi:"clusterMountInfos"` // Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string. - ClusterName pulumi.StringPtrOutput `pulumi:"clusterName"` - ClusterSource pulumi.StringOutput `pulumi:"clusterSource"` + ClusterName pulumi.StringPtrOutput `pulumi:"clusterName"` // should have tag `ResourceClass` set to value `Serverless` // // For example: @@ -282,13 +280,11 @@ type clusterState struct { AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` AwsAttributes *ClusterAwsAttributes `pulumi:"awsAttributes"` AzureAttributes *ClusterAzureAttributes `pulumi:"azureAttributes"` - CloneFrom *ClusterCloneFrom `pulumi:"cloneFrom"` ClusterId *string `pulumi:"clusterId"` ClusterLogConf *ClusterClusterLogConf `pulumi:"clusterLogConf"` ClusterMountInfos []ClusterClusterMountInfo `pulumi:"clusterMountInfos"` // Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string. - ClusterName *string `pulumi:"clusterName"` - ClusterSource *string `pulumi:"clusterSource"` + ClusterName *string `pulumi:"clusterName"` // should have tag `ResourceClass` set to value `Serverless` // // For example: @@ -426,13 +422,11 @@ type ClusterState struct { AutoterminationMinutes pulumi.IntPtrInput AwsAttributes ClusterAwsAttributesPtrInput AzureAttributes ClusterAzureAttributesPtrInput - CloneFrom ClusterCloneFromPtrInput ClusterId pulumi.StringPtrInput ClusterLogConf ClusterClusterLogConfPtrInput ClusterMountInfos ClusterClusterMountInfoArrayInput // Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string. - ClusterName pulumi.StringPtrInput - ClusterSource pulumi.StringPtrInput + ClusterName pulumi.StringPtrInput // should have tag `ResourceClass` set to value `Serverless` // // For example: @@ -574,7 +568,6 @@ type clusterArgs struct { AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` AwsAttributes *ClusterAwsAttributes `pulumi:"awsAttributes"` AzureAttributes *ClusterAzureAttributes `pulumi:"azureAttributes"` - CloneFrom *ClusterCloneFrom `pulumi:"cloneFrom"` ClusterLogConf *ClusterClusterLogConf `pulumi:"clusterLogConf"` ClusterMountInfos []ClusterClusterMountInfo `pulumi:"clusterMountInfos"` // Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string. @@ -712,7 +705,6 @@ type ClusterArgs struct { AutoterminationMinutes pulumi.IntPtrInput AwsAttributes ClusterAwsAttributesPtrInput AzureAttributes ClusterAzureAttributesPtrInput - CloneFrom ClusterCloneFromPtrInput ClusterLogConf ClusterClusterLogConfPtrInput ClusterMountInfos ClusterClusterMountInfoArrayInput // Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string. @@ -950,10 +942,6 @@ func (o ClusterOutput) AzureAttributes() ClusterAzureAttributesPtrOutput { return o.ApplyT(func(v *Cluster) ClusterAzureAttributesPtrOutput { return v.AzureAttributes }).(ClusterAzureAttributesPtrOutput) } -func (o ClusterOutput) CloneFrom() ClusterCloneFromPtrOutput { - return o.ApplyT(func(v *Cluster) ClusterCloneFromPtrOutput { return v.CloneFrom }).(ClusterCloneFromPtrOutput) -} - func (o ClusterOutput) ClusterId() pulumi.StringOutput { return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) } @@ -971,10 +959,6 @@ func (o ClusterOutput) ClusterName() pulumi.StringPtrOutput { return o.ApplyT(func(v *Cluster) pulumi.StringPtrOutput { return v.ClusterName }).(pulumi.StringPtrOutput) } -func (o ClusterOutput) ClusterSource() pulumi.StringOutput { - return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.ClusterSource }).(pulumi.StringOutput) -} - // should have tag `ResourceClass` set to value `Serverless` // // For example: diff --git a/sdk/go/databricks/complianceSecurityProfileWorkspaceSetting.go b/sdk/go/databricks/complianceSecurityProfileWorkspaceSetting.go new file mode 100644 index 00000000..eea140f7 --- /dev/null +++ b/sdk/go/databricks/complianceSecurityProfileWorkspaceSetting.go @@ -0,0 +1,232 @@ +// 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" +) + +type ComplianceSecurityProfileWorkspaceSetting struct { + pulumi.CustomResourceState + + ComplianceSecurityProfileWorkspace ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput `pulumi:"complianceSecurityProfileWorkspace"` + Etag pulumi.StringOutput `pulumi:"etag"` + SettingName pulumi.StringOutput `pulumi:"settingName"` +} + +// NewComplianceSecurityProfileWorkspaceSetting registers a new resource with the given unique name, arguments, and options. +func NewComplianceSecurityProfileWorkspaceSetting(ctx *pulumi.Context, + name string, args *ComplianceSecurityProfileWorkspaceSettingArgs, opts ...pulumi.ResourceOption) (*ComplianceSecurityProfileWorkspaceSetting, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ComplianceSecurityProfileWorkspace == nil { + return nil, errors.New("invalid value for required argument 'ComplianceSecurityProfileWorkspace'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource ComplianceSecurityProfileWorkspaceSetting + err := ctx.RegisterResource("databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetComplianceSecurityProfileWorkspaceSetting gets an existing ComplianceSecurityProfileWorkspaceSetting 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 GetComplianceSecurityProfileWorkspaceSetting(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ComplianceSecurityProfileWorkspaceSettingState, opts ...pulumi.ResourceOption) (*ComplianceSecurityProfileWorkspaceSetting, error) { + var resource ComplianceSecurityProfileWorkspaceSetting + err := ctx.ReadResource("databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering ComplianceSecurityProfileWorkspaceSetting resources. +type complianceSecurityProfileWorkspaceSettingState struct { + ComplianceSecurityProfileWorkspace *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace `pulumi:"complianceSecurityProfileWorkspace"` + Etag *string `pulumi:"etag"` + SettingName *string `pulumi:"settingName"` +} + +type ComplianceSecurityProfileWorkspaceSettingState struct { + ComplianceSecurityProfileWorkspace ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrInput + Etag pulumi.StringPtrInput + SettingName pulumi.StringPtrInput +} + +func (ComplianceSecurityProfileWorkspaceSettingState) ElementType() reflect.Type { + return reflect.TypeOf((*complianceSecurityProfileWorkspaceSettingState)(nil)).Elem() +} + +type complianceSecurityProfileWorkspaceSettingArgs struct { + ComplianceSecurityProfileWorkspace ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace `pulumi:"complianceSecurityProfileWorkspace"` + Etag *string `pulumi:"etag"` + SettingName *string `pulumi:"settingName"` +} + +// The set of arguments for constructing a ComplianceSecurityProfileWorkspaceSetting resource. +type ComplianceSecurityProfileWorkspaceSettingArgs struct { + ComplianceSecurityProfileWorkspace ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceInput + Etag pulumi.StringPtrInput + SettingName pulumi.StringPtrInput +} + +func (ComplianceSecurityProfileWorkspaceSettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*complianceSecurityProfileWorkspaceSettingArgs)(nil)).Elem() +} + +type ComplianceSecurityProfileWorkspaceSettingInput interface { + pulumi.Input + + ToComplianceSecurityProfileWorkspaceSettingOutput() ComplianceSecurityProfileWorkspaceSettingOutput + ToComplianceSecurityProfileWorkspaceSettingOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingOutput +} + +func (*ComplianceSecurityProfileWorkspaceSetting) ElementType() reflect.Type { + return reflect.TypeOf((**ComplianceSecurityProfileWorkspaceSetting)(nil)).Elem() +} + +func (i *ComplianceSecurityProfileWorkspaceSetting) ToComplianceSecurityProfileWorkspaceSettingOutput() ComplianceSecurityProfileWorkspaceSettingOutput { + return i.ToComplianceSecurityProfileWorkspaceSettingOutputWithContext(context.Background()) +} + +func (i *ComplianceSecurityProfileWorkspaceSetting) ToComplianceSecurityProfileWorkspaceSettingOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComplianceSecurityProfileWorkspaceSettingOutput) +} + +// ComplianceSecurityProfileWorkspaceSettingArrayInput is an input type that accepts ComplianceSecurityProfileWorkspaceSettingArray and ComplianceSecurityProfileWorkspaceSettingArrayOutput values. +// You can construct a concrete instance of `ComplianceSecurityProfileWorkspaceSettingArrayInput` via: +// +// ComplianceSecurityProfileWorkspaceSettingArray{ ComplianceSecurityProfileWorkspaceSettingArgs{...} } +type ComplianceSecurityProfileWorkspaceSettingArrayInput interface { + pulumi.Input + + ToComplianceSecurityProfileWorkspaceSettingArrayOutput() ComplianceSecurityProfileWorkspaceSettingArrayOutput + ToComplianceSecurityProfileWorkspaceSettingArrayOutputWithContext(context.Context) ComplianceSecurityProfileWorkspaceSettingArrayOutput +} + +type ComplianceSecurityProfileWorkspaceSettingArray []ComplianceSecurityProfileWorkspaceSettingInput + +func (ComplianceSecurityProfileWorkspaceSettingArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ComplianceSecurityProfileWorkspaceSetting)(nil)).Elem() +} + +func (i ComplianceSecurityProfileWorkspaceSettingArray) ToComplianceSecurityProfileWorkspaceSettingArrayOutput() ComplianceSecurityProfileWorkspaceSettingArrayOutput { + return i.ToComplianceSecurityProfileWorkspaceSettingArrayOutputWithContext(context.Background()) +} + +func (i ComplianceSecurityProfileWorkspaceSettingArray) ToComplianceSecurityProfileWorkspaceSettingArrayOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComplianceSecurityProfileWorkspaceSettingArrayOutput) +} + +// ComplianceSecurityProfileWorkspaceSettingMapInput is an input type that accepts ComplianceSecurityProfileWorkspaceSettingMap and ComplianceSecurityProfileWorkspaceSettingMapOutput values. +// You can construct a concrete instance of `ComplianceSecurityProfileWorkspaceSettingMapInput` via: +// +// ComplianceSecurityProfileWorkspaceSettingMap{ "key": ComplianceSecurityProfileWorkspaceSettingArgs{...} } +type ComplianceSecurityProfileWorkspaceSettingMapInput interface { + pulumi.Input + + ToComplianceSecurityProfileWorkspaceSettingMapOutput() ComplianceSecurityProfileWorkspaceSettingMapOutput + ToComplianceSecurityProfileWorkspaceSettingMapOutputWithContext(context.Context) ComplianceSecurityProfileWorkspaceSettingMapOutput +} + +type ComplianceSecurityProfileWorkspaceSettingMap map[string]ComplianceSecurityProfileWorkspaceSettingInput + +func (ComplianceSecurityProfileWorkspaceSettingMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ComplianceSecurityProfileWorkspaceSetting)(nil)).Elem() +} + +func (i ComplianceSecurityProfileWorkspaceSettingMap) ToComplianceSecurityProfileWorkspaceSettingMapOutput() ComplianceSecurityProfileWorkspaceSettingMapOutput { + return i.ToComplianceSecurityProfileWorkspaceSettingMapOutputWithContext(context.Background()) +} + +func (i ComplianceSecurityProfileWorkspaceSettingMap) ToComplianceSecurityProfileWorkspaceSettingMapOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComplianceSecurityProfileWorkspaceSettingMapOutput) +} + +type ComplianceSecurityProfileWorkspaceSettingOutput struct{ *pulumi.OutputState } + +func (ComplianceSecurityProfileWorkspaceSettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ComplianceSecurityProfileWorkspaceSetting)(nil)).Elem() +} + +func (o ComplianceSecurityProfileWorkspaceSettingOutput) ToComplianceSecurityProfileWorkspaceSettingOutput() ComplianceSecurityProfileWorkspaceSettingOutput { + return o +} + +func (o ComplianceSecurityProfileWorkspaceSettingOutput) ToComplianceSecurityProfileWorkspaceSettingOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingOutput { + return o +} + +func (o ComplianceSecurityProfileWorkspaceSettingOutput) ComplianceSecurityProfileWorkspace() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { + return o.ApplyT(func(v *ComplianceSecurityProfileWorkspaceSetting) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { + return v.ComplianceSecurityProfileWorkspace + }).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) +} + +func (o ComplianceSecurityProfileWorkspaceSettingOutput) Etag() pulumi.StringOutput { + return o.ApplyT(func(v *ComplianceSecurityProfileWorkspaceSetting) pulumi.StringOutput { return v.Etag }).(pulumi.StringOutput) +} + +func (o ComplianceSecurityProfileWorkspaceSettingOutput) SettingName() pulumi.StringOutput { + return o.ApplyT(func(v *ComplianceSecurityProfileWorkspaceSetting) pulumi.StringOutput { return v.SettingName }).(pulumi.StringOutput) +} + +type ComplianceSecurityProfileWorkspaceSettingArrayOutput struct{ *pulumi.OutputState } + +func (ComplianceSecurityProfileWorkspaceSettingArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ComplianceSecurityProfileWorkspaceSetting)(nil)).Elem() +} + +func (o ComplianceSecurityProfileWorkspaceSettingArrayOutput) ToComplianceSecurityProfileWorkspaceSettingArrayOutput() ComplianceSecurityProfileWorkspaceSettingArrayOutput { + return o +} + +func (o ComplianceSecurityProfileWorkspaceSettingArrayOutput) ToComplianceSecurityProfileWorkspaceSettingArrayOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingArrayOutput { + return o +} + +func (o ComplianceSecurityProfileWorkspaceSettingArrayOutput) Index(i pulumi.IntInput) ComplianceSecurityProfileWorkspaceSettingOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ComplianceSecurityProfileWorkspaceSetting { + return vs[0].([]*ComplianceSecurityProfileWorkspaceSetting)[vs[1].(int)] + }).(ComplianceSecurityProfileWorkspaceSettingOutput) +} + +type ComplianceSecurityProfileWorkspaceSettingMapOutput struct{ *pulumi.OutputState } + +func (ComplianceSecurityProfileWorkspaceSettingMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ComplianceSecurityProfileWorkspaceSetting)(nil)).Elem() +} + +func (o ComplianceSecurityProfileWorkspaceSettingMapOutput) ToComplianceSecurityProfileWorkspaceSettingMapOutput() ComplianceSecurityProfileWorkspaceSettingMapOutput { + return o +} + +func (o ComplianceSecurityProfileWorkspaceSettingMapOutput) ToComplianceSecurityProfileWorkspaceSettingMapOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingMapOutput { + return o +} + +func (o ComplianceSecurityProfileWorkspaceSettingMapOutput) MapIndex(k pulumi.StringInput) ComplianceSecurityProfileWorkspaceSettingOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ComplianceSecurityProfileWorkspaceSetting { + return vs[0].(map[string]*ComplianceSecurityProfileWorkspaceSetting)[vs[1].(string)] + }).(ComplianceSecurityProfileWorkspaceSettingOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ComplianceSecurityProfileWorkspaceSettingInput)(nil)).Elem(), &ComplianceSecurityProfileWorkspaceSetting{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComplianceSecurityProfileWorkspaceSettingArrayInput)(nil)).Elem(), ComplianceSecurityProfileWorkspaceSettingArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComplianceSecurityProfileWorkspaceSettingMapInput)(nil)).Elem(), ComplianceSecurityProfileWorkspaceSettingMap{}) + pulumi.RegisterOutputType(ComplianceSecurityProfileWorkspaceSettingOutput{}) + pulumi.RegisterOutputType(ComplianceSecurityProfileWorkspaceSettingArrayOutput{}) + pulumi.RegisterOutputType(ComplianceSecurityProfileWorkspaceSettingMapOutput{}) +} diff --git a/sdk/go/databricks/enhancedSecurityMonitoringWorkspaceSetting.go b/sdk/go/databricks/enhancedSecurityMonitoringWorkspaceSetting.go new file mode 100644 index 00000000..b4c2f849 --- /dev/null +++ b/sdk/go/databricks/enhancedSecurityMonitoringWorkspaceSetting.go @@ -0,0 +1,232 @@ +// 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" +) + +type EnhancedSecurityMonitoringWorkspaceSetting struct { + pulumi.CustomResourceState + + EnhancedSecurityMonitoringWorkspace EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput `pulumi:"enhancedSecurityMonitoringWorkspace"` + Etag pulumi.StringOutput `pulumi:"etag"` + SettingName pulumi.StringOutput `pulumi:"settingName"` +} + +// NewEnhancedSecurityMonitoringWorkspaceSetting registers a new resource with the given unique name, arguments, and options. +func NewEnhancedSecurityMonitoringWorkspaceSetting(ctx *pulumi.Context, + name string, args *EnhancedSecurityMonitoringWorkspaceSettingArgs, opts ...pulumi.ResourceOption) (*EnhancedSecurityMonitoringWorkspaceSetting, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.EnhancedSecurityMonitoringWorkspace == nil { + return nil, errors.New("invalid value for required argument 'EnhancedSecurityMonitoringWorkspace'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource EnhancedSecurityMonitoringWorkspaceSetting + err := ctx.RegisterResource("databricks:index/enhancedSecurityMonitoringWorkspaceSetting:EnhancedSecurityMonitoringWorkspaceSetting", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetEnhancedSecurityMonitoringWorkspaceSetting gets an existing EnhancedSecurityMonitoringWorkspaceSetting 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 GetEnhancedSecurityMonitoringWorkspaceSetting(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *EnhancedSecurityMonitoringWorkspaceSettingState, opts ...pulumi.ResourceOption) (*EnhancedSecurityMonitoringWorkspaceSetting, error) { + var resource EnhancedSecurityMonitoringWorkspaceSetting + err := ctx.ReadResource("databricks:index/enhancedSecurityMonitoringWorkspaceSetting:EnhancedSecurityMonitoringWorkspaceSetting", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering EnhancedSecurityMonitoringWorkspaceSetting resources. +type enhancedSecurityMonitoringWorkspaceSettingState struct { + EnhancedSecurityMonitoringWorkspace *EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace `pulumi:"enhancedSecurityMonitoringWorkspace"` + Etag *string `pulumi:"etag"` + SettingName *string `pulumi:"settingName"` +} + +type EnhancedSecurityMonitoringWorkspaceSettingState struct { + EnhancedSecurityMonitoringWorkspace EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrInput + Etag pulumi.StringPtrInput + SettingName pulumi.StringPtrInput +} + +func (EnhancedSecurityMonitoringWorkspaceSettingState) ElementType() reflect.Type { + return reflect.TypeOf((*enhancedSecurityMonitoringWorkspaceSettingState)(nil)).Elem() +} + +type enhancedSecurityMonitoringWorkspaceSettingArgs struct { + EnhancedSecurityMonitoringWorkspace EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace `pulumi:"enhancedSecurityMonitoringWorkspace"` + Etag *string `pulumi:"etag"` + SettingName *string `pulumi:"settingName"` +} + +// The set of arguments for constructing a EnhancedSecurityMonitoringWorkspaceSetting resource. +type EnhancedSecurityMonitoringWorkspaceSettingArgs struct { + EnhancedSecurityMonitoringWorkspace EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceInput + Etag pulumi.StringPtrInput + SettingName pulumi.StringPtrInput +} + +func (EnhancedSecurityMonitoringWorkspaceSettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*enhancedSecurityMonitoringWorkspaceSettingArgs)(nil)).Elem() +} + +type EnhancedSecurityMonitoringWorkspaceSettingInput interface { + pulumi.Input + + ToEnhancedSecurityMonitoringWorkspaceSettingOutput() EnhancedSecurityMonitoringWorkspaceSettingOutput + ToEnhancedSecurityMonitoringWorkspaceSettingOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingOutput +} + +func (*EnhancedSecurityMonitoringWorkspaceSetting) ElementType() reflect.Type { + return reflect.TypeOf((**EnhancedSecurityMonitoringWorkspaceSetting)(nil)).Elem() +} + +func (i *EnhancedSecurityMonitoringWorkspaceSetting) ToEnhancedSecurityMonitoringWorkspaceSettingOutput() EnhancedSecurityMonitoringWorkspaceSettingOutput { + return i.ToEnhancedSecurityMonitoringWorkspaceSettingOutputWithContext(context.Background()) +} + +func (i *EnhancedSecurityMonitoringWorkspaceSetting) ToEnhancedSecurityMonitoringWorkspaceSettingOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(EnhancedSecurityMonitoringWorkspaceSettingOutput) +} + +// EnhancedSecurityMonitoringWorkspaceSettingArrayInput is an input type that accepts EnhancedSecurityMonitoringWorkspaceSettingArray and EnhancedSecurityMonitoringWorkspaceSettingArrayOutput values. +// You can construct a concrete instance of `EnhancedSecurityMonitoringWorkspaceSettingArrayInput` via: +// +// EnhancedSecurityMonitoringWorkspaceSettingArray{ EnhancedSecurityMonitoringWorkspaceSettingArgs{...} } +type EnhancedSecurityMonitoringWorkspaceSettingArrayInput interface { + pulumi.Input + + ToEnhancedSecurityMonitoringWorkspaceSettingArrayOutput() EnhancedSecurityMonitoringWorkspaceSettingArrayOutput + ToEnhancedSecurityMonitoringWorkspaceSettingArrayOutputWithContext(context.Context) EnhancedSecurityMonitoringWorkspaceSettingArrayOutput +} + +type EnhancedSecurityMonitoringWorkspaceSettingArray []EnhancedSecurityMonitoringWorkspaceSettingInput + +func (EnhancedSecurityMonitoringWorkspaceSettingArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*EnhancedSecurityMonitoringWorkspaceSetting)(nil)).Elem() +} + +func (i EnhancedSecurityMonitoringWorkspaceSettingArray) ToEnhancedSecurityMonitoringWorkspaceSettingArrayOutput() EnhancedSecurityMonitoringWorkspaceSettingArrayOutput { + return i.ToEnhancedSecurityMonitoringWorkspaceSettingArrayOutputWithContext(context.Background()) +} + +func (i EnhancedSecurityMonitoringWorkspaceSettingArray) ToEnhancedSecurityMonitoringWorkspaceSettingArrayOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(EnhancedSecurityMonitoringWorkspaceSettingArrayOutput) +} + +// EnhancedSecurityMonitoringWorkspaceSettingMapInput is an input type that accepts EnhancedSecurityMonitoringWorkspaceSettingMap and EnhancedSecurityMonitoringWorkspaceSettingMapOutput values. +// You can construct a concrete instance of `EnhancedSecurityMonitoringWorkspaceSettingMapInput` via: +// +// EnhancedSecurityMonitoringWorkspaceSettingMap{ "key": EnhancedSecurityMonitoringWorkspaceSettingArgs{...} } +type EnhancedSecurityMonitoringWorkspaceSettingMapInput interface { + pulumi.Input + + ToEnhancedSecurityMonitoringWorkspaceSettingMapOutput() EnhancedSecurityMonitoringWorkspaceSettingMapOutput + ToEnhancedSecurityMonitoringWorkspaceSettingMapOutputWithContext(context.Context) EnhancedSecurityMonitoringWorkspaceSettingMapOutput +} + +type EnhancedSecurityMonitoringWorkspaceSettingMap map[string]EnhancedSecurityMonitoringWorkspaceSettingInput + +func (EnhancedSecurityMonitoringWorkspaceSettingMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*EnhancedSecurityMonitoringWorkspaceSetting)(nil)).Elem() +} + +func (i EnhancedSecurityMonitoringWorkspaceSettingMap) ToEnhancedSecurityMonitoringWorkspaceSettingMapOutput() EnhancedSecurityMonitoringWorkspaceSettingMapOutput { + return i.ToEnhancedSecurityMonitoringWorkspaceSettingMapOutputWithContext(context.Background()) +} + +func (i EnhancedSecurityMonitoringWorkspaceSettingMap) ToEnhancedSecurityMonitoringWorkspaceSettingMapOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(EnhancedSecurityMonitoringWorkspaceSettingMapOutput) +} + +type EnhancedSecurityMonitoringWorkspaceSettingOutput struct{ *pulumi.OutputState } + +func (EnhancedSecurityMonitoringWorkspaceSettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EnhancedSecurityMonitoringWorkspaceSetting)(nil)).Elem() +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingOutput) ToEnhancedSecurityMonitoringWorkspaceSettingOutput() EnhancedSecurityMonitoringWorkspaceSettingOutput { + return o +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingOutput) ToEnhancedSecurityMonitoringWorkspaceSettingOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingOutput { + return o +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingOutput) EnhancedSecurityMonitoringWorkspace() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { + return o.ApplyT(func(v *EnhancedSecurityMonitoringWorkspaceSetting) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { + return v.EnhancedSecurityMonitoringWorkspace + }).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingOutput) Etag() pulumi.StringOutput { + return o.ApplyT(func(v *EnhancedSecurityMonitoringWorkspaceSetting) pulumi.StringOutput { return v.Etag }).(pulumi.StringOutput) +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingOutput) SettingName() pulumi.StringOutput { + return o.ApplyT(func(v *EnhancedSecurityMonitoringWorkspaceSetting) pulumi.StringOutput { return v.SettingName }).(pulumi.StringOutput) +} + +type EnhancedSecurityMonitoringWorkspaceSettingArrayOutput struct{ *pulumi.OutputState } + +func (EnhancedSecurityMonitoringWorkspaceSettingArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*EnhancedSecurityMonitoringWorkspaceSetting)(nil)).Elem() +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingArrayOutput) ToEnhancedSecurityMonitoringWorkspaceSettingArrayOutput() EnhancedSecurityMonitoringWorkspaceSettingArrayOutput { + return o +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingArrayOutput) ToEnhancedSecurityMonitoringWorkspaceSettingArrayOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingArrayOutput { + return o +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingArrayOutput) Index(i pulumi.IntInput) EnhancedSecurityMonitoringWorkspaceSettingOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *EnhancedSecurityMonitoringWorkspaceSetting { + return vs[0].([]*EnhancedSecurityMonitoringWorkspaceSetting)[vs[1].(int)] + }).(EnhancedSecurityMonitoringWorkspaceSettingOutput) +} + +type EnhancedSecurityMonitoringWorkspaceSettingMapOutput struct{ *pulumi.OutputState } + +func (EnhancedSecurityMonitoringWorkspaceSettingMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*EnhancedSecurityMonitoringWorkspaceSetting)(nil)).Elem() +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingMapOutput) ToEnhancedSecurityMonitoringWorkspaceSettingMapOutput() EnhancedSecurityMonitoringWorkspaceSettingMapOutput { + return o +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingMapOutput) ToEnhancedSecurityMonitoringWorkspaceSettingMapOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingMapOutput { + return o +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingMapOutput) MapIndex(k pulumi.StringInput) EnhancedSecurityMonitoringWorkspaceSettingOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *EnhancedSecurityMonitoringWorkspaceSetting { + return vs[0].(map[string]*EnhancedSecurityMonitoringWorkspaceSetting)[vs[1].(string)] + }).(EnhancedSecurityMonitoringWorkspaceSettingOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*EnhancedSecurityMonitoringWorkspaceSettingInput)(nil)).Elem(), &EnhancedSecurityMonitoringWorkspaceSetting{}) + pulumi.RegisterInputType(reflect.TypeOf((*EnhancedSecurityMonitoringWorkspaceSettingArrayInput)(nil)).Elem(), EnhancedSecurityMonitoringWorkspaceSettingArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*EnhancedSecurityMonitoringWorkspaceSettingMapInput)(nil)).Elem(), EnhancedSecurityMonitoringWorkspaceSettingMap{}) + pulumi.RegisterOutputType(EnhancedSecurityMonitoringWorkspaceSettingOutput{}) + pulumi.RegisterOutputType(EnhancedSecurityMonitoringWorkspaceSettingArrayOutput{}) + pulumi.RegisterOutputType(EnhancedSecurityMonitoringWorkspaceSettingMapOutput{}) +} diff --git a/sdk/go/databricks/getExternalLocation.go b/sdk/go/databricks/getExternalLocation.go index da4f61c1..5adc8ff9 100644 --- a/sdk/go/databricks/getExternalLocation.go +++ b/sdk/go/databricks/getExternalLocation.go @@ -13,7 +13,39 @@ import ( // ## Example Usage // -// Getting details of an existing external location in the metastore +// # Getting details of an existing external location in the metastore +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// this, err := databricks.LookupExternalLocation(ctx, &databricks.LookupExternalLocationArgs{ +// Name: "this", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("createdBy", this.ExternalLocationInfo.CreatedBy) +// return nil +// }) +// } +// +// ``` +// +// ## Related Resources +// +// The following resources are used in the same context: +// +// * getExternalLocations to get names of all external locations +// * ExternalLocation to manage external locations within Unity Catalog. func LookupExternalLocation(ctx *pulumi.Context, args *LookupExternalLocationArgs, opts ...pulumi.InvokeOption) (*LookupExternalLocationResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupExternalLocationResult @@ -26,15 +58,19 @@ func LookupExternalLocation(ctx *pulumi.Context, args *LookupExternalLocationArg // A collection of arguments for invoking getExternalLocation. type LookupExternalLocationArgs struct { + // array of objects with information about external location: ExternalLocationInfo *GetExternalLocationExternalLocationInfo `pulumi:"externalLocationInfo"` - // The name of the storage credential + // external location ID - same as name. + Id *string `pulumi:"id"` + // The name of the external location Name string `pulumi:"name"` } // A collection of values returned by getExternalLocation. type LookupExternalLocationResult struct { + // array of objects with information about external location: ExternalLocationInfo GetExternalLocationExternalLocationInfo `pulumi:"externalLocationInfo"` - // The provider-assigned unique ID for this managed resource. + // external location ID - same as name. Id string `pulumi:"id"` Name string `pulumi:"name"` } @@ -54,8 +90,11 @@ func LookupExternalLocationOutput(ctx *pulumi.Context, args LookupExternalLocati // A collection of arguments for invoking getExternalLocation. type LookupExternalLocationOutputArgs struct { + // array of objects with information about external location: ExternalLocationInfo GetExternalLocationExternalLocationInfoPtrInput `pulumi:"externalLocationInfo"` - // The name of the storage credential + // external location ID - same as name. + Id pulumi.StringPtrInput `pulumi:"id"` + // The name of the external location Name pulumi.StringInput `pulumi:"name"` } @@ -78,13 +117,14 @@ func (o LookupExternalLocationResultOutput) ToLookupExternalLocationResultOutput return o } +// array of objects with information about external location: func (o LookupExternalLocationResultOutput) ExternalLocationInfo() GetExternalLocationExternalLocationInfoOutput { return o.ApplyT(func(v LookupExternalLocationResult) GetExternalLocationExternalLocationInfo { return v.ExternalLocationInfo }).(GetExternalLocationExternalLocationInfoOutput) } -// The provider-assigned unique ID for this managed resource. +// external location ID - same as name. func (o LookupExternalLocationResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupExternalLocationResult) string { return v.Id }).(pulumi.StringOutput) } diff --git a/sdk/go/databricks/getStorageCredential.go b/sdk/go/databricks/getStorageCredential.go index b6c82f4b..4713ef9e 100644 --- a/sdk/go/databricks/getStorageCredential.go +++ b/sdk/go/databricks/getStorageCredential.go @@ -13,7 +13,39 @@ import ( // ## Example Usage // -// Getting details of an existing storage credential in the metastore +// # Getting details of an existing storage credential in the metastore +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// this, err := databricks.LookupStorageCredential(ctx, &databricks.LookupStorageCredentialArgs{ +// Name: "this", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("createdBy", this.StorageCredentialInfo.CreatedBy) +// return nil +// }) +// } +// +// ``` +// +// ## Related Resources +// +// The following resources are used in the same context: +// +// * getStorageCredentials to get names of all credentials +// * StorageCredential to manage Storage Credentials within Unity Catalog. func LookupStorageCredential(ctx *pulumi.Context, args *LookupStorageCredentialArgs, opts ...pulumi.InvokeOption) (*LookupStorageCredentialResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupStorageCredentialResult @@ -26,16 +58,20 @@ func LookupStorageCredential(ctx *pulumi.Context, args *LookupStorageCredentialA // A collection of arguments for invoking getStorageCredential. type LookupStorageCredentialArgs struct { + // Unique ID of storage credential. + Id *string `pulumi:"id"` // The name of the storage credential - Name string `pulumi:"name"` + Name string `pulumi:"name"` + // array of objects with information about storage credential. StorageCredentialInfo *GetStorageCredentialStorageCredentialInfo `pulumi:"storageCredentialInfo"` } // A collection of values returned by getStorageCredential. type LookupStorageCredentialResult struct { - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - Name string `pulumi:"name"` + // Unique ID of storage credential. + Id string `pulumi:"id"` + Name string `pulumi:"name"` + // array of objects with information about storage credential. StorageCredentialInfo GetStorageCredentialStorageCredentialInfo `pulumi:"storageCredentialInfo"` } @@ -54,8 +90,11 @@ func LookupStorageCredentialOutput(ctx *pulumi.Context, args LookupStorageCreden // A collection of arguments for invoking getStorageCredential. type LookupStorageCredentialOutputArgs struct { + // Unique ID of storage credential. + Id pulumi.StringPtrInput `pulumi:"id"` // The name of the storage credential - Name pulumi.StringInput `pulumi:"name"` + Name pulumi.StringInput `pulumi:"name"` + // array of objects with information about storage credential. StorageCredentialInfo GetStorageCredentialStorageCredentialInfoPtrInput `pulumi:"storageCredentialInfo"` } @@ -78,7 +117,7 @@ func (o LookupStorageCredentialResultOutput) ToLookupStorageCredentialResultOutp return o } -// The provider-assigned unique ID for this managed resource. +// Unique ID of storage credential. func (o LookupStorageCredentialResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupStorageCredentialResult) string { return v.Id }).(pulumi.StringOutput) } @@ -87,6 +126,7 @@ func (o LookupStorageCredentialResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupStorageCredentialResult) string { return v.Name }).(pulumi.StringOutput) } +// array of objects with information about storage credential. func (o LookupStorageCredentialResultOutput) StorageCredentialInfo() GetStorageCredentialStorageCredentialInfoOutput { return o.ApplyT(func(v LookupStorageCredentialResult) GetStorageCredentialStorageCredentialInfo { return v.StorageCredentialInfo diff --git a/sdk/go/databricks/init.go b/sdk/go/databricks/init.go index f228b412..12128f36 100644 --- a/sdk/go/databricks/init.go +++ b/sdk/go/databricks/init.go @@ -25,6 +25,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &AccessControlRuleSet{} case "databricks:index/artifactAllowlist:ArtifactAllowlist": r = &ArtifactAllowlist{} + case "databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting": + r = &AutomaticClusterUpdateWorkspaceSetting{} case "databricks:index/catalog:Catalog": r = &Catalog{} case "databricks:index/catalogWorkspaceBinding:CatalogWorkspaceBinding": @@ -33,6 +35,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &Cluster{} case "databricks:index/clusterPolicy:ClusterPolicy": r = &ClusterPolicy{} + case "databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting": + r = &ComplianceSecurityProfileWorkspaceSetting{} case "databricks:index/connection:Connection": r = &Connection{} case "databricks:index/dbfsFile:DbfsFile": @@ -41,6 +45,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &DefaultNamespaceSetting{} case "databricks:index/directory:Directory": r = &Directory{} + case "databricks:index/enhancedSecurityMonitoringWorkspaceSetting:EnhancedSecurityMonitoringWorkspaceSetting": + r = &EnhancedSecurityMonitoringWorkspaceSetting{} case "databricks:index/entitlements:Entitlements": r = &Entitlements{} case "databricks:index/externalLocation:ExternalLocation": @@ -129,6 +135,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &Permissions{} case "databricks:index/pipeline:Pipeline": r = &Pipeline{} + case "databricks:index/qualityMonitor:QualityMonitor": + r = &QualityMonitor{} case "databricks:index/recipient:Recipient": r = &Recipient{} case "databricks:index/registeredModel:RegisteredModel": @@ -236,6 +244,11 @@ func init() { "index/artifactAllowlist", &module{version}, ) + pulumi.RegisterResourceModule( + "databricks", + "index/automaticClusterUpdateWorkspaceSetting", + &module{version}, + ) pulumi.RegisterResourceModule( "databricks", "index/catalog", @@ -256,6 +269,11 @@ func init() { "index/clusterPolicy", &module{version}, ) + pulumi.RegisterResourceModule( + "databricks", + "index/complianceSecurityProfileWorkspaceSetting", + &module{version}, + ) pulumi.RegisterResourceModule( "databricks", "index/connection", @@ -276,6 +294,11 @@ func init() { "index/directory", &module{version}, ) + pulumi.RegisterResourceModule( + "databricks", + "index/enhancedSecurityMonitoringWorkspaceSetting", + &module{version}, + ) pulumi.RegisterResourceModule( "databricks", "index/entitlements", @@ -496,6 +519,11 @@ func init() { "index/pipeline", &module{version}, ) + pulumi.RegisterResourceModule( + "databricks", + "index/qualityMonitor", + &module{version}, + ) pulumi.RegisterResourceModule( "databricks", "index/recipient", diff --git a/sdk/go/databricks/lakehouseMonitor.go b/sdk/go/databricks/lakehouseMonitor.go index 3a02adac..6454cdb5 100644 --- a/sdk/go/databricks/lakehouseMonitor.go +++ b/sdk/go/databricks/lakehouseMonitor.go @@ -12,6 +12,8 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) +// NOTE: This resource has been deprecated and will be removed soon. Please use the QualityMonitor resource instead. +// // 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. diff --git a/sdk/go/databricks/modelServing.go b/sdk/go/databricks/modelServing.go index 7bcd3e7f..6bb62fd9 100644 --- a/sdk/go/databricks/modelServing.go +++ b/sdk/go/databricks/modelServing.go @@ -106,6 +106,8 @@ type ModelServing struct { 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"` + // A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + RouteOptimized pulumi.BoolPtrOutput `pulumi:"routeOptimized"` // 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 to be attached to the serving endpoint and automatically propagated to billing logs. @@ -151,6 +153,8 @@ type modelServingState struct { 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"` + // A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + RouteOptimized *bool `pulumi:"routeOptimized"` // Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. ServingEndpointId *string `pulumi:"servingEndpointId"` // Tags to be attached to the serving endpoint and automatically propagated to billing logs. @@ -164,6 +168,8 @@ type ModelServingState struct { 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 + // A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + RouteOptimized pulumi.BoolPtrInput // Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. ServingEndpointId pulumi.StringPtrInput // Tags to be attached to the serving endpoint and automatically propagated to billing logs. @@ -181,6 +187,8 @@ type modelServingArgs struct { 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"` + // A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + RouteOptimized *bool `pulumi:"routeOptimized"` // Tags to be attached to the serving endpoint and automatically propagated to billing logs. Tags []ModelServingTag `pulumi:"tags"` } @@ -193,6 +201,8 @@ type ModelServingArgs struct { 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 + // A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + RouteOptimized pulumi.BoolPtrInput // Tags to be attached to the serving endpoint and automatically propagated to billing logs. Tags ModelServingTagArrayInput } @@ -299,6 +309,11 @@ func (o ModelServingOutput) RateLimits() ModelServingRateLimitArrayOutput { return o.ApplyT(func(v *ModelServing) ModelServingRateLimitArrayOutput { return v.RateLimits }).(ModelServingRateLimitArrayOutput) } +// A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. +func (o ModelServingOutput) RouteOptimized() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ModelServing) pulumi.BoolPtrOutput { return v.RouteOptimized }).(pulumi.BoolPtrOutput) +} + // Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. func (o ModelServingOutput) ServingEndpointId() pulumi.StringOutput { return o.ApplyT(func(v *ModelServing) pulumi.StringOutput { return v.ServingEndpointId }).(pulumi.StringOutput) diff --git a/sdk/go/databricks/pulumiTypes.go b/sdk/go/databricks/pulumiTypes.go index 211d40f4..d62e3409 100644 --- a/sdk/go/databricks/pulumiTypes.go +++ b/sdk/go/databricks/pulumiTypes.go @@ -246,6 +246,832 @@ func (o ArtifactAllowlistArtifactMatcherArrayOutput) Index(i pulumi.IntInput) Ar }).(ArtifactAllowlistArtifactMatcherOutput) } +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace struct { + CanToggle *bool `pulumi:"canToggle"` + Enabled *bool `pulumi:"enabled"` + EnablementDetails *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails `pulumi:"enablementDetails"` + MaintenanceWindow *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow `pulumi:"maintenanceWindow"` + RestartEvenIfNoUpdatesAvailable *bool `pulumi:"restartEvenIfNoUpdatesAvailable"` +} + +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceInput` via: +// +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs{...} +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceInput interface { + pulumi.Input + + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs struct { + CanToggle pulumi.BoolPtrInput `pulumi:"canToggle"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + EnablementDetails AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput `pulumi:"enablementDetails"` + MaintenanceWindow AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput `pulumi:"maintenanceWindow"` + RestartEvenIfNoUpdatesAvailable pulumi.BoolPtrInput `pulumi:"restartEvenIfNoUpdatesAvailable"` +} + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace)(nil)).Elem() +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutputWithContext(context.Background()) +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(context.Background()) +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput).ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(ctx) +} + +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs, AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtr and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrInput` via: +// +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs{...} +// +// or: +// +// nil +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrInput interface { + pulumi.Input + + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput +} + +type automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrType AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs + +func AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtr(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrInput { + return (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrType)(v) +} + +func (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace)(nil)).Elem() +} + +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(context.Background()) +} + +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace)(nil)).Elem() +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { + return o.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(context.Background()) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace { + return &v + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) CanToggle() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { + return v.CanToggle + }).(pulumi.BoolPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) EnablementDetails() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails { + return v.EnablementDetails + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) MaintenanceWindow() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow { + return v.MaintenanceWindow + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) RestartEvenIfNoUpdatesAvailable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { + return v.RestartEvenIfNoUpdatesAvailable + }).(pulumi.BoolPtrOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace)(nil)).Elem() +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) Elem() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace { + if v != nil { + return *v + } + var ret AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace + return ret + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) CanToggle() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { + if v == nil { + return nil + } + return v.CanToggle + }).(pulumi.BoolPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) EnablementDetails() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails { + if v == nil { + return nil + } + return v.EnablementDetails + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) MaintenanceWindow() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow { + if v == nil { + return nil + } + return v.MaintenanceWindow + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) RestartEvenIfNoUpdatesAvailable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { + if v == nil { + return nil + } + return v.RestartEvenIfNoUpdatesAvailable + }).(pulumi.BoolPtrOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails struct { + ForcedForComplianceMode *bool `pulumi:"forcedForComplianceMode"` + UnavailableForDisabledEntitlement *bool `pulumi:"unavailableForDisabledEntitlement"` + UnavailableForNonEnterpriseTier *bool `pulumi:"unavailableForNonEnterpriseTier"` +} + +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsInput` via: +// +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs{...} +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsInput interface { + pulumi.Input + + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs struct { + ForcedForComplianceMode pulumi.BoolPtrInput `pulumi:"forcedForComplianceMode"` + UnavailableForDisabledEntitlement pulumi.BoolPtrInput `pulumi:"unavailableForDisabledEntitlement"` + UnavailableForNonEnterpriseTier pulumi.BoolPtrInput `pulumi:"unavailableForNonEnterpriseTier"` +} + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails)(nil)).Elem() +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutputWithContext(context.Background()) +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(context.Background()) +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput).ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(ctx) +} + +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs, AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtr and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput` via: +// +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs{...} +// +// or: +// +// nil +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput interface { + pulumi.Input + + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput +} + +type automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrType AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs + +func AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtr(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput { + return (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrType)(v) +} + +func (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails)(nil)).Elem() +} + +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(context.Background()) +} + +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails)(nil)).Elem() +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return o.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(context.Background()) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails { + return &v + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ForcedForComplianceMode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { + return v.ForcedForComplianceMode + }).(pulumi.BoolPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) UnavailableForDisabledEntitlement() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { + return v.UnavailableForDisabledEntitlement + }).(pulumi.BoolPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) UnavailableForNonEnterpriseTier() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { + return v.UnavailableForNonEnterpriseTier + }).(pulumi.BoolPtrOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails)(nil)).Elem() +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) Elem() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails { + if v != nil { + return *v + } + var ret AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails + return ret + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) ForcedForComplianceMode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { + if v == nil { + return nil + } + return v.ForcedForComplianceMode + }).(pulumi.BoolPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) UnavailableForDisabledEntitlement() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { + if v == nil { + return nil + } + return v.UnavailableForDisabledEntitlement + }).(pulumi.BoolPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) UnavailableForNonEnterpriseTier() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { + if v == nil { + return nil + } + return v.UnavailableForNonEnterpriseTier + }).(pulumi.BoolPtrOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow struct { + WeekDayBasedSchedule *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule `pulumi:"weekDayBasedSchedule"` +} + +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowInput` via: +// +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs{...} +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowInput interface { + pulumi.Input + + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs struct { + WeekDayBasedSchedule AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput `pulumi:"weekDayBasedSchedule"` +} + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow)(nil)).Elem() +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutputWithContext(context.Background()) +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(context.Background()) +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput).ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(ctx) +} + +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs, AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtr and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput` via: +// +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs{...} +// +// or: +// +// nil +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput interface { + pulumi.Input + + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput +} + +type automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrType AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs + +func AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtr(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput { + return (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrType)(v) +} + +func (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow)(nil)).Elem() +} + +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(context.Background()) +} + +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow)(nil)).Elem() +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return o.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(context.Background()) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow { + return &v + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) WeekDayBasedSchedule() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule { + return v.WeekDayBasedSchedule + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow)(nil)).Elem() +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) Elem() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow { + if v != nil { + return *v + } + var ret AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow + return ret + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) WeekDayBasedSchedule() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule { + if v == nil { + return nil + } + return v.WeekDayBasedSchedule + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule struct { + DayOfWeek *string `pulumi:"dayOfWeek"` + Frequency *string `pulumi:"frequency"` + WindowStartTime *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime `pulumi:"windowStartTime"` +} + +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleInput` via: +// +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs{...} +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleInput interface { + pulumi.Input + + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs struct { + DayOfWeek pulumi.StringPtrInput `pulumi:"dayOfWeek"` + Frequency pulumi.StringPtrInput `pulumi:"frequency"` + WindowStartTime AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput `pulumi:"windowStartTime"` +} + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule)(nil)).Elem() +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputWithContext(context.Background()) +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(context.Background()) +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput).ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(ctx) +} + +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs, AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtr and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput` via: +// +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs{...} +// +// or: +// +// nil +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput interface { + pulumi.Input + + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput +} + +type automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrType AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs + +func AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtr(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput { + return (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrType)(v) +} + +func (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule)(nil)).Elem() +} + +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(context.Background()) +} + +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule)(nil)).Elem() +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return o.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(context.Background()) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule { + return &v + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) DayOfWeek() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *string { + return v.DayOfWeek + }).(pulumi.StringPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) Frequency() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *string { + return v.Frequency + }).(pulumi.StringPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) WindowStartTime() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime { + return v.WindowStartTime + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule)(nil)).Elem() +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) Elem() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule { + if v != nil { + return *v + } + var ret AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule + return ret + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) DayOfWeek() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *string { + if v == nil { + return nil + } + return v.DayOfWeek + }).(pulumi.StringPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) Frequency() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *string { + if v == nil { + return nil + } + return v.Frequency + }).(pulumi.StringPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) WindowStartTime() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime { + if v == nil { + return nil + } + return v.WindowStartTime + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime struct { + Hours *int `pulumi:"hours"` + Minutes *int `pulumi:"minutes"` +} + +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeInput` via: +// +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs{...} +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeInput interface { + pulumi.Input + + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs struct { + Hours pulumi.IntPtrInput `pulumi:"hours"` + Minutes pulumi.IntPtrInput `pulumi:"minutes"` +} + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime)(nil)).Elem() +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputWithContext(context.Background()) +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(context.Background()) +} + +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput).ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(ctx) +} + +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs, AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtr and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput` via: +// +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs{...} +// +// or: +// +// nil +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput interface { + pulumi.Input + + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput +} + +type automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrType AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs + +func AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtr(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput { + return (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrType)(v) +} + +func (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime)(nil)).Elem() +} + +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(context.Background()) +} + +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime)(nil)).Elem() +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return o.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(context.Background()) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime { + return &v + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) Hours() pulumi.IntPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) *int { + return v.Hours + }).(pulumi.IntPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) Minutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) *int { + return v.Minutes + }).(pulumi.IntPtrOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime)(nil)).Elem() +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return o +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) Elem() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime { + if v != nil { + return *v + } + var ret AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime + return ret + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) Hours() pulumi.IntPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) *int { + if v == nil { + return nil + } + return v.Hours + }).(pulumi.IntPtrOutput) +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) Minutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) *int { + if v == nil { + return nil + } + return v.Minutes + }).(pulumi.IntPtrOutput) +} + type ClusterAutoscale struct { // The maximum number of workers to which the cluster can scale up when overloaded. maxWorkers must be strictly greater than min_workers. // @@ -1258,139 +2084,6 @@ func (o ClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId }).(pulumi.StringPtrOutput) } -type ClusterCloneFrom struct { - SourceClusterId string `pulumi:"sourceClusterId"` -} - -// ClusterCloneFromInput is an input type that accepts ClusterCloneFromArgs and ClusterCloneFromOutput values. -// You can construct a concrete instance of `ClusterCloneFromInput` via: -// -// ClusterCloneFromArgs{...} -type ClusterCloneFromInput interface { - pulumi.Input - - ToClusterCloneFromOutput() ClusterCloneFromOutput - ToClusterCloneFromOutputWithContext(context.Context) ClusterCloneFromOutput -} - -type ClusterCloneFromArgs struct { - SourceClusterId pulumi.StringInput `pulumi:"sourceClusterId"` -} - -func (ClusterCloneFromArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterCloneFrom)(nil)).Elem() -} - -func (i ClusterCloneFromArgs) ToClusterCloneFromOutput() ClusterCloneFromOutput { - return i.ToClusterCloneFromOutputWithContext(context.Background()) -} - -func (i ClusterCloneFromArgs) ToClusterCloneFromOutputWithContext(ctx context.Context) ClusterCloneFromOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterCloneFromOutput) -} - -func (i ClusterCloneFromArgs) ToClusterCloneFromPtrOutput() ClusterCloneFromPtrOutput { - return i.ToClusterCloneFromPtrOutputWithContext(context.Background()) -} - -func (i ClusterCloneFromArgs) ToClusterCloneFromPtrOutputWithContext(ctx context.Context) ClusterCloneFromPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterCloneFromOutput).ToClusterCloneFromPtrOutputWithContext(ctx) -} - -// ClusterCloneFromPtrInput is an input type that accepts ClusterCloneFromArgs, ClusterCloneFromPtr and ClusterCloneFromPtrOutput values. -// You can construct a concrete instance of `ClusterCloneFromPtrInput` via: -// -// ClusterCloneFromArgs{...} -// -// or: -// -// nil -type ClusterCloneFromPtrInput interface { - pulumi.Input - - ToClusterCloneFromPtrOutput() ClusterCloneFromPtrOutput - ToClusterCloneFromPtrOutputWithContext(context.Context) ClusterCloneFromPtrOutput -} - -type clusterCloneFromPtrType ClusterCloneFromArgs - -func ClusterCloneFromPtr(v *ClusterCloneFromArgs) ClusterCloneFromPtrInput { - return (*clusterCloneFromPtrType)(v) -} - -func (*clusterCloneFromPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterCloneFrom)(nil)).Elem() -} - -func (i *clusterCloneFromPtrType) ToClusterCloneFromPtrOutput() ClusterCloneFromPtrOutput { - return i.ToClusterCloneFromPtrOutputWithContext(context.Background()) -} - -func (i *clusterCloneFromPtrType) ToClusterCloneFromPtrOutputWithContext(ctx context.Context) ClusterCloneFromPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterCloneFromPtrOutput) -} - -type ClusterCloneFromOutput struct{ *pulumi.OutputState } - -func (ClusterCloneFromOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterCloneFrom)(nil)).Elem() -} - -func (o ClusterCloneFromOutput) ToClusterCloneFromOutput() ClusterCloneFromOutput { - return o -} - -func (o ClusterCloneFromOutput) ToClusterCloneFromOutputWithContext(ctx context.Context) ClusterCloneFromOutput { - return o -} - -func (o ClusterCloneFromOutput) ToClusterCloneFromPtrOutput() ClusterCloneFromPtrOutput { - return o.ToClusterCloneFromPtrOutputWithContext(context.Background()) -} - -func (o ClusterCloneFromOutput) ToClusterCloneFromPtrOutputWithContext(ctx context.Context) ClusterCloneFromPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterCloneFrom) *ClusterCloneFrom { - return &v - }).(ClusterCloneFromPtrOutput) -} - -func (o ClusterCloneFromOutput) SourceClusterId() pulumi.StringOutput { - return o.ApplyT(func(v ClusterCloneFrom) string { return v.SourceClusterId }).(pulumi.StringOutput) -} - -type ClusterCloneFromPtrOutput struct{ *pulumi.OutputState } - -func (ClusterCloneFromPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterCloneFrom)(nil)).Elem() -} - -func (o ClusterCloneFromPtrOutput) ToClusterCloneFromPtrOutput() ClusterCloneFromPtrOutput { - return o -} - -func (o ClusterCloneFromPtrOutput) ToClusterCloneFromPtrOutputWithContext(ctx context.Context) ClusterCloneFromPtrOutput { - return o -} - -func (o ClusterCloneFromPtrOutput) Elem() ClusterCloneFromOutput { - return o.ApplyT(func(v *ClusterCloneFrom) ClusterCloneFrom { - if v != nil { - return *v - } - var ret ClusterCloneFrom - return ret - }).(ClusterCloneFromOutput) -} - -func (o ClusterCloneFromPtrOutput) SourceClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterCloneFrom) *string { - if v == nil { - return nil - } - return &v.SourceClusterId - }).(pulumi.StringPtrOutput) -} - type ClusterClusterLogConf struct { Dbfs *ClusterClusterLogConfDbfs `pulumi:"dbfs"` S3 *ClusterClusterLogConfS3 `pulumi:"s3"` @@ -5633,6 +6326,158 @@ func (o ClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { }).(pulumi.BoolPtrOutput) } +type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace struct { + ComplianceStandards []string `pulumi:"complianceStandards"` + IsEnabled *bool `pulumi:"isEnabled"` +} + +// ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceInput is an input type that accepts ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs and ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput values. +// You can construct a concrete instance of `ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceInput` via: +// +// ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs{...} +type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceInput interface { + pulumi.Input + + ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput + ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutputWithContext(context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput +} + +type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs struct { + ComplianceStandards pulumi.StringArrayInput `pulumi:"complianceStandards"` + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` +} + +func (ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace)(nil)).Elem() +} + +func (i ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { + return i.ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutputWithContext(context.Background()) +} + +func (i ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) +} + +func (i ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { + return i.ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(context.Background()) +} + +func (i ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput).ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(ctx) +} + +// ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrInput is an input type that accepts ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs, ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtr and ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput values. +// You can construct a concrete instance of `ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrInput` via: +// +// ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs{...} +// +// or: +// +// nil +type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrInput interface { + pulumi.Input + + ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput + ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput +} + +type complianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrType ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs + +func ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtr(v *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrInput { + return (*complianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrType)(v) +} + +func (*complianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace)(nil)).Elem() +} + +func (i *complianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrType) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { + return i.ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(context.Background()) +} + +func (i *complianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrType) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) +} + +type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput struct{ *pulumi.OutputState } + +func (ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace)(nil)).Elem() +} + +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { + return o +} + +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { + return o +} + +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { + return o.ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(context.Background()) +} + +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace { + return &v + }).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) +} + +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ComplianceStandards() pulumi.StringArrayOutput { + return o.ApplyT(func(v ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) []string { + return v.ComplianceStandards + }).(pulumi.StringArrayOutput) +} + +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) *bool { + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace)(nil)).Elem() +} + +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { + return o +} + +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { + return o +} + +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) Elem() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { + return o.ApplyT(func(v *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace { + if v != nil { + return *v + } + var ret ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace + return ret + }).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) +} + +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) ComplianceStandards() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) []string { + if v == nil { + return nil + } + return v.ComplianceStandards + }).(pulumi.StringArrayOutput) +} + +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + type DefaultNamespaceSettingNamespace struct { // The value for the setting. Value *string `pulumi:"value"` @@ -5770,6 +6615,141 @@ func (o DefaultNamespaceSettingNamespacePtrOutput) Value() pulumi.StringPtrOutpu }).(pulumi.StringPtrOutput) } +type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace struct { + IsEnabled *bool `pulumi:"isEnabled"` +} + +// EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceInput is an input type that accepts EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs and EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput values. +// You can construct a concrete instance of `EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceInput` via: +// +// EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs{...} +type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceInput interface { + pulumi.Input + + ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput + ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutputWithContext(context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput +} + +type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs struct { + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` +} + +func (EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace)(nil)).Elem() +} + +func (i EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { + return i.ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutputWithContext(context.Background()) +} + +func (i EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) +} + +func (i EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return i.ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(context.Background()) +} + +func (i EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput).ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(ctx) +} + +// EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrInput is an input type that accepts EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs, EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtr and EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput values. +// You can construct a concrete instance of `EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrInput` via: +// +// EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs{...} +// +// or: +// +// nil +type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrInput interface { + pulumi.Input + + ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput + ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput +} + +type enhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrType EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs + +func EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtr(v *EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrInput { + return (*enhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrType)(v) +} + +func (*enhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace)(nil)).Elem() +} + +func (i *enhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrType) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return i.ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(context.Background()) +} + +func (i *enhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrType) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) +} + +type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput struct{ *pulumi.OutputState } + +func (EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace)(nil)).Elem() +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { + return o +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { + return o +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return o.ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(context.Background()) +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace) *EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace { + return &v + }).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace) *bool { + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace)(nil)).Elem() +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return o +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return o +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) Elem() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { + return o.ApplyT(func(v *EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace { + if v != nil { + return *v + } + var ret EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace + return ret + }).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) +} + +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + type ExternalLocationEncryptionDetails struct { SseEncryptionDetails *ExternalLocationEncryptionDetailsSseEncryptionDetails `pulumi:"sseEncryptionDetails"` } @@ -9859,7 +10839,6 @@ type JobJobClusterNewCluster struct { AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` AwsAttributes *JobJobClusterNewClusterAwsAttributes `pulumi:"awsAttributes"` AzureAttributes *JobJobClusterNewClusterAzureAttributes `pulumi:"azureAttributes"` - CloneFrom *JobJobClusterNewClusterCloneFrom `pulumi:"cloneFrom"` ClusterId *string `pulumi:"clusterId"` ClusterLogConf *JobJobClusterNewClusterClusterLogConf `pulumi:"clusterLogConf"` ClusterMountInfos []JobJobClusterNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` @@ -9906,7 +10885,6 @@ type JobJobClusterNewClusterArgs struct { AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` AwsAttributes JobJobClusterNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` AzureAttributes JobJobClusterNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` - CloneFrom JobJobClusterNewClusterCloneFromPtrInput `pulumi:"cloneFrom"` ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` ClusterLogConf JobJobClusterNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` ClusterMountInfos JobJobClusterNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` @@ -10033,10 +11011,6 @@ func (o JobJobClusterNewClusterOutput) AzureAttributes() JobJobClusterNewCluster return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterAzureAttributes { return v.AzureAttributes }).(JobJobClusterNewClusterAzureAttributesPtrOutput) } -func (o JobJobClusterNewClusterOutput) CloneFrom() JobJobClusterNewClusterCloneFromPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterCloneFrom { return v.CloneFrom }).(JobJobClusterNewClusterCloneFromPtrOutput) -} - func (o JobJobClusterNewClusterOutput) ClusterId() pulumi.StringPtrOutput { return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } @@ -10211,15 +11185,6 @@ func (o JobJobClusterNewClusterPtrOutput) AzureAttributes() JobJobClusterNewClus }).(JobJobClusterNewClusterAzureAttributesPtrOutput) } -func (o JobJobClusterNewClusterPtrOutput) CloneFrom() JobJobClusterNewClusterCloneFromPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewCluster) *JobJobClusterNewClusterCloneFrom { - if v == nil { - return nil - } - return v.CloneFrom - }).(JobJobClusterNewClusterCloneFromPtrOutput) -} - func (o JobJobClusterNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { return o.ApplyT(func(v *JobJobClusterNewCluster) *string { if v == nil { @@ -11203,139 +12168,6 @@ func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnal }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterCloneFrom struct { - SourceClusterId string `pulumi:"sourceClusterId"` -} - -// JobJobClusterNewClusterCloneFromInput is an input type that accepts JobJobClusterNewClusterCloneFromArgs and JobJobClusterNewClusterCloneFromOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterCloneFromInput` via: -// -// JobJobClusterNewClusterCloneFromArgs{...} -type JobJobClusterNewClusterCloneFromInput interface { - pulumi.Input - - ToJobJobClusterNewClusterCloneFromOutput() JobJobClusterNewClusterCloneFromOutput - ToJobJobClusterNewClusterCloneFromOutputWithContext(context.Context) JobJobClusterNewClusterCloneFromOutput -} - -type JobJobClusterNewClusterCloneFromArgs struct { - SourceClusterId pulumi.StringInput `pulumi:"sourceClusterId"` -} - -func (JobJobClusterNewClusterCloneFromArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterCloneFrom)(nil)).Elem() -} - -func (i JobJobClusterNewClusterCloneFromArgs) ToJobJobClusterNewClusterCloneFromOutput() JobJobClusterNewClusterCloneFromOutput { - return i.ToJobJobClusterNewClusterCloneFromOutputWithContext(context.Background()) -} - -func (i JobJobClusterNewClusterCloneFromArgs) ToJobJobClusterNewClusterCloneFromOutputWithContext(ctx context.Context) JobJobClusterNewClusterCloneFromOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterCloneFromOutput) -} - -func (i JobJobClusterNewClusterCloneFromArgs) ToJobJobClusterNewClusterCloneFromPtrOutput() JobJobClusterNewClusterCloneFromPtrOutput { - return i.ToJobJobClusterNewClusterCloneFromPtrOutputWithContext(context.Background()) -} - -func (i JobJobClusterNewClusterCloneFromArgs) ToJobJobClusterNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterCloneFromPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterCloneFromOutput).ToJobJobClusterNewClusterCloneFromPtrOutputWithContext(ctx) -} - -// JobJobClusterNewClusterCloneFromPtrInput is an input type that accepts JobJobClusterNewClusterCloneFromArgs, JobJobClusterNewClusterCloneFromPtr and JobJobClusterNewClusterCloneFromPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterCloneFromPtrInput` via: -// -// JobJobClusterNewClusterCloneFromArgs{...} -// -// or: -// -// nil -type JobJobClusterNewClusterCloneFromPtrInput interface { - pulumi.Input - - ToJobJobClusterNewClusterCloneFromPtrOutput() JobJobClusterNewClusterCloneFromPtrOutput - ToJobJobClusterNewClusterCloneFromPtrOutputWithContext(context.Context) JobJobClusterNewClusterCloneFromPtrOutput -} - -type jobJobClusterNewClusterCloneFromPtrType JobJobClusterNewClusterCloneFromArgs - -func JobJobClusterNewClusterCloneFromPtr(v *JobJobClusterNewClusterCloneFromArgs) JobJobClusterNewClusterCloneFromPtrInput { - return (*jobJobClusterNewClusterCloneFromPtrType)(v) -} - -func (*jobJobClusterNewClusterCloneFromPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterCloneFrom)(nil)).Elem() -} - -func (i *jobJobClusterNewClusterCloneFromPtrType) ToJobJobClusterNewClusterCloneFromPtrOutput() JobJobClusterNewClusterCloneFromPtrOutput { - return i.ToJobJobClusterNewClusterCloneFromPtrOutputWithContext(context.Background()) -} - -func (i *jobJobClusterNewClusterCloneFromPtrType) ToJobJobClusterNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterCloneFromPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterCloneFromPtrOutput) -} - -type JobJobClusterNewClusterCloneFromOutput struct{ *pulumi.OutputState } - -func (JobJobClusterNewClusterCloneFromOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterCloneFrom)(nil)).Elem() -} - -func (o JobJobClusterNewClusterCloneFromOutput) ToJobJobClusterNewClusterCloneFromOutput() JobJobClusterNewClusterCloneFromOutput { - return o -} - -func (o JobJobClusterNewClusterCloneFromOutput) ToJobJobClusterNewClusterCloneFromOutputWithContext(ctx context.Context) JobJobClusterNewClusterCloneFromOutput { - return o -} - -func (o JobJobClusterNewClusterCloneFromOutput) ToJobJobClusterNewClusterCloneFromPtrOutput() JobJobClusterNewClusterCloneFromPtrOutput { - return o.ToJobJobClusterNewClusterCloneFromPtrOutputWithContext(context.Background()) -} - -func (o JobJobClusterNewClusterCloneFromOutput) ToJobJobClusterNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterCloneFromPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterCloneFrom) *JobJobClusterNewClusterCloneFrom { - return &v - }).(JobJobClusterNewClusterCloneFromPtrOutput) -} - -func (o JobJobClusterNewClusterCloneFromOutput) SourceClusterId() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterCloneFrom) string { return v.SourceClusterId }).(pulumi.StringOutput) -} - -type JobJobClusterNewClusterCloneFromPtrOutput struct{ *pulumi.OutputState } - -func (JobJobClusterNewClusterCloneFromPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterCloneFrom)(nil)).Elem() -} - -func (o JobJobClusterNewClusterCloneFromPtrOutput) ToJobJobClusterNewClusterCloneFromPtrOutput() JobJobClusterNewClusterCloneFromPtrOutput { - return o -} - -func (o JobJobClusterNewClusterCloneFromPtrOutput) ToJobJobClusterNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterCloneFromPtrOutput { - return o -} - -func (o JobJobClusterNewClusterCloneFromPtrOutput) Elem() JobJobClusterNewClusterCloneFromOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterCloneFrom) JobJobClusterNewClusterCloneFrom { - if v != nil { - return *v - } - var ret JobJobClusterNewClusterCloneFrom - return ret - }).(JobJobClusterNewClusterCloneFromOutput) -} - -func (o JobJobClusterNewClusterCloneFromPtrOutput) SourceClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterCloneFrom) *string { - if v == nil { - return nil - } - return &v.SourceClusterId - }).(pulumi.StringPtrOutput) -} - type JobJobClusterNewClusterClusterLogConf struct { Dbfs *JobJobClusterNewClusterClusterLogConfDbfs `pulumi:"dbfs"` S3 *JobJobClusterNewClusterClusterLogConfS3 `pulumi:"s3"` @@ -15138,7 +15970,6 @@ type JobNewCluster struct { AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` AwsAttributes *JobNewClusterAwsAttributes `pulumi:"awsAttributes"` AzureAttributes *JobNewClusterAzureAttributes `pulumi:"azureAttributes"` - CloneFrom *JobNewClusterCloneFrom `pulumi:"cloneFrom"` ClusterId *string `pulumi:"clusterId"` ClusterLogConf *JobNewClusterClusterLogConf `pulumi:"clusterLogConf"` ClusterMountInfos []JobNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` @@ -15185,7 +16016,6 @@ type JobNewClusterArgs struct { AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` AwsAttributes JobNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` AzureAttributes JobNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` - CloneFrom JobNewClusterCloneFromPtrInput `pulumi:"cloneFrom"` ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` ClusterLogConf JobNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` ClusterMountInfos JobNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` @@ -15312,10 +16142,6 @@ func (o JobNewClusterOutput) AzureAttributes() JobNewClusterAzureAttributesPtrOu return o.ApplyT(func(v JobNewCluster) *JobNewClusterAzureAttributes { return v.AzureAttributes }).(JobNewClusterAzureAttributesPtrOutput) } -func (o JobNewClusterOutput) CloneFrom() JobNewClusterCloneFromPtrOutput { - return o.ApplyT(func(v JobNewCluster) *JobNewClusterCloneFrom { return v.CloneFrom }).(JobNewClusterCloneFromPtrOutput) -} - func (o JobNewClusterOutput) ClusterId() pulumi.StringPtrOutput { return o.ApplyT(func(v JobNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } @@ -15490,15 +16316,6 @@ func (o JobNewClusterPtrOutput) AzureAttributes() JobNewClusterAzureAttributesPt }).(JobNewClusterAzureAttributesPtrOutput) } -func (o JobNewClusterPtrOutput) CloneFrom() JobNewClusterCloneFromPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *JobNewClusterCloneFrom { - if v == nil { - return nil - } - return v.CloneFrom - }).(JobNewClusterCloneFromPtrOutput) -} - func (o JobNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { return o.ApplyT(func(v *JobNewCluster) *string { if v == nil { @@ -16478,139 +17295,6 @@ func (o JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorks }).(pulumi.StringPtrOutput) } -type JobNewClusterCloneFrom struct { - SourceClusterId string `pulumi:"sourceClusterId"` -} - -// JobNewClusterCloneFromInput is an input type that accepts JobNewClusterCloneFromArgs and JobNewClusterCloneFromOutput values. -// You can construct a concrete instance of `JobNewClusterCloneFromInput` via: -// -// JobNewClusterCloneFromArgs{...} -type JobNewClusterCloneFromInput interface { - pulumi.Input - - ToJobNewClusterCloneFromOutput() JobNewClusterCloneFromOutput - ToJobNewClusterCloneFromOutputWithContext(context.Context) JobNewClusterCloneFromOutput -} - -type JobNewClusterCloneFromArgs struct { - SourceClusterId pulumi.StringInput `pulumi:"sourceClusterId"` -} - -func (JobNewClusterCloneFromArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterCloneFrom)(nil)).Elem() -} - -func (i JobNewClusterCloneFromArgs) ToJobNewClusterCloneFromOutput() JobNewClusterCloneFromOutput { - return i.ToJobNewClusterCloneFromOutputWithContext(context.Background()) -} - -func (i JobNewClusterCloneFromArgs) ToJobNewClusterCloneFromOutputWithContext(ctx context.Context) JobNewClusterCloneFromOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterCloneFromOutput) -} - -func (i JobNewClusterCloneFromArgs) ToJobNewClusterCloneFromPtrOutput() JobNewClusterCloneFromPtrOutput { - return i.ToJobNewClusterCloneFromPtrOutputWithContext(context.Background()) -} - -func (i JobNewClusterCloneFromArgs) ToJobNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobNewClusterCloneFromPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterCloneFromOutput).ToJobNewClusterCloneFromPtrOutputWithContext(ctx) -} - -// JobNewClusterCloneFromPtrInput is an input type that accepts JobNewClusterCloneFromArgs, JobNewClusterCloneFromPtr and JobNewClusterCloneFromPtrOutput values. -// You can construct a concrete instance of `JobNewClusterCloneFromPtrInput` via: -// -// JobNewClusterCloneFromArgs{...} -// -// or: -// -// nil -type JobNewClusterCloneFromPtrInput interface { - pulumi.Input - - ToJobNewClusterCloneFromPtrOutput() JobNewClusterCloneFromPtrOutput - ToJobNewClusterCloneFromPtrOutputWithContext(context.Context) JobNewClusterCloneFromPtrOutput -} - -type jobNewClusterCloneFromPtrType JobNewClusterCloneFromArgs - -func JobNewClusterCloneFromPtr(v *JobNewClusterCloneFromArgs) JobNewClusterCloneFromPtrInput { - return (*jobNewClusterCloneFromPtrType)(v) -} - -func (*jobNewClusterCloneFromPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterCloneFrom)(nil)).Elem() -} - -func (i *jobNewClusterCloneFromPtrType) ToJobNewClusterCloneFromPtrOutput() JobNewClusterCloneFromPtrOutput { - return i.ToJobNewClusterCloneFromPtrOutputWithContext(context.Background()) -} - -func (i *jobNewClusterCloneFromPtrType) ToJobNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobNewClusterCloneFromPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterCloneFromPtrOutput) -} - -type JobNewClusterCloneFromOutput struct{ *pulumi.OutputState } - -func (JobNewClusterCloneFromOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterCloneFrom)(nil)).Elem() -} - -func (o JobNewClusterCloneFromOutput) ToJobNewClusterCloneFromOutput() JobNewClusterCloneFromOutput { - return o -} - -func (o JobNewClusterCloneFromOutput) ToJobNewClusterCloneFromOutputWithContext(ctx context.Context) JobNewClusterCloneFromOutput { - return o -} - -func (o JobNewClusterCloneFromOutput) ToJobNewClusterCloneFromPtrOutput() JobNewClusterCloneFromPtrOutput { - return o.ToJobNewClusterCloneFromPtrOutputWithContext(context.Background()) -} - -func (o JobNewClusterCloneFromOutput) ToJobNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobNewClusterCloneFromPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterCloneFrom) *JobNewClusterCloneFrom { - return &v - }).(JobNewClusterCloneFromPtrOutput) -} - -func (o JobNewClusterCloneFromOutput) SourceClusterId() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterCloneFrom) string { return v.SourceClusterId }).(pulumi.StringOutput) -} - -type JobNewClusterCloneFromPtrOutput struct{ *pulumi.OutputState } - -func (JobNewClusterCloneFromPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterCloneFrom)(nil)).Elem() -} - -func (o JobNewClusterCloneFromPtrOutput) ToJobNewClusterCloneFromPtrOutput() JobNewClusterCloneFromPtrOutput { - return o -} - -func (o JobNewClusterCloneFromPtrOutput) ToJobNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobNewClusterCloneFromPtrOutput { - return o -} - -func (o JobNewClusterCloneFromPtrOutput) Elem() JobNewClusterCloneFromOutput { - return o.ApplyT(func(v *JobNewClusterCloneFrom) JobNewClusterCloneFrom { - if v != nil { - return *v - } - var ret JobNewClusterCloneFrom - return ret - }).(JobNewClusterCloneFromOutput) -} - -func (o JobNewClusterCloneFromPtrOutput) SourceClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterCloneFrom) *string { - if v == nil { - return nil - } - return &v.SourceClusterId - }).(pulumi.StringPtrOutput) -} - type JobNewClusterClusterLogConf struct { Dbfs *JobNewClusterClusterLogConfDbfs `pulumi:"dbfs"` S3 *JobNewClusterClusterLogConfS3 `pulumi:"s3"` @@ -25360,7 +26044,6 @@ type JobTaskForEachTaskTaskNewCluster struct { AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` AwsAttributes *JobTaskForEachTaskTaskNewClusterAwsAttributes `pulumi:"awsAttributes"` AzureAttributes *JobTaskForEachTaskTaskNewClusterAzureAttributes `pulumi:"azureAttributes"` - CloneFrom *JobTaskForEachTaskTaskNewClusterCloneFrom `pulumi:"cloneFrom"` ClusterId *string `pulumi:"clusterId"` ClusterLogConf *JobTaskForEachTaskTaskNewClusterClusterLogConf `pulumi:"clusterLogConf"` ClusterMountInfos []JobTaskForEachTaskTaskNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` @@ -25407,7 +26090,6 @@ type JobTaskForEachTaskTaskNewClusterArgs struct { AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` AwsAttributes JobTaskForEachTaskTaskNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` AzureAttributes JobTaskForEachTaskTaskNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` - CloneFrom JobTaskForEachTaskTaskNewClusterCloneFromPtrInput `pulumi:"cloneFrom"` ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` ClusterLogConf JobTaskForEachTaskTaskNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` ClusterMountInfos JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` @@ -25540,12 +26222,6 @@ func (o JobTaskForEachTaskTaskNewClusterOutput) AzureAttributes() JobTaskForEach }).(JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterOutput) CloneFrom() JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterCloneFrom { - return v.CloneFrom - }).(JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput) -} - func (o JobTaskForEachTaskTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } @@ -25732,15 +26408,6 @@ func (o JobTaskForEachTaskTaskNewClusterPtrOutput) AzureAttributes() JobTaskForE }).(JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) CloneFrom() JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterCloneFrom { - if v == nil { - return nil - } - return v.CloneFrom - }).(JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput) -} - func (o JobTaskForEachTaskTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { if v == nil { @@ -26724,139 +27391,6 @@ func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterCloneFrom struct { - SourceClusterId string `pulumi:"sourceClusterId"` -} - -// JobTaskForEachTaskTaskNewClusterCloneFromInput is an input type that accepts JobTaskForEachTaskTaskNewClusterCloneFromArgs and JobTaskForEachTaskTaskNewClusterCloneFromOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterCloneFromInput` via: -// -// JobTaskForEachTaskTaskNewClusterCloneFromArgs{...} -type JobTaskForEachTaskTaskNewClusterCloneFromInput interface { - pulumi.Input - - ToJobTaskForEachTaskTaskNewClusterCloneFromOutput() JobTaskForEachTaskTaskNewClusterCloneFromOutput - ToJobTaskForEachTaskTaskNewClusterCloneFromOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterCloneFromOutput -} - -type JobTaskForEachTaskTaskNewClusterCloneFromArgs struct { - SourceClusterId pulumi.StringInput `pulumi:"sourceClusterId"` -} - -func (JobTaskForEachTaskTaskNewClusterCloneFromArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterCloneFrom)(nil)).Elem() -} - -func (i JobTaskForEachTaskTaskNewClusterCloneFromArgs) ToJobTaskForEachTaskTaskNewClusterCloneFromOutput() JobTaskForEachTaskTaskNewClusterCloneFromOutput { - return i.ToJobTaskForEachTaskTaskNewClusterCloneFromOutputWithContext(context.Background()) -} - -func (i JobTaskForEachTaskTaskNewClusterCloneFromArgs) ToJobTaskForEachTaskTaskNewClusterCloneFromOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterCloneFromOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterCloneFromOutput) -} - -func (i JobTaskForEachTaskTaskNewClusterCloneFromArgs) ToJobTaskForEachTaskTaskNewClusterCloneFromPtrOutput() JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterCloneFromPtrOutputWithContext(context.Background()) -} - -func (i JobTaskForEachTaskTaskNewClusterCloneFromArgs) ToJobTaskForEachTaskTaskNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterCloneFromOutput).ToJobTaskForEachTaskTaskNewClusterCloneFromPtrOutputWithContext(ctx) -} - -// JobTaskForEachTaskTaskNewClusterCloneFromPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterCloneFromArgs, JobTaskForEachTaskTaskNewClusterCloneFromPtr and JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterCloneFromPtrInput` via: -// -// JobTaskForEachTaskTaskNewClusterCloneFromArgs{...} -// -// or: -// -// nil -type JobTaskForEachTaskTaskNewClusterCloneFromPtrInput interface { - pulumi.Input - - ToJobTaskForEachTaskTaskNewClusterCloneFromPtrOutput() JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput - ToJobTaskForEachTaskTaskNewClusterCloneFromPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput -} - -type jobTaskForEachTaskTaskNewClusterCloneFromPtrType JobTaskForEachTaskTaskNewClusterCloneFromArgs - -func JobTaskForEachTaskTaskNewClusterCloneFromPtr(v *JobTaskForEachTaskTaskNewClusterCloneFromArgs) JobTaskForEachTaskTaskNewClusterCloneFromPtrInput { - return (*jobTaskForEachTaskTaskNewClusterCloneFromPtrType)(v) -} - -func (*jobTaskForEachTaskTaskNewClusterCloneFromPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterCloneFrom)(nil)).Elem() -} - -func (i *jobTaskForEachTaskTaskNewClusterCloneFromPtrType) ToJobTaskForEachTaskTaskNewClusterCloneFromPtrOutput() JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterCloneFromPtrOutputWithContext(context.Background()) -} - -func (i *jobTaskForEachTaskTaskNewClusterCloneFromPtrType) ToJobTaskForEachTaskTaskNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput) -} - -type JobTaskForEachTaskTaskNewClusterCloneFromOutput struct{ *pulumi.OutputState } - -func (JobTaskForEachTaskTaskNewClusterCloneFromOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterCloneFrom)(nil)).Elem() -} - -func (o JobTaskForEachTaskTaskNewClusterCloneFromOutput) ToJobTaskForEachTaskTaskNewClusterCloneFromOutput() JobTaskForEachTaskTaskNewClusterCloneFromOutput { - return o -} - -func (o JobTaskForEachTaskTaskNewClusterCloneFromOutput) ToJobTaskForEachTaskTaskNewClusterCloneFromOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterCloneFromOutput { - return o -} - -func (o JobTaskForEachTaskTaskNewClusterCloneFromOutput) ToJobTaskForEachTaskTaskNewClusterCloneFromPtrOutput() JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterCloneFromPtrOutputWithContext(context.Background()) -} - -func (o JobTaskForEachTaskTaskNewClusterCloneFromOutput) ToJobTaskForEachTaskTaskNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterCloneFrom) *JobTaskForEachTaskTaskNewClusterCloneFrom { - return &v - }).(JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput) -} - -func (o JobTaskForEachTaskTaskNewClusterCloneFromOutput) SourceClusterId() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterCloneFrom) string { return v.SourceClusterId }).(pulumi.StringOutput) -} - -type JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput struct{ *pulumi.OutputState } - -func (JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterCloneFrom)(nil)).Elem() -} - -func (o JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput) ToJobTaskForEachTaskTaskNewClusterCloneFromPtrOutput() JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput { - return o -} - -func (o JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput) ToJobTaskForEachTaskTaskNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput { - return o -} - -func (o JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterCloneFromOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterCloneFrom) JobTaskForEachTaskTaskNewClusterCloneFrom { - if v != nil { - return *v - } - var ret JobTaskForEachTaskTaskNewClusterCloneFrom - return ret - }).(JobTaskForEachTaskTaskNewClusterCloneFromOutput) -} - -func (o JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput) SourceClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterCloneFrom) *string { - if v == nil { - return nil - } - return &v.SourceClusterId - }).(pulumi.StringPtrOutput) -} - type JobTaskForEachTaskTaskNewClusterClusterLogConf struct { Dbfs *JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs `pulumi:"dbfs"` S3 *JobTaskForEachTaskTaskNewClusterClusterLogConfS3 `pulumi:"s3"` @@ -34520,7 +35054,6 @@ type JobTaskNewCluster struct { AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` AwsAttributes *JobTaskNewClusterAwsAttributes `pulumi:"awsAttributes"` AzureAttributes *JobTaskNewClusterAzureAttributes `pulumi:"azureAttributes"` - CloneFrom *JobTaskNewClusterCloneFrom `pulumi:"cloneFrom"` ClusterId *string `pulumi:"clusterId"` ClusterLogConf *JobTaskNewClusterClusterLogConf `pulumi:"clusterLogConf"` ClusterMountInfos []JobTaskNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` @@ -34567,7 +35100,6 @@ type JobTaskNewClusterArgs struct { AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` AwsAttributes JobTaskNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` AzureAttributes JobTaskNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` - CloneFrom JobTaskNewClusterCloneFromPtrInput `pulumi:"cloneFrom"` ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` ClusterLogConf JobTaskNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` ClusterMountInfos JobTaskNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` @@ -34694,10 +35226,6 @@ func (o JobTaskNewClusterOutput) AzureAttributes() JobTaskNewClusterAzureAttribu return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterAzureAttributes { return v.AzureAttributes }).(JobTaskNewClusterAzureAttributesPtrOutput) } -func (o JobTaskNewClusterOutput) CloneFrom() JobTaskNewClusterCloneFromPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterCloneFrom { return v.CloneFrom }).(JobTaskNewClusterCloneFromPtrOutput) -} - func (o JobTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { return o.ApplyT(func(v JobTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } @@ -34872,15 +35400,6 @@ func (o JobTaskNewClusterPtrOutput) AzureAttributes() JobTaskNewClusterAzureAttr }).(JobTaskNewClusterAzureAttributesPtrOutput) } -func (o JobTaskNewClusterPtrOutput) CloneFrom() JobTaskNewClusterCloneFromPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *JobTaskNewClusterCloneFrom { - if v == nil { - return nil - } - return v.CloneFrom - }).(JobTaskNewClusterCloneFromPtrOutput) -} - func (o JobTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { return o.ApplyT(func(v *JobTaskNewCluster) *string { if v == nil { @@ -35860,139 +36379,6 @@ func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsW }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterCloneFrom struct { - SourceClusterId string `pulumi:"sourceClusterId"` -} - -// JobTaskNewClusterCloneFromInput is an input type that accepts JobTaskNewClusterCloneFromArgs and JobTaskNewClusterCloneFromOutput values. -// You can construct a concrete instance of `JobTaskNewClusterCloneFromInput` via: -// -// JobTaskNewClusterCloneFromArgs{...} -type JobTaskNewClusterCloneFromInput interface { - pulumi.Input - - ToJobTaskNewClusterCloneFromOutput() JobTaskNewClusterCloneFromOutput - ToJobTaskNewClusterCloneFromOutputWithContext(context.Context) JobTaskNewClusterCloneFromOutput -} - -type JobTaskNewClusterCloneFromArgs struct { - SourceClusterId pulumi.StringInput `pulumi:"sourceClusterId"` -} - -func (JobTaskNewClusterCloneFromArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterCloneFrom)(nil)).Elem() -} - -func (i JobTaskNewClusterCloneFromArgs) ToJobTaskNewClusterCloneFromOutput() JobTaskNewClusterCloneFromOutput { - return i.ToJobTaskNewClusterCloneFromOutputWithContext(context.Background()) -} - -func (i JobTaskNewClusterCloneFromArgs) ToJobTaskNewClusterCloneFromOutputWithContext(ctx context.Context) JobTaskNewClusterCloneFromOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterCloneFromOutput) -} - -func (i JobTaskNewClusterCloneFromArgs) ToJobTaskNewClusterCloneFromPtrOutput() JobTaskNewClusterCloneFromPtrOutput { - return i.ToJobTaskNewClusterCloneFromPtrOutputWithContext(context.Background()) -} - -func (i JobTaskNewClusterCloneFromArgs) ToJobTaskNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobTaskNewClusterCloneFromPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterCloneFromOutput).ToJobTaskNewClusterCloneFromPtrOutputWithContext(ctx) -} - -// JobTaskNewClusterCloneFromPtrInput is an input type that accepts JobTaskNewClusterCloneFromArgs, JobTaskNewClusterCloneFromPtr and JobTaskNewClusterCloneFromPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterCloneFromPtrInput` via: -// -// JobTaskNewClusterCloneFromArgs{...} -// -// or: -// -// nil -type JobTaskNewClusterCloneFromPtrInput interface { - pulumi.Input - - ToJobTaskNewClusterCloneFromPtrOutput() JobTaskNewClusterCloneFromPtrOutput - ToJobTaskNewClusterCloneFromPtrOutputWithContext(context.Context) JobTaskNewClusterCloneFromPtrOutput -} - -type jobTaskNewClusterCloneFromPtrType JobTaskNewClusterCloneFromArgs - -func JobTaskNewClusterCloneFromPtr(v *JobTaskNewClusterCloneFromArgs) JobTaskNewClusterCloneFromPtrInput { - return (*jobTaskNewClusterCloneFromPtrType)(v) -} - -func (*jobTaskNewClusterCloneFromPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterCloneFrom)(nil)).Elem() -} - -func (i *jobTaskNewClusterCloneFromPtrType) ToJobTaskNewClusterCloneFromPtrOutput() JobTaskNewClusterCloneFromPtrOutput { - return i.ToJobTaskNewClusterCloneFromPtrOutputWithContext(context.Background()) -} - -func (i *jobTaskNewClusterCloneFromPtrType) ToJobTaskNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobTaskNewClusterCloneFromPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterCloneFromPtrOutput) -} - -type JobTaskNewClusterCloneFromOutput struct{ *pulumi.OutputState } - -func (JobTaskNewClusterCloneFromOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterCloneFrom)(nil)).Elem() -} - -func (o JobTaskNewClusterCloneFromOutput) ToJobTaskNewClusterCloneFromOutput() JobTaskNewClusterCloneFromOutput { - return o -} - -func (o JobTaskNewClusterCloneFromOutput) ToJobTaskNewClusterCloneFromOutputWithContext(ctx context.Context) JobTaskNewClusterCloneFromOutput { - return o -} - -func (o JobTaskNewClusterCloneFromOutput) ToJobTaskNewClusterCloneFromPtrOutput() JobTaskNewClusterCloneFromPtrOutput { - return o.ToJobTaskNewClusterCloneFromPtrOutputWithContext(context.Background()) -} - -func (o JobTaskNewClusterCloneFromOutput) ToJobTaskNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobTaskNewClusterCloneFromPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterCloneFrom) *JobTaskNewClusterCloneFrom { - return &v - }).(JobTaskNewClusterCloneFromPtrOutput) -} - -func (o JobTaskNewClusterCloneFromOutput) SourceClusterId() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterCloneFrom) string { return v.SourceClusterId }).(pulumi.StringOutput) -} - -type JobTaskNewClusterCloneFromPtrOutput struct{ *pulumi.OutputState } - -func (JobTaskNewClusterCloneFromPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterCloneFrom)(nil)).Elem() -} - -func (o JobTaskNewClusterCloneFromPtrOutput) ToJobTaskNewClusterCloneFromPtrOutput() JobTaskNewClusterCloneFromPtrOutput { - return o -} - -func (o JobTaskNewClusterCloneFromPtrOutput) ToJobTaskNewClusterCloneFromPtrOutputWithContext(ctx context.Context) JobTaskNewClusterCloneFromPtrOutput { - return o -} - -func (o JobTaskNewClusterCloneFromPtrOutput) Elem() JobTaskNewClusterCloneFromOutput { - return o.ApplyT(func(v *JobTaskNewClusterCloneFrom) JobTaskNewClusterCloneFrom { - if v != nil { - return *v - } - var ret JobTaskNewClusterCloneFrom - return ret - }).(JobTaskNewClusterCloneFromOutput) -} - -func (o JobTaskNewClusterCloneFromPtrOutput) SourceClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterCloneFrom) *string { - if v == nil { - return nil - } - return &v.SourceClusterId - }).(pulumi.StringPtrOutput) -} - type JobTaskNewClusterClusterLogConf struct { Dbfs *JobTaskNewClusterClusterLogConfDbfs `pulumi:"dbfs"` S3 *JobTaskNewClusterClusterLogConfS3 `pulumi:"s3"` @@ -48831,12 +49217,15 @@ func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigP } type ModelServingConfigServedEntityExternalModelOpenaiConfig struct { - OpenaiApiBase *string `pulumi:"openaiApiBase"` - OpenaiApiKey string `pulumi:"openaiApiKey"` - OpenaiApiType *string `pulumi:"openaiApiType"` - OpenaiApiVersion *string `pulumi:"openaiApiVersion"` - OpenaiDeploymentName *string `pulumi:"openaiDeploymentName"` - OpenaiOrganization *string `pulumi:"openaiOrganization"` + MicrosoftEntraClientId *string `pulumi:"microsoftEntraClientId"` + MicrosoftEntraClientSecret *string `pulumi:"microsoftEntraClientSecret"` + MicrosoftEntraTenantId *string `pulumi:"microsoftEntraTenantId"` + OpenaiApiBase *string `pulumi:"openaiApiBase"` + OpenaiApiKey *string `pulumi:"openaiApiKey"` + OpenaiApiType *string `pulumi:"openaiApiType"` + OpenaiApiVersion *string `pulumi:"openaiApiVersion"` + OpenaiDeploymentName *string `pulumi:"openaiDeploymentName"` + OpenaiOrganization *string `pulumi:"openaiOrganization"` } // ModelServingConfigServedEntityExternalModelOpenaiConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelOpenaiConfigArgs and ModelServingConfigServedEntityExternalModelOpenaiConfigOutput values. @@ -48851,12 +49240,15 @@ type ModelServingConfigServedEntityExternalModelOpenaiConfigInput interface { } type ModelServingConfigServedEntityExternalModelOpenaiConfigArgs struct { - OpenaiApiBase pulumi.StringPtrInput `pulumi:"openaiApiBase"` - OpenaiApiKey pulumi.StringInput `pulumi:"openaiApiKey"` - OpenaiApiType pulumi.StringPtrInput `pulumi:"openaiApiType"` - OpenaiApiVersion pulumi.StringPtrInput `pulumi:"openaiApiVersion"` - OpenaiDeploymentName pulumi.StringPtrInput `pulumi:"openaiDeploymentName"` - OpenaiOrganization pulumi.StringPtrInput `pulumi:"openaiOrganization"` + MicrosoftEntraClientId pulumi.StringPtrInput `pulumi:"microsoftEntraClientId"` + MicrosoftEntraClientSecret pulumi.StringPtrInput `pulumi:"microsoftEntraClientSecret"` + MicrosoftEntraTenantId pulumi.StringPtrInput `pulumi:"microsoftEntraTenantId"` + OpenaiApiBase pulumi.StringPtrInput `pulumi:"openaiApiBase"` + OpenaiApiKey pulumi.StringPtrInput `pulumi:"openaiApiKey"` + OpenaiApiType pulumi.StringPtrInput `pulumi:"openaiApiType"` + OpenaiApiVersion pulumi.StringPtrInput `pulumi:"openaiApiVersion"` + OpenaiDeploymentName pulumi.StringPtrInput `pulumi:"openaiDeploymentName"` + OpenaiOrganization pulumi.StringPtrInput `pulumi:"openaiOrganization"` } func (ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ElementType() reflect.Type { @@ -48936,12 +49328,30 @@ func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ToModelSe }).(ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) } +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) MicrosoftEntraClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + return v.MicrosoftEntraClientId + }).(pulumi.StringPtrOutput) +} + +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) MicrosoftEntraClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + return v.MicrosoftEntraClientSecret + }).(pulumi.StringPtrOutput) +} + +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) MicrosoftEntraTenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + return v.MicrosoftEntraTenantId + }).(pulumi.StringPtrOutput) +} + func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiBase() pulumi.StringPtrOutput { return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { return v.OpenaiApiBase }).(pulumi.StringPtrOutput) } -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiKey() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) string { return v.OpenaiApiKey }).(pulumi.StringOutput) +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { return v.OpenaiApiKey }).(pulumi.StringPtrOutput) } func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiType() pulumi.StringPtrOutput { @@ -48984,6 +49394,33 @@ func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) Elem() }).(ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) } +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) MicrosoftEntraClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + if v == nil { + return nil + } + return v.MicrosoftEntraClientId + }).(pulumi.StringPtrOutput) +} + +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) MicrosoftEntraClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + if v == nil { + return nil + } + return v.MicrosoftEntraClientSecret + }).(pulumi.StringPtrOutput) +} + +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) MicrosoftEntraTenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + if v == nil { + return nil + } + return v.MicrosoftEntraTenantId + }).(pulumi.StringPtrOutput) +} + func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) OpenaiApiBase() pulumi.StringPtrOutput { return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { if v == nil { @@ -48998,7 +49435,7 @@ func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) Openai if v == nil { return nil } - return &v.OpenaiApiKey + return v.OpenaiApiKey }).(pulumi.StringPtrOutput) } @@ -59124,2761 +59561,2893 @@ func (o PipelineNotificationArrayOutput) Index(i pulumi.IntInput) PipelineNotifi }).(PipelineNotificationOutput) } -type RecipientIpAccessList struct { - AllowedIpAddresses []string `pulumi:"allowedIpAddresses"` +type QualityMonitorCustomMetric struct { + // [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + Definition string `pulumi:"definition"` + // Columns on the monitored table to apply the custom metrics to. + InputColumns []string `pulumi:"inputColumns"` + // Name of the custom metric. + Name string `pulumi:"name"` + // The output type of the custom metric. + OutputDataType string `pulumi:"outputDataType"` + // The type of the custom metric. + Type string `pulumi:"type"` } -// RecipientIpAccessListInput is an input type that accepts RecipientIpAccessListArgs and RecipientIpAccessListOutput values. -// You can construct a concrete instance of `RecipientIpAccessListInput` via: +// QualityMonitorCustomMetricInput is an input type that accepts QualityMonitorCustomMetricArgs and QualityMonitorCustomMetricOutput values. +// You can construct a concrete instance of `QualityMonitorCustomMetricInput` via: // -// RecipientIpAccessListArgs{...} -type RecipientIpAccessListInput interface { +// QualityMonitorCustomMetricArgs{...} +type QualityMonitorCustomMetricInput interface { pulumi.Input - ToRecipientIpAccessListOutput() RecipientIpAccessListOutput - ToRecipientIpAccessListOutputWithContext(context.Context) RecipientIpAccessListOutput -} - -type RecipientIpAccessListArgs struct { - AllowedIpAddresses pulumi.StringArrayInput `pulumi:"allowedIpAddresses"` -} - -func (RecipientIpAccessListArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientIpAccessList)(nil)).Elem() + ToQualityMonitorCustomMetricOutput() QualityMonitorCustomMetricOutput + ToQualityMonitorCustomMetricOutputWithContext(context.Context) QualityMonitorCustomMetricOutput } -func (i RecipientIpAccessListArgs) ToRecipientIpAccessListOutput() RecipientIpAccessListOutput { - return i.ToRecipientIpAccessListOutputWithContext(context.Background()) +type QualityMonitorCustomMetricArgs struct { + // [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + Definition pulumi.StringInput `pulumi:"definition"` + // Columns on the monitored table to apply the custom metrics to. + InputColumns pulumi.StringArrayInput `pulumi:"inputColumns"` + // Name of the custom metric. + Name pulumi.StringInput `pulumi:"name"` + // The output type of the custom metric. + OutputDataType pulumi.StringInput `pulumi:"outputDataType"` + // The type of the custom metric. + Type pulumi.StringInput `pulumi:"type"` } -func (i RecipientIpAccessListArgs) ToRecipientIpAccessListOutputWithContext(ctx context.Context) RecipientIpAccessListOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListOutput) +func (QualityMonitorCustomMetricArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorCustomMetric)(nil)).Elem() } -func (i RecipientIpAccessListArgs) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { - return i.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) +func (i QualityMonitorCustomMetricArgs) ToQualityMonitorCustomMetricOutput() QualityMonitorCustomMetricOutput { + return i.ToQualityMonitorCustomMetricOutputWithContext(context.Background()) } -func (i RecipientIpAccessListArgs) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListOutput).ToRecipientIpAccessListPtrOutputWithContext(ctx) +func (i QualityMonitorCustomMetricArgs) ToQualityMonitorCustomMetricOutputWithContext(ctx context.Context) QualityMonitorCustomMetricOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorCustomMetricOutput) } -// RecipientIpAccessListPtrInput is an input type that accepts RecipientIpAccessListArgs, RecipientIpAccessListPtr and RecipientIpAccessListPtrOutput values. -// You can construct a concrete instance of `RecipientIpAccessListPtrInput` via: -// -// RecipientIpAccessListArgs{...} +// QualityMonitorCustomMetricArrayInput is an input type that accepts QualityMonitorCustomMetricArray and QualityMonitorCustomMetricArrayOutput values. +// You can construct a concrete instance of `QualityMonitorCustomMetricArrayInput` via: // -// or: -// -// nil -type RecipientIpAccessListPtrInput interface { +// QualityMonitorCustomMetricArray{ QualityMonitorCustomMetricArgs{...} } +type QualityMonitorCustomMetricArrayInput interface { pulumi.Input - ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput - ToRecipientIpAccessListPtrOutputWithContext(context.Context) RecipientIpAccessListPtrOutput + ToQualityMonitorCustomMetricArrayOutput() QualityMonitorCustomMetricArrayOutput + ToQualityMonitorCustomMetricArrayOutputWithContext(context.Context) QualityMonitorCustomMetricArrayOutput } -type recipientIpAccessListPtrType RecipientIpAccessListArgs - -func RecipientIpAccessListPtr(v *RecipientIpAccessListArgs) RecipientIpAccessListPtrInput { - return (*recipientIpAccessListPtrType)(v) -} +type QualityMonitorCustomMetricArray []QualityMonitorCustomMetricInput -func (*recipientIpAccessListPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RecipientIpAccessList)(nil)).Elem() +func (QualityMonitorCustomMetricArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]QualityMonitorCustomMetric)(nil)).Elem() } -func (i *recipientIpAccessListPtrType) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { - return i.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) +func (i QualityMonitorCustomMetricArray) ToQualityMonitorCustomMetricArrayOutput() QualityMonitorCustomMetricArrayOutput { + return i.ToQualityMonitorCustomMetricArrayOutputWithContext(context.Background()) } -func (i *recipientIpAccessListPtrType) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListPtrOutput) +func (i QualityMonitorCustomMetricArray) ToQualityMonitorCustomMetricArrayOutputWithContext(ctx context.Context) QualityMonitorCustomMetricArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorCustomMetricArrayOutput) } -type RecipientIpAccessListOutput struct{ *pulumi.OutputState } +type QualityMonitorCustomMetricOutput struct{ *pulumi.OutputState } -func (RecipientIpAccessListOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientIpAccessList)(nil)).Elem() +func (QualityMonitorCustomMetricOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorCustomMetric)(nil)).Elem() } -func (o RecipientIpAccessListOutput) ToRecipientIpAccessListOutput() RecipientIpAccessListOutput { +func (o QualityMonitorCustomMetricOutput) ToQualityMonitorCustomMetricOutput() QualityMonitorCustomMetricOutput { return o } -func (o RecipientIpAccessListOutput) ToRecipientIpAccessListOutputWithContext(ctx context.Context) RecipientIpAccessListOutput { +func (o QualityMonitorCustomMetricOutput) ToQualityMonitorCustomMetricOutputWithContext(ctx context.Context) QualityMonitorCustomMetricOutput { return o } -func (o RecipientIpAccessListOutput) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { - return o.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) +// [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) +func (o QualityMonitorCustomMetricOutput) Definition() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorCustomMetric) string { return v.Definition }).(pulumi.StringOutput) } -func (o RecipientIpAccessListOutput) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RecipientIpAccessList) *RecipientIpAccessList { - return &v - }).(RecipientIpAccessListPtrOutput) +// Columns on the monitored table to apply the custom metrics to. +func (o QualityMonitorCustomMetricOutput) InputColumns() pulumi.StringArrayOutput { + return o.ApplyT(func(v QualityMonitorCustomMetric) []string { return v.InputColumns }).(pulumi.StringArrayOutput) } -func (o RecipientIpAccessListOutput) AllowedIpAddresses() pulumi.StringArrayOutput { - return o.ApplyT(func(v RecipientIpAccessList) []string { return v.AllowedIpAddresses }).(pulumi.StringArrayOutput) +// Name of the custom metric. +func (o QualityMonitorCustomMetricOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorCustomMetric) string { return v.Name }).(pulumi.StringOutput) } -type RecipientIpAccessListPtrOutput struct{ *pulumi.OutputState } +// The output type of the custom metric. +func (o QualityMonitorCustomMetricOutput) OutputDataType() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorCustomMetric) string { return v.OutputDataType }).(pulumi.StringOutput) +} -func (RecipientIpAccessListPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RecipientIpAccessList)(nil)).Elem() +// The type of the custom metric. +func (o QualityMonitorCustomMetricOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorCustomMetric) string { return v.Type }).(pulumi.StringOutput) } -func (o RecipientIpAccessListPtrOutput) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { - return o +type QualityMonitorCustomMetricArrayOutput struct{ *pulumi.OutputState } + +func (QualityMonitorCustomMetricArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]QualityMonitorCustomMetric)(nil)).Elem() } -func (o RecipientIpAccessListPtrOutput) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { +func (o QualityMonitorCustomMetricArrayOutput) ToQualityMonitorCustomMetricArrayOutput() QualityMonitorCustomMetricArrayOutput { return o } -func (o RecipientIpAccessListPtrOutput) Elem() RecipientIpAccessListOutput { - return o.ApplyT(func(v *RecipientIpAccessList) RecipientIpAccessList { - if v != nil { - return *v - } - var ret RecipientIpAccessList - return ret - }).(RecipientIpAccessListOutput) +func (o QualityMonitorCustomMetricArrayOutput) ToQualityMonitorCustomMetricArrayOutputWithContext(ctx context.Context) QualityMonitorCustomMetricArrayOutput { + return o } -func (o RecipientIpAccessListPtrOutput) AllowedIpAddresses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *RecipientIpAccessList) []string { - if v == nil { - return nil - } - return v.AllowedIpAddresses - }).(pulumi.StringArrayOutput) +func (o QualityMonitorCustomMetricArrayOutput) Index(i pulumi.IntInput) QualityMonitorCustomMetricOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) QualityMonitorCustomMetric { + return vs[0].([]QualityMonitorCustomMetric)[vs[1].(int)] + }).(QualityMonitorCustomMetricOutput) } -type RecipientPropertiesKvpairs struct { - // a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. - Properties map[string]interface{} `pulumi:"properties"` +type QualityMonitorDataClassificationConfig struct { + Enabled *bool `pulumi:"enabled"` } -// RecipientPropertiesKvpairsInput is an input type that accepts RecipientPropertiesKvpairsArgs and RecipientPropertiesKvpairsOutput values. -// You can construct a concrete instance of `RecipientPropertiesKvpairsInput` via: +// QualityMonitorDataClassificationConfigInput is an input type that accepts QualityMonitorDataClassificationConfigArgs and QualityMonitorDataClassificationConfigOutput values. +// You can construct a concrete instance of `QualityMonitorDataClassificationConfigInput` via: // -// RecipientPropertiesKvpairsArgs{...} -type RecipientPropertiesKvpairsInput interface { +// QualityMonitorDataClassificationConfigArgs{...} +type QualityMonitorDataClassificationConfigInput interface { pulumi.Input - ToRecipientPropertiesKvpairsOutput() RecipientPropertiesKvpairsOutput - ToRecipientPropertiesKvpairsOutputWithContext(context.Context) RecipientPropertiesKvpairsOutput + ToQualityMonitorDataClassificationConfigOutput() QualityMonitorDataClassificationConfigOutput + ToQualityMonitorDataClassificationConfigOutputWithContext(context.Context) QualityMonitorDataClassificationConfigOutput } -type RecipientPropertiesKvpairsArgs struct { - // a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. - Properties pulumi.MapInput `pulumi:"properties"` +type QualityMonitorDataClassificationConfigArgs struct { + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (RecipientPropertiesKvpairsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientPropertiesKvpairs)(nil)).Elem() +func (QualityMonitorDataClassificationConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorDataClassificationConfig)(nil)).Elem() } -func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsOutput() RecipientPropertiesKvpairsOutput { - return i.ToRecipientPropertiesKvpairsOutputWithContext(context.Background()) +func (i QualityMonitorDataClassificationConfigArgs) ToQualityMonitorDataClassificationConfigOutput() QualityMonitorDataClassificationConfigOutput { + return i.ToQualityMonitorDataClassificationConfigOutputWithContext(context.Background()) } -func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientPropertiesKvpairsOutput) +func (i QualityMonitorDataClassificationConfigArgs) ToQualityMonitorDataClassificationConfigOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorDataClassificationConfigOutput) } -func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { - return i.ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Background()) +func (i QualityMonitorDataClassificationConfigArgs) ToQualityMonitorDataClassificationConfigPtrOutput() QualityMonitorDataClassificationConfigPtrOutput { + return i.ToQualityMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) } -func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientPropertiesKvpairsOutput).ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx) +func (i QualityMonitorDataClassificationConfigArgs) ToQualityMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorDataClassificationConfigOutput).ToQualityMonitorDataClassificationConfigPtrOutputWithContext(ctx) } -// RecipientPropertiesKvpairsPtrInput is an input type that accepts RecipientPropertiesKvpairsArgs, RecipientPropertiesKvpairsPtr and RecipientPropertiesKvpairsPtrOutput values. -// You can construct a concrete instance of `RecipientPropertiesKvpairsPtrInput` via: +// QualityMonitorDataClassificationConfigPtrInput is an input type that accepts QualityMonitorDataClassificationConfigArgs, QualityMonitorDataClassificationConfigPtr and QualityMonitorDataClassificationConfigPtrOutput values. +// You can construct a concrete instance of `QualityMonitorDataClassificationConfigPtrInput` via: // -// RecipientPropertiesKvpairsArgs{...} +// QualityMonitorDataClassificationConfigArgs{...} // // or: // // nil -type RecipientPropertiesKvpairsPtrInput interface { +type QualityMonitorDataClassificationConfigPtrInput interface { pulumi.Input - ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput - ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Context) RecipientPropertiesKvpairsPtrOutput + ToQualityMonitorDataClassificationConfigPtrOutput() QualityMonitorDataClassificationConfigPtrOutput + ToQualityMonitorDataClassificationConfigPtrOutputWithContext(context.Context) QualityMonitorDataClassificationConfigPtrOutput } -type recipientPropertiesKvpairsPtrType RecipientPropertiesKvpairsArgs +type qualityMonitorDataClassificationConfigPtrType QualityMonitorDataClassificationConfigArgs -func RecipientPropertiesKvpairsPtr(v *RecipientPropertiesKvpairsArgs) RecipientPropertiesKvpairsPtrInput { - return (*recipientPropertiesKvpairsPtrType)(v) +func QualityMonitorDataClassificationConfigPtr(v *QualityMonitorDataClassificationConfigArgs) QualityMonitorDataClassificationConfigPtrInput { + return (*qualityMonitorDataClassificationConfigPtrType)(v) } -func (*recipientPropertiesKvpairsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RecipientPropertiesKvpairs)(nil)).Elem() +func (*qualityMonitorDataClassificationConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorDataClassificationConfig)(nil)).Elem() } -func (i *recipientPropertiesKvpairsPtrType) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { - return i.ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Background()) +func (i *qualityMonitorDataClassificationConfigPtrType) ToQualityMonitorDataClassificationConfigPtrOutput() QualityMonitorDataClassificationConfigPtrOutput { + return i.ToQualityMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) } -func (i *recipientPropertiesKvpairsPtrType) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientPropertiesKvpairsPtrOutput) +func (i *qualityMonitorDataClassificationConfigPtrType) ToQualityMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorDataClassificationConfigPtrOutput) } -type RecipientPropertiesKvpairsOutput struct{ *pulumi.OutputState } +type QualityMonitorDataClassificationConfigOutput struct{ *pulumi.OutputState } -func (RecipientPropertiesKvpairsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientPropertiesKvpairs)(nil)).Elem() +func (QualityMonitorDataClassificationConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorDataClassificationConfig)(nil)).Elem() } -func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsOutput() RecipientPropertiesKvpairsOutput { +func (o QualityMonitorDataClassificationConfigOutput) ToQualityMonitorDataClassificationConfigOutput() QualityMonitorDataClassificationConfigOutput { return o } -func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsOutput { +func (o QualityMonitorDataClassificationConfigOutput) ToQualityMonitorDataClassificationConfigOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigOutput { return o } -func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { - return o.ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Background()) +func (o QualityMonitorDataClassificationConfigOutput) ToQualityMonitorDataClassificationConfigPtrOutput() QualityMonitorDataClassificationConfigPtrOutput { + return o.ToQualityMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) } -func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RecipientPropertiesKvpairs) *RecipientPropertiesKvpairs { +func (o QualityMonitorDataClassificationConfigOutput) ToQualityMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorDataClassificationConfig) *QualityMonitorDataClassificationConfig { return &v - }).(RecipientPropertiesKvpairsPtrOutput) + }).(QualityMonitorDataClassificationConfigPtrOutput) } -// a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. -func (o RecipientPropertiesKvpairsOutput) Properties() pulumi.MapOutput { - return o.ApplyT(func(v RecipientPropertiesKvpairs) map[string]interface{} { return v.Properties }).(pulumi.MapOutput) +func (o QualityMonitorDataClassificationConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v QualityMonitorDataClassificationConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type RecipientPropertiesKvpairsPtrOutput struct{ *pulumi.OutputState } +type QualityMonitorDataClassificationConfigPtrOutput struct{ *pulumi.OutputState } -func (RecipientPropertiesKvpairsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RecipientPropertiesKvpairs)(nil)).Elem() +func (QualityMonitorDataClassificationConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorDataClassificationConfig)(nil)).Elem() } -func (o RecipientPropertiesKvpairsPtrOutput) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { +func (o QualityMonitorDataClassificationConfigPtrOutput) ToQualityMonitorDataClassificationConfigPtrOutput() QualityMonitorDataClassificationConfigPtrOutput { return o } -func (o RecipientPropertiesKvpairsPtrOutput) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { +func (o QualityMonitorDataClassificationConfigPtrOutput) ToQualityMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigPtrOutput { return o } -func (o RecipientPropertiesKvpairsPtrOutput) Elem() RecipientPropertiesKvpairsOutput { - return o.ApplyT(func(v *RecipientPropertiesKvpairs) RecipientPropertiesKvpairs { +func (o QualityMonitorDataClassificationConfigPtrOutput) Elem() QualityMonitorDataClassificationConfigOutput { + return o.ApplyT(func(v *QualityMonitorDataClassificationConfig) QualityMonitorDataClassificationConfig { if v != nil { return *v } - var ret RecipientPropertiesKvpairs + var ret QualityMonitorDataClassificationConfig return ret - }).(RecipientPropertiesKvpairsOutput) + }).(QualityMonitorDataClassificationConfigOutput) } -// a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. -func (o RecipientPropertiesKvpairsPtrOutput) Properties() pulumi.MapOutput { - return o.ApplyT(func(v *RecipientPropertiesKvpairs) map[string]interface{} { +func (o QualityMonitorDataClassificationConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *QualityMonitorDataClassificationConfig) *bool { if v == nil { return nil } - return v.Properties - }).(pulumi.MapOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type RecipientToken struct { - // Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. - ActivationUrl *string `pulumi:"activationUrl"` - // Time at which this recipient was created, in epoch milliseconds. - CreatedAt *int `pulumi:"createdAt"` - // Username of recipient creator. - CreatedBy *string `pulumi:"createdBy"` - // Expiration timestamp of the token in epoch milliseconds. - ExpirationTime *int `pulumi:"expirationTime"` - // Unique ID of the recipient token. - Id *string `pulumi:"id"` - // Time at which this recipient was updated, in epoch milliseconds. - UpdatedAt *int `pulumi:"updatedAt"` - // Username of recipient Token updater. - UpdatedBy *string `pulumi:"updatedBy"` +type QualityMonitorInferenceLog struct { + // List of granularities to use when aggregating data into time windows based on their timestamp. + Granularities []string `pulumi:"granularities"` + // Column of the model label + LabelCol *string `pulumi:"labelCol"` + // Column of the model id or version + ModelIdCol string `pulumi:"modelIdCol"` + // Column of the model prediction + PredictionCol string `pulumi:"predictionCol"` + // Column of the model prediction probabilities + PredictionProbaCol *string `pulumi:"predictionProbaCol"` + // Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + ProblemType string `pulumi:"problemType"` + // Column of the timestamp of predictions + TimestampCol string `pulumi:"timestampCol"` } -// RecipientTokenInput is an input type that accepts RecipientTokenArgs and RecipientTokenOutput values. -// You can construct a concrete instance of `RecipientTokenInput` via: +// QualityMonitorInferenceLogInput is an input type that accepts QualityMonitorInferenceLogArgs and QualityMonitorInferenceLogOutput values. +// You can construct a concrete instance of `QualityMonitorInferenceLogInput` via: // -// RecipientTokenArgs{...} -type RecipientTokenInput interface { +// QualityMonitorInferenceLogArgs{...} +type QualityMonitorInferenceLogInput interface { pulumi.Input - ToRecipientTokenOutput() RecipientTokenOutput - ToRecipientTokenOutputWithContext(context.Context) RecipientTokenOutput + ToQualityMonitorInferenceLogOutput() QualityMonitorInferenceLogOutput + ToQualityMonitorInferenceLogOutputWithContext(context.Context) QualityMonitorInferenceLogOutput } -type RecipientTokenArgs struct { - // Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. - ActivationUrl pulumi.StringPtrInput `pulumi:"activationUrl"` - // Time at which this recipient was created, in epoch milliseconds. - CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` - // Username of recipient creator. - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` - // Expiration timestamp of the token in epoch milliseconds. - ExpirationTime pulumi.IntPtrInput `pulumi:"expirationTime"` - // Unique ID of the recipient token. - Id pulumi.StringPtrInput `pulumi:"id"` - // Time at which this recipient was updated, in epoch milliseconds. - UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` - // Username of recipient Token updater. - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` +type QualityMonitorInferenceLogArgs struct { + // List of granularities to use when aggregating data into time windows based on their timestamp. + Granularities pulumi.StringArrayInput `pulumi:"granularities"` + // Column of the model label + LabelCol pulumi.StringPtrInput `pulumi:"labelCol"` + // Column of the model id or version + ModelIdCol pulumi.StringInput `pulumi:"modelIdCol"` + // Column of the model prediction + PredictionCol pulumi.StringInput `pulumi:"predictionCol"` + // Column of the model prediction probabilities + PredictionProbaCol pulumi.StringPtrInput `pulumi:"predictionProbaCol"` + // Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + ProblemType pulumi.StringInput `pulumi:"problemType"` + // Column of the timestamp of predictions + TimestampCol pulumi.StringInput `pulumi:"timestampCol"` } -func (RecipientTokenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientToken)(nil)).Elem() +func (QualityMonitorInferenceLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorInferenceLog)(nil)).Elem() } -func (i RecipientTokenArgs) ToRecipientTokenOutput() RecipientTokenOutput { - return i.ToRecipientTokenOutputWithContext(context.Background()) +func (i QualityMonitorInferenceLogArgs) ToQualityMonitorInferenceLogOutput() QualityMonitorInferenceLogOutput { + return i.ToQualityMonitorInferenceLogOutputWithContext(context.Background()) } -func (i RecipientTokenArgs) ToRecipientTokenOutputWithContext(ctx context.Context) RecipientTokenOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientTokenOutput) +func (i QualityMonitorInferenceLogArgs) ToQualityMonitorInferenceLogOutputWithContext(ctx context.Context) QualityMonitorInferenceLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorInferenceLogOutput) } -// RecipientTokenArrayInput is an input type that accepts RecipientTokenArray and RecipientTokenArrayOutput values. -// You can construct a concrete instance of `RecipientTokenArrayInput` via: +func (i QualityMonitorInferenceLogArgs) ToQualityMonitorInferenceLogPtrOutput() QualityMonitorInferenceLogPtrOutput { + return i.ToQualityMonitorInferenceLogPtrOutputWithContext(context.Background()) +} + +func (i QualityMonitorInferenceLogArgs) ToQualityMonitorInferenceLogPtrOutputWithContext(ctx context.Context) QualityMonitorInferenceLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorInferenceLogOutput).ToQualityMonitorInferenceLogPtrOutputWithContext(ctx) +} + +// QualityMonitorInferenceLogPtrInput is an input type that accepts QualityMonitorInferenceLogArgs, QualityMonitorInferenceLogPtr and QualityMonitorInferenceLogPtrOutput values. +// You can construct a concrete instance of `QualityMonitorInferenceLogPtrInput` via: // -// RecipientTokenArray{ RecipientTokenArgs{...} } -type RecipientTokenArrayInput interface { +// QualityMonitorInferenceLogArgs{...} +// +// or: +// +// nil +type QualityMonitorInferenceLogPtrInput interface { pulumi.Input - ToRecipientTokenArrayOutput() RecipientTokenArrayOutput - ToRecipientTokenArrayOutputWithContext(context.Context) RecipientTokenArrayOutput + ToQualityMonitorInferenceLogPtrOutput() QualityMonitorInferenceLogPtrOutput + ToQualityMonitorInferenceLogPtrOutputWithContext(context.Context) QualityMonitorInferenceLogPtrOutput } -type RecipientTokenArray []RecipientTokenInput +type qualityMonitorInferenceLogPtrType QualityMonitorInferenceLogArgs -func (RecipientTokenArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RecipientToken)(nil)).Elem() +func QualityMonitorInferenceLogPtr(v *QualityMonitorInferenceLogArgs) QualityMonitorInferenceLogPtrInput { + return (*qualityMonitorInferenceLogPtrType)(v) } -func (i RecipientTokenArray) ToRecipientTokenArrayOutput() RecipientTokenArrayOutput { - return i.ToRecipientTokenArrayOutputWithContext(context.Background()) +func (*qualityMonitorInferenceLogPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorInferenceLog)(nil)).Elem() } -func (i RecipientTokenArray) ToRecipientTokenArrayOutputWithContext(ctx context.Context) RecipientTokenArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientTokenArrayOutput) +func (i *qualityMonitorInferenceLogPtrType) ToQualityMonitorInferenceLogPtrOutput() QualityMonitorInferenceLogPtrOutput { + return i.ToQualityMonitorInferenceLogPtrOutputWithContext(context.Background()) } -type RecipientTokenOutput struct{ *pulumi.OutputState } +func (i *qualityMonitorInferenceLogPtrType) ToQualityMonitorInferenceLogPtrOutputWithContext(ctx context.Context) QualityMonitorInferenceLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorInferenceLogPtrOutput) +} -func (RecipientTokenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientToken)(nil)).Elem() +type QualityMonitorInferenceLogOutput struct{ *pulumi.OutputState } + +func (QualityMonitorInferenceLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorInferenceLog)(nil)).Elem() } -func (o RecipientTokenOutput) ToRecipientTokenOutput() RecipientTokenOutput { +func (o QualityMonitorInferenceLogOutput) ToQualityMonitorInferenceLogOutput() QualityMonitorInferenceLogOutput { return o } -func (o RecipientTokenOutput) ToRecipientTokenOutputWithContext(ctx context.Context) RecipientTokenOutput { +func (o QualityMonitorInferenceLogOutput) ToQualityMonitorInferenceLogOutputWithContext(ctx context.Context) QualityMonitorInferenceLogOutput { 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 QualityMonitorInferenceLogOutput) ToQualityMonitorInferenceLogPtrOutput() QualityMonitorInferenceLogPtrOutput { + return o.ToQualityMonitorInferenceLogPtrOutputWithContext(context.Background()) } -// Time at which this recipient was created, in epoch milliseconds. -func (o RecipientTokenOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v RecipientToken) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) +func (o QualityMonitorInferenceLogOutput) ToQualityMonitorInferenceLogPtrOutputWithContext(ctx context.Context) QualityMonitorInferenceLogPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorInferenceLog) *QualityMonitorInferenceLog { + return &v + }).(QualityMonitorInferenceLogPtrOutput) } -// Username of recipient creator. -func (o RecipientTokenOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v RecipientToken) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +// List of granularities to use when aggregating data into time windows based on their timestamp. +func (o QualityMonitorInferenceLogOutput) Granularities() pulumi.StringArrayOutput { + return o.ApplyT(func(v QualityMonitorInferenceLog) []string { return v.Granularities }).(pulumi.StringArrayOutput) } -// 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) +// Column of the model label +func (o QualityMonitorInferenceLogOutput) LabelCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v QualityMonitorInferenceLog) *string { return v.LabelCol }).(pulumi.StringPtrOutput) } -// Unique ID of the recipient token. -func (o RecipientTokenOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v RecipientToken) *string { return v.Id }).(pulumi.StringPtrOutput) +// Column of the model id or version +func (o QualityMonitorInferenceLogOutput) ModelIdCol() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorInferenceLog) string { return v.ModelIdCol }).(pulumi.StringOutput) } -// Time at which this recipient was updated, in epoch milliseconds. -func (o RecipientTokenOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v RecipientToken) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +// Column of the model prediction +func (o QualityMonitorInferenceLogOutput) PredictionCol() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorInferenceLog) string { return v.PredictionCol }).(pulumi.StringOutput) } -// Username of recipient Token updater. -func (o RecipientTokenOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v RecipientToken) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +// Column of the model prediction probabilities +func (o QualityMonitorInferenceLogOutput) PredictionProbaCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v QualityMonitorInferenceLog) *string { return v.PredictionProbaCol }).(pulumi.StringPtrOutput) } -type RecipientTokenArrayOutput struct{ *pulumi.OutputState } +// Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` +func (o QualityMonitorInferenceLogOutput) ProblemType() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorInferenceLog) string { return v.ProblemType }).(pulumi.StringOutput) +} -func (RecipientTokenArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RecipientToken)(nil)).Elem() +// Column of the timestamp of predictions +func (o QualityMonitorInferenceLogOutput) TimestampCol() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorInferenceLog) string { return v.TimestampCol }).(pulumi.StringOutput) } -func (o RecipientTokenArrayOutput) ToRecipientTokenArrayOutput() RecipientTokenArrayOutput { +type QualityMonitorInferenceLogPtrOutput struct{ *pulumi.OutputState } + +func (QualityMonitorInferenceLogPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorInferenceLog)(nil)).Elem() +} + +func (o QualityMonitorInferenceLogPtrOutput) ToQualityMonitorInferenceLogPtrOutput() QualityMonitorInferenceLogPtrOutput { return o } -func (o RecipientTokenArrayOutput) ToRecipientTokenArrayOutputWithContext(ctx context.Context) RecipientTokenArrayOutput { +func (o QualityMonitorInferenceLogPtrOutput) ToQualityMonitorInferenceLogPtrOutputWithContext(ctx context.Context) QualityMonitorInferenceLogPtrOutput { return o } -func (o RecipientTokenArrayOutput) Index(i pulumi.IntInput) RecipientTokenOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RecipientToken { - return vs[0].([]RecipientToken)[vs[1].(int)] - }).(RecipientTokenOutput) +func (o QualityMonitorInferenceLogPtrOutput) Elem() QualityMonitorInferenceLogOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) QualityMonitorInferenceLog { + if v != nil { + return *v + } + var ret QualityMonitorInferenceLog + return ret + }).(QualityMonitorInferenceLogOutput) } -type RepoSparseCheckout struct { - // array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. - // - // Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. - Patterns []string `pulumi:"patterns"` +// List of granularities to use when aggregating data into time windows based on their timestamp. +func (o QualityMonitorInferenceLogPtrOutput) Granularities() pulumi.StringArrayOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) []string { + if v == nil { + return nil + } + return v.Granularities + }).(pulumi.StringArrayOutput) } -// RepoSparseCheckoutInput is an input type that accepts RepoSparseCheckoutArgs and RepoSparseCheckoutOutput values. -// You can construct a concrete instance of `RepoSparseCheckoutInput` via: +// Column of the model label +func (o QualityMonitorInferenceLogPtrOutput) LabelCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { + if v == nil { + return nil + } + return v.LabelCol + }).(pulumi.StringPtrOutput) +} + +// Column of the model id or version +func (o QualityMonitorInferenceLogPtrOutput) ModelIdCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { + if v == nil { + return nil + } + return &v.ModelIdCol + }).(pulumi.StringPtrOutput) +} + +// Column of the model prediction +func (o QualityMonitorInferenceLogPtrOutput) PredictionCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { + if v == nil { + return nil + } + return &v.PredictionCol + }).(pulumi.StringPtrOutput) +} + +// Column of the model prediction probabilities +func (o QualityMonitorInferenceLogPtrOutput) PredictionProbaCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { + if v == nil { + return nil + } + return v.PredictionProbaCol + }).(pulumi.StringPtrOutput) +} + +// Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` +func (o QualityMonitorInferenceLogPtrOutput) ProblemType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { + if v == nil { + return nil + } + return &v.ProblemType + }).(pulumi.StringPtrOutput) +} + +// Column of the timestamp of predictions +func (o QualityMonitorInferenceLogPtrOutput) TimestampCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { + if v == nil { + return nil + } + return &v.TimestampCol + }).(pulumi.StringPtrOutput) +} + +type QualityMonitorNotifications struct { + // who to send notifications to on monitor failure. + OnFailure *QualityMonitorNotificationsOnFailure `pulumi:"onFailure"` + // Who to send notifications to when new data classification tags are detected. + OnNewClassificationTagDetected *QualityMonitorNotificationsOnNewClassificationTagDetected `pulumi:"onNewClassificationTagDetected"` +} + +// QualityMonitorNotificationsInput is an input type that accepts QualityMonitorNotificationsArgs and QualityMonitorNotificationsOutput values. +// You can construct a concrete instance of `QualityMonitorNotificationsInput` via: // -// RepoSparseCheckoutArgs{...} -type RepoSparseCheckoutInput interface { +// QualityMonitorNotificationsArgs{...} +type QualityMonitorNotificationsInput interface { pulumi.Input - ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput - ToRepoSparseCheckoutOutputWithContext(context.Context) RepoSparseCheckoutOutput + ToQualityMonitorNotificationsOutput() QualityMonitorNotificationsOutput + ToQualityMonitorNotificationsOutputWithContext(context.Context) QualityMonitorNotificationsOutput } -type RepoSparseCheckoutArgs struct { - // array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. - // - // Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. - Patterns pulumi.StringArrayInput `pulumi:"patterns"` +type QualityMonitorNotificationsArgs struct { + // who to send notifications to on monitor failure. + OnFailure QualityMonitorNotificationsOnFailurePtrInput `pulumi:"onFailure"` + // Who to send notifications to when new data classification tags are detected. + OnNewClassificationTagDetected QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput `pulumi:"onNewClassificationTagDetected"` } -func (RepoSparseCheckoutArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RepoSparseCheckout)(nil)).Elem() +func (QualityMonitorNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorNotifications)(nil)).Elem() } -func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput { - return i.ToRepoSparseCheckoutOutputWithContext(context.Background()) +func (i QualityMonitorNotificationsArgs) ToQualityMonitorNotificationsOutput() QualityMonitorNotificationsOutput { + return i.ToQualityMonitorNotificationsOutputWithContext(context.Background()) } -func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutOutputWithContext(ctx context.Context) RepoSparseCheckoutOutput { - return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutOutput) +func (i QualityMonitorNotificationsArgs) ToQualityMonitorNotificationsOutputWithContext(ctx context.Context) QualityMonitorNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOutput) } -func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { - return i.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) +func (i QualityMonitorNotificationsArgs) ToQualityMonitorNotificationsPtrOutput() QualityMonitorNotificationsPtrOutput { + return i.ToQualityMonitorNotificationsPtrOutputWithContext(context.Background()) } -func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutOutput).ToRepoSparseCheckoutPtrOutputWithContext(ctx) +func (i QualityMonitorNotificationsArgs) ToQualityMonitorNotificationsPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOutput).ToQualityMonitorNotificationsPtrOutputWithContext(ctx) } -// RepoSparseCheckoutPtrInput is an input type that accepts RepoSparseCheckoutArgs, RepoSparseCheckoutPtr and RepoSparseCheckoutPtrOutput values. -// You can construct a concrete instance of `RepoSparseCheckoutPtrInput` via: +// QualityMonitorNotificationsPtrInput is an input type that accepts QualityMonitorNotificationsArgs, QualityMonitorNotificationsPtr and QualityMonitorNotificationsPtrOutput values. +// You can construct a concrete instance of `QualityMonitorNotificationsPtrInput` via: // -// RepoSparseCheckoutArgs{...} +// QualityMonitorNotificationsArgs{...} // // or: // // nil -type RepoSparseCheckoutPtrInput interface { +type QualityMonitorNotificationsPtrInput interface { pulumi.Input - ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput - ToRepoSparseCheckoutPtrOutputWithContext(context.Context) RepoSparseCheckoutPtrOutput + ToQualityMonitorNotificationsPtrOutput() QualityMonitorNotificationsPtrOutput + ToQualityMonitorNotificationsPtrOutputWithContext(context.Context) QualityMonitorNotificationsPtrOutput } -type repoSparseCheckoutPtrType RepoSparseCheckoutArgs +type qualityMonitorNotificationsPtrType QualityMonitorNotificationsArgs -func RepoSparseCheckoutPtr(v *RepoSparseCheckoutArgs) RepoSparseCheckoutPtrInput { - return (*repoSparseCheckoutPtrType)(v) +func QualityMonitorNotificationsPtr(v *QualityMonitorNotificationsArgs) QualityMonitorNotificationsPtrInput { + return (*qualityMonitorNotificationsPtrType)(v) } -func (*repoSparseCheckoutPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RepoSparseCheckout)(nil)).Elem() +func (*qualityMonitorNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorNotifications)(nil)).Elem() } -func (i *repoSparseCheckoutPtrType) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { - return i.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) +func (i *qualityMonitorNotificationsPtrType) ToQualityMonitorNotificationsPtrOutput() QualityMonitorNotificationsPtrOutput { + return i.ToQualityMonitorNotificationsPtrOutputWithContext(context.Background()) } -func (i *repoSparseCheckoutPtrType) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutPtrOutput) +func (i *qualityMonitorNotificationsPtrType) ToQualityMonitorNotificationsPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsPtrOutput) } -type RepoSparseCheckoutOutput struct{ *pulumi.OutputState } +type QualityMonitorNotificationsOutput struct{ *pulumi.OutputState } -func (RepoSparseCheckoutOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RepoSparseCheckout)(nil)).Elem() +func (QualityMonitorNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorNotifications)(nil)).Elem() } -func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput { +func (o QualityMonitorNotificationsOutput) ToQualityMonitorNotificationsOutput() QualityMonitorNotificationsOutput { return o } -func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutOutputWithContext(ctx context.Context) RepoSparseCheckoutOutput { +func (o QualityMonitorNotificationsOutput) ToQualityMonitorNotificationsOutputWithContext(ctx context.Context) QualityMonitorNotificationsOutput { return o } -func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { - return o.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) +func (o QualityMonitorNotificationsOutput) ToQualityMonitorNotificationsPtrOutput() QualityMonitorNotificationsPtrOutput { + return o.ToQualityMonitorNotificationsPtrOutputWithContext(context.Background()) } -func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RepoSparseCheckout) *RepoSparseCheckout { +func (o QualityMonitorNotificationsOutput) ToQualityMonitorNotificationsPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorNotifications) *QualityMonitorNotifications { return &v - }).(RepoSparseCheckoutPtrOutput) + }).(QualityMonitorNotificationsPtrOutput) } -// array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. -// -// Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. -func (o RepoSparseCheckoutOutput) Patterns() pulumi.StringArrayOutput { - return o.ApplyT(func(v RepoSparseCheckout) []string { return v.Patterns }).(pulumi.StringArrayOutput) +// who to send notifications to on monitor failure. +func (o QualityMonitorNotificationsOutput) OnFailure() QualityMonitorNotificationsOnFailurePtrOutput { + return o.ApplyT(func(v QualityMonitorNotifications) *QualityMonitorNotificationsOnFailure { return v.OnFailure }).(QualityMonitorNotificationsOnFailurePtrOutput) } -type RepoSparseCheckoutPtrOutput struct{ *pulumi.OutputState } +// Who to send notifications to when new data classification tags are detected. +func (o QualityMonitorNotificationsOutput) OnNewClassificationTagDetected() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return o.ApplyT(func(v QualityMonitorNotifications) *QualityMonitorNotificationsOnNewClassificationTagDetected { + return v.OnNewClassificationTagDetected + }).(QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) +} -func (RepoSparseCheckoutPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RepoSparseCheckout)(nil)).Elem() +type QualityMonitorNotificationsPtrOutput struct{ *pulumi.OutputState } + +func (QualityMonitorNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorNotifications)(nil)).Elem() } -func (o RepoSparseCheckoutPtrOutput) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { +func (o QualityMonitorNotificationsPtrOutput) ToQualityMonitorNotificationsPtrOutput() QualityMonitorNotificationsPtrOutput { return o } -func (o RepoSparseCheckoutPtrOutput) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { +func (o QualityMonitorNotificationsPtrOutput) ToQualityMonitorNotificationsPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsPtrOutput { return o } -func (o RepoSparseCheckoutPtrOutput) Elem() RepoSparseCheckoutOutput { - return o.ApplyT(func(v *RepoSparseCheckout) RepoSparseCheckout { +func (o QualityMonitorNotificationsPtrOutput) Elem() QualityMonitorNotificationsOutput { + return o.ApplyT(func(v *QualityMonitorNotifications) QualityMonitorNotifications { if v != nil { return *v } - var ret RepoSparseCheckout + var ret QualityMonitorNotifications return ret - }).(RepoSparseCheckoutOutput) + }).(QualityMonitorNotificationsOutput) } -// array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. -// -// Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. -func (o RepoSparseCheckoutPtrOutput) Patterns() pulumi.StringArrayOutput { - return o.ApplyT(func(v *RepoSparseCheckout) []string { +// who to send notifications to on monitor failure. +func (o QualityMonitorNotificationsPtrOutput) OnFailure() QualityMonitorNotificationsOnFailurePtrOutput { + return o.ApplyT(func(v *QualityMonitorNotifications) *QualityMonitorNotificationsOnFailure { if v == nil { return nil } - return v.Patterns - }).(pulumi.StringArrayOutput) + return v.OnFailure + }).(QualityMonitorNotificationsOnFailurePtrOutput) } -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins struct { - // The restrict workspace admins status for the workspace. - Status string `pulumi:"status"` +// Who to send notifications to when new data classification tags are detected. +func (o QualityMonitorNotificationsPtrOutput) OnNewClassificationTagDetected() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return o.ApplyT(func(v *QualityMonitorNotifications) *QualityMonitorNotificationsOnNewClassificationTagDetected { + if v == nil { + return nil + } + return v.OnNewClassificationTagDetected + }).(QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) } -// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput is an input type that accepts RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs and RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput values. -// You can construct a concrete instance of `RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput` via: +type QualityMonitorNotificationsOnFailure struct { + EmailAddresses []string `pulumi:"emailAddresses"` +} + +// QualityMonitorNotificationsOnFailureInput is an input type that accepts QualityMonitorNotificationsOnFailureArgs and QualityMonitorNotificationsOnFailureOutput values. +// You can construct a concrete instance of `QualityMonitorNotificationsOnFailureInput` via: // -// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs{...} -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput interface { +// QualityMonitorNotificationsOnFailureArgs{...} +type QualityMonitorNotificationsOnFailureInput interface { pulumi.Input - ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput - ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput + ToQualityMonitorNotificationsOnFailureOutput() QualityMonitorNotificationsOnFailureOutput + ToQualityMonitorNotificationsOnFailureOutputWithContext(context.Context) QualityMonitorNotificationsOnFailureOutput } -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs struct { - // The restrict workspace admins status for the workspace. - Status pulumi.StringInput `pulumi:"status"` +type QualityMonitorNotificationsOnFailureArgs struct { + EmailAddresses pulumi.StringArrayInput `pulumi:"emailAddresses"` } -func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() +func (QualityMonitorNotificationsOnFailureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorNotificationsOnFailure)(nil)).Elem() } -func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { - return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(context.Background()) +func (i QualityMonitorNotificationsOnFailureArgs) ToQualityMonitorNotificationsOnFailureOutput() QualityMonitorNotificationsOnFailureOutput { + return i.ToQualityMonitorNotificationsOnFailureOutputWithContext(context.Background()) } -func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { - return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) +func (i QualityMonitorNotificationsOnFailureArgs) ToQualityMonitorNotificationsOnFailureOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailureOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnFailureOutput) } -func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) +func (i QualityMonitorNotificationsOnFailureArgs) ToQualityMonitorNotificationsOnFailurePtrOutput() QualityMonitorNotificationsOnFailurePtrOutput { + return i.ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) } -func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput).ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx) +func (i QualityMonitorNotificationsOnFailureArgs) ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailurePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnFailureOutput).ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(ctx) } -// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput is an input type that accepts RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs, RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtr and RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput values. -// You can construct a concrete instance of `RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput` via: +// QualityMonitorNotificationsOnFailurePtrInput is an input type that accepts QualityMonitorNotificationsOnFailureArgs, QualityMonitorNotificationsOnFailurePtr and QualityMonitorNotificationsOnFailurePtrOutput values. +// You can construct a concrete instance of `QualityMonitorNotificationsOnFailurePtrInput` via: // -// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs{...} +// QualityMonitorNotificationsOnFailureArgs{...} // // or: // // nil -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput interface { +type QualityMonitorNotificationsOnFailurePtrInput interface { pulumi.Input - ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput - ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput + ToQualityMonitorNotificationsOnFailurePtrOutput() QualityMonitorNotificationsOnFailurePtrOutput + ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(context.Context) QualityMonitorNotificationsOnFailurePtrOutput } -type restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs +type qualityMonitorNotificationsOnFailurePtrType QualityMonitorNotificationsOnFailureArgs -func RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtr(v *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput { - return (*restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType)(v) +func QualityMonitorNotificationsOnFailurePtr(v *QualityMonitorNotificationsOnFailureArgs) QualityMonitorNotificationsOnFailurePtrInput { + return (*qualityMonitorNotificationsOnFailurePtrType)(v) } -func (*restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() +func (*qualityMonitorNotificationsOnFailurePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorNotificationsOnFailure)(nil)).Elem() } -func (i *restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) +func (i *qualityMonitorNotificationsOnFailurePtrType) ToQualityMonitorNotificationsOnFailurePtrOutput() QualityMonitorNotificationsOnFailurePtrOutput { + return i.ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) } -func (i *restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) +func (i *qualityMonitorNotificationsOnFailurePtrType) ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailurePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnFailurePtrOutput) } -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput struct{ *pulumi.OutputState } +type QualityMonitorNotificationsOnFailureOutput struct{ *pulumi.OutputState } -func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() +func (QualityMonitorNotificationsOnFailureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorNotificationsOnFailure)(nil)).Elem() } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { +func (o QualityMonitorNotificationsOnFailureOutput) ToQualityMonitorNotificationsOnFailureOutput() QualityMonitorNotificationsOnFailureOutput { return o } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { +func (o QualityMonitorNotificationsOnFailureOutput) ToQualityMonitorNotificationsOnFailureOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailureOutput { return o } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return o.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) +func (o QualityMonitorNotificationsOnFailureOutput) ToQualityMonitorNotificationsOnFailurePtrOutput() QualityMonitorNotificationsOnFailurePtrOutput { + return o.ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins { +func (o QualityMonitorNotificationsOnFailureOutput) ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailurePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorNotificationsOnFailure) *QualityMonitorNotificationsOnFailure { return &v - }).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) + }).(QualityMonitorNotificationsOnFailurePtrOutput) } -// The restrict workspace admins status for the workspace. -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) string { return v.Status }).(pulumi.StringOutput) +func (o QualityMonitorNotificationsOnFailureOutput) EmailAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v QualityMonitorNotificationsOnFailure) []string { return v.EmailAddresses }).(pulumi.StringArrayOutput) } -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput struct{ *pulumi.OutputState } +type QualityMonitorNotificationsOnFailurePtrOutput struct{ *pulumi.OutputState } -func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() +func (QualityMonitorNotificationsOnFailurePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorNotificationsOnFailure)(nil)).Elem() } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { +func (o QualityMonitorNotificationsOnFailurePtrOutput) ToQualityMonitorNotificationsOnFailurePtrOutput() QualityMonitorNotificationsOnFailurePtrOutput { return o } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { +func (o QualityMonitorNotificationsOnFailurePtrOutput) ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailurePtrOutput { return o } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) Elem() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { - return o.ApplyT(func(v *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins { +func (o QualityMonitorNotificationsOnFailurePtrOutput) Elem() QualityMonitorNotificationsOnFailureOutput { + return o.ApplyT(func(v *QualityMonitorNotificationsOnFailure) QualityMonitorNotificationsOnFailure { if v != nil { return *v } - var ret RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins + var ret QualityMonitorNotificationsOnFailure return ret - }).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) + }).(QualityMonitorNotificationsOnFailureOutput) } -// The restrict workspace admins status for the workspace. -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) *string { +func (o QualityMonitorNotificationsOnFailurePtrOutput) EmailAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *QualityMonitorNotificationsOnFailure) []string { if v == nil { return nil } - return &v.Status - }).(pulumi.StringPtrOutput) + return v.EmailAddresses + }).(pulumi.StringArrayOutput) } -type SecretScopeKeyvaultMetadata struct { - DnsName string `pulumi:"dnsName"` - ResourceId string `pulumi:"resourceId"` +type QualityMonitorNotificationsOnNewClassificationTagDetected struct { + EmailAddresses []string `pulumi:"emailAddresses"` } -// SecretScopeKeyvaultMetadataInput is an input type that accepts SecretScopeKeyvaultMetadataArgs and SecretScopeKeyvaultMetadataOutput values. -// You can construct a concrete instance of `SecretScopeKeyvaultMetadataInput` via: +// QualityMonitorNotificationsOnNewClassificationTagDetectedInput is an input type that accepts QualityMonitorNotificationsOnNewClassificationTagDetectedArgs and QualityMonitorNotificationsOnNewClassificationTagDetectedOutput values. +// You can construct a concrete instance of `QualityMonitorNotificationsOnNewClassificationTagDetectedInput` via: // -// SecretScopeKeyvaultMetadataArgs{...} -type SecretScopeKeyvaultMetadataInput interface { +// QualityMonitorNotificationsOnNewClassificationTagDetectedArgs{...} +type QualityMonitorNotificationsOnNewClassificationTagDetectedInput interface { pulumi.Input - ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput - ToSecretScopeKeyvaultMetadataOutputWithContext(context.Context) SecretScopeKeyvaultMetadataOutput + ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedOutput + ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedOutput } -type SecretScopeKeyvaultMetadataArgs struct { - DnsName pulumi.StringInput `pulumi:"dnsName"` - ResourceId pulumi.StringInput `pulumi:"resourceId"` +type QualityMonitorNotificationsOnNewClassificationTagDetectedArgs struct { + EmailAddresses pulumi.StringArrayInput `pulumi:"emailAddresses"` } -func (SecretScopeKeyvaultMetadataArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecretScopeKeyvaultMetadata)(nil)).Elem() +func (QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() } -func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput { - return i.ToSecretScopeKeyvaultMetadataOutputWithContext(context.Background()) +func (i QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedOutput { + return i.ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(context.Background()) } -func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataOutput) +func (i QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) } -func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { - return i.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) +func (i QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return i.ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Background()) } -func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataOutput).ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx) +func (i QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnNewClassificationTagDetectedOutput).ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx) } -// SecretScopeKeyvaultMetadataPtrInput is an input type that accepts SecretScopeKeyvaultMetadataArgs, SecretScopeKeyvaultMetadataPtr and SecretScopeKeyvaultMetadataPtrOutput values. -// You can construct a concrete instance of `SecretScopeKeyvaultMetadataPtrInput` via: +// QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput is an input type that accepts QualityMonitorNotificationsOnNewClassificationTagDetectedArgs, QualityMonitorNotificationsOnNewClassificationTagDetectedPtr and QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput values. +// You can construct a concrete instance of `QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput` via: // -// SecretScopeKeyvaultMetadataArgs{...} +// QualityMonitorNotificationsOnNewClassificationTagDetectedArgs{...} // // or: // // nil -type SecretScopeKeyvaultMetadataPtrInput interface { +type QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput interface { pulumi.Input - ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput - ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Context) SecretScopeKeyvaultMetadataPtrOutput + ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput + ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput } -type secretScopeKeyvaultMetadataPtrType SecretScopeKeyvaultMetadataArgs +type qualityMonitorNotificationsOnNewClassificationTagDetectedPtrType QualityMonitorNotificationsOnNewClassificationTagDetectedArgs -func SecretScopeKeyvaultMetadataPtr(v *SecretScopeKeyvaultMetadataArgs) SecretScopeKeyvaultMetadataPtrInput { - return (*secretScopeKeyvaultMetadataPtrType)(v) +func QualityMonitorNotificationsOnNewClassificationTagDetectedPtr(v *QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput { + return (*qualityMonitorNotificationsOnNewClassificationTagDetectedPtrType)(v) } -func (*secretScopeKeyvaultMetadataPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecretScopeKeyvaultMetadata)(nil)).Elem() +func (*qualityMonitorNotificationsOnNewClassificationTagDetectedPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() } -func (i *secretScopeKeyvaultMetadataPtrType) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { - return i.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) +func (i *qualityMonitorNotificationsOnNewClassificationTagDetectedPtrType) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return i.ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Background()) } -func (i *secretScopeKeyvaultMetadataPtrType) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataPtrOutput) +func (i *qualityMonitorNotificationsOnNewClassificationTagDetectedPtrType) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) } -type SecretScopeKeyvaultMetadataOutput struct{ *pulumi.OutputState } +type QualityMonitorNotificationsOnNewClassificationTagDetectedOutput struct{ *pulumi.OutputState } -func (SecretScopeKeyvaultMetadataOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecretScopeKeyvaultMetadata)(nil)).Elem() +func (QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() } -func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput { +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedOutput { return o } -func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataOutput { +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedOutput { return o } -func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { - return o.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return o.ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Background()) } -func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretScopeKeyvaultMetadata) *SecretScopeKeyvaultMetadata { +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorNotificationsOnNewClassificationTagDetected) *QualityMonitorNotificationsOnNewClassificationTagDetected { return &v - }).(SecretScopeKeyvaultMetadataPtrOutput) -} - -func (o SecretScopeKeyvaultMetadataOutput) DnsName() pulumi.StringOutput { - return o.ApplyT(func(v SecretScopeKeyvaultMetadata) string { return v.DnsName }).(pulumi.StringOutput) + }).(QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) } -func (o SecretScopeKeyvaultMetadataOutput) ResourceId() pulumi.StringOutput { - return o.ApplyT(func(v SecretScopeKeyvaultMetadata) string { return v.ResourceId }).(pulumi.StringOutput) +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) EmailAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v QualityMonitorNotificationsOnNewClassificationTagDetected) []string { return v.EmailAddresses }).(pulumi.StringArrayOutput) } -type SecretScopeKeyvaultMetadataPtrOutput struct{ *pulumi.OutputState } +type QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput struct{ *pulumi.OutputState } -func (SecretScopeKeyvaultMetadataPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecretScopeKeyvaultMetadata)(nil)).Elem() +func (QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() } -func (o SecretScopeKeyvaultMetadataPtrOutput) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { return o } -func (o SecretScopeKeyvaultMetadataPtrOutput) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { return o } -func (o SecretScopeKeyvaultMetadataPtrOutput) Elem() SecretScopeKeyvaultMetadataOutput { - return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) SecretScopeKeyvaultMetadata { +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) Elem() QualityMonitorNotificationsOnNewClassificationTagDetectedOutput { + return o.ApplyT(func(v *QualityMonitorNotificationsOnNewClassificationTagDetected) QualityMonitorNotificationsOnNewClassificationTagDetected { if v != nil { return *v } - var ret SecretScopeKeyvaultMetadata + var ret QualityMonitorNotificationsOnNewClassificationTagDetected return ret - }).(SecretScopeKeyvaultMetadataOutput) -} - -func (o SecretScopeKeyvaultMetadataPtrOutput) DnsName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) *string { - if v == nil { - return nil - } - return &v.DnsName - }).(pulumi.StringPtrOutput) + }).(QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) } -func (o SecretScopeKeyvaultMetadataPtrOutput) ResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) *string { +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) EmailAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *QualityMonitorNotificationsOnNewClassificationTagDetected) []string { if v == nil { return nil } - return &v.ResourceId - }).(pulumi.StringPtrOutput) + return v.EmailAddresses + }).(pulumi.StringArrayOutput) } -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 QualityMonitorSchedule struct { + // optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + PauseStatus *string `pulumi:"pauseStatus"` + // string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + QuartzCronExpression string `pulumi:"quartzCronExpression"` + // string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + TimezoneId string `pulumi:"timezoneId"` } -// ShareObjectInput is an input type that accepts ShareObjectArgs and ShareObjectOutput values. -// You can construct a concrete instance of `ShareObjectInput` via: +// QualityMonitorScheduleInput is an input type that accepts QualityMonitorScheduleArgs and QualityMonitorScheduleOutput values. +// You can construct a concrete instance of `QualityMonitorScheduleInput` via: // -// ShareObjectArgs{...} -type ShareObjectInput interface { +// QualityMonitorScheduleArgs{...} +type QualityMonitorScheduleInput interface { pulumi.Input - ToShareObjectOutput() ShareObjectOutput - ToShareObjectOutputWithContext(context.Context) ShareObjectOutput + ToQualityMonitorScheduleOutput() QualityMonitorScheduleOutput + ToQualityMonitorScheduleOutputWithContext(context.Context) QualityMonitorScheduleOutput } -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"` +type QualityMonitorScheduleArgs struct { + // optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` + // string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + QuartzCronExpression pulumi.StringInput `pulumi:"quartzCronExpression"` + // string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + TimezoneId pulumi.StringInput `pulumi:"timezoneId"` } -func (ShareObjectArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObject)(nil)).Elem() +func (QualityMonitorScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorSchedule)(nil)).Elem() } -func (i ShareObjectArgs) ToShareObjectOutput() ShareObjectOutput { - return i.ToShareObjectOutputWithContext(context.Background()) +func (i QualityMonitorScheduleArgs) ToQualityMonitorScheduleOutput() QualityMonitorScheduleOutput { + return i.ToQualityMonitorScheduleOutputWithContext(context.Background()) } -func (i ShareObjectArgs) ToShareObjectOutputWithContext(ctx context.Context) ShareObjectOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectOutput) +func (i QualityMonitorScheduleArgs) ToQualityMonitorScheduleOutputWithContext(ctx context.Context) QualityMonitorScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorScheduleOutput) } -// ShareObjectArrayInput is an input type that accepts ShareObjectArray and ShareObjectArrayOutput values. -// You can construct a concrete instance of `ShareObjectArrayInput` via: +func (i QualityMonitorScheduleArgs) ToQualityMonitorSchedulePtrOutput() QualityMonitorSchedulePtrOutput { + return i.ToQualityMonitorSchedulePtrOutputWithContext(context.Background()) +} + +func (i QualityMonitorScheduleArgs) ToQualityMonitorSchedulePtrOutputWithContext(ctx context.Context) QualityMonitorSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorScheduleOutput).ToQualityMonitorSchedulePtrOutputWithContext(ctx) +} + +// QualityMonitorSchedulePtrInput is an input type that accepts QualityMonitorScheduleArgs, QualityMonitorSchedulePtr and QualityMonitorSchedulePtrOutput values. +// You can construct a concrete instance of `QualityMonitorSchedulePtrInput` via: // -// ShareObjectArray{ ShareObjectArgs{...} } -type ShareObjectArrayInput interface { +// QualityMonitorScheduleArgs{...} +// +// or: +// +// nil +type QualityMonitorSchedulePtrInput interface { pulumi.Input - ToShareObjectArrayOutput() ShareObjectArrayOutput - ToShareObjectArrayOutputWithContext(context.Context) ShareObjectArrayOutput + ToQualityMonitorSchedulePtrOutput() QualityMonitorSchedulePtrOutput + ToQualityMonitorSchedulePtrOutputWithContext(context.Context) QualityMonitorSchedulePtrOutput } -type ShareObjectArray []ShareObjectInput +type qualityMonitorSchedulePtrType QualityMonitorScheduleArgs -func (ShareObjectArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObject)(nil)).Elem() +func QualityMonitorSchedulePtr(v *QualityMonitorScheduleArgs) QualityMonitorSchedulePtrInput { + return (*qualityMonitorSchedulePtrType)(v) } -func (i ShareObjectArray) ToShareObjectArrayOutput() ShareObjectArrayOutput { - return i.ToShareObjectArrayOutputWithContext(context.Background()) +func (*qualityMonitorSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorSchedule)(nil)).Elem() } -func (i ShareObjectArray) ToShareObjectArrayOutputWithContext(ctx context.Context) ShareObjectArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectArrayOutput) +func (i *qualityMonitorSchedulePtrType) ToQualityMonitorSchedulePtrOutput() QualityMonitorSchedulePtrOutput { + return i.ToQualityMonitorSchedulePtrOutputWithContext(context.Background()) } -type ShareObjectOutput struct{ *pulumi.OutputState } +func (i *qualityMonitorSchedulePtrType) ToQualityMonitorSchedulePtrOutputWithContext(ctx context.Context) QualityMonitorSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorSchedulePtrOutput) +} -func (ShareObjectOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObject)(nil)).Elem() +type QualityMonitorScheduleOutput struct{ *pulumi.OutputState } + +func (QualityMonitorScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorSchedule)(nil)).Elem() } -func (o ShareObjectOutput) ToShareObjectOutput() ShareObjectOutput { +func (o QualityMonitorScheduleOutput) ToQualityMonitorScheduleOutput() QualityMonitorScheduleOutput { return o } -func (o ShareObjectOutput) ToShareObjectOutputWithContext(ctx context.Context) ShareObjectOutput { +func (o QualityMonitorScheduleOutput) ToQualityMonitorScheduleOutputWithContext(ctx context.Context) QualityMonitorScheduleOutput { return o } -func (o ShareObjectOutput) AddedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v ShareObject) *int { return v.AddedAt }).(pulumi.IntPtrOutput) +func (o QualityMonitorScheduleOutput) ToQualityMonitorSchedulePtrOutput() QualityMonitorSchedulePtrOutput { + return o.ToQualityMonitorSchedulePtrOutputWithContext(context.Background()) } -func (o ShareObjectOutput) AddedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShareObject) *string { return v.AddedBy }).(pulumi.StringPtrOutput) +func (o QualityMonitorScheduleOutput) ToQualityMonitorSchedulePtrOutputWithContext(ctx context.Context) QualityMonitorSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorSchedule) *QualityMonitorSchedule { + return &v + }).(QualityMonitorSchedulePtrOutput) } -// 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) +// optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). +func (o QualityMonitorScheduleOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v QualityMonitorSchedule) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) } -// Description about the object. -func (o ShareObjectOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShareObject) *string { return v.Comment }).(pulumi.StringPtrOutput) +// string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. +func (o QualityMonitorScheduleOutput) QuartzCronExpression() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorSchedule) string { return v.QuartzCronExpression }).(pulumi.StringOutput) } -// 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) +// string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. +func (o QualityMonitorScheduleOutput) TimezoneId() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorSchedule) string { return v.TimezoneId }).(pulumi.StringOutput) } -// 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) -} +type QualityMonitorSchedulePtrOutput struct{ *pulumi.OutputState } -// 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 (QualityMonitorSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorSchedule)(nil)).Elem() } -func (o ShareObjectOutput) Partitions() ShareObjectPartitionArrayOutput { - return o.ApplyT(func(v ShareObject) []ShareObjectPartition { return v.Partitions }).(ShareObjectPartitionArrayOutput) +func (o QualityMonitorSchedulePtrOutput) ToQualityMonitorSchedulePtrOutput() QualityMonitorSchedulePtrOutput { + return o } -// 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 QualityMonitorSchedulePtrOutput) ToQualityMonitorSchedulePtrOutputWithContext(ctx context.Context) QualityMonitorSchedulePtrOutput { + return o } -// The start version associated with the object for cdf. This allows data providers to control the lowest object version that is accessible by clients. -func (o ShareObjectOutput) StartVersion() pulumi.IntPtrOutput { - return o.ApplyT(func(v ShareObject) *int { return v.StartVersion }).(pulumi.IntPtrOutput) +func (o QualityMonitorSchedulePtrOutput) Elem() QualityMonitorScheduleOutput { + return o.ApplyT(func(v *QualityMonitorSchedule) QualityMonitorSchedule { + if v != nil { + return *v + } + var ret QualityMonitorSchedule + return ret + }).(QualityMonitorScheduleOutput) } -// 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) +// optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). +func (o QualityMonitorSchedulePtrOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorSchedule) *string { + if v == nil { + return nil + } + return v.PauseStatus + }).(pulumi.StringPtrOutput) } -type ShareObjectArrayOutput struct{ *pulumi.OutputState } - -func (ShareObjectArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObject)(nil)).Elem() +// string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. +func (o QualityMonitorSchedulePtrOutput) QuartzCronExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorSchedule) *string { + if v == nil { + return nil + } + return &v.QuartzCronExpression + }).(pulumi.StringPtrOutput) } -func (o ShareObjectArrayOutput) ToShareObjectArrayOutput() ShareObjectArrayOutput { - return o +// string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. +func (o QualityMonitorSchedulePtrOutput) TimezoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorSchedule) *string { + if v == nil { + return nil + } + return &v.TimezoneId + }).(pulumi.StringPtrOutput) } -func (o ShareObjectArrayOutput) ToShareObjectArrayOutputWithContext(ctx context.Context) ShareObjectArrayOutput { - return o +type QualityMonitorSnapshot struct { } -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) -} +// QualityMonitorSnapshotInput is an input type that accepts QualityMonitorSnapshotArgs and QualityMonitorSnapshotOutput values. +// You can construct a concrete instance of `QualityMonitorSnapshotInput` via: +// +// QualityMonitorSnapshotArgs{...} +type QualityMonitorSnapshotInput interface { + pulumi.Input -type ShareObjectPartition struct { - Values []ShareObjectPartitionValue `pulumi:"values"` + ToQualityMonitorSnapshotOutput() QualityMonitorSnapshotOutput + ToQualityMonitorSnapshotOutputWithContext(context.Context) QualityMonitorSnapshotOutput } -// 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 +type QualityMonitorSnapshotArgs struct { +} - ToShareObjectPartitionOutput() ShareObjectPartitionOutput - ToShareObjectPartitionOutputWithContext(context.Context) ShareObjectPartitionOutput +func (QualityMonitorSnapshotArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorSnapshot)(nil)).Elem() } -type ShareObjectPartitionArgs struct { - Values ShareObjectPartitionValueArrayInput `pulumi:"values"` +func (i QualityMonitorSnapshotArgs) ToQualityMonitorSnapshotOutput() QualityMonitorSnapshotOutput { + return i.ToQualityMonitorSnapshotOutputWithContext(context.Background()) } -func (ShareObjectPartitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObjectPartition)(nil)).Elem() +func (i QualityMonitorSnapshotArgs) ToQualityMonitorSnapshotOutputWithContext(ctx context.Context) QualityMonitorSnapshotOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorSnapshotOutput) } -func (i ShareObjectPartitionArgs) ToShareObjectPartitionOutput() ShareObjectPartitionOutput { - return i.ToShareObjectPartitionOutputWithContext(context.Background()) +func (i QualityMonitorSnapshotArgs) ToQualityMonitorSnapshotPtrOutput() QualityMonitorSnapshotPtrOutput { + return i.ToQualityMonitorSnapshotPtrOutputWithContext(context.Background()) } -func (i ShareObjectPartitionArgs) ToShareObjectPartitionOutputWithContext(ctx context.Context) ShareObjectPartitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionOutput) +func (i QualityMonitorSnapshotArgs) ToQualityMonitorSnapshotPtrOutputWithContext(ctx context.Context) QualityMonitorSnapshotPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorSnapshotOutput).ToQualityMonitorSnapshotPtrOutputWithContext(ctx) } -// ShareObjectPartitionArrayInput is an input type that accepts ShareObjectPartitionArray and ShareObjectPartitionArrayOutput values. -// You can construct a concrete instance of `ShareObjectPartitionArrayInput` via: +// QualityMonitorSnapshotPtrInput is an input type that accepts QualityMonitorSnapshotArgs, QualityMonitorSnapshotPtr and QualityMonitorSnapshotPtrOutput values. +// You can construct a concrete instance of `QualityMonitorSnapshotPtrInput` via: // -// ShareObjectPartitionArray{ ShareObjectPartitionArgs{...} } -type ShareObjectPartitionArrayInput interface { +// QualityMonitorSnapshotArgs{...} +// +// or: +// +// nil +type QualityMonitorSnapshotPtrInput interface { pulumi.Input - ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput - ToShareObjectPartitionArrayOutputWithContext(context.Context) ShareObjectPartitionArrayOutput + ToQualityMonitorSnapshotPtrOutput() QualityMonitorSnapshotPtrOutput + ToQualityMonitorSnapshotPtrOutputWithContext(context.Context) QualityMonitorSnapshotPtrOutput } -type ShareObjectPartitionArray []ShareObjectPartitionInput +type qualityMonitorSnapshotPtrType QualityMonitorSnapshotArgs -func (ShareObjectPartitionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObjectPartition)(nil)).Elem() +func QualityMonitorSnapshotPtr(v *QualityMonitorSnapshotArgs) QualityMonitorSnapshotPtrInput { + return (*qualityMonitorSnapshotPtrType)(v) } -func (i ShareObjectPartitionArray) ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput { - return i.ToShareObjectPartitionArrayOutputWithContext(context.Background()) +func (*qualityMonitorSnapshotPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorSnapshot)(nil)).Elem() } -func (i ShareObjectPartitionArray) ToShareObjectPartitionArrayOutputWithContext(ctx context.Context) ShareObjectPartitionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionArrayOutput) +func (i *qualityMonitorSnapshotPtrType) ToQualityMonitorSnapshotPtrOutput() QualityMonitorSnapshotPtrOutput { + return i.ToQualityMonitorSnapshotPtrOutputWithContext(context.Background()) } -type ShareObjectPartitionOutput struct{ *pulumi.OutputState } +func (i *qualityMonitorSnapshotPtrType) ToQualityMonitorSnapshotPtrOutputWithContext(ctx context.Context) QualityMonitorSnapshotPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorSnapshotPtrOutput) +} -func (ShareObjectPartitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObjectPartition)(nil)).Elem() +type QualityMonitorSnapshotOutput struct{ *pulumi.OutputState } + +func (QualityMonitorSnapshotOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorSnapshot)(nil)).Elem() } -func (o ShareObjectPartitionOutput) ToShareObjectPartitionOutput() ShareObjectPartitionOutput { +func (o QualityMonitorSnapshotOutput) ToQualityMonitorSnapshotOutput() QualityMonitorSnapshotOutput { return o } -func (o ShareObjectPartitionOutput) ToShareObjectPartitionOutputWithContext(ctx context.Context) ShareObjectPartitionOutput { +func (o QualityMonitorSnapshotOutput) ToQualityMonitorSnapshotOutputWithContext(ctx context.Context) QualityMonitorSnapshotOutput { return o } -func (o ShareObjectPartitionOutput) Values() ShareObjectPartitionValueArrayOutput { - return o.ApplyT(func(v ShareObjectPartition) []ShareObjectPartitionValue { return v.Values }).(ShareObjectPartitionValueArrayOutput) +func (o QualityMonitorSnapshotOutput) ToQualityMonitorSnapshotPtrOutput() QualityMonitorSnapshotPtrOutput { + return o.ToQualityMonitorSnapshotPtrOutputWithContext(context.Background()) } -type ShareObjectPartitionArrayOutput struct{ *pulumi.OutputState } +func (o QualityMonitorSnapshotOutput) ToQualityMonitorSnapshotPtrOutputWithContext(ctx context.Context) QualityMonitorSnapshotPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorSnapshot) *QualityMonitorSnapshot { + return &v + }).(QualityMonitorSnapshotPtrOutput) +} -func (ShareObjectPartitionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObjectPartition)(nil)).Elem() +type QualityMonitorSnapshotPtrOutput struct{ *pulumi.OutputState } + +func (QualityMonitorSnapshotPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorSnapshot)(nil)).Elem() } -func (o ShareObjectPartitionArrayOutput) ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput { +func (o QualityMonitorSnapshotPtrOutput) ToQualityMonitorSnapshotPtrOutput() QualityMonitorSnapshotPtrOutput { return o } -func (o ShareObjectPartitionArrayOutput) ToShareObjectPartitionArrayOutputWithContext(ctx context.Context) ShareObjectPartitionArrayOutput { +func (o QualityMonitorSnapshotPtrOutput) ToQualityMonitorSnapshotPtrOutputWithContext(ctx context.Context) QualityMonitorSnapshotPtrOutput { return o } -func (o ShareObjectPartitionArrayOutput) Index(i pulumi.IntInput) ShareObjectPartitionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShareObjectPartition { - return vs[0].([]ShareObjectPartition)[vs[1].(int)] - }).(ShareObjectPartitionOutput) +func (o QualityMonitorSnapshotPtrOutput) Elem() QualityMonitorSnapshotOutput { + return o.ApplyT(func(v *QualityMonitorSnapshot) QualityMonitorSnapshot { + if v != nil { + return *v + } + var ret QualityMonitorSnapshot + return ret + }).(QualityMonitorSnapshotOutput) } -type ShareObjectPartitionValue struct { - // The name of the partition column. - Name string `pulumi:"name"` - // The operator to apply for the value, one of: `EQUAL`, `LIKE` - Op string `pulumi:"op"` - // The key of a Delta Sharing recipient's property. For example `databricks-account-id`. When this field is set, field `value` can not be set. - RecipientPropertyKey *string `pulumi:"recipientPropertyKey"` - // The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipientPropertyKey` can not be set. - Value *string `pulumi:"value"` +type QualityMonitorTimeSeries struct { + // List of granularities to use when aggregating data into time windows based on their timestamp. + Granularities []string `pulumi:"granularities"` + // Column of the timestamp of predictions + TimestampCol string `pulumi:"timestampCol"` } -// ShareObjectPartitionValueInput is an input type that accepts ShareObjectPartitionValueArgs and ShareObjectPartitionValueOutput values. -// You can construct a concrete instance of `ShareObjectPartitionValueInput` via: +// QualityMonitorTimeSeriesInput is an input type that accepts QualityMonitorTimeSeriesArgs and QualityMonitorTimeSeriesOutput values. +// You can construct a concrete instance of `QualityMonitorTimeSeriesInput` via: // -// ShareObjectPartitionValueArgs{...} -type ShareObjectPartitionValueInput interface { +// QualityMonitorTimeSeriesArgs{...} +type QualityMonitorTimeSeriesInput interface { pulumi.Input - ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput - ToShareObjectPartitionValueOutputWithContext(context.Context) ShareObjectPartitionValueOutput + ToQualityMonitorTimeSeriesOutput() QualityMonitorTimeSeriesOutput + ToQualityMonitorTimeSeriesOutputWithContext(context.Context) QualityMonitorTimeSeriesOutput } -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 QualityMonitorTimeSeriesArgs struct { + // List of granularities to use when aggregating data into time windows based on their timestamp. + Granularities pulumi.StringArrayInput `pulumi:"granularities"` + // Column of the timestamp of predictions + TimestampCol pulumi.StringInput `pulumi:"timestampCol"` } -func (ShareObjectPartitionValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObjectPartitionValue)(nil)).Elem() +func (QualityMonitorTimeSeriesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorTimeSeries)(nil)).Elem() } -func (i ShareObjectPartitionValueArgs) ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput { - return i.ToShareObjectPartitionValueOutputWithContext(context.Background()) +func (i QualityMonitorTimeSeriesArgs) ToQualityMonitorTimeSeriesOutput() QualityMonitorTimeSeriesOutput { + return i.ToQualityMonitorTimeSeriesOutputWithContext(context.Background()) } -func (i ShareObjectPartitionValueArgs) ToShareObjectPartitionValueOutputWithContext(ctx context.Context) ShareObjectPartitionValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionValueOutput) +func (i QualityMonitorTimeSeriesArgs) ToQualityMonitorTimeSeriesOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorTimeSeriesOutput) } -// ShareObjectPartitionValueArrayInput is an input type that accepts ShareObjectPartitionValueArray and ShareObjectPartitionValueArrayOutput values. -// You can construct a concrete instance of `ShareObjectPartitionValueArrayInput` via: +func (i QualityMonitorTimeSeriesArgs) ToQualityMonitorTimeSeriesPtrOutput() QualityMonitorTimeSeriesPtrOutput { + return i.ToQualityMonitorTimeSeriesPtrOutputWithContext(context.Background()) +} + +func (i QualityMonitorTimeSeriesArgs) ToQualityMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorTimeSeriesOutput).ToQualityMonitorTimeSeriesPtrOutputWithContext(ctx) +} + +// QualityMonitorTimeSeriesPtrInput is an input type that accepts QualityMonitorTimeSeriesArgs, QualityMonitorTimeSeriesPtr and QualityMonitorTimeSeriesPtrOutput values. +// You can construct a concrete instance of `QualityMonitorTimeSeriesPtrInput` via: // -// ShareObjectPartitionValueArray{ ShareObjectPartitionValueArgs{...} } -type ShareObjectPartitionValueArrayInput interface { +// QualityMonitorTimeSeriesArgs{...} +// +// or: +// +// nil +type QualityMonitorTimeSeriesPtrInput interface { pulumi.Input - ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput - ToShareObjectPartitionValueArrayOutputWithContext(context.Context) ShareObjectPartitionValueArrayOutput + ToQualityMonitorTimeSeriesPtrOutput() QualityMonitorTimeSeriesPtrOutput + ToQualityMonitorTimeSeriesPtrOutputWithContext(context.Context) QualityMonitorTimeSeriesPtrOutput } -type ShareObjectPartitionValueArray []ShareObjectPartitionValueInput +type qualityMonitorTimeSeriesPtrType QualityMonitorTimeSeriesArgs -func (ShareObjectPartitionValueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObjectPartitionValue)(nil)).Elem() +func QualityMonitorTimeSeriesPtr(v *QualityMonitorTimeSeriesArgs) QualityMonitorTimeSeriesPtrInput { + return (*qualityMonitorTimeSeriesPtrType)(v) } -func (i ShareObjectPartitionValueArray) ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput { - return i.ToShareObjectPartitionValueArrayOutputWithContext(context.Background()) +func (*qualityMonitorTimeSeriesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorTimeSeries)(nil)).Elem() } -func (i ShareObjectPartitionValueArray) ToShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) ShareObjectPartitionValueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionValueArrayOutput) +func (i *qualityMonitorTimeSeriesPtrType) ToQualityMonitorTimeSeriesPtrOutput() QualityMonitorTimeSeriesPtrOutput { + return i.ToQualityMonitorTimeSeriesPtrOutputWithContext(context.Background()) } -type ShareObjectPartitionValueOutput struct{ *pulumi.OutputState } +func (i *qualityMonitorTimeSeriesPtrType) ToQualityMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorTimeSeriesPtrOutput) +} -func (ShareObjectPartitionValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObjectPartitionValue)(nil)).Elem() +type QualityMonitorTimeSeriesOutput struct{ *pulumi.OutputState } + +func (QualityMonitorTimeSeriesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorTimeSeries)(nil)).Elem() } -func (o ShareObjectPartitionValueOutput) ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput { +func (o QualityMonitorTimeSeriesOutput) ToQualityMonitorTimeSeriesOutput() QualityMonitorTimeSeriesOutput { return o } -func (o ShareObjectPartitionValueOutput) ToShareObjectPartitionValueOutputWithContext(ctx context.Context) ShareObjectPartitionValueOutput { +func (o QualityMonitorTimeSeriesOutput) ToQualityMonitorTimeSeriesOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesOutput { return o } -// The name of the partition column. -func (o ShareObjectPartitionValueOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ShareObjectPartitionValue) string { return v.Name }).(pulumi.StringOutput) +func (o QualityMonitorTimeSeriesOutput) ToQualityMonitorTimeSeriesPtrOutput() QualityMonitorTimeSeriesPtrOutput { + return o.ToQualityMonitorTimeSeriesPtrOutputWithContext(context.Background()) } -// 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 QualityMonitorTimeSeriesOutput) ToQualityMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorTimeSeries) *QualityMonitorTimeSeries { + return &v + }).(QualityMonitorTimeSeriesPtrOutput) } -// 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) +// List of granularities to use when aggregating data into time windows based on their timestamp. +func (o QualityMonitorTimeSeriesOutput) Granularities() pulumi.StringArrayOutput { + return o.ApplyT(func(v QualityMonitorTimeSeries) []string { return v.Granularities }).(pulumi.StringArrayOutput) } -// 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) +// Column of the timestamp of predictions +func (o QualityMonitorTimeSeriesOutput) TimestampCol() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorTimeSeries) string { return v.TimestampCol }).(pulumi.StringOutput) } -type ShareObjectPartitionValueArrayOutput struct{ *pulumi.OutputState } +type QualityMonitorTimeSeriesPtrOutput struct{ *pulumi.OutputState } -func (ShareObjectPartitionValueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObjectPartitionValue)(nil)).Elem() +func (QualityMonitorTimeSeriesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorTimeSeries)(nil)).Elem() } -func (o ShareObjectPartitionValueArrayOutput) ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput { +func (o QualityMonitorTimeSeriesPtrOutput) ToQualityMonitorTimeSeriesPtrOutput() QualityMonitorTimeSeriesPtrOutput { return o } -func (o ShareObjectPartitionValueArrayOutput) ToShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) ShareObjectPartitionValueArrayOutput { +func (o QualityMonitorTimeSeriesPtrOutput) ToQualityMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesPtrOutput { 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 QualityMonitorTimeSeriesPtrOutput) Elem() QualityMonitorTimeSeriesOutput { + return o.ApplyT(func(v *QualityMonitorTimeSeries) QualityMonitorTimeSeries { + if v != nil { + return *v + } + var ret QualityMonitorTimeSeries + return ret + }).(QualityMonitorTimeSeriesOutput) } -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"` +// List of granularities to use when aggregating data into time windows based on their timestamp. +func (o QualityMonitorTimeSeriesPtrOutput) Granularities() pulumi.StringArrayOutput { + return o.ApplyT(func(v *QualityMonitorTimeSeries) []string { + if v == nil { + return nil + } + return v.Granularities + }).(pulumi.StringArrayOutput) } -// SqlAlertOptionsInput is an input type that accepts SqlAlertOptionsArgs and SqlAlertOptionsOutput values. -// You can construct a concrete instance of `SqlAlertOptionsInput` via: +// Column of the timestamp of predictions +func (o QualityMonitorTimeSeriesPtrOutput) TimestampCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorTimeSeries) *string { + if v == nil { + return nil + } + return &v.TimestampCol + }).(pulumi.StringPtrOutput) +} + +type RecipientIpAccessList struct { + AllowedIpAddresses []string `pulumi:"allowedIpAddresses"` +} + +// RecipientIpAccessListInput is an input type that accepts RecipientIpAccessListArgs and RecipientIpAccessListOutput values. +// You can construct a concrete instance of `RecipientIpAccessListInput` via: // -// SqlAlertOptionsArgs{...} -type SqlAlertOptionsInput interface { +// RecipientIpAccessListArgs{...} +type RecipientIpAccessListInput interface { pulumi.Input - ToSqlAlertOptionsOutput() SqlAlertOptionsOutput - ToSqlAlertOptionsOutputWithContext(context.Context) SqlAlertOptionsOutput + ToRecipientIpAccessListOutput() RecipientIpAccessListOutput + ToRecipientIpAccessListOutputWithContext(context.Context) RecipientIpAccessListOutput } -type SqlAlertOptionsArgs struct { - // Name of column in the query result to compare in alert evaluation. - Column pulumi.StringInput `pulumi:"column"` - // Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. - CustomBody pulumi.StringPtrInput `pulumi:"customBody"` - // Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. - CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` - // State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. - EmptyResultState pulumi.StringPtrInput `pulumi:"emptyResultState"` - // Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. - Muted pulumi.BoolPtrInput `pulumi:"muted"` - // Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) - Op pulumi.StringInput `pulumi:"op"` - // Value used to compare in alert evaluation. - Value pulumi.StringInput `pulumi:"value"` +type RecipientIpAccessListArgs struct { + AllowedIpAddresses pulumi.StringArrayInput `pulumi:"allowedIpAddresses"` } -func (SqlAlertOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlAlertOptions)(nil)).Elem() +func (RecipientIpAccessListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientIpAccessList)(nil)).Elem() } -func (i SqlAlertOptionsArgs) ToSqlAlertOptionsOutput() SqlAlertOptionsOutput { - return i.ToSqlAlertOptionsOutputWithContext(context.Background()) +func (i RecipientIpAccessListArgs) ToRecipientIpAccessListOutput() RecipientIpAccessListOutput { + return i.ToRecipientIpAccessListOutputWithContext(context.Background()) } -func (i SqlAlertOptionsArgs) ToSqlAlertOptionsOutputWithContext(ctx context.Context) SqlAlertOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsOutput) +func (i RecipientIpAccessListArgs) ToRecipientIpAccessListOutputWithContext(ctx context.Context) RecipientIpAccessListOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListOutput) } -func (i SqlAlertOptionsArgs) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { - return i.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) +func (i RecipientIpAccessListArgs) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { + return i.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) } -func (i SqlAlertOptionsArgs) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsOutput).ToSqlAlertOptionsPtrOutputWithContext(ctx) +func (i RecipientIpAccessListArgs) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListOutput).ToRecipientIpAccessListPtrOutputWithContext(ctx) } -// SqlAlertOptionsPtrInput is an input type that accepts SqlAlertOptionsArgs, SqlAlertOptionsPtr and SqlAlertOptionsPtrOutput values. -// You can construct a concrete instance of `SqlAlertOptionsPtrInput` via: -// -// SqlAlertOptionsArgs{...} +// RecipientIpAccessListPtrInput is an input type that accepts RecipientIpAccessListArgs, RecipientIpAccessListPtr and RecipientIpAccessListPtrOutput values. +// You can construct a concrete instance of `RecipientIpAccessListPtrInput` via: +// +// RecipientIpAccessListArgs{...} // // or: // // nil -type SqlAlertOptionsPtrInput interface { +type RecipientIpAccessListPtrInput interface { pulumi.Input - ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput - ToSqlAlertOptionsPtrOutputWithContext(context.Context) SqlAlertOptionsPtrOutput + ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput + ToRecipientIpAccessListPtrOutputWithContext(context.Context) RecipientIpAccessListPtrOutput } -type sqlAlertOptionsPtrType SqlAlertOptionsArgs +type recipientIpAccessListPtrType RecipientIpAccessListArgs -func SqlAlertOptionsPtr(v *SqlAlertOptionsArgs) SqlAlertOptionsPtrInput { - return (*sqlAlertOptionsPtrType)(v) +func RecipientIpAccessListPtr(v *RecipientIpAccessListArgs) RecipientIpAccessListPtrInput { + return (*recipientIpAccessListPtrType)(v) } -func (*sqlAlertOptionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlAlertOptions)(nil)).Elem() +func (*recipientIpAccessListPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RecipientIpAccessList)(nil)).Elem() } -func (i *sqlAlertOptionsPtrType) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { - return i.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) +func (i *recipientIpAccessListPtrType) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { + return i.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) } -func (i *sqlAlertOptionsPtrType) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsPtrOutput) +func (i *recipientIpAccessListPtrType) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListPtrOutput) } -type SqlAlertOptionsOutput struct{ *pulumi.OutputState } +type RecipientIpAccessListOutput struct{ *pulumi.OutputState } -func (SqlAlertOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlAlertOptions)(nil)).Elem() +func (RecipientIpAccessListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientIpAccessList)(nil)).Elem() } -func (o SqlAlertOptionsOutput) ToSqlAlertOptionsOutput() SqlAlertOptionsOutput { +func (o RecipientIpAccessListOutput) ToRecipientIpAccessListOutput() RecipientIpAccessListOutput { return o } -func (o SqlAlertOptionsOutput) ToSqlAlertOptionsOutputWithContext(ctx context.Context) SqlAlertOptionsOutput { +func (o RecipientIpAccessListOutput) ToRecipientIpAccessListOutputWithContext(ctx context.Context) RecipientIpAccessListOutput { return o } -func (o SqlAlertOptionsOutput) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { - return o.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) +func (o RecipientIpAccessListOutput) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { + return o.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) } -func (o SqlAlertOptionsOutput) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlAlertOptions) *SqlAlertOptions { +func (o RecipientIpAccessListOutput) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RecipientIpAccessList) *RecipientIpAccessList { return &v - }).(SqlAlertOptionsPtrOutput) -} - -// 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) -} - -// 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) -} - -// 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) -} - -// State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. -func (o SqlAlertOptionsOutput) EmptyResultState() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlAlertOptions) *string { return v.EmptyResultState }).(pulumi.StringPtrOutput) -} - -// Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. -func (o SqlAlertOptionsOutput) Muted() pulumi.BoolPtrOutput { - return o.ApplyT(func(v SqlAlertOptions) *bool { return v.Muted }).(pulumi.BoolPtrOutput) -} - -// 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) + }).(RecipientIpAccessListPtrOutput) } -// 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 RecipientIpAccessListOutput) AllowedIpAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v RecipientIpAccessList) []string { return v.AllowedIpAddresses }).(pulumi.StringArrayOutput) } -type SqlAlertOptionsPtrOutput struct{ *pulumi.OutputState } +type RecipientIpAccessListPtrOutput struct{ *pulumi.OutputState } -func (SqlAlertOptionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlAlertOptions)(nil)).Elem() +func (RecipientIpAccessListPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RecipientIpAccessList)(nil)).Elem() } -func (o SqlAlertOptionsPtrOutput) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { +func (o RecipientIpAccessListPtrOutput) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { return o } -func (o SqlAlertOptionsPtrOutput) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { +func (o RecipientIpAccessListPtrOutput) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { return o } -func (o SqlAlertOptionsPtrOutput) Elem() SqlAlertOptionsOutput { - return o.ApplyT(func(v *SqlAlertOptions) SqlAlertOptions { +func (o RecipientIpAccessListPtrOutput) Elem() RecipientIpAccessListOutput { + return o.ApplyT(func(v *RecipientIpAccessList) RecipientIpAccessList { if v != nil { return *v } - var ret SqlAlertOptions + var ret RecipientIpAccessList 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) -} - -// State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. -func (o SqlAlertOptionsPtrOutput) EmptyResultState() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlAlertOptions) *string { - if v == nil { - return nil - } - return v.EmptyResultState - }).(pulumi.StringPtrOutput) -} - -// Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. -func (o SqlAlertOptionsPtrOutput) Muted() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *SqlAlertOptions) *bool { - if v == nil { - return nil - } - return v.Muted - }).(pulumi.BoolPtrOutput) -} - -// Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) -func (o SqlAlertOptionsPtrOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlAlertOptions) *string { - if v == nil { - return nil - } - return &v.Op - }).(pulumi.StringPtrOutput) + }).(RecipientIpAccessListOutput) } -// Value used to compare in alert evaluation. -func (o SqlAlertOptionsPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlAlertOptions) *string { +func (o RecipientIpAccessListPtrOutput) AllowedIpAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *RecipientIpAccessList) []string { if v == nil { return nil } - return &v.Value - }).(pulumi.StringPtrOutput) + return v.AllowedIpAddresses + }).(pulumi.StringArrayOutput) } -type 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 RecipientPropertiesKvpairs struct { + // a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. + Properties map[string]interface{} `pulumi:"properties"` } -// SqlEndpointChannelInput is an input type that accepts SqlEndpointChannelArgs and SqlEndpointChannelOutput values. -// You can construct a concrete instance of `SqlEndpointChannelInput` via: +// RecipientPropertiesKvpairsInput is an input type that accepts RecipientPropertiesKvpairsArgs and RecipientPropertiesKvpairsOutput values. +// You can construct a concrete instance of `RecipientPropertiesKvpairsInput` via: // -// SqlEndpointChannelArgs{...} -type SqlEndpointChannelInput interface { +// RecipientPropertiesKvpairsArgs{...} +type RecipientPropertiesKvpairsInput interface { pulumi.Input - ToSqlEndpointChannelOutput() SqlEndpointChannelOutput - ToSqlEndpointChannelOutputWithContext(context.Context) SqlEndpointChannelOutput + ToRecipientPropertiesKvpairsOutput() RecipientPropertiesKvpairsOutput + ToRecipientPropertiesKvpairsOutputWithContext(context.Context) RecipientPropertiesKvpairsOutput } -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 RecipientPropertiesKvpairsArgs struct { + // a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. + Properties pulumi.MapInput `pulumi:"properties"` } -func (SqlEndpointChannelArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointChannel)(nil)).Elem() +func (RecipientPropertiesKvpairsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientPropertiesKvpairs)(nil)).Elem() } -func (i SqlEndpointChannelArgs) ToSqlEndpointChannelOutput() SqlEndpointChannelOutput { - return i.ToSqlEndpointChannelOutputWithContext(context.Background()) +func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsOutput() RecipientPropertiesKvpairsOutput { + return i.ToRecipientPropertiesKvpairsOutputWithContext(context.Background()) } -func (i SqlEndpointChannelArgs) ToSqlEndpointChannelOutputWithContext(ctx context.Context) SqlEndpointChannelOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelOutput) +func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientPropertiesKvpairsOutput) } -func (i SqlEndpointChannelArgs) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { - return i.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) +func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { + return i.ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Background()) } -func (i SqlEndpointChannelArgs) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelOutput).ToSqlEndpointChannelPtrOutputWithContext(ctx) +func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientPropertiesKvpairsOutput).ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx) } -// SqlEndpointChannelPtrInput is an input type that accepts SqlEndpointChannelArgs, SqlEndpointChannelPtr and SqlEndpointChannelPtrOutput values. -// You can construct a concrete instance of `SqlEndpointChannelPtrInput` via: +// RecipientPropertiesKvpairsPtrInput is an input type that accepts RecipientPropertiesKvpairsArgs, RecipientPropertiesKvpairsPtr and RecipientPropertiesKvpairsPtrOutput values. +// You can construct a concrete instance of `RecipientPropertiesKvpairsPtrInput` via: // -// SqlEndpointChannelArgs{...} +// RecipientPropertiesKvpairsArgs{...} // // or: // // nil -type SqlEndpointChannelPtrInput interface { +type RecipientPropertiesKvpairsPtrInput interface { pulumi.Input - ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput - ToSqlEndpointChannelPtrOutputWithContext(context.Context) SqlEndpointChannelPtrOutput + ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput + ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Context) RecipientPropertiesKvpairsPtrOutput } -type sqlEndpointChannelPtrType SqlEndpointChannelArgs +type recipientPropertiesKvpairsPtrType RecipientPropertiesKvpairsArgs -func SqlEndpointChannelPtr(v *SqlEndpointChannelArgs) SqlEndpointChannelPtrInput { - return (*sqlEndpointChannelPtrType)(v) +func RecipientPropertiesKvpairsPtr(v *RecipientPropertiesKvpairsArgs) RecipientPropertiesKvpairsPtrInput { + return (*recipientPropertiesKvpairsPtrType)(v) } -func (*sqlEndpointChannelPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointChannel)(nil)).Elem() +func (*recipientPropertiesKvpairsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RecipientPropertiesKvpairs)(nil)).Elem() } -func (i *sqlEndpointChannelPtrType) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { - return i.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) +func (i *recipientPropertiesKvpairsPtrType) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { + return i.ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Background()) } -func (i *sqlEndpointChannelPtrType) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelPtrOutput) +func (i *recipientPropertiesKvpairsPtrType) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientPropertiesKvpairsPtrOutput) } -type SqlEndpointChannelOutput struct{ *pulumi.OutputState } +type RecipientPropertiesKvpairsOutput struct{ *pulumi.OutputState } -func (SqlEndpointChannelOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointChannel)(nil)).Elem() +func (RecipientPropertiesKvpairsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientPropertiesKvpairs)(nil)).Elem() } -func (o SqlEndpointChannelOutput) ToSqlEndpointChannelOutput() SqlEndpointChannelOutput { +func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsOutput() RecipientPropertiesKvpairsOutput { return o } -func (o SqlEndpointChannelOutput) ToSqlEndpointChannelOutputWithContext(ctx context.Context) SqlEndpointChannelOutput { +func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsOutput { return o } -func (o SqlEndpointChannelOutput) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { - return o.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) +func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { + return o.ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Background()) } -func (o SqlEndpointChannelOutput) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointChannel) *SqlEndpointChannel { +func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RecipientPropertiesKvpairs) *RecipientPropertiesKvpairs { return &v - }).(SqlEndpointChannelPtrOutput) -} - -func (o SqlEndpointChannelOutput) DbsqlVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointChannel) *string { return v.DbsqlVersion }).(pulumi.StringPtrOutput) + }).(RecipientPropertiesKvpairsPtrOutput) } -// 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) +// a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. +func (o RecipientPropertiesKvpairsOutput) Properties() pulumi.MapOutput { + return o.ApplyT(func(v RecipientPropertiesKvpairs) map[string]interface{} { return v.Properties }).(pulumi.MapOutput) } -type SqlEndpointChannelPtrOutput struct{ *pulumi.OutputState } +type RecipientPropertiesKvpairsPtrOutput struct{ *pulumi.OutputState } -func (SqlEndpointChannelPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointChannel)(nil)).Elem() +func (RecipientPropertiesKvpairsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RecipientPropertiesKvpairs)(nil)).Elem() } -func (o SqlEndpointChannelPtrOutput) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { +func (o RecipientPropertiesKvpairsPtrOutput) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { return o } -func (o SqlEndpointChannelPtrOutput) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { +func (o RecipientPropertiesKvpairsPtrOutput) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { return o } -func (o SqlEndpointChannelPtrOutput) Elem() SqlEndpointChannelOutput { - return o.ApplyT(func(v *SqlEndpointChannel) SqlEndpointChannel { +func (o RecipientPropertiesKvpairsPtrOutput) Elem() RecipientPropertiesKvpairsOutput { + return o.ApplyT(func(v *RecipientPropertiesKvpairs) RecipientPropertiesKvpairs { if v != nil { return *v } - var ret SqlEndpointChannel + var ret RecipientPropertiesKvpairs return ret - }).(SqlEndpointChannelOutput) -} - -func (o SqlEndpointChannelPtrOutput) DbsqlVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointChannel) *string { - if v == nil { - return nil - } - return v.DbsqlVersion - }).(pulumi.StringPtrOutput) + }).(RecipientPropertiesKvpairsOutput) } -// 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 { +// a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. +func (o RecipientPropertiesKvpairsPtrOutput) Properties() pulumi.MapOutput { + return o.ApplyT(func(v *RecipientPropertiesKvpairs) map[string]interface{} { if v == nil { return nil } - return v.Name - }).(pulumi.StringPtrOutput) + return v.Properties + }).(pulumi.MapOutput) } -type SqlEndpointHealth struct { - Details *string `pulumi:"details"` - FailureReason *SqlEndpointHealthFailureReason `pulumi:"failureReason"` - Message *string `pulumi:"message"` - Status *string `pulumi:"status"` - Summary *string `pulumi:"summary"` +type RecipientToken struct { + // Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. + ActivationUrl *string `pulumi:"activationUrl"` + // Time at which this recipient was created, in epoch milliseconds. + CreatedAt *int `pulumi:"createdAt"` + // Username of recipient creator. + CreatedBy *string `pulumi:"createdBy"` + // Expiration timestamp of the token in epoch milliseconds. + ExpirationTime *int `pulumi:"expirationTime"` + // Unique ID of the recipient token. + Id *string `pulumi:"id"` + // Time at which this recipient was updated, in epoch milliseconds. + UpdatedAt *int `pulumi:"updatedAt"` + // Username of recipient Token updater. + UpdatedBy *string `pulumi:"updatedBy"` } -// SqlEndpointHealthInput is an input type that accepts SqlEndpointHealthArgs and SqlEndpointHealthOutput values. -// You can construct a concrete instance of `SqlEndpointHealthInput` via: +// RecipientTokenInput is an input type that accepts RecipientTokenArgs and RecipientTokenOutput values. +// You can construct a concrete instance of `RecipientTokenInput` via: // -// SqlEndpointHealthArgs{...} -type SqlEndpointHealthInput interface { +// RecipientTokenArgs{...} +type RecipientTokenInput interface { pulumi.Input - ToSqlEndpointHealthOutput() SqlEndpointHealthOutput - ToSqlEndpointHealthOutputWithContext(context.Context) SqlEndpointHealthOutput + ToRecipientTokenOutput() RecipientTokenOutput + ToRecipientTokenOutputWithContext(context.Context) RecipientTokenOutput } -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 RecipientTokenArgs struct { + // Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. + ActivationUrl pulumi.StringPtrInput `pulumi:"activationUrl"` + // Time at which this recipient was created, in epoch milliseconds. + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + // Username of recipient creator. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // Expiration timestamp of the token in epoch milliseconds. + ExpirationTime pulumi.IntPtrInput `pulumi:"expirationTime"` + // Unique ID of the recipient token. + Id pulumi.StringPtrInput `pulumi:"id"` + // Time at which this recipient was updated, in epoch milliseconds. + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + // Username of recipient Token updater. + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` } -func (SqlEndpointHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointHealth)(nil)).Elem() +func (RecipientTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientToken)(nil)).Elem() } -func (i SqlEndpointHealthArgs) ToSqlEndpointHealthOutput() SqlEndpointHealthOutput { - return i.ToSqlEndpointHealthOutputWithContext(context.Background()) +func (i RecipientTokenArgs) ToRecipientTokenOutput() RecipientTokenOutput { + return i.ToRecipientTokenOutputWithContext(context.Background()) } -func (i SqlEndpointHealthArgs) ToSqlEndpointHealthOutputWithContext(ctx context.Context) SqlEndpointHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthOutput) +func (i RecipientTokenArgs) ToRecipientTokenOutputWithContext(ctx context.Context) RecipientTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientTokenOutput) } -// SqlEndpointHealthArrayInput is an input type that accepts SqlEndpointHealthArray and SqlEndpointHealthArrayOutput values. -// You can construct a concrete instance of `SqlEndpointHealthArrayInput` via: +// RecipientTokenArrayInput is an input type that accepts RecipientTokenArray and RecipientTokenArrayOutput values. +// You can construct a concrete instance of `RecipientTokenArrayInput` via: // -// SqlEndpointHealthArray{ SqlEndpointHealthArgs{...} } -type SqlEndpointHealthArrayInput interface { +// RecipientTokenArray{ RecipientTokenArgs{...} } +type RecipientTokenArrayInput interface { pulumi.Input - ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput - ToSqlEndpointHealthArrayOutputWithContext(context.Context) SqlEndpointHealthArrayOutput + ToRecipientTokenArrayOutput() RecipientTokenArrayOutput + ToRecipientTokenArrayOutputWithContext(context.Context) RecipientTokenArrayOutput } -type SqlEndpointHealthArray []SqlEndpointHealthInput +type RecipientTokenArray []RecipientTokenInput -func (SqlEndpointHealthArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlEndpointHealth)(nil)).Elem() +func (RecipientTokenArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RecipientToken)(nil)).Elem() } -func (i SqlEndpointHealthArray) ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput { - return i.ToSqlEndpointHealthArrayOutputWithContext(context.Background()) +func (i RecipientTokenArray) ToRecipientTokenArrayOutput() RecipientTokenArrayOutput { + return i.ToRecipientTokenArrayOutputWithContext(context.Background()) } -func (i SqlEndpointHealthArray) ToSqlEndpointHealthArrayOutputWithContext(ctx context.Context) SqlEndpointHealthArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthArrayOutput) +func (i RecipientTokenArray) ToRecipientTokenArrayOutputWithContext(ctx context.Context) RecipientTokenArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientTokenArrayOutput) } -type SqlEndpointHealthOutput struct{ *pulumi.OutputState } +type RecipientTokenOutput struct{ *pulumi.OutputState } -func (SqlEndpointHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointHealth)(nil)).Elem() +func (RecipientTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientToken)(nil)).Elem() } -func (o SqlEndpointHealthOutput) ToSqlEndpointHealthOutput() SqlEndpointHealthOutput { +func (o RecipientTokenOutput) ToRecipientTokenOutput() RecipientTokenOutput { return o } -func (o SqlEndpointHealthOutput) ToSqlEndpointHealthOutputWithContext(ctx context.Context) SqlEndpointHealthOutput { +func (o RecipientTokenOutput) ToRecipientTokenOutputWithContext(ctx context.Context) RecipientTokenOutput { return o } -func (o SqlEndpointHealthOutput) Details() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Details }).(pulumi.StringPtrOutput) +// Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. +func (o RecipientTokenOutput) ActivationUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v RecipientToken) *string { return v.ActivationUrl }).(pulumi.StringPtrOutput) } -func (o SqlEndpointHealthOutput) FailureReason() SqlEndpointHealthFailureReasonPtrOutput { - return o.ApplyT(func(v SqlEndpointHealth) *SqlEndpointHealthFailureReason { return v.FailureReason }).(SqlEndpointHealthFailureReasonPtrOutput) +// Time at which this recipient was created, in epoch milliseconds. +func (o RecipientTokenOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v RecipientToken) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) } -func (o SqlEndpointHealthOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Message }).(pulumi.StringPtrOutput) +// Username of recipient creator. +func (o RecipientTokenOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v RecipientToken) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) } -func (o SqlEndpointHealthOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Status }).(pulumi.StringPtrOutput) +// Expiration timestamp of the token in epoch milliseconds. +func (o RecipientTokenOutput) ExpirationTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v RecipientToken) *int { return v.ExpirationTime }).(pulumi.IntPtrOutput) } -func (o SqlEndpointHealthOutput) Summary() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Summary }).(pulumi.StringPtrOutput) +// Unique ID of the recipient token. +func (o RecipientTokenOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v RecipientToken) *string { return v.Id }).(pulumi.StringPtrOutput) } -type SqlEndpointHealthArrayOutput struct{ *pulumi.OutputState } +// Time at which this recipient was updated, in epoch milliseconds. +func (o RecipientTokenOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v RecipientToken) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +} -func (SqlEndpointHealthArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlEndpointHealth)(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 SqlEndpointHealthArrayOutput) ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput { +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 SqlEndpointHealthArrayOutput) ToSqlEndpointHealthArrayOutputWithContext(ctx context.Context) SqlEndpointHealthArrayOutput { +func (o RecipientTokenArrayOutput) ToRecipientTokenArrayOutputWithContext(ctx context.Context) RecipientTokenArrayOutput { return o } -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 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 SqlEndpointHealthFailureReason struct { - Code *string `pulumi:"code"` - Parameters map[string]interface{} `pulumi:"parameters"` - Type *string `pulumi:"type"` +type RepoSparseCheckout struct { + // array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. + // + // Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. + Patterns []string `pulumi:"patterns"` } -// SqlEndpointHealthFailureReasonInput is an input type that accepts SqlEndpointHealthFailureReasonArgs and SqlEndpointHealthFailureReasonOutput values. -// You can construct a concrete instance of `SqlEndpointHealthFailureReasonInput` via: +// RepoSparseCheckoutInput is an input type that accepts RepoSparseCheckoutArgs and RepoSparseCheckoutOutput values. +// You can construct a concrete instance of `RepoSparseCheckoutInput` via: // -// SqlEndpointHealthFailureReasonArgs{...} -type SqlEndpointHealthFailureReasonInput interface { +// RepoSparseCheckoutArgs{...} +type RepoSparseCheckoutInput interface { pulumi.Input - ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput - ToSqlEndpointHealthFailureReasonOutputWithContext(context.Context) SqlEndpointHealthFailureReasonOutput + ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput + ToRepoSparseCheckoutOutputWithContext(context.Context) RepoSparseCheckoutOutput } -type SqlEndpointHealthFailureReasonArgs struct { - Code pulumi.StringPtrInput `pulumi:"code"` - Parameters pulumi.MapInput `pulumi:"parameters"` - Type pulumi.StringPtrInput `pulumi:"type"` +type RepoSparseCheckoutArgs struct { + // array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. + // + // Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. + Patterns pulumi.StringArrayInput `pulumi:"patterns"` } -func (SqlEndpointHealthFailureReasonArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointHealthFailureReason)(nil)).Elem() +func (RepoSparseCheckoutArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RepoSparseCheckout)(nil)).Elem() } -func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput { - return i.ToSqlEndpointHealthFailureReasonOutputWithContext(context.Background()) +func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput { + return i.ToRepoSparseCheckoutOutputWithContext(context.Background()) } -func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonOutput) +func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutOutputWithContext(ctx context.Context) RepoSparseCheckoutOutput { + return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutOutput) } -func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { - return i.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) +func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { + return i.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) } -func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonOutput).ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx) +func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutOutput).ToRepoSparseCheckoutPtrOutputWithContext(ctx) } -// SqlEndpointHealthFailureReasonPtrInput is an input type that accepts SqlEndpointHealthFailureReasonArgs, SqlEndpointHealthFailureReasonPtr and SqlEndpointHealthFailureReasonPtrOutput values. -// You can construct a concrete instance of `SqlEndpointHealthFailureReasonPtrInput` via: +// RepoSparseCheckoutPtrInput is an input type that accepts RepoSparseCheckoutArgs, RepoSparseCheckoutPtr and RepoSparseCheckoutPtrOutput values. +// You can construct a concrete instance of `RepoSparseCheckoutPtrInput` via: // -// SqlEndpointHealthFailureReasonArgs{...} +// RepoSparseCheckoutArgs{...} // // or: // // nil -type SqlEndpointHealthFailureReasonPtrInput interface { +type RepoSparseCheckoutPtrInput interface { pulumi.Input - ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput - ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Context) SqlEndpointHealthFailureReasonPtrOutput + ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput + ToRepoSparseCheckoutPtrOutputWithContext(context.Context) RepoSparseCheckoutPtrOutput } -type sqlEndpointHealthFailureReasonPtrType SqlEndpointHealthFailureReasonArgs +type repoSparseCheckoutPtrType RepoSparseCheckoutArgs -func SqlEndpointHealthFailureReasonPtr(v *SqlEndpointHealthFailureReasonArgs) SqlEndpointHealthFailureReasonPtrInput { - return (*sqlEndpointHealthFailureReasonPtrType)(v) +func RepoSparseCheckoutPtr(v *RepoSparseCheckoutArgs) RepoSparseCheckoutPtrInput { + return (*repoSparseCheckoutPtrType)(v) } -func (*sqlEndpointHealthFailureReasonPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointHealthFailureReason)(nil)).Elem() +func (*repoSparseCheckoutPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RepoSparseCheckout)(nil)).Elem() } -func (i *sqlEndpointHealthFailureReasonPtrType) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { - return i.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) +func (i *repoSparseCheckoutPtrType) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { + return i.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) } -func (i *sqlEndpointHealthFailureReasonPtrType) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonPtrOutput) +func (i *repoSparseCheckoutPtrType) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutPtrOutput) } -type SqlEndpointHealthFailureReasonOutput struct{ *pulumi.OutputState } +type RepoSparseCheckoutOutput struct{ *pulumi.OutputState } -func (SqlEndpointHealthFailureReasonOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointHealthFailureReason)(nil)).Elem() +func (RepoSparseCheckoutOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RepoSparseCheckout)(nil)).Elem() } -func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput { +func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput { return o } -func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonOutput { +func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutOutputWithContext(ctx context.Context) RepoSparseCheckoutOutput { return o } -func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { - return o.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) +func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { + return o.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) } -func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointHealthFailureReason) *SqlEndpointHealthFailureReason { +func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RepoSparseCheckout) *RepoSparseCheckout { return &v - }).(SqlEndpointHealthFailureReasonPtrOutput) -} - -func (o SqlEndpointHealthFailureReasonOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealthFailureReason) *string { return v.Code }).(pulumi.StringPtrOutput) -} - -func (o SqlEndpointHealthFailureReasonOutput) Parameters() pulumi.MapOutput { - return o.ApplyT(func(v SqlEndpointHealthFailureReason) map[string]interface{} { return v.Parameters }).(pulumi.MapOutput) + }).(RepoSparseCheckoutPtrOutput) } -func (o SqlEndpointHealthFailureReasonOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealthFailureReason) *string { return v.Type }).(pulumi.StringPtrOutput) +// array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. +// +// Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. +func (o RepoSparseCheckoutOutput) Patterns() pulumi.StringArrayOutput { + return o.ApplyT(func(v RepoSparseCheckout) []string { return v.Patterns }).(pulumi.StringArrayOutput) } -type SqlEndpointHealthFailureReasonPtrOutput struct{ *pulumi.OutputState } +type RepoSparseCheckoutPtrOutput struct{ *pulumi.OutputState } -func (SqlEndpointHealthFailureReasonPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointHealthFailureReason)(nil)).Elem() +func (RepoSparseCheckoutPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RepoSparseCheckout)(nil)).Elem() } -func (o SqlEndpointHealthFailureReasonPtrOutput) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { +func (o RepoSparseCheckoutPtrOutput) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { return o } -func (o SqlEndpointHealthFailureReasonPtrOutput) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { +func (o RepoSparseCheckoutPtrOutput) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { return o } -func (o SqlEndpointHealthFailureReasonPtrOutput) Elem() SqlEndpointHealthFailureReasonOutput { - return o.ApplyT(func(v *SqlEndpointHealthFailureReason) SqlEndpointHealthFailureReason { +func (o RepoSparseCheckoutPtrOutput) Elem() RepoSparseCheckoutOutput { + return o.ApplyT(func(v *RepoSparseCheckout) RepoSparseCheckout { if v != nil { return *v } - var ret SqlEndpointHealthFailureReason + var ret RepoSparseCheckout return ret - }).(SqlEndpointHealthFailureReasonOutput) -} - -func (o SqlEndpointHealthFailureReasonPtrOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointHealthFailureReason) *string { - if v == nil { - return nil - } - return v.Code - }).(pulumi.StringPtrOutput) -} - -func (o SqlEndpointHealthFailureReasonPtrOutput) Parameters() pulumi.MapOutput { - return o.ApplyT(func(v *SqlEndpointHealthFailureReason) map[string]interface{} { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.MapOutput) + }).(RepoSparseCheckoutOutput) } -func (o SqlEndpointHealthFailureReasonPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointHealthFailureReason) *string { +// array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. +// +// Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. +func (o RepoSparseCheckoutPtrOutput) Patterns() pulumi.StringArrayOutput { + return o.ApplyT(func(v *RepoSparseCheckout) []string { if v == nil { return nil } - return v.Type - }).(pulumi.StringPtrOutput) + return v.Patterns + }).(pulumi.StringArrayOutput) } -type SqlEndpointOdbcParams struct { - Hostname *string `pulumi:"hostname"` - Path *string `pulumi:"path"` - Port *int `pulumi:"port"` - Protocol *string `pulumi:"protocol"` +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins struct { + // The restrict workspace admins status for the workspace. + Status string `pulumi:"status"` } -// SqlEndpointOdbcParamsInput is an input type that accepts SqlEndpointOdbcParamsArgs and SqlEndpointOdbcParamsOutput values. -// You can construct a concrete instance of `SqlEndpointOdbcParamsInput` via: +// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput is an input type that accepts RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs and RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput values. +// You can construct a concrete instance of `RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput` via: // -// SqlEndpointOdbcParamsArgs{...} -type SqlEndpointOdbcParamsInput interface { +// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs{...} +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput interface { pulumi.Input - ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput - ToSqlEndpointOdbcParamsOutputWithContext(context.Context) SqlEndpointOdbcParamsOutput + ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput + ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput } -type SqlEndpointOdbcParamsArgs struct { - Hostname pulumi.StringPtrInput `pulumi:"hostname"` - Path pulumi.StringPtrInput `pulumi:"path"` - Port pulumi.IntPtrInput `pulumi:"port"` - Protocol pulumi.StringPtrInput `pulumi:"protocol"` +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs struct { + // The restrict workspace admins status for the workspace. + Status pulumi.StringInput `pulumi:"status"` } -func (SqlEndpointOdbcParamsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointOdbcParams)(nil)).Elem() +func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() } -func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput { - return i.ToSqlEndpointOdbcParamsOutputWithContext(context.Background()) +func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { + return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(context.Background()) } -func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsOutput) +func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { + return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) } -func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { - return i.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) +func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) } -func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsOutput).ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx) +func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput).ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx) } -// SqlEndpointOdbcParamsPtrInput is an input type that accepts SqlEndpointOdbcParamsArgs, SqlEndpointOdbcParamsPtr and SqlEndpointOdbcParamsPtrOutput values. -// You can construct a concrete instance of `SqlEndpointOdbcParamsPtrInput` via: +// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput is an input type that accepts RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs, RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtr and RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput values. +// You can construct a concrete instance of `RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput` via: // -// SqlEndpointOdbcParamsArgs{...} +// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs{...} // // or: // // nil -type SqlEndpointOdbcParamsPtrInput interface { +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput interface { pulumi.Input - ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput - ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Context) SqlEndpointOdbcParamsPtrOutput + ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput + ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput } -type sqlEndpointOdbcParamsPtrType SqlEndpointOdbcParamsArgs +type restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs -func SqlEndpointOdbcParamsPtr(v *SqlEndpointOdbcParamsArgs) SqlEndpointOdbcParamsPtrInput { - return (*sqlEndpointOdbcParamsPtrType)(v) +func RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtr(v *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput { + return (*restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType)(v) } -func (*sqlEndpointOdbcParamsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointOdbcParams)(nil)).Elem() +func (*restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() } -func (i *sqlEndpointOdbcParamsPtrType) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { - return i.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) +func (i *restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) } -func (i *sqlEndpointOdbcParamsPtrType) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsPtrOutput) +func (i *restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) } -type SqlEndpointOdbcParamsOutput struct{ *pulumi.OutputState } +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput struct{ *pulumi.OutputState } -func (SqlEndpointOdbcParamsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointOdbcParams)(nil)).Elem() +func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() } -func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { return o } -func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsOutput { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { return o } -func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { - return o.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return o.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) } -func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointOdbcParams) *SqlEndpointOdbcParams { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins { return &v - }).(SqlEndpointOdbcParamsPtrOutput) -} - -func (o SqlEndpointOdbcParamsOutput) Hostname() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Hostname }).(pulumi.StringPtrOutput) -} - -func (o SqlEndpointOdbcParamsOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Path }).(pulumi.StringPtrOutput) -} - -func (o SqlEndpointOdbcParamsOutput) Port() pulumi.IntPtrOutput { - return o.ApplyT(func(v SqlEndpointOdbcParams) *int { return v.Port }).(pulumi.IntPtrOutput) + }).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) } -func (o SqlEndpointOdbcParamsOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Protocol }).(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 SqlEndpointOdbcParamsPtrOutput struct{ *pulumi.OutputState } +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput struct{ *pulumi.OutputState } -func (SqlEndpointOdbcParamsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointOdbcParams)(nil)).Elem() +func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() } -func (o SqlEndpointOdbcParamsPtrOutput) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { return o } -func (o SqlEndpointOdbcParamsPtrOutput) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { return o } -func (o SqlEndpointOdbcParamsPtrOutput) Elem() SqlEndpointOdbcParamsOutput { - return o.ApplyT(func(v *SqlEndpointOdbcParams) SqlEndpointOdbcParams { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) Elem() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { + return o.ApplyT(func(v *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins { if v != nil { return *v } - var ret SqlEndpointOdbcParams + var ret RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins return ret - }).(SqlEndpointOdbcParamsOutput) -} - -func (o SqlEndpointOdbcParamsPtrOutput) Hostname() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { - if v == nil { - return nil - } - return v.Hostname - }).(pulumi.StringPtrOutput) -} - -func (o SqlEndpointOdbcParamsPtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { - if v == nil { - return nil - } - return v.Path - }).(pulumi.StringPtrOutput) -} - -func (o SqlEndpointOdbcParamsPtrOutput) Port() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlEndpointOdbcParams) *int { - if v == nil { - return nil - } - return v.Port - }).(pulumi.IntPtrOutput) + }).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) } -func (o SqlEndpointOdbcParamsPtrOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointOdbcParams) *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.Protocol + return &v.Status }).(pulumi.StringPtrOutput) } -type SqlEndpointTags struct { - CustomTags []SqlEndpointTagsCustomTag `pulumi:"customTags"` +type SecretScopeKeyvaultMetadata struct { + DnsName string `pulumi:"dnsName"` + ResourceId string `pulumi:"resourceId"` } -// SqlEndpointTagsInput is an input type that accepts SqlEndpointTagsArgs and SqlEndpointTagsOutput values. -// You can construct a concrete instance of `SqlEndpointTagsInput` via: +// SecretScopeKeyvaultMetadataInput is an input type that accepts SecretScopeKeyvaultMetadataArgs and SecretScopeKeyvaultMetadataOutput values. +// You can construct a concrete instance of `SecretScopeKeyvaultMetadataInput` via: // -// SqlEndpointTagsArgs{...} -type SqlEndpointTagsInput interface { +// SecretScopeKeyvaultMetadataArgs{...} +type SecretScopeKeyvaultMetadataInput interface { pulumi.Input - ToSqlEndpointTagsOutput() SqlEndpointTagsOutput - ToSqlEndpointTagsOutputWithContext(context.Context) SqlEndpointTagsOutput + ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput + ToSecretScopeKeyvaultMetadataOutputWithContext(context.Context) SecretScopeKeyvaultMetadataOutput } -type SqlEndpointTagsArgs struct { - CustomTags SqlEndpointTagsCustomTagArrayInput `pulumi:"customTags"` +type SecretScopeKeyvaultMetadataArgs struct { + DnsName pulumi.StringInput `pulumi:"dnsName"` + ResourceId pulumi.StringInput `pulumi:"resourceId"` } -func (SqlEndpointTagsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointTags)(nil)).Elem() +func (SecretScopeKeyvaultMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretScopeKeyvaultMetadata)(nil)).Elem() } -func (i SqlEndpointTagsArgs) ToSqlEndpointTagsOutput() SqlEndpointTagsOutput { - return i.ToSqlEndpointTagsOutputWithContext(context.Background()) +func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput { + return i.ToSecretScopeKeyvaultMetadataOutputWithContext(context.Background()) } -func (i SqlEndpointTagsArgs) ToSqlEndpointTagsOutputWithContext(ctx context.Context) SqlEndpointTagsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsOutput) +func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataOutput) } -func (i SqlEndpointTagsArgs) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { - return i.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) +func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { + return i.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) } -func (i SqlEndpointTagsArgs) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsOutput).ToSqlEndpointTagsPtrOutputWithContext(ctx) +func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataOutput).ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx) } -// SqlEndpointTagsPtrInput is an input type that accepts SqlEndpointTagsArgs, SqlEndpointTagsPtr and SqlEndpointTagsPtrOutput values. -// You can construct a concrete instance of `SqlEndpointTagsPtrInput` via: +// SecretScopeKeyvaultMetadataPtrInput is an input type that accepts SecretScopeKeyvaultMetadataArgs, SecretScopeKeyvaultMetadataPtr and SecretScopeKeyvaultMetadataPtrOutput values. +// You can construct a concrete instance of `SecretScopeKeyvaultMetadataPtrInput` via: // -// SqlEndpointTagsArgs{...} +// SecretScopeKeyvaultMetadataArgs{...} // // or: // // nil -type SqlEndpointTagsPtrInput interface { +type SecretScopeKeyvaultMetadataPtrInput interface { pulumi.Input - ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput - ToSqlEndpointTagsPtrOutputWithContext(context.Context) SqlEndpointTagsPtrOutput + ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput + ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Context) SecretScopeKeyvaultMetadataPtrOutput } -type sqlEndpointTagsPtrType SqlEndpointTagsArgs +type secretScopeKeyvaultMetadataPtrType SecretScopeKeyvaultMetadataArgs -func SqlEndpointTagsPtr(v *SqlEndpointTagsArgs) SqlEndpointTagsPtrInput { - return (*sqlEndpointTagsPtrType)(v) +func SecretScopeKeyvaultMetadataPtr(v *SecretScopeKeyvaultMetadataArgs) SecretScopeKeyvaultMetadataPtrInput { + return (*secretScopeKeyvaultMetadataPtrType)(v) } -func (*sqlEndpointTagsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointTags)(nil)).Elem() +func (*secretScopeKeyvaultMetadataPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecretScopeKeyvaultMetadata)(nil)).Elem() } -func (i *sqlEndpointTagsPtrType) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { - return i.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) +func (i *secretScopeKeyvaultMetadataPtrType) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { + return i.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) } -func (i *sqlEndpointTagsPtrType) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsPtrOutput) +func (i *secretScopeKeyvaultMetadataPtrType) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataPtrOutput) } -type SqlEndpointTagsOutput struct{ *pulumi.OutputState } +type SecretScopeKeyvaultMetadataOutput struct{ *pulumi.OutputState } -func (SqlEndpointTagsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointTags)(nil)).Elem() +func (SecretScopeKeyvaultMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretScopeKeyvaultMetadata)(nil)).Elem() } -func (o SqlEndpointTagsOutput) ToSqlEndpointTagsOutput() SqlEndpointTagsOutput { +func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput { return o } -func (o SqlEndpointTagsOutput) ToSqlEndpointTagsOutputWithContext(ctx context.Context) SqlEndpointTagsOutput { +func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataOutput { return o } -func (o SqlEndpointTagsOutput) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { - return o.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) +func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { + return o.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) } -func (o SqlEndpointTagsOutput) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointTags) *SqlEndpointTags { +func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretScopeKeyvaultMetadata) *SecretScopeKeyvaultMetadata { return &v - }).(SqlEndpointTagsPtrOutput) + }).(SecretScopeKeyvaultMetadataPtrOutput) } -func (o SqlEndpointTagsOutput) CustomTags() SqlEndpointTagsCustomTagArrayOutput { - return o.ApplyT(func(v SqlEndpointTags) []SqlEndpointTagsCustomTag { return v.CustomTags }).(SqlEndpointTagsCustomTagArrayOutput) +func (o SecretScopeKeyvaultMetadataOutput) DnsName() pulumi.StringOutput { + return o.ApplyT(func(v SecretScopeKeyvaultMetadata) string { return v.DnsName }).(pulumi.StringOutput) } -type SqlEndpointTagsPtrOutput struct{ *pulumi.OutputState } +func (o SecretScopeKeyvaultMetadataOutput) ResourceId() pulumi.StringOutput { + return o.ApplyT(func(v SecretScopeKeyvaultMetadata) string { return v.ResourceId }).(pulumi.StringOutput) +} -func (SqlEndpointTagsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointTags)(nil)).Elem() +type SecretScopeKeyvaultMetadataPtrOutput struct{ *pulumi.OutputState } + +func (SecretScopeKeyvaultMetadataPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecretScopeKeyvaultMetadata)(nil)).Elem() } -func (o SqlEndpointTagsPtrOutput) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { +func (o SecretScopeKeyvaultMetadataPtrOutput) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { return o } -func (o SqlEndpointTagsPtrOutput) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { +func (o SecretScopeKeyvaultMetadataPtrOutput) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { return o } -func (o SqlEndpointTagsPtrOutput) Elem() SqlEndpointTagsOutput { - return o.ApplyT(func(v *SqlEndpointTags) SqlEndpointTags { +func (o SecretScopeKeyvaultMetadataPtrOutput) Elem() SecretScopeKeyvaultMetadataOutput { + return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) SecretScopeKeyvaultMetadata { if v != nil { return *v } - var ret SqlEndpointTags + var ret SecretScopeKeyvaultMetadata return ret - }).(SqlEndpointTagsOutput) + }).(SecretScopeKeyvaultMetadataOutput) } -func (o SqlEndpointTagsPtrOutput) CustomTags() SqlEndpointTagsCustomTagArrayOutput { - return o.ApplyT(func(v *SqlEndpointTags) []SqlEndpointTagsCustomTag { +func (o SecretScopeKeyvaultMetadataPtrOutput) DnsName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) *string { if v == nil { return nil } - return v.CustomTags - }).(SqlEndpointTagsCustomTagArrayOutput) + return &v.DnsName + }).(pulumi.StringPtrOutput) } -type SqlEndpointTagsCustomTag struct { - Key string `pulumi:"key"` - Value string `pulumi:"value"` +func (o SecretScopeKeyvaultMetadataPtrOutput) ResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) *string { + if v == nil { + return nil + } + return &v.ResourceId + }).(pulumi.StringPtrOutput) } -// SqlEndpointTagsCustomTagInput is an input type that accepts SqlEndpointTagsCustomTagArgs and SqlEndpointTagsCustomTagOutput values. -// You can construct a concrete instance of `SqlEndpointTagsCustomTagInput` via: +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"` +} + +// ShareObjectInput is an input type that accepts ShareObjectArgs and ShareObjectOutput values. +// You can construct a concrete instance of `ShareObjectInput` via: // -// SqlEndpointTagsCustomTagArgs{...} -type SqlEndpointTagsCustomTagInput interface { +// ShareObjectArgs{...} +type ShareObjectInput interface { pulumi.Input - ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput - ToSqlEndpointTagsCustomTagOutputWithContext(context.Context) SqlEndpointTagsCustomTagOutput + ToShareObjectOutput() ShareObjectOutput + ToShareObjectOutputWithContext(context.Context) ShareObjectOutput } -type SqlEndpointTagsCustomTagArgs struct { - Key pulumi.StringInput `pulumi:"key"` - Value pulumi.StringInput `pulumi:"value"` +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 (SqlEndpointTagsCustomTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointTagsCustomTag)(nil)).Elem() +func (ShareObjectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObject)(nil)).Elem() } -func (i SqlEndpointTagsCustomTagArgs) ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput { - return i.ToSqlEndpointTagsCustomTagOutputWithContext(context.Background()) +func (i ShareObjectArgs) ToShareObjectOutput() ShareObjectOutput { + return i.ToShareObjectOutputWithContext(context.Background()) } -func (i SqlEndpointTagsCustomTagArgs) ToSqlEndpointTagsCustomTagOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsCustomTagOutput) +func (i ShareObjectArgs) ToShareObjectOutputWithContext(ctx context.Context) ShareObjectOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectOutput) } -// SqlEndpointTagsCustomTagArrayInput is an input type that accepts SqlEndpointTagsCustomTagArray and SqlEndpointTagsCustomTagArrayOutput values. -// You can construct a concrete instance of `SqlEndpointTagsCustomTagArrayInput` via: +// ShareObjectArrayInput is an input type that accepts ShareObjectArray and ShareObjectArrayOutput values. +// You can construct a concrete instance of `ShareObjectArrayInput` via: // -// SqlEndpointTagsCustomTagArray{ SqlEndpointTagsCustomTagArgs{...} } -type SqlEndpointTagsCustomTagArrayInput interface { +// ShareObjectArray{ ShareObjectArgs{...} } +type ShareObjectArrayInput interface { pulumi.Input - ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput - ToSqlEndpointTagsCustomTagArrayOutputWithContext(context.Context) SqlEndpointTagsCustomTagArrayOutput + ToShareObjectArrayOutput() ShareObjectArrayOutput + ToShareObjectArrayOutputWithContext(context.Context) ShareObjectArrayOutput } -type SqlEndpointTagsCustomTagArray []SqlEndpointTagsCustomTagInput +type ShareObjectArray []ShareObjectInput -func (SqlEndpointTagsCustomTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlEndpointTagsCustomTag)(nil)).Elem() -} +func (ShareObjectArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObject)(nil)).Elem() +} -func (i SqlEndpointTagsCustomTagArray) ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput { - return i.ToSqlEndpointTagsCustomTagArrayOutputWithContext(context.Background()) +func (i ShareObjectArray) ToShareObjectArrayOutput() ShareObjectArrayOutput { + return i.ToShareObjectArrayOutputWithContext(context.Background()) } -func (i SqlEndpointTagsCustomTagArray) ToSqlEndpointTagsCustomTagArrayOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsCustomTagArrayOutput) +func (i ShareObjectArray) ToShareObjectArrayOutputWithContext(ctx context.Context) ShareObjectArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectArrayOutput) } -type SqlEndpointTagsCustomTagOutput struct{ *pulumi.OutputState } +type ShareObjectOutput struct{ *pulumi.OutputState } -func (SqlEndpointTagsCustomTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointTagsCustomTag)(nil)).Elem() +func (ShareObjectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObject)(nil)).Elem() } -func (o SqlEndpointTagsCustomTagOutput) ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput { +func (o ShareObjectOutput) ToShareObjectOutput() ShareObjectOutput { return o } -func (o SqlEndpointTagsCustomTagOutput) ToSqlEndpointTagsCustomTagOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagOutput { +func (o ShareObjectOutput) ToShareObjectOutputWithContext(ctx context.Context) ShareObjectOutput { return o } -func (o SqlEndpointTagsCustomTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v SqlEndpointTagsCustomTag) string { return v.Key }).(pulumi.StringOutput) +func (o ShareObjectOutput) AddedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v ShareObject) *int { return v.AddedAt }).(pulumi.IntPtrOutput) } -func (o SqlEndpointTagsCustomTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlEndpointTagsCustomTag) string { return v.Value }).(pulumi.StringOutput) +func (o ShareObjectOutput) AddedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShareObject) *string { return v.AddedBy }).(pulumi.StringPtrOutput) } -type SqlEndpointTagsCustomTagArrayOutput struct{ *pulumi.OutputState } +// 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 (SqlEndpointTagsCustomTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlEndpointTagsCustomTag)(nil)).Elem() +// Description about the object. +func (o ShareObjectOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShareObject) *string { return v.Comment }).(pulumi.StringPtrOutput) } -func (o SqlEndpointTagsCustomTagArrayOutput) ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput { - return o +// Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. +func (o ShareObjectOutput) DataObjectType() pulumi.StringOutput { + return o.ApplyT(func(v ShareObject) string { return v.DataObjectType }).(pulumi.StringOutput) } -func (o SqlEndpointTagsCustomTagArrayOutput) ToSqlEndpointTagsCustomTagArrayOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagArrayOutput { - return o +// 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 SqlEndpointTagsCustomTagArrayOutput) Index(i pulumi.IntInput) SqlEndpointTagsCustomTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlEndpointTagsCustomTag { - return vs[0].([]SqlEndpointTagsCustomTag)[vs[1].(int)] - }).(SqlEndpointTagsCustomTagOutput) +// Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. +func (o ShareObjectOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ShareObject) string { return v.Name }).(pulumi.StringOutput) } -type SqlPermissionsPrivilegeAssignment struct { - // `displayName` for a Group or databricks_user, `applicationId` for a databricks_service_principal. - Principal string `pulumi:"principal"` - Privileges []string `pulumi:"privileges"` +func (o ShareObjectOutput) Partitions() ShareObjectPartitionArrayOutput { + return o.ApplyT(func(v ShareObject) []ShareObjectPartition { return v.Partitions }).(ShareObjectPartitionArrayOutput) } -// 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 +// 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) +} - ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput - ToSqlPermissionsPrivilegeAssignmentOutputWithContext(context.Context) SqlPermissionsPrivilegeAssignmentOutput +// 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) } -type SqlPermissionsPrivilegeAssignmentArgs struct { - // `displayName` for a Group or databricks_user, `applicationId` for a databricks_service_principal. - Principal pulumi.StringInput `pulumi:"principal"` - Privileges pulumi.StringArrayInput `pulumi:"privileges"` +// 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 (SqlPermissionsPrivilegeAssignmentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlPermissionsPrivilegeAssignment)(nil)).Elem() +type ShareObjectArrayOutput struct{ *pulumi.OutputState } + +func (ShareObjectArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObject)(nil)).Elem() } -func (i SqlPermissionsPrivilegeAssignmentArgs) ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput { - return i.ToSqlPermissionsPrivilegeAssignmentOutputWithContext(context.Background()) +func (o ShareObjectArrayOutput) ToShareObjectArrayOutput() ShareObjectArrayOutput { + return o } -func (i SqlPermissionsPrivilegeAssignmentArgs) ToSqlPermissionsPrivilegeAssignmentOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlPermissionsPrivilegeAssignmentOutput) +func (o ShareObjectArrayOutput) ToShareObjectArrayOutputWithContext(ctx context.Context) ShareObjectArrayOutput { + return o } -// SqlPermissionsPrivilegeAssignmentArrayInput is an input type that accepts SqlPermissionsPrivilegeAssignmentArray and SqlPermissionsPrivilegeAssignmentArrayOutput values. -// You can construct a concrete instance of `SqlPermissionsPrivilegeAssignmentArrayInput` via: +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 ShareObjectPartition struct { + Values []ShareObjectPartitionValue `pulumi:"values"` +} + +// ShareObjectPartitionInput is an input type that accepts ShareObjectPartitionArgs and ShareObjectPartitionOutput values. +// You can construct a concrete instance of `ShareObjectPartitionInput` via: // -// SqlPermissionsPrivilegeAssignmentArray{ SqlPermissionsPrivilegeAssignmentArgs{...} } -type SqlPermissionsPrivilegeAssignmentArrayInput interface { +// ShareObjectPartitionArgs{...} +type ShareObjectPartitionInput interface { pulumi.Input - ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput - ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput + ToShareObjectPartitionOutput() ShareObjectPartitionOutput + ToShareObjectPartitionOutputWithContext(context.Context) ShareObjectPartitionOutput } -type SqlPermissionsPrivilegeAssignmentArray []SqlPermissionsPrivilegeAssignmentInput +type ShareObjectPartitionArgs struct { + Values ShareObjectPartitionValueArrayInput `pulumi:"values"` +} -func (SqlPermissionsPrivilegeAssignmentArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlPermissionsPrivilegeAssignment)(nil)).Elem() +func (ShareObjectPartitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObjectPartition)(nil)).Elem() } -func (i SqlPermissionsPrivilegeAssignmentArray) ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput { - return i.ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(context.Background()) +func (i ShareObjectPartitionArgs) ToShareObjectPartitionOutput() ShareObjectPartitionOutput { + return i.ToShareObjectPartitionOutputWithContext(context.Background()) } -func (i SqlPermissionsPrivilegeAssignmentArray) ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlPermissionsPrivilegeAssignmentArrayOutput) +func (i ShareObjectPartitionArgs) ToShareObjectPartitionOutputWithContext(ctx context.Context) ShareObjectPartitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionOutput) } -type SqlPermissionsPrivilegeAssignmentOutput struct{ *pulumi.OutputState } +// 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 -func (SqlPermissionsPrivilegeAssignmentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlPermissionsPrivilegeAssignment)(nil)).Elem() + ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput + ToShareObjectPartitionArrayOutputWithContext(context.Context) ShareObjectPartitionArrayOutput } -func (o SqlPermissionsPrivilegeAssignmentOutput) ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput { - return o -} +type ShareObjectPartitionArray []ShareObjectPartitionInput -func (o SqlPermissionsPrivilegeAssignmentOutput) ToSqlPermissionsPrivilegeAssignmentOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentOutput { - return o +func (ShareObjectPartitionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObjectPartition)(nil)).Elem() } -// `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 (i ShareObjectPartitionArray) ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput { + return i.ToShareObjectPartitionArrayOutputWithContext(context.Background()) } -func (o SqlPermissionsPrivilegeAssignmentOutput) Privileges() pulumi.StringArrayOutput { - return o.ApplyT(func(v SqlPermissionsPrivilegeAssignment) []string { return v.Privileges }).(pulumi.StringArrayOutput) +func (i ShareObjectPartitionArray) ToShareObjectPartitionArrayOutputWithContext(ctx context.Context) ShareObjectPartitionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionArrayOutput) } -type SqlPermissionsPrivilegeAssignmentArrayOutput struct{ *pulumi.OutputState } +type ShareObjectPartitionOutput struct{ *pulumi.OutputState } -func (SqlPermissionsPrivilegeAssignmentArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlPermissionsPrivilegeAssignment)(nil)).Elem() +func (ShareObjectPartitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObjectPartition)(nil)).Elem() } -func (o SqlPermissionsPrivilegeAssignmentArrayOutput) ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput { +func (o ShareObjectPartitionOutput) ToShareObjectPartitionOutput() ShareObjectPartitionOutput { return o } -func (o SqlPermissionsPrivilegeAssignmentArrayOutput) ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput { +func (o ShareObjectPartitionOutput) ToShareObjectPartitionOutputWithContext(ctx context.Context) ShareObjectPartitionOutput { 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"` +func (o ShareObjectPartitionOutput) Values() ShareObjectPartitionValueArrayOutput { + return o.ApplyT(func(v ShareObjectPartition) []ShareObjectPartitionValue { return v.Values }).(ShareObjectPartitionValueArrayOutput) } -// SqlQueryParameterInput is an input type that accepts SqlQueryParameterArgs and SqlQueryParameterOutput values. -// You can construct a concrete instance of `SqlQueryParameterInput` via: -// -// SqlQueryParameterArgs{...} -type SqlQueryParameterInput interface { - pulumi.Input +type ShareObjectPartitionArrayOutput struct{ *pulumi.OutputState } - ToSqlQueryParameterOutput() SqlQueryParameterOutput - ToSqlQueryParameterOutputWithContext(context.Context) SqlQueryParameterOutput +func (ShareObjectPartitionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObjectPartition)(nil)).Elem() } -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 (o ShareObjectPartitionArrayOutput) ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput { + return o } -func (SqlQueryParameterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameter)(nil)).Elem() +func (o ShareObjectPartitionArrayOutput) ToShareObjectPartitionArrayOutputWithContext(ctx context.Context) ShareObjectPartitionArrayOutput { + return o } -func (i SqlQueryParameterArgs) ToSqlQueryParameterOutput() SqlQueryParameterOutput { - return i.ToSqlQueryParameterOutputWithContext(context.Background()) +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 SqlQueryParameterArgs) ToSqlQueryParameterOutputWithContext(ctx context.Context) SqlQueryParameterOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterOutput) +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"` } -// SqlQueryParameterArrayInput is an input type that accepts SqlQueryParameterArray and SqlQueryParameterArrayOutput values. -// You can construct a concrete instance of `SqlQueryParameterArrayInput` via: +// ShareObjectPartitionValueInput is an input type that accepts ShareObjectPartitionValueArgs and ShareObjectPartitionValueOutput values. +// You can construct a concrete instance of `ShareObjectPartitionValueInput` via: // -// SqlQueryParameterArray{ SqlQueryParameterArgs{...} } -type SqlQueryParameterArrayInput interface { +// ShareObjectPartitionValueArgs{...} +type ShareObjectPartitionValueInput interface { pulumi.Input - ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput - ToSqlQueryParameterArrayOutputWithContext(context.Context) SqlQueryParameterArrayOutput + ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput + ToShareObjectPartitionValueOutputWithContext(context.Context) ShareObjectPartitionValueOutput } -type SqlQueryParameterArray []SqlQueryParameterInput - -func (SqlQueryParameterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlQueryParameter)(nil)).Elem() +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 SqlQueryParameterArray) ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput { - return i.ToSqlQueryParameterArrayOutputWithContext(context.Background()) +func (ShareObjectPartitionValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObjectPartitionValue)(nil)).Elem() } -func (i SqlQueryParameterArray) ToSqlQueryParameterArrayOutputWithContext(ctx context.Context) SqlQueryParameterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterArrayOutput) +func (i ShareObjectPartitionValueArgs) ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput { + return i.ToShareObjectPartitionValueOutputWithContext(context.Background()) } -type SqlQueryParameterOutput struct{ *pulumi.OutputState } - -func (SqlQueryParameterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameter)(nil)).Elem() +func (i ShareObjectPartitionValueArgs) ToShareObjectPartitionValueOutputWithContext(ctx context.Context) ShareObjectPartitionValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionValueOutput) } -func (o SqlQueryParameterOutput) ToSqlQueryParameterOutput() SqlQueryParameterOutput { - return o -} +// 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 -func (o SqlQueryParameterOutput) ToSqlQueryParameterOutputWithContext(ctx context.Context) SqlQueryParameterOutput { - return o + ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput + ToShareObjectPartitionValueArrayOutputWithContext(context.Context) ShareObjectPartitionValueArrayOutput } -func (o SqlQueryParameterOutput) Date() SqlQueryParameterDatePtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDate { return v.Date }).(SqlQueryParameterDatePtrOutput) -} +type ShareObjectPartitionValueArray []ShareObjectPartitionValueInput -func (o SqlQueryParameterOutput) DateRange() SqlQueryParameterDateRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDateRange { return v.DateRange }).(SqlQueryParameterDateRangePtrOutput) +func (ShareObjectPartitionValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObjectPartitionValue)(nil)).Elem() } -func (o SqlQueryParameterOutput) Datetime() SqlQueryParameterDatetimePtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetime { return v.Datetime }).(SqlQueryParameterDatetimePtrOutput) +func (i ShareObjectPartitionValueArray) ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput { + return i.ToShareObjectPartitionValueArrayOutputWithContext(context.Background()) } -func (o SqlQueryParameterOutput) DatetimeRange() SqlQueryParameterDatetimeRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetimeRange { return v.DatetimeRange }).(SqlQueryParameterDatetimeRangePtrOutput) +func (i ShareObjectPartitionValueArray) ToShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) ShareObjectPartitionValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionValueArrayOutput) } -func (o SqlQueryParameterOutput) Datetimesec() SqlQueryParameterDatetimesecPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetimesec { return v.Datetimesec }).(SqlQueryParameterDatetimesecPtrOutput) -} +type ShareObjectPartitionValueOutput struct{ *pulumi.OutputState } -func (o SqlQueryParameterOutput) DatetimesecRange() SqlQueryParameterDatetimesecRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetimesecRange { return v.DatetimesecRange }).(SqlQueryParameterDatetimesecRangePtrOutput) +func (ShareObjectPartitionValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObjectPartitionValue)(nil)).Elem() } -func (o SqlQueryParameterOutput) Enum() SqlQueryParameterEnumPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterEnum { return v.Enum }).(SqlQueryParameterEnumPtrOutput) +func (o ShareObjectPartitionValueOutput) ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput { + 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 ShareObjectPartitionValueOutput) ToShareObjectPartitionValueOutputWithContext(ctx context.Context) ShareObjectPartitionValueOutput { + return o } -func (o SqlQueryParameterOutput) Number() SqlQueryParameterNumberPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterNumber { return v.Number }).(SqlQueryParameterNumberPtrOutput) +// The name of the partition column. +func (o ShareObjectPartitionValueOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ShareObjectPartitionValue) string { return v.Name }).(pulumi.StringOutput) } -// The text of the query to be run. -func (o SqlQueryParameterOutput) Query() SqlQueryParameterQueryPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterQuery { return v.Query }).(SqlQueryParameterQueryPtrOutput) +// 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 SqlQueryParameterOutput) Text() SqlQueryParameterTextPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterText { return v.Text }).(SqlQueryParameterTextPtrOutput) +// The key of a Delta Sharing recipient's property. For example `databricks-account-id`. When this field is set, field `value` can not be set. +func (o ShareObjectPartitionValueOutput) RecipientPropertyKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShareObjectPartitionValue) *string { return v.RecipientPropertyKey }).(pulumi.StringPtrOutput) } -// The 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) +// 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 SqlQueryParameterArrayOutput struct{ *pulumi.OutputState } +type ShareObjectPartitionValueArrayOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlQueryParameter)(nil)).Elem() +func (ShareObjectPartitionValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObjectPartitionValue)(nil)).Elem() } -func (o SqlQueryParameterArrayOutput) ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput { +func (o ShareObjectPartitionValueArrayOutput) ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput { return o } -func (o SqlQueryParameterArrayOutput) ToSqlQueryParameterArrayOutputWithContext(ctx context.Context) SqlQueryParameterArrayOutput { +func (o ShareObjectPartitionValueArrayOutput) ToShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) ShareObjectPartitionValueArrayOutput { return o } -func (o SqlQueryParameterArrayOutput) Index(i pulumi.IntInput) SqlQueryParameterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlQueryParameter { - return vs[0].([]SqlQueryParameter)[vs[1].(int)] - }).(SqlQueryParameterOutput) +func (o 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 SqlQueryParameterDate struct { +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"` } -// SqlQueryParameterDateInput is an input type that accepts SqlQueryParameterDateArgs and SqlQueryParameterDateOutput values. -// You can construct a concrete instance of `SqlQueryParameterDateInput` via: +// SqlAlertOptionsInput is an input type that accepts SqlAlertOptionsArgs and SqlAlertOptionsOutput values. +// You can construct a concrete instance of `SqlAlertOptionsInput` via: // -// SqlQueryParameterDateArgs{...} -type SqlQueryParameterDateInput interface { +// SqlAlertOptionsArgs{...} +type SqlAlertOptionsInput interface { pulumi.Input - ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput - ToSqlQueryParameterDateOutputWithContext(context.Context) SqlQueryParameterDateOutput + ToSqlAlertOptionsOutput() SqlAlertOptionsOutput + ToSqlAlertOptionsOutputWithContext(context.Context) SqlAlertOptionsOutput } -type SqlQueryParameterDateArgs struct { +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 (SqlQueryParameterDateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDate)(nil)).Elem() +func (SqlAlertOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlAlertOptions)(nil)).Elem() } -func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput { - return i.ToSqlQueryParameterDateOutputWithContext(context.Background()) +func (i SqlAlertOptionsArgs) ToSqlAlertOptionsOutput() SqlAlertOptionsOutput { + return i.ToSqlAlertOptionsOutputWithContext(context.Background()) } -func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDateOutputWithContext(ctx context.Context) SqlQueryParameterDateOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateOutput) +func (i SqlAlertOptionsArgs) ToSqlAlertOptionsOutputWithContext(ctx context.Context) SqlAlertOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsOutput) } -func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { - return i.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) +func (i SqlAlertOptionsArgs) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { + return i.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateOutput).ToSqlQueryParameterDatePtrOutputWithContext(ctx) +func (i SqlAlertOptionsArgs) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsOutput).ToSqlAlertOptionsPtrOutputWithContext(ctx) } -// SqlQueryParameterDatePtrInput is an input type that accepts SqlQueryParameterDateArgs, SqlQueryParameterDatePtr and SqlQueryParameterDatePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatePtrInput` via: +// SqlAlertOptionsPtrInput is an input type that accepts SqlAlertOptionsArgs, SqlAlertOptionsPtr and SqlAlertOptionsPtrOutput values. +// You can construct a concrete instance of `SqlAlertOptionsPtrInput` via: // -// SqlQueryParameterDateArgs{...} +// SqlAlertOptionsArgs{...} // // or: // // nil -type SqlQueryParameterDatePtrInput interface { +type SqlAlertOptionsPtrInput interface { pulumi.Input - ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput - ToSqlQueryParameterDatePtrOutputWithContext(context.Context) SqlQueryParameterDatePtrOutput + ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput + ToSqlAlertOptionsPtrOutputWithContext(context.Context) SqlAlertOptionsPtrOutput } -type sqlQueryParameterDatePtrType SqlQueryParameterDateArgs +type sqlAlertOptionsPtrType SqlAlertOptionsArgs -func SqlQueryParameterDatePtr(v *SqlQueryParameterDateArgs) SqlQueryParameterDatePtrInput { - return (*sqlQueryParameterDatePtrType)(v) +func SqlAlertOptionsPtr(v *SqlAlertOptionsArgs) SqlAlertOptionsPtrInput { + return (*sqlAlertOptionsPtrType)(v) } -func (*sqlQueryParameterDatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDate)(nil)).Elem() +func (*sqlAlertOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlAlertOptions)(nil)).Elem() } -func (i *sqlQueryParameterDatePtrType) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { - return i.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) +func (i *sqlAlertOptionsPtrType) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { + return i.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatePtrType) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatePtrOutput) +func (i *sqlAlertOptionsPtrType) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsPtrOutput) } -type SqlQueryParameterDateOutput struct{ *pulumi.OutputState } +type SqlAlertOptionsOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDate)(nil)).Elem() +func (SqlAlertOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlAlertOptions)(nil)).Elem() } -func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput { +func (o SqlAlertOptionsOutput) ToSqlAlertOptionsOutput() SqlAlertOptionsOutput { return o } -func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDateOutputWithContext(ctx context.Context) SqlQueryParameterDateOutput { +func (o SqlAlertOptionsOutput) ToSqlAlertOptionsOutputWithContext(ctx context.Context) SqlAlertOptionsOutput { return o } -func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { - return o.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) +func (o SqlAlertOptionsOutput) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { + return o.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDate) *SqlQueryParameterDate { +func (o SqlAlertOptionsOutput) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlAlertOptions) *SqlAlertOptions { return &v - }).(SqlQueryParameterDatePtrOutput) + }).(SqlAlertOptionsPtrOutput) } -func (o SqlQueryParameterDateOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDate) string { return v.Value }).(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) } -type SqlQueryParameterDatePtrOutput struct{ *pulumi.OutputState } +// 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 (SqlQueryParameterDatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDate)(nil)).Elem() +// 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 SqlQueryParameterDatePtrOutput) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { +// State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. +func (o SqlAlertOptionsOutput) EmptyResultState() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlAlertOptions) *string { return v.EmptyResultState }).(pulumi.StringPtrOutput) +} + +// Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. +func (o SqlAlertOptionsOutput) Muted() pulumi.BoolPtrOutput { + return o.ApplyT(func(v SqlAlertOptions) *bool { return v.Muted }).(pulumi.BoolPtrOutput) +} + +// Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) +func (o SqlAlertOptionsOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v SqlAlertOptions) string { return v.Op }).(pulumi.StringOutput) +} + +// Value used to compare in alert evaluation. +func (o SqlAlertOptionsOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlAlertOptions) string { return v.Value }).(pulumi.StringOutput) +} + +type SqlAlertOptionsPtrOutput struct{ *pulumi.OutputState } + +func (SqlAlertOptionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlAlertOptions)(nil)).Elem() +} + +func (o SqlAlertOptionsPtrOutput) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { return o } -func (o SqlQueryParameterDatePtrOutput) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { +func (o SqlAlertOptionsPtrOutput) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { return o } -func (o SqlQueryParameterDatePtrOutput) Elem() SqlQueryParameterDateOutput { - return o.ApplyT(func(v *SqlQueryParameterDate) SqlQueryParameterDate { +func (o SqlAlertOptionsPtrOutput) Elem() SqlAlertOptionsOutput { + return o.ApplyT(func(v *SqlAlertOptions) SqlAlertOptions { if v != nil { return *v } - var ret SqlQueryParameterDate + var ret SqlAlertOptions return ret - }).(SqlQueryParameterDateOutput) + }).(SqlAlertOptionsOutput) } -func (o SqlQueryParameterDatePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDate) *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.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) +} + +// State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. +func (o SqlAlertOptionsPtrOutput) EmptyResultState() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlAlertOptions) *string { + if v == nil { + return nil + } + return v.EmptyResultState + }).(pulumi.StringPtrOutput) +} + +// Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. +func (o SqlAlertOptionsPtrOutput) Muted() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *SqlAlertOptions) *bool { + if v == nil { + return nil + } + return v.Muted + }).(pulumi.BoolPtrOutput) +} + +// Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) +func (o SqlAlertOptionsPtrOutput) Op() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlAlertOptions) *string { + if v == nil { + return nil + } + return &v.Op + }).(pulumi.StringPtrOutput) +} + +// Value used to compare in alert evaluation. +func (o SqlAlertOptionsPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlAlertOptions) *string { if v == nil { return nil } @@ -61886,1322 +62455,1405 @@ func (o SqlQueryParameterDatePtrOutput) Value() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDateRange struct { - Range *SqlQueryParameterDateRangeRange `pulumi:"range"` - Value *string `pulumi:"value"` +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"` } -// SqlQueryParameterDateRangeInput is an input type that accepts SqlQueryParameterDateRangeArgs and SqlQueryParameterDateRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDateRangeInput` via: +// SqlEndpointChannelInput is an input type that accepts SqlEndpointChannelArgs and SqlEndpointChannelOutput values. +// You can construct a concrete instance of `SqlEndpointChannelInput` via: // -// SqlQueryParameterDateRangeArgs{...} -type SqlQueryParameterDateRangeInput interface { +// SqlEndpointChannelArgs{...} +type SqlEndpointChannelInput interface { pulumi.Input - ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput - ToSqlQueryParameterDateRangeOutputWithContext(context.Context) SqlQueryParameterDateRangeOutput + ToSqlEndpointChannelOutput() SqlEndpointChannelOutput + ToSqlEndpointChannelOutputWithContext(context.Context) SqlEndpointChannelOutput } -type SqlQueryParameterDateRangeArgs struct { - Range SqlQueryParameterDateRangeRangePtrInput `pulumi:"range"` - Value pulumi.StringPtrInput `pulumi:"value"` +type SqlEndpointChannelArgs struct { + DbsqlVersion pulumi.StringPtrInput `pulumi:"dbsqlVersion"` + // Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. + Name pulumi.StringPtrInput `pulumi:"name"` } -func (SqlQueryParameterDateRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDateRange)(nil)).Elem() +func (SqlEndpointChannelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointChannel)(nil)).Elem() } -func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput { - return i.ToSqlQueryParameterDateRangeOutputWithContext(context.Background()) +func (i SqlEndpointChannelArgs) ToSqlEndpointChannelOutput() SqlEndpointChannelOutput { + return i.ToSqlEndpointChannelOutputWithContext(context.Background()) } -func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeOutput) +func (i SqlEndpointChannelArgs) ToSqlEndpointChannelOutputWithContext(ctx context.Context) SqlEndpointChannelOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelOutput) } -func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { - return i.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) +func (i SqlEndpointChannelArgs) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { + return i.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeOutput).ToSqlQueryParameterDateRangePtrOutputWithContext(ctx) +func (i SqlEndpointChannelArgs) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelOutput).ToSqlEndpointChannelPtrOutputWithContext(ctx) } -// SqlQueryParameterDateRangePtrInput is an input type that accepts SqlQueryParameterDateRangeArgs, SqlQueryParameterDateRangePtr and SqlQueryParameterDateRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDateRangePtrInput` via: +// SqlEndpointChannelPtrInput is an input type that accepts SqlEndpointChannelArgs, SqlEndpointChannelPtr and SqlEndpointChannelPtrOutput values. +// You can construct a concrete instance of `SqlEndpointChannelPtrInput` via: // -// SqlQueryParameterDateRangeArgs{...} +// SqlEndpointChannelArgs{...} // // or: // // nil -type SqlQueryParameterDateRangePtrInput interface { +type SqlEndpointChannelPtrInput interface { pulumi.Input - ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput - ToSqlQueryParameterDateRangePtrOutputWithContext(context.Context) SqlQueryParameterDateRangePtrOutput + ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput + ToSqlEndpointChannelPtrOutputWithContext(context.Context) SqlEndpointChannelPtrOutput } -type sqlQueryParameterDateRangePtrType SqlQueryParameterDateRangeArgs +type sqlEndpointChannelPtrType SqlEndpointChannelArgs -func SqlQueryParameterDateRangePtr(v *SqlQueryParameterDateRangeArgs) SqlQueryParameterDateRangePtrInput { - return (*sqlQueryParameterDateRangePtrType)(v) +func SqlEndpointChannelPtr(v *SqlEndpointChannelArgs) SqlEndpointChannelPtrInput { + return (*sqlEndpointChannelPtrType)(v) } -func (*sqlQueryParameterDateRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDateRange)(nil)).Elem() +func (*sqlEndpointChannelPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointChannel)(nil)).Elem() } -func (i *sqlQueryParameterDateRangePtrType) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { - return i.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) +func (i *sqlEndpointChannelPtrType) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { + return i.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDateRangePtrType) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangePtrOutput) +func (i *sqlEndpointChannelPtrType) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelPtrOutput) } -type SqlQueryParameterDateRangeOutput struct{ *pulumi.OutputState } +type SqlEndpointChannelOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDateRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDateRange)(nil)).Elem() +func (SqlEndpointChannelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointChannel)(nil)).Elem() } -func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput { +func (o SqlEndpointChannelOutput) ToSqlEndpointChannelOutput() SqlEndpointChannelOutput { return o } -func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeOutput { +func (o SqlEndpointChannelOutput) ToSqlEndpointChannelOutputWithContext(ctx context.Context) SqlEndpointChannelOutput { return o } -func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { - return o.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) +func (o SqlEndpointChannelOutput) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { + return o.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDateRange) *SqlQueryParameterDateRange { +func (o SqlEndpointChannelOutput) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointChannel) *SqlEndpointChannel { return &v - }).(SqlQueryParameterDateRangePtrOutput) + }).(SqlEndpointChannelPtrOutput) } -func (o SqlQueryParameterDateRangeOutput) Range() SqlQueryParameterDateRangeRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameterDateRange) *SqlQueryParameterDateRangeRange { return v.Range }).(SqlQueryParameterDateRangeRangePtrOutput) +func (o SqlEndpointChannelOutput) DbsqlVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointChannel) *string { return v.DbsqlVersion }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDateRangeOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterDateRange) *string { return v.Value }).(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 SqlQueryParameterDateRangePtrOutput struct{ *pulumi.OutputState } +type SqlEndpointChannelPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDateRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDateRange)(nil)).Elem() +func (SqlEndpointChannelPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointChannel)(nil)).Elem() } -func (o SqlQueryParameterDateRangePtrOutput) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { +func (o SqlEndpointChannelPtrOutput) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { return o } -func (o SqlQueryParameterDateRangePtrOutput) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { +func (o SqlEndpointChannelPtrOutput) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { return o } -func (o SqlQueryParameterDateRangePtrOutput) Elem() SqlQueryParameterDateRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRange) SqlQueryParameterDateRange { +func (o SqlEndpointChannelPtrOutput) Elem() SqlEndpointChannelOutput { + return o.ApplyT(func(v *SqlEndpointChannel) SqlEndpointChannel { if v != nil { return *v } - var ret SqlQueryParameterDateRange + var ret SqlEndpointChannel return ret - }).(SqlQueryParameterDateRangeOutput) + }).(SqlEndpointChannelOutput) } -func (o SqlQueryParameterDateRangePtrOutput) Range() SqlQueryParameterDateRangeRangePtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRange) *SqlQueryParameterDateRangeRange { +func (o SqlEndpointChannelPtrOutput) DbsqlVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointChannel) *string { if v == nil { return nil } - return v.Range - }).(SqlQueryParameterDateRangeRangePtrOutput) + return v.DbsqlVersion + }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDateRangePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRange) *string { +// Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. +func (o SqlEndpointChannelPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointChannel) *string { if v == nil { return nil } - return v.Value + return v.Name }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDateRangeRange struct { - End string `pulumi:"end"` - Start string `pulumi:"start"` +type SqlEndpointHealth struct { + Details *string `pulumi:"details"` + FailureReason *SqlEndpointHealthFailureReason `pulumi:"failureReason"` + Message *string `pulumi:"message"` + Status *string `pulumi:"status"` + Summary *string `pulumi:"summary"` } -// SqlQueryParameterDateRangeRangeInput is an input type that accepts SqlQueryParameterDateRangeRangeArgs and SqlQueryParameterDateRangeRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDateRangeRangeInput` via: +// SqlEndpointHealthInput is an input type that accepts SqlEndpointHealthArgs and SqlEndpointHealthOutput values. +// You can construct a concrete instance of `SqlEndpointHealthInput` via: // -// SqlQueryParameterDateRangeRangeArgs{...} -type SqlQueryParameterDateRangeRangeInput interface { +// SqlEndpointHealthArgs{...} +type SqlEndpointHealthInput interface { pulumi.Input - ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput - ToSqlQueryParameterDateRangeRangeOutputWithContext(context.Context) SqlQueryParameterDateRangeRangeOutput -} - -type SqlQueryParameterDateRangeRangeArgs struct { - End pulumi.StringInput `pulumi:"end"` - Start pulumi.StringInput `pulumi:"start"` -} - -func (SqlQueryParameterDateRangeRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDateRangeRange)(nil)).Elem() + ToSqlEndpointHealthOutput() SqlEndpointHealthOutput + ToSqlEndpointHealthOutputWithContext(context.Context) SqlEndpointHealthOutput } -func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput { - return i.ToSqlQueryParameterDateRangeRangeOutputWithContext(context.Background()) +type SqlEndpointHealthArgs struct { + Details pulumi.StringPtrInput `pulumi:"details"` + FailureReason SqlEndpointHealthFailureReasonPtrInput `pulumi:"failureReason"` + Message pulumi.StringPtrInput `pulumi:"message"` + Status pulumi.StringPtrInput `pulumi:"status"` + Summary pulumi.StringPtrInput `pulumi:"summary"` } -func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangeOutput) +func (SqlEndpointHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointHealth)(nil)).Elem() } -func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { - return i.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) +func (i SqlEndpointHealthArgs) ToSqlEndpointHealthOutput() SqlEndpointHealthOutput { + return i.ToSqlEndpointHealthOutputWithContext(context.Background()) } -func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangeOutput).ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx) +func (i SqlEndpointHealthArgs) ToSqlEndpointHealthOutputWithContext(ctx context.Context) SqlEndpointHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthOutput) } -// SqlQueryParameterDateRangeRangePtrInput is an input type that accepts SqlQueryParameterDateRangeRangeArgs, SqlQueryParameterDateRangeRangePtr and SqlQueryParameterDateRangeRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDateRangeRangePtrInput` via: -// -// SqlQueryParameterDateRangeRangeArgs{...} -// -// or: +// SqlEndpointHealthArrayInput is an input type that accepts SqlEndpointHealthArray and SqlEndpointHealthArrayOutput values. +// You can construct a concrete instance of `SqlEndpointHealthArrayInput` via: // -// nil -type SqlQueryParameterDateRangeRangePtrInput interface { +// SqlEndpointHealthArray{ SqlEndpointHealthArgs{...} } +type SqlEndpointHealthArrayInput interface { pulumi.Input - ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput - ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDateRangeRangePtrOutput + ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput + ToSqlEndpointHealthArrayOutputWithContext(context.Context) SqlEndpointHealthArrayOutput } -type sqlQueryParameterDateRangeRangePtrType SqlQueryParameterDateRangeRangeArgs - -func SqlQueryParameterDateRangeRangePtr(v *SqlQueryParameterDateRangeRangeArgs) SqlQueryParameterDateRangeRangePtrInput { - return (*sqlQueryParameterDateRangeRangePtrType)(v) -} +type SqlEndpointHealthArray []SqlEndpointHealthInput -func (*sqlQueryParameterDateRangeRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDateRangeRange)(nil)).Elem() +func (SqlEndpointHealthArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlEndpointHealth)(nil)).Elem() } -func (i *sqlQueryParameterDateRangeRangePtrType) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { - return i.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) +func (i SqlEndpointHealthArray) ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput { + return i.ToSqlEndpointHealthArrayOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDateRangeRangePtrType) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangePtrOutput) +func (i SqlEndpointHealthArray) ToSqlEndpointHealthArrayOutputWithContext(ctx context.Context) SqlEndpointHealthArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthArrayOutput) } -type SqlQueryParameterDateRangeRangeOutput struct{ *pulumi.OutputState } +type SqlEndpointHealthOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDateRangeRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDateRangeRange)(nil)).Elem() +func (SqlEndpointHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointHealth)(nil)).Elem() } -func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput { +func (o SqlEndpointHealthOutput) ToSqlEndpointHealthOutput() SqlEndpointHealthOutput { return o } -func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangeOutput { +func (o SqlEndpointHealthOutput) ToSqlEndpointHealthOutputWithContext(ctx context.Context) SqlEndpointHealthOutput { return o } -func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { - return o.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) +func (o SqlEndpointHealthOutput) Details() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Details }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDateRangeRange) *SqlQueryParameterDateRangeRange { - return &v - }).(SqlQueryParameterDateRangeRangePtrOutput) +func (o SqlEndpointHealthOutput) FailureReason() SqlEndpointHealthFailureReasonPtrOutput { + return o.ApplyT(func(v SqlEndpointHealth) *SqlEndpointHealthFailureReason { return v.FailureReason }).(SqlEndpointHealthFailureReasonPtrOutput) } -func (o SqlQueryParameterDateRangeRangeOutput) End() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDateRangeRange) string { return v.End }).(pulumi.StringOutput) +func (o SqlEndpointHealthOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Message }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDateRangeRangeOutput) Start() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDateRangeRange) string { return v.Start }).(pulumi.StringOutput) +func (o SqlEndpointHealthOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Status }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDateRangeRangePtrOutput struct{ *pulumi.OutputState } - -func (SqlQueryParameterDateRangeRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDateRangeRange)(nil)).Elem() +func (o SqlEndpointHealthOutput) Summary() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Summary }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDateRangeRangePtrOutput) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { - return o -} +type SqlEndpointHealthArrayOutput struct{ *pulumi.OutputState } -func (o SqlQueryParameterDateRangeRangePtrOutput) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { - return o +func (SqlEndpointHealthArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlEndpointHealth)(nil)).Elem() } -func (o SqlQueryParameterDateRangeRangePtrOutput) Elem() SqlQueryParameterDateRangeRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) SqlQueryParameterDateRangeRange { - if v != nil { - return *v - } - var ret SqlQueryParameterDateRangeRange - return ret - }).(SqlQueryParameterDateRangeRangeOutput) +func (o SqlEndpointHealthArrayOutput) ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput { + return o } -func (o SqlQueryParameterDateRangeRangePtrOutput) End() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) *string { - if v == nil { - return nil - } - return &v.End - }).(pulumi.StringPtrOutput) +func (o SqlEndpointHealthArrayOutput) ToSqlEndpointHealthArrayOutputWithContext(ctx context.Context) SqlEndpointHealthArrayOutput { + return o } -func (o SqlQueryParameterDateRangeRangePtrOutput) Start() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) *string { - if v == nil { - return nil - } - return &v.Start - }).(pulumi.StringPtrOutput) +func (o SqlEndpointHealthArrayOutput) Index(i pulumi.IntInput) SqlEndpointHealthOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlEndpointHealth { + return vs[0].([]SqlEndpointHealth)[vs[1].(int)] + }).(SqlEndpointHealthOutput) } -type SqlQueryParameterDatetime struct { - Value string `pulumi:"value"` +type SqlEndpointHealthFailureReason struct { + Code *string `pulumi:"code"` + Parameters map[string]interface{} `pulumi:"parameters"` + Type *string `pulumi:"type"` } -// SqlQueryParameterDatetimeInput is an input type that accepts SqlQueryParameterDatetimeArgs and SqlQueryParameterDatetimeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimeInput` via: +// SqlEndpointHealthFailureReasonInput is an input type that accepts SqlEndpointHealthFailureReasonArgs and SqlEndpointHealthFailureReasonOutput values. +// You can construct a concrete instance of `SqlEndpointHealthFailureReasonInput` via: // -// SqlQueryParameterDatetimeArgs{...} -type SqlQueryParameterDatetimeInput interface { +// SqlEndpointHealthFailureReasonArgs{...} +type SqlEndpointHealthFailureReasonInput interface { pulumi.Input - ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput - ToSqlQueryParameterDatetimeOutputWithContext(context.Context) SqlQueryParameterDatetimeOutput + ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput + ToSqlEndpointHealthFailureReasonOutputWithContext(context.Context) SqlEndpointHealthFailureReasonOutput } -type SqlQueryParameterDatetimeArgs struct { - Value pulumi.StringInput `pulumi:"value"` +type SqlEndpointHealthFailureReasonArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Parameters pulumi.MapInput `pulumi:"parameters"` + Type pulumi.StringPtrInput `pulumi:"type"` } -func (SqlQueryParameterDatetimeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetime)(nil)).Elem() +func (SqlEndpointHealthFailureReasonArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointHealthFailureReason)(nil)).Elem() } -func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput { - return i.ToSqlQueryParameterDatetimeOutputWithContext(context.Background()) +func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput { + return i.ToSqlEndpointHealthFailureReasonOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeOutput) +func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonOutput) } -func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { - return i.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) +func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { + return i.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeOutput).ToSqlQueryParameterDatetimePtrOutputWithContext(ctx) +func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonOutput).ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx) } -// SqlQueryParameterDatetimePtrInput is an input type that accepts SqlQueryParameterDatetimeArgs, SqlQueryParameterDatetimePtr and SqlQueryParameterDatetimePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimePtrInput` via: +// SqlEndpointHealthFailureReasonPtrInput is an input type that accepts SqlEndpointHealthFailureReasonArgs, SqlEndpointHealthFailureReasonPtr and SqlEndpointHealthFailureReasonPtrOutput values. +// You can construct a concrete instance of `SqlEndpointHealthFailureReasonPtrInput` via: // -// SqlQueryParameterDatetimeArgs{...} +// SqlEndpointHealthFailureReasonArgs{...} // // or: // // nil -type SqlQueryParameterDatetimePtrInput interface { +type SqlEndpointHealthFailureReasonPtrInput interface { pulumi.Input - ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput - ToSqlQueryParameterDatetimePtrOutputWithContext(context.Context) SqlQueryParameterDatetimePtrOutput + ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput + ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Context) SqlEndpointHealthFailureReasonPtrOutput } -type sqlQueryParameterDatetimePtrType SqlQueryParameterDatetimeArgs +type sqlEndpointHealthFailureReasonPtrType SqlEndpointHealthFailureReasonArgs -func SqlQueryParameterDatetimePtr(v *SqlQueryParameterDatetimeArgs) SqlQueryParameterDatetimePtrInput { - return (*sqlQueryParameterDatetimePtrType)(v) +func SqlEndpointHealthFailureReasonPtr(v *SqlEndpointHealthFailureReasonArgs) SqlEndpointHealthFailureReasonPtrInput { + return (*sqlEndpointHealthFailureReasonPtrType)(v) } -func (*sqlQueryParameterDatetimePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetime)(nil)).Elem() +func (*sqlEndpointHealthFailureReasonPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointHealthFailureReason)(nil)).Elem() } -func (i *sqlQueryParameterDatetimePtrType) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { - return i.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) +func (i *sqlEndpointHealthFailureReasonPtrType) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { + return i.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimePtrType) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimePtrOutput) +func (i *sqlEndpointHealthFailureReasonPtrType) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonPtrOutput) } -type SqlQueryParameterDatetimeOutput struct{ *pulumi.OutputState } +type SqlEndpointHealthFailureReasonOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetime)(nil)).Elem() +func (SqlEndpointHealthFailureReasonOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointHealthFailureReason)(nil)).Elem() } -func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput { +func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput { return o } -func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeOutput { +func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonOutput { return o } -func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { - return o.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) +func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { + return o.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetime) *SqlQueryParameterDatetime { +func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointHealthFailureReason) *SqlEndpointHealthFailureReason { return &v - }).(SqlQueryParameterDatetimePtrOutput) + }).(SqlEndpointHealthFailureReasonPtrOutput) } -func (o SqlQueryParameterDatetimeOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetime) string { return v.Value }).(pulumi.StringOutput) +func (o SqlEndpointHealthFailureReasonOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealthFailureReason) *string { return v.Code }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDatetimePtrOutput struct{ *pulumi.OutputState } +func (o SqlEndpointHealthFailureReasonOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v SqlEndpointHealthFailureReason) map[string]interface{} { return v.Parameters }).(pulumi.MapOutput) +} -func (SqlQueryParameterDatetimePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetime)(nil)).Elem() +func (o SqlEndpointHealthFailureReasonOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealthFailureReason) *string { return v.Type }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDatetimePtrOutput) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { +type SqlEndpointHealthFailureReasonPtrOutput struct{ *pulumi.OutputState } + +func (SqlEndpointHealthFailureReasonPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointHealthFailureReason)(nil)).Elem() +} + +func (o SqlEndpointHealthFailureReasonPtrOutput) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { return o } -func (o SqlQueryParameterDatetimePtrOutput) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { +func (o SqlEndpointHealthFailureReasonPtrOutput) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { return o } -func (o SqlQueryParameterDatetimePtrOutput) Elem() SqlQueryParameterDatetimeOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetime) SqlQueryParameterDatetime { +func (o SqlEndpointHealthFailureReasonPtrOutput) Elem() SqlEndpointHealthFailureReasonOutput { + return o.ApplyT(func(v *SqlEndpointHealthFailureReason) SqlEndpointHealthFailureReason { if v != nil { return *v } - var ret SqlQueryParameterDatetime + var ret SqlEndpointHealthFailureReason return ret - }).(SqlQueryParameterDatetimeOutput) + }).(SqlEndpointHealthFailureReasonOutput) } -func (o SqlQueryParameterDatetimePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetime) *string { +func (o SqlEndpointHealthFailureReasonPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointHealthFailureReason) *string { if v == nil { return nil } - return &v.Value + return v.Code }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDatetimeRange struct { - Range *SqlQueryParameterDatetimeRangeRange `pulumi:"range"` - Value *string `pulumi:"value"` +func (o SqlEndpointHealthFailureReasonPtrOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v *SqlEndpointHealthFailureReason) map[string]interface{} { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.MapOutput) } -// SqlQueryParameterDatetimeRangeInput is an input type that accepts SqlQueryParameterDatetimeRangeArgs and SqlQueryParameterDatetimeRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeInput` via: +func (o SqlEndpointHealthFailureReasonPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointHealthFailureReason) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +type SqlEndpointOdbcParams struct { + Hostname *string `pulumi:"hostname"` + Path *string `pulumi:"path"` + Port *int `pulumi:"port"` + Protocol *string `pulumi:"protocol"` +} + +// SqlEndpointOdbcParamsInput is an input type that accepts SqlEndpointOdbcParamsArgs and SqlEndpointOdbcParamsOutput values. +// You can construct a concrete instance of `SqlEndpointOdbcParamsInput` via: // -// SqlQueryParameterDatetimeRangeArgs{...} -type SqlQueryParameterDatetimeRangeInput interface { +// SqlEndpointOdbcParamsArgs{...} +type SqlEndpointOdbcParamsInput interface { pulumi.Input - ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput - ToSqlQueryParameterDatetimeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeOutput + ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput + ToSqlEndpointOdbcParamsOutputWithContext(context.Context) SqlEndpointOdbcParamsOutput } -type SqlQueryParameterDatetimeRangeArgs struct { - Range SqlQueryParameterDatetimeRangeRangePtrInput `pulumi:"range"` - Value pulumi.StringPtrInput `pulumi:"value"` +type SqlEndpointOdbcParamsArgs struct { + Hostname pulumi.StringPtrInput `pulumi:"hostname"` + Path pulumi.StringPtrInput `pulumi:"path"` + Port pulumi.IntPtrInput `pulumi:"port"` + Protocol pulumi.StringPtrInput `pulumi:"protocol"` } -func (SqlQueryParameterDatetimeRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimeRange)(nil)).Elem() +func (SqlEndpointOdbcParamsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointOdbcParams)(nil)).Elem() } -func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput { - return i.ToSqlQueryParameterDatetimeRangeOutputWithContext(context.Background()) +func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput { + return i.ToSqlEndpointOdbcParamsOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeOutput) +func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsOutput) } -func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { - return i.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) +func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { + return i.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeOutput).ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx) +func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsOutput).ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx) } -// SqlQueryParameterDatetimeRangePtrInput is an input type that accepts SqlQueryParameterDatetimeRangeArgs, SqlQueryParameterDatetimeRangePtr and SqlQueryParameterDatetimeRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimeRangePtrInput` via: +// SqlEndpointOdbcParamsPtrInput is an input type that accepts SqlEndpointOdbcParamsArgs, SqlEndpointOdbcParamsPtr and SqlEndpointOdbcParamsPtrOutput values. +// You can construct a concrete instance of `SqlEndpointOdbcParamsPtrInput` via: // -// SqlQueryParameterDatetimeRangeArgs{...} +// SqlEndpointOdbcParamsArgs{...} // // or: // // nil -type SqlQueryParameterDatetimeRangePtrInput interface { +type SqlEndpointOdbcParamsPtrInput interface { pulumi.Input - ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput - ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimeRangePtrOutput + ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput + ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Context) SqlEndpointOdbcParamsPtrOutput } -type sqlQueryParameterDatetimeRangePtrType SqlQueryParameterDatetimeRangeArgs +type sqlEndpointOdbcParamsPtrType SqlEndpointOdbcParamsArgs -func SqlQueryParameterDatetimeRangePtr(v *SqlQueryParameterDatetimeRangeArgs) SqlQueryParameterDatetimeRangePtrInput { - return (*sqlQueryParameterDatetimeRangePtrType)(v) +func SqlEndpointOdbcParamsPtr(v *SqlEndpointOdbcParamsArgs) SqlEndpointOdbcParamsPtrInput { + return (*sqlEndpointOdbcParamsPtrType)(v) } -func (*sqlQueryParameterDatetimeRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimeRange)(nil)).Elem() +func (*sqlEndpointOdbcParamsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointOdbcParams)(nil)).Elem() } -func (i *sqlQueryParameterDatetimeRangePtrType) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { - return i.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) +func (i *sqlEndpointOdbcParamsPtrType) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { + return i.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimeRangePtrType) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangePtrOutput) +func (i *sqlEndpointOdbcParamsPtrType) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsPtrOutput) } -type SqlQueryParameterDatetimeRangeOutput struct{ *pulumi.OutputState } +type SqlEndpointOdbcParamsOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimeRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimeRange)(nil)).Elem() +func (SqlEndpointOdbcParamsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointOdbcParams)(nil)).Elem() } -func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput { +func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput { return o } -func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeOutput { +func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsOutput { return o } -func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { - return o.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) +func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { + return o.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRange { +func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointOdbcParams) *SqlEndpointOdbcParams { return &v - }).(SqlQueryParameterDatetimeRangePtrOutput) + }).(SqlEndpointOdbcParamsPtrOutput) } -func (o SqlQueryParameterDatetimeRangeOutput) Range() SqlQueryParameterDatetimeRangeRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRangeRange { return v.Range }).(SqlQueryParameterDatetimeRangeRangePtrOutput) +func (o SqlEndpointOdbcParamsOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Hostname }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDatetimeRangeOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimeRange) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o SqlEndpointOdbcParamsOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Path }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDatetimeRangePtrOutput struct{ *pulumi.OutputState } +func (o SqlEndpointOdbcParamsOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v SqlEndpointOdbcParams) *int { return v.Port }).(pulumi.IntPtrOutput) +} -func (SqlQueryParameterDatetimeRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimeRange)(nil)).Elem() +func (o SqlEndpointOdbcParamsOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Protocol }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDatetimeRangePtrOutput) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { +type SqlEndpointOdbcParamsPtrOutput struct{ *pulumi.OutputState } + +func (SqlEndpointOdbcParamsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointOdbcParams)(nil)).Elem() +} + +func (o SqlEndpointOdbcParamsPtrOutput) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { return o } -func (o SqlQueryParameterDatetimeRangePtrOutput) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { +func (o SqlEndpointOdbcParamsPtrOutput) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { return o } -func (o SqlQueryParameterDatetimeRangePtrOutput) Elem() SqlQueryParameterDatetimeRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) SqlQueryParameterDatetimeRange { +func (o SqlEndpointOdbcParamsPtrOutput) Elem() SqlEndpointOdbcParamsOutput { + return o.ApplyT(func(v *SqlEndpointOdbcParams) SqlEndpointOdbcParams { if v != nil { return *v } - var ret SqlQueryParameterDatetimeRange + var ret SqlEndpointOdbcParams return ret - }).(SqlQueryParameterDatetimeRangeOutput) + }).(SqlEndpointOdbcParamsOutput) } -func (o SqlQueryParameterDatetimeRangePtrOutput) Range() SqlQueryParameterDatetimeRangeRangePtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRangeRange { +func (o SqlEndpointOdbcParamsPtrOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { if v == nil { return nil } - return v.Range - }).(SqlQueryParameterDatetimeRangeRangePtrOutput) + return v.Hostname + }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDatetimeRangePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) *string { +func (o SqlEndpointOdbcParamsPtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { if v == nil { return nil } - return v.Value + return v.Path }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDatetimeRangeRange struct { - End string `pulumi:"end"` - Start string `pulumi:"start"` +func (o SqlEndpointOdbcParamsPtrOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlEndpointOdbcParams) *int { + if v == nil { + return nil + } + return v.Port + }).(pulumi.IntPtrOutput) } -// SqlQueryParameterDatetimeRangeRangeInput is an input type that accepts SqlQueryParameterDatetimeRangeRangeArgs and SqlQueryParameterDatetimeRangeRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeRangeInput` via: +func (o SqlEndpointOdbcParamsPtrOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { + if v == nil { + return nil + } + return v.Protocol + }).(pulumi.StringPtrOutput) +} + +type SqlEndpointTags struct { + CustomTags []SqlEndpointTagsCustomTag `pulumi:"customTags"` +} + +// SqlEndpointTagsInput is an input type that accepts SqlEndpointTagsArgs and SqlEndpointTagsOutput values. +// You can construct a concrete instance of `SqlEndpointTagsInput` via: // -// SqlQueryParameterDatetimeRangeRangeArgs{...} -type SqlQueryParameterDatetimeRangeRangeInput interface { +// SqlEndpointTagsArgs{...} +type SqlEndpointTagsInput interface { pulumi.Input - ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput - ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeRangeOutput + ToSqlEndpointTagsOutput() SqlEndpointTagsOutput + ToSqlEndpointTagsOutputWithContext(context.Context) SqlEndpointTagsOutput } -type SqlQueryParameterDatetimeRangeRangeArgs struct { - End pulumi.StringInput `pulumi:"end"` - Start pulumi.StringInput `pulumi:"start"` +type SqlEndpointTagsArgs struct { + CustomTags SqlEndpointTagsCustomTagArrayInput `pulumi:"customTags"` } -func (SqlQueryParameterDatetimeRangeRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimeRangeRange)(nil)).Elem() +func (SqlEndpointTagsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointTags)(nil)).Elem() } -func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput { - return i.ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(context.Background()) +func (i SqlEndpointTagsArgs) ToSqlEndpointTagsOutput() SqlEndpointTagsOutput { + return i.ToSqlEndpointTagsOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangeOutput) +func (i SqlEndpointTagsArgs) ToSqlEndpointTagsOutputWithContext(ctx context.Context) SqlEndpointTagsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsOutput) } -func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { - return i.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) +func (i SqlEndpointTagsArgs) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { + return i.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangeOutput).ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx) +func (i SqlEndpointTagsArgs) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsOutput).ToSqlEndpointTagsPtrOutputWithContext(ctx) } -// SqlQueryParameterDatetimeRangeRangePtrInput is an input type that accepts SqlQueryParameterDatetimeRangeRangeArgs, SqlQueryParameterDatetimeRangeRangePtr and SqlQueryParameterDatetimeRangeRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeRangePtrInput` via: +// SqlEndpointTagsPtrInput is an input type that accepts SqlEndpointTagsArgs, SqlEndpointTagsPtr and SqlEndpointTagsPtrOutput values. +// You can construct a concrete instance of `SqlEndpointTagsPtrInput` via: // -// SqlQueryParameterDatetimeRangeRangeArgs{...} +// SqlEndpointTagsArgs{...} // // or: // // nil -type SqlQueryParameterDatetimeRangeRangePtrInput interface { +type SqlEndpointTagsPtrInput interface { pulumi.Input - ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput - ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput + ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput + ToSqlEndpointTagsPtrOutputWithContext(context.Context) SqlEndpointTagsPtrOutput } -type sqlQueryParameterDatetimeRangeRangePtrType SqlQueryParameterDatetimeRangeRangeArgs +type sqlEndpointTagsPtrType SqlEndpointTagsArgs -func SqlQueryParameterDatetimeRangeRangePtr(v *SqlQueryParameterDatetimeRangeRangeArgs) SqlQueryParameterDatetimeRangeRangePtrInput { - return (*sqlQueryParameterDatetimeRangeRangePtrType)(v) +func SqlEndpointTagsPtr(v *SqlEndpointTagsArgs) SqlEndpointTagsPtrInput { + return (*sqlEndpointTagsPtrType)(v) } -func (*sqlQueryParameterDatetimeRangeRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimeRangeRange)(nil)).Elem() +func (*sqlEndpointTagsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointTags)(nil)).Elem() } -func (i *sqlQueryParameterDatetimeRangeRangePtrType) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { - return i.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) +func (i *sqlEndpointTagsPtrType) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { + return i.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimeRangeRangePtrType) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangePtrOutput) +func (i *sqlEndpointTagsPtrType) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsPtrOutput) } -type SqlQueryParameterDatetimeRangeRangeOutput struct{ *pulumi.OutputState } +type SqlEndpointTagsOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimeRangeRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimeRangeRange)(nil)).Elem() +func (SqlEndpointTagsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointTags)(nil)).Elem() } -func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput { +func (o SqlEndpointTagsOutput) ToSqlEndpointTagsOutput() SqlEndpointTagsOutput { return o } -func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangeOutput { +func (o SqlEndpointTagsOutput) ToSqlEndpointTagsOutputWithContext(ctx context.Context) SqlEndpointTagsOutput { return o } -func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { - return o.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) +func (o SqlEndpointTagsOutput) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { + return o.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimeRangeRange) *SqlQueryParameterDatetimeRangeRange { +func (o SqlEndpointTagsOutput) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointTags) *SqlEndpointTags { return &v - }).(SqlQueryParameterDatetimeRangeRangePtrOutput) -} - -func (o SqlQueryParameterDatetimeRangeRangeOutput) End() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimeRangeRange) string { return v.End }).(pulumi.StringOutput) + }).(SqlEndpointTagsPtrOutput) } -func (o SqlQueryParameterDatetimeRangeRangeOutput) Start() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimeRangeRange) string { return v.Start }).(pulumi.StringOutput) +func (o SqlEndpointTagsOutput) CustomTags() SqlEndpointTagsCustomTagArrayOutput { + return o.ApplyT(func(v SqlEndpointTags) []SqlEndpointTagsCustomTag { return v.CustomTags }).(SqlEndpointTagsCustomTagArrayOutput) } -type SqlQueryParameterDatetimeRangeRangePtrOutput struct{ *pulumi.OutputState } +type SqlEndpointTagsPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimeRangeRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimeRangeRange)(nil)).Elem() +func (SqlEndpointTagsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointTags)(nil)).Elem() } -func (o SqlQueryParameterDatetimeRangeRangePtrOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { +func (o SqlEndpointTagsPtrOutput) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { return o } -func (o SqlQueryParameterDatetimeRangeRangePtrOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { +func (o SqlEndpointTagsPtrOutput) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { return o } -func (o SqlQueryParameterDatetimeRangeRangePtrOutput) Elem() SqlQueryParameterDatetimeRangeRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) SqlQueryParameterDatetimeRangeRange { +func (o SqlEndpointTagsPtrOutput) Elem() SqlEndpointTagsOutput { + return o.ApplyT(func(v *SqlEndpointTags) SqlEndpointTags { if v != nil { return *v } - var ret SqlQueryParameterDatetimeRangeRange + var ret SqlEndpointTags return ret - }).(SqlQueryParameterDatetimeRangeRangeOutput) -} - -func (o SqlQueryParameterDatetimeRangeRangePtrOutput) End() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) *string { - if v == nil { - return nil - } - return &v.End - }).(pulumi.StringPtrOutput) + }).(SqlEndpointTagsOutput) } -func (o SqlQueryParameterDatetimeRangeRangePtrOutput) Start() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) *string { +func (o SqlEndpointTagsPtrOutput) CustomTags() SqlEndpointTagsCustomTagArrayOutput { + return o.ApplyT(func(v *SqlEndpointTags) []SqlEndpointTagsCustomTag { if v == nil { return nil } - return &v.Start - }).(pulumi.StringPtrOutput) + return v.CustomTags + }).(SqlEndpointTagsCustomTagArrayOutput) } -type SqlQueryParameterDatetimesec struct { +type SqlEndpointTagsCustomTag struct { + Key string `pulumi:"key"` Value string `pulumi:"value"` } -// SqlQueryParameterDatetimesecInput is an input type that accepts SqlQueryParameterDatetimesecArgs and SqlQueryParameterDatetimesecOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecInput` via: +// SqlEndpointTagsCustomTagInput is an input type that accepts SqlEndpointTagsCustomTagArgs and SqlEndpointTagsCustomTagOutput values. +// You can construct a concrete instance of `SqlEndpointTagsCustomTagInput` via: // -// SqlQueryParameterDatetimesecArgs{...} -type SqlQueryParameterDatetimesecInput interface { +// SqlEndpointTagsCustomTagArgs{...} +type SqlEndpointTagsCustomTagInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput - ToSqlQueryParameterDatetimesecOutputWithContext(context.Context) SqlQueryParameterDatetimesecOutput + ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput + ToSqlEndpointTagsCustomTagOutputWithContext(context.Context) SqlEndpointTagsCustomTagOutput } -type SqlQueryParameterDatetimesecArgs struct { +type SqlEndpointTagsCustomTagArgs struct { + Key pulumi.StringInput `pulumi:"key"` Value pulumi.StringInput `pulumi:"value"` } -func (SqlQueryParameterDatetimesecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesec)(nil)).Elem() -} - -func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput { - return i.ToSqlQueryParameterDatetimesecOutputWithContext(context.Background()) -} - -func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecOutput) +func (SqlEndpointTagsCustomTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointTagsCustomTag)(nil)).Elem() } -func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { - return i.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) +func (i SqlEndpointTagsCustomTagArgs) ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput { + return i.ToSqlEndpointTagsCustomTagOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecOutput).ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx) +func (i SqlEndpointTagsCustomTagArgs) ToSqlEndpointTagsCustomTagOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsCustomTagOutput) } -// SqlQueryParameterDatetimesecPtrInput is an input type that accepts SqlQueryParameterDatetimesecArgs, SqlQueryParameterDatetimesecPtr and SqlQueryParameterDatetimesecPtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecPtrInput` via: -// -// SqlQueryParameterDatetimesecArgs{...} -// -// or: +// SqlEndpointTagsCustomTagArrayInput is an input type that accepts SqlEndpointTagsCustomTagArray and SqlEndpointTagsCustomTagArrayOutput values. +// You can construct a concrete instance of `SqlEndpointTagsCustomTagArrayInput` via: // -// nil -type SqlQueryParameterDatetimesecPtrInput interface { +// SqlEndpointTagsCustomTagArray{ SqlEndpointTagsCustomTagArgs{...} } +type SqlEndpointTagsCustomTagArrayInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput - ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecPtrOutput + ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput + ToSqlEndpointTagsCustomTagArrayOutputWithContext(context.Context) SqlEndpointTagsCustomTagArrayOutput } -type sqlQueryParameterDatetimesecPtrType SqlQueryParameterDatetimesecArgs - -func SqlQueryParameterDatetimesecPtr(v *SqlQueryParameterDatetimesecArgs) SqlQueryParameterDatetimesecPtrInput { - return (*sqlQueryParameterDatetimesecPtrType)(v) -} +type SqlEndpointTagsCustomTagArray []SqlEndpointTagsCustomTagInput -func (*sqlQueryParameterDatetimesecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesec)(nil)).Elem() +func (SqlEndpointTagsCustomTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlEndpointTagsCustomTag)(nil)).Elem() } -func (i *sqlQueryParameterDatetimesecPtrType) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { - return i.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) +func (i SqlEndpointTagsCustomTagArray) ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput { + return i.ToSqlEndpointTagsCustomTagArrayOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimesecPtrType) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecPtrOutput) +func (i SqlEndpointTagsCustomTagArray) ToSqlEndpointTagsCustomTagArrayOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsCustomTagArrayOutput) } -type SqlQueryParameterDatetimesecOutput struct{ *pulumi.OutputState } +type SqlEndpointTagsCustomTagOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimesecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesec)(nil)).Elem() +func (SqlEndpointTagsCustomTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointTagsCustomTag)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput { +func (o SqlEndpointTagsCustomTagOutput) ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput { return o } -func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecOutput { +func (o SqlEndpointTagsCustomTagOutput) ToSqlEndpointTagsCustomTagOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagOutput { return o } -func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { - return o.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) -} - -func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesec) *SqlQueryParameterDatetimesec { - return &v - }).(SqlQueryParameterDatetimesecPtrOutput) +func (o SqlEndpointTagsCustomTagOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v SqlEndpointTagsCustomTag) string { return v.Key }).(pulumi.StringOutput) } -func (o SqlQueryParameterDatetimesecOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimesec) string { return v.Value }).(pulumi.StringOutput) +func (o SqlEndpointTagsCustomTagOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlEndpointTagsCustomTag) string { return v.Value }).(pulumi.StringOutput) } -type SqlQueryParameterDatetimesecPtrOutput struct{ *pulumi.OutputState } +type SqlEndpointTagsCustomTagArrayOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimesecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesec)(nil)).Elem() +func (SqlEndpointTagsCustomTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlEndpointTagsCustomTag)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecPtrOutput) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { +func (o SqlEndpointTagsCustomTagArrayOutput) ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput { return o } -func (o SqlQueryParameterDatetimesecPtrOutput) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { +func (o SqlEndpointTagsCustomTagArrayOutput) ToSqlEndpointTagsCustomTagArrayOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagArrayOutput { return o } -func (o SqlQueryParameterDatetimesecPtrOutput) Elem() SqlQueryParameterDatetimesecOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesec) SqlQueryParameterDatetimesec { - if v != nil { - return *v - } - var ret SqlQueryParameterDatetimesec - return ret - }).(SqlQueryParameterDatetimesecOutput) -} - -func (o SqlQueryParameterDatetimesecPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesec) *string { - if v == nil { - return nil - } - return &v.Value - }).(pulumi.StringPtrOutput) +func (o SqlEndpointTagsCustomTagArrayOutput) Index(i pulumi.IntInput) SqlEndpointTagsCustomTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlEndpointTagsCustomTag { + return vs[0].([]SqlEndpointTagsCustomTag)[vs[1].(int)] + }).(SqlEndpointTagsCustomTagOutput) } -type SqlQueryParameterDatetimesecRange struct { - Range *SqlQueryParameterDatetimesecRangeRange `pulumi:"range"` - Value *string `pulumi:"value"` +type SqlPermissionsPrivilegeAssignment struct { + // `displayName` for a Group or databricks_user, `applicationId` for a databricks_service_principal. + Principal string `pulumi:"principal"` + Privileges []string `pulumi:"privileges"` } -// SqlQueryParameterDatetimesecRangeInput is an input type that accepts SqlQueryParameterDatetimesecRangeArgs and SqlQueryParameterDatetimesecRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeInput` via: +// SqlPermissionsPrivilegeAssignmentInput is an input type that accepts SqlPermissionsPrivilegeAssignmentArgs and SqlPermissionsPrivilegeAssignmentOutput values. +// You can construct a concrete instance of `SqlPermissionsPrivilegeAssignmentInput` via: // -// SqlQueryParameterDatetimesecRangeArgs{...} -type SqlQueryParameterDatetimesecRangeInput interface { +// SqlPermissionsPrivilegeAssignmentArgs{...} +type SqlPermissionsPrivilegeAssignmentInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput - ToSqlQueryParameterDatetimesecRangeOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeOutput + ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput + ToSqlPermissionsPrivilegeAssignmentOutputWithContext(context.Context) SqlPermissionsPrivilegeAssignmentOutput } -type SqlQueryParameterDatetimesecRangeArgs struct { - Range SqlQueryParameterDatetimesecRangeRangePtrInput `pulumi:"range"` - Value pulumi.StringPtrInput `pulumi:"value"` +type SqlPermissionsPrivilegeAssignmentArgs struct { + // `displayName` for a Group or databricks_user, `applicationId` for a databricks_service_principal. + Principal pulumi.StringInput `pulumi:"principal"` + Privileges pulumi.StringArrayInput `pulumi:"privileges"` } -func (SqlQueryParameterDatetimesecRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesecRange)(nil)).Elem() +func (SqlPermissionsPrivilegeAssignmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlPermissionsPrivilegeAssignment)(nil)).Elem() } -func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput { - return i.ToSqlQueryParameterDatetimesecRangeOutputWithContext(context.Background()) +func (i SqlPermissionsPrivilegeAssignmentArgs) ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput { + return i.ToSqlPermissionsPrivilegeAssignmentOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeOutput) +func (i SqlPermissionsPrivilegeAssignmentArgs) ToSqlPermissionsPrivilegeAssignmentOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlPermissionsPrivilegeAssignmentOutput) } -func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { - return i.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) -} +// SqlPermissionsPrivilegeAssignmentArrayInput is an input type that accepts SqlPermissionsPrivilegeAssignmentArray and SqlPermissionsPrivilegeAssignmentArrayOutput values. +// You can construct a concrete instance of `SqlPermissionsPrivilegeAssignmentArrayInput` via: +// +// SqlPermissionsPrivilegeAssignmentArray{ SqlPermissionsPrivilegeAssignmentArgs{...} } +type SqlPermissionsPrivilegeAssignmentArrayInput interface { + pulumi.Input -func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeOutput).ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx) + ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput + ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput } -// SqlQueryParameterDatetimesecRangePtrInput is an input type that accepts SqlQueryParameterDatetimesecRangeArgs, SqlQueryParameterDatetimesecRangePtr and SqlQueryParameterDatetimesecRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangePtrInput` via: -// -// SqlQueryParameterDatetimesecRangeArgs{...} -// -// or: -// -// nil -type SqlQueryParameterDatetimesecRangePtrInput interface { - pulumi.Input +type SqlPermissionsPrivilegeAssignmentArray []SqlPermissionsPrivilegeAssignmentInput - ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput - ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangePtrOutput +func (SqlPermissionsPrivilegeAssignmentArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlPermissionsPrivilegeAssignment)(nil)).Elem() } -type sqlQueryParameterDatetimesecRangePtrType SqlQueryParameterDatetimesecRangeArgs +func (i SqlPermissionsPrivilegeAssignmentArray) ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput { + return i.ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(context.Background()) +} -func SqlQueryParameterDatetimesecRangePtr(v *SqlQueryParameterDatetimesecRangeArgs) SqlQueryParameterDatetimesecRangePtrInput { - return (*sqlQueryParameterDatetimesecRangePtrType)(v) +func (i SqlPermissionsPrivilegeAssignmentArray) ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlPermissionsPrivilegeAssignmentArrayOutput) } -func (*sqlQueryParameterDatetimesecRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesecRange)(nil)).Elem() +type SqlPermissionsPrivilegeAssignmentOutput struct{ *pulumi.OutputState } + +func (SqlPermissionsPrivilegeAssignmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlPermissionsPrivilegeAssignment)(nil)).Elem() } -func (i *sqlQueryParameterDatetimesecRangePtrType) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { - return i.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) +func (o SqlPermissionsPrivilegeAssignmentOutput) ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput { + return o } -func (i *sqlQueryParameterDatetimesecRangePtrType) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangePtrOutput) +func (o SqlPermissionsPrivilegeAssignmentOutput) ToSqlPermissionsPrivilegeAssignmentOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentOutput { + return o } -type SqlQueryParameterDatetimesecRangeOutput struct{ *pulumi.OutputState } +// `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 (SqlQueryParameterDatetimesecRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesecRange)(nil)).Elem() +func (o SqlPermissionsPrivilegeAssignmentOutput) Privileges() pulumi.StringArrayOutput { + return o.ApplyT(func(v SqlPermissionsPrivilegeAssignment) []string { return v.Privileges }).(pulumi.StringArrayOutput) } -func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput { +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 SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeOutput { +func (o SqlPermissionsPrivilegeAssignmentArrayOutput) ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput { return o } -func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { - return o.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) +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 SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRange { - return &v - }).(SqlQueryParameterDatetimesecRangePtrOutput) +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 SqlQueryParameterDatetimesecRangeOutput) Range() SqlQueryParameterDatetimesecRangeRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRangeRange { return v.Range }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) +// SqlQueryParameterInput is an input type that accepts SqlQueryParameterArgs and SqlQueryParameterOutput values. +// You can construct a concrete instance of `SqlQueryParameterInput` via: +// +// SqlQueryParameterArgs{...} +type SqlQueryParameterInput interface { + pulumi.Input + + ToSqlQueryParameterOutput() SqlQueryParameterOutput + ToSqlQueryParameterOutputWithContext(context.Context) SqlQueryParameterOutput } -func (o SqlQueryParameterDatetimesecRangeOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimesecRange) *string { return v.Value }).(pulumi.StringPtrOutput) +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 SqlQueryParameterDatetimesecRangePtrOutput struct{ *pulumi.OutputState } +func (SqlQueryParameterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameter)(nil)).Elem() +} -func (SqlQueryParameterDatetimesecRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesecRange)(nil)).Elem() +func (i SqlQueryParameterArgs) ToSqlQueryParameterOutput() SqlQueryParameterOutput { + return i.ToSqlQueryParameterOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimesecRangePtrOutput) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { +func (i SqlQueryParameterArgs) ToSqlQueryParameterOutputWithContext(ctx context.Context) SqlQueryParameterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterOutput) +} + +// 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 SqlQueryParameterArray []SqlQueryParameterInput + +func (SqlQueryParameterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlQueryParameter)(nil)).Elem() +} + +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 SqlQueryParameterDatetimesecRangePtrOutput) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { +func (o SqlQueryParameterOutput) ToSqlQueryParameterOutputWithContext(ctx context.Context) SqlQueryParameterOutput { return o } -func (o SqlQueryParameterDatetimesecRangePtrOutput) Elem() SqlQueryParameterDatetimesecRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) SqlQueryParameterDatetimesecRange { - if v != nil { - return *v - } - var ret SqlQueryParameterDatetimesecRange - return ret - }).(SqlQueryParameterDatetimesecRangeOutput) +func (o SqlQueryParameterOutput) Date() SqlQueryParameterDatePtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDate { return v.Date }).(SqlQueryParameterDatePtrOutput) } -func (o SqlQueryParameterDatetimesecRangePtrOutput) Range() SqlQueryParameterDatetimesecRangeRangePtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRangeRange { - if v == nil { - return nil - } - return v.Range - }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) +func (o SqlQueryParameterOutput) DateRange() SqlQueryParameterDateRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDateRange { return v.DateRange }).(SqlQueryParameterDateRangePtrOutput) } -func (o SqlQueryParameterDatetimesecRangePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) *string { - if v == nil { - return nil - } - return v.Value - }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterOutput) Datetime() SqlQueryParameterDatetimePtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetime { return v.Datetime }).(SqlQueryParameterDatetimePtrOutput) } -type SqlQueryParameterDatetimesecRangeRange struct { - End string `pulumi:"end"` - Start string `pulumi:"start"` +func (o SqlQueryParameterOutput) DatetimeRange() SqlQueryParameterDatetimeRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetimeRange { return v.DatetimeRange }).(SqlQueryParameterDatetimeRangePtrOutput) } -// SqlQueryParameterDatetimesecRangeRangeInput is an input type that accepts SqlQueryParameterDatetimesecRangeRangeArgs and SqlQueryParameterDatetimesecRangeRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeRangeInput` via: +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`. // -// SqlQueryParameterDatetimesecRangeRangeArgs{...} -type SqlQueryParameterDatetimesecRangeRangeInput interface { +// 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 SqlQueryParameterOutput) Number() SqlQueryParameterNumberPtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterNumber { return v.Number }).(SqlQueryParameterNumberPtrOutput) +} + +// The text of the query to be run. +func (o SqlQueryParameterOutput) Query() SqlQueryParameterQueryPtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterQuery { return v.Query }).(SqlQueryParameterQueryPtrOutput) +} + +func (o SqlQueryParameterOutput) Text() SqlQueryParameterTextPtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterText { return v.Text }).(SqlQueryParameterTextPtrOutput) +} + +// The text displayed in a parameter picking widget. +func (o SqlQueryParameterOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *string { return v.Title }).(pulumi.StringPtrOutput) +} + +type SqlQueryParameterArrayOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlQueryParameter)(nil)).Elem() +} + +func (o SqlQueryParameterArrayOutput) ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput { + return o +} + +func (o SqlQueryParameterArrayOutput) ToSqlQueryParameterArrayOutputWithContext(ctx context.Context) SqlQueryParameterArrayOutput { + return o +} + +func (o SqlQueryParameterArrayOutput) Index(i pulumi.IntInput) SqlQueryParameterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlQueryParameter { + return vs[0].([]SqlQueryParameter)[vs[1].(int)] + }).(SqlQueryParameterOutput) +} + +type SqlQueryParameterDate struct { + Value string `pulumi:"value"` +} + +// SqlQueryParameterDateInput is an input type that accepts SqlQueryParameterDateArgs and SqlQueryParameterDateOutput values. +// You can construct a concrete instance of `SqlQueryParameterDateInput` via: +// +// SqlQueryParameterDateArgs{...} +type SqlQueryParameterDateInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput - ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeRangeOutput + ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput + ToSqlQueryParameterDateOutputWithContext(context.Context) SqlQueryParameterDateOutput } -type SqlQueryParameterDatetimesecRangeRangeArgs struct { - End pulumi.StringInput `pulumi:"end"` - Start pulumi.StringInput `pulumi:"start"` +type SqlQueryParameterDateArgs struct { + Value pulumi.StringInput `pulumi:"value"` } -func (SqlQueryParameterDatetimesecRangeRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() +func (SqlQueryParameterDateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDate)(nil)).Elem() } -func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput { - return i.ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(context.Background()) +func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput { + return i.ToSqlQueryParameterDateOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangeOutput) +func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDateOutputWithContext(ctx context.Context) SqlQueryParameterDateOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateOutput) } -func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { - return i.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { + return i.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangeOutput).ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx) +func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateOutput).ToSqlQueryParameterDatePtrOutputWithContext(ctx) } -// SqlQueryParameterDatetimesecRangeRangePtrInput is an input type that accepts SqlQueryParameterDatetimesecRangeRangeArgs, SqlQueryParameterDatetimesecRangeRangePtr and SqlQueryParameterDatetimesecRangeRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeRangePtrInput` via: +// SqlQueryParameterDatePtrInput is an input type that accepts SqlQueryParameterDateArgs, SqlQueryParameterDatePtr and SqlQueryParameterDatePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatePtrInput` via: // -// SqlQueryParameterDatetimesecRangeRangeArgs{...} +// SqlQueryParameterDateArgs{...} // // or: // // nil -type SqlQueryParameterDatetimesecRangeRangePtrInput interface { +type SqlQueryParameterDatePtrInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput - ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput + ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput + ToSqlQueryParameterDatePtrOutputWithContext(context.Context) SqlQueryParameterDatePtrOutput } -type sqlQueryParameterDatetimesecRangeRangePtrType SqlQueryParameterDatetimesecRangeRangeArgs +type sqlQueryParameterDatePtrType SqlQueryParameterDateArgs -func SqlQueryParameterDatetimesecRangeRangePtr(v *SqlQueryParameterDatetimesecRangeRangeArgs) SqlQueryParameterDatetimesecRangeRangePtrInput { - return (*sqlQueryParameterDatetimesecRangeRangePtrType)(v) +func SqlQueryParameterDatePtr(v *SqlQueryParameterDateArgs) SqlQueryParameterDatePtrInput { + return (*sqlQueryParameterDatePtrType)(v) } -func (*sqlQueryParameterDatetimesecRangeRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() +func (*sqlQueryParameterDatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDate)(nil)).Elem() } -func (i *sqlQueryParameterDatetimesecRangeRangePtrType) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { - return i.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDatePtrType) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { + return i.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimesecRangeRangePtrType) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangePtrOutput) +func (i *sqlQueryParameterDatePtrType) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatePtrOutput) } -type SqlQueryParameterDatetimesecRangeRangeOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDateOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimesecRangeRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() +func (SqlQueryParameterDateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDate)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput { +func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput { return o } -func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangeOutput { +func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDateOutputWithContext(ctx context.Context) SqlQueryParameterDateOutput { return o } -func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { - return o.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { + return o.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesecRangeRange) *SqlQueryParameterDatetimesecRangeRange { +func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDate) *SqlQueryParameterDate { return &v - }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) -} - -func (o SqlQueryParameterDatetimesecRangeRangeOutput) End() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimesecRangeRange) string { return v.End }).(pulumi.StringOutput) + }).(SqlQueryParameterDatePtrOutput) } -func (o SqlQueryParameterDatetimesecRangeRangeOutput) Start() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimesecRangeRange) string { return v.Start }).(pulumi.StringOutput) +func (o SqlQueryParameterDateOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDate) string { return v.Value }).(pulumi.StringOutput) } -type SqlQueryParameterDatetimesecRangeRangePtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatePtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimesecRangeRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() +func (SqlQueryParameterDatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDate)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { +func (o SqlQueryParameterDatePtrOutput) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { return o } -func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { +func (o SqlQueryParameterDatePtrOutput) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { return o } -func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) Elem() SqlQueryParameterDatetimesecRangeRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) SqlQueryParameterDatetimesecRangeRange { +func (o SqlQueryParameterDatePtrOutput) Elem() SqlQueryParameterDateOutput { + return o.ApplyT(func(v *SqlQueryParameterDate) SqlQueryParameterDate { if v != nil { return *v } - var ret SqlQueryParameterDatetimesecRangeRange + var ret SqlQueryParameterDate 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) + }).(SqlQueryParameterDateOutput) } -func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) Start() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) *string { +func (o SqlQueryParameterDatePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDate) *string { if v == nil { return nil } - return &v.Start + return &v.Value }).(pulumi.StringPtrOutput) } -type SqlQueryParameterEnum struct { - Multiple *SqlQueryParameterEnumMultiple `pulumi:"multiple"` - Options []string `pulumi:"options"` - Value *string `pulumi:"value"` - Values []string `pulumi:"values"` +type SqlQueryParameterDateRange struct { + Range *SqlQueryParameterDateRangeRange `pulumi:"range"` + Value *string `pulumi:"value"` } -// SqlQueryParameterEnumInput is an input type that accepts SqlQueryParameterEnumArgs and SqlQueryParameterEnumOutput values. -// You can construct a concrete instance of `SqlQueryParameterEnumInput` via: +// SqlQueryParameterDateRangeInput is an input type that accepts SqlQueryParameterDateRangeArgs and SqlQueryParameterDateRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDateRangeInput` via: // -// SqlQueryParameterEnumArgs{...} -type SqlQueryParameterEnumInput interface { +// SqlQueryParameterDateRangeArgs{...} +type SqlQueryParameterDateRangeInput interface { pulumi.Input - ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput - ToSqlQueryParameterEnumOutputWithContext(context.Context) SqlQueryParameterEnumOutput + ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput + ToSqlQueryParameterDateRangeOutputWithContext(context.Context) SqlQueryParameterDateRangeOutput } -type SqlQueryParameterEnumArgs struct { - Multiple SqlQueryParameterEnumMultiplePtrInput `pulumi:"multiple"` - Options pulumi.StringArrayInput `pulumi:"options"` - Value pulumi.StringPtrInput `pulumi:"value"` - Values pulumi.StringArrayInput `pulumi:"values"` +type SqlQueryParameterDateRangeArgs struct { + Range SqlQueryParameterDateRangeRangePtrInput `pulumi:"range"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (SqlQueryParameterEnumArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterEnum)(nil)).Elem() +func (SqlQueryParameterDateRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDateRange)(nil)).Elem() } -func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput { - return i.ToSqlQueryParameterEnumOutputWithContext(context.Background()) +func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput { + return i.ToSqlQueryParameterDateRangeOutputWithContext(context.Background()) } -func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumOutputWithContext(ctx context.Context) SqlQueryParameterEnumOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumOutput) +func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeOutput) } -func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { - return i.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { + return i.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumOutput).ToSqlQueryParameterEnumPtrOutputWithContext(ctx) +func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeOutput).ToSqlQueryParameterDateRangePtrOutputWithContext(ctx) } -// SqlQueryParameterEnumPtrInput is an input type that accepts SqlQueryParameterEnumArgs, SqlQueryParameterEnumPtr and SqlQueryParameterEnumPtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterEnumPtrInput` via: +// SqlQueryParameterDateRangePtrInput is an input type that accepts SqlQueryParameterDateRangeArgs, SqlQueryParameterDateRangePtr and SqlQueryParameterDateRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDateRangePtrInput` via: // -// SqlQueryParameterEnumArgs{...} +// SqlQueryParameterDateRangeArgs{...} // // or: // // nil -type SqlQueryParameterEnumPtrInput interface { +type SqlQueryParameterDateRangePtrInput interface { pulumi.Input - ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput - ToSqlQueryParameterEnumPtrOutputWithContext(context.Context) SqlQueryParameterEnumPtrOutput + ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput + ToSqlQueryParameterDateRangePtrOutputWithContext(context.Context) SqlQueryParameterDateRangePtrOutput } -type sqlQueryParameterEnumPtrType SqlQueryParameterEnumArgs +type sqlQueryParameterDateRangePtrType SqlQueryParameterDateRangeArgs -func SqlQueryParameterEnumPtr(v *SqlQueryParameterEnumArgs) SqlQueryParameterEnumPtrInput { - return (*sqlQueryParameterEnumPtrType)(v) +func SqlQueryParameterDateRangePtr(v *SqlQueryParameterDateRangeArgs) SqlQueryParameterDateRangePtrInput { + return (*sqlQueryParameterDateRangePtrType)(v) } -func (*sqlQueryParameterEnumPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterEnum)(nil)).Elem() +func (*sqlQueryParameterDateRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDateRange)(nil)).Elem() } -func (i *sqlQueryParameterEnumPtrType) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { - return i.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDateRangePtrType) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { + return i.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterEnumPtrType) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumPtrOutput) +func (i *sqlQueryParameterDateRangePtrType) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangePtrOutput) } -type SqlQueryParameterEnumOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDateRangeOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterEnumOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterEnum)(nil)).Elem() +func (SqlQueryParameterDateRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDateRange)(nil)).Elem() } -func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput { +func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput { return o } -func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumOutputWithContext(ctx context.Context) SqlQueryParameterEnumOutput { +func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeOutput { return o } -func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { - return o.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { + return o.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterEnum) *SqlQueryParameterEnum { +func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDateRange) *SqlQueryParameterDateRange { 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) + }).(SqlQueryParameterDateRangePtrOutput) } -func (o SqlQueryParameterEnumOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterEnum) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDateRangeOutput) Range() SqlQueryParameterDateRangeRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameterDateRange) *SqlQueryParameterDateRangeRange { return v.Range }).(SqlQueryParameterDateRangeRangePtrOutput) } -func (o SqlQueryParameterEnumOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v SqlQueryParameterEnum) []string { return v.Values }).(pulumi.StringArrayOutput) +func (o SqlQueryParameterDateRangeOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterDateRange) *string { return v.Value }).(pulumi.StringPtrOutput) } -type SqlQueryParameterEnumPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDateRangePtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterEnumPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterEnum)(nil)).Elem() +func (SqlQueryParameterDateRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDateRange)(nil)).Elem() } -func (o SqlQueryParameterEnumPtrOutput) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { +func (o SqlQueryParameterDateRangePtrOutput) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { return o } -func (o SqlQueryParameterEnumPtrOutput) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { +func (o SqlQueryParameterDateRangePtrOutput) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { return o } -func (o SqlQueryParameterEnumPtrOutput) Elem() SqlQueryParameterEnumOutput { - return o.ApplyT(func(v *SqlQueryParameterEnum) SqlQueryParameterEnum { +func (o SqlQueryParameterDateRangePtrOutput) Elem() SqlQueryParameterDateRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRange) SqlQueryParameterDateRange { if v != nil { return *v } - var ret SqlQueryParameterEnum + var ret SqlQueryParameterDateRange return ret - }).(SqlQueryParameterEnumOutput) -} - -func (o SqlQueryParameterEnumPtrOutput) Multiple() SqlQueryParameterEnumMultiplePtrOutput { - return o.ApplyT(func(v *SqlQueryParameterEnum) *SqlQueryParameterEnumMultiple { - if v == nil { - return nil - } - return v.Multiple - }).(SqlQueryParameterEnumMultiplePtrOutput) + }).(SqlQueryParameterDateRangeOutput) } -func (o SqlQueryParameterEnumPtrOutput) Options() pulumi.StringArrayOutput { - return o.ApplyT(func(v *SqlQueryParameterEnum) []string { +func (o SqlQueryParameterDateRangePtrOutput) Range() SqlQueryParameterDateRangeRangePtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRange) *SqlQueryParameterDateRangeRange { if v == nil { return nil } - return v.Options - }).(pulumi.StringArrayOutput) + return v.Range + }).(SqlQueryParameterDateRangeRangePtrOutput) } -func (o SqlQueryParameterEnumPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterEnum) *string { +func (o SqlQueryParameterDateRangePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRange) *string { if v == nil { return nil } @@ -63209,473 +63861,428 @@ func (o SqlQueryParameterEnumPtrOutput) Value() pulumi.StringPtrOutput { }).(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) -} - -type SqlQueryParameterEnumMultiple struct { - Prefix *string `pulumi:"prefix"` - Separator string `pulumi:"separator"` - Suffix *string `pulumi:"suffix"` +type SqlQueryParameterDateRangeRange struct { + End string `pulumi:"end"` + Start string `pulumi:"start"` } -// SqlQueryParameterEnumMultipleInput is an input type that accepts SqlQueryParameterEnumMultipleArgs and SqlQueryParameterEnumMultipleOutput values. -// You can construct a concrete instance of `SqlQueryParameterEnumMultipleInput` via: +// SqlQueryParameterDateRangeRangeInput is an input type that accepts SqlQueryParameterDateRangeRangeArgs and SqlQueryParameterDateRangeRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDateRangeRangeInput` via: // -// SqlQueryParameterEnumMultipleArgs{...} -type SqlQueryParameterEnumMultipleInput interface { +// SqlQueryParameterDateRangeRangeArgs{...} +type SqlQueryParameterDateRangeRangeInput interface { pulumi.Input - ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput - ToSqlQueryParameterEnumMultipleOutputWithContext(context.Context) SqlQueryParameterEnumMultipleOutput + ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput + ToSqlQueryParameterDateRangeRangeOutputWithContext(context.Context) SqlQueryParameterDateRangeRangeOutput } -type SqlQueryParameterEnumMultipleArgs struct { - Prefix pulumi.StringPtrInput `pulumi:"prefix"` - Separator pulumi.StringInput `pulumi:"separator"` - Suffix pulumi.StringPtrInput `pulumi:"suffix"` +type SqlQueryParameterDateRangeRangeArgs struct { + End pulumi.StringInput `pulumi:"end"` + Start pulumi.StringInput `pulumi:"start"` } -func (SqlQueryParameterEnumMultipleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterEnumMultiple)(nil)).Elem() +func (SqlQueryParameterDateRangeRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDateRangeRange)(nil)).Elem() } -func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput { - return i.ToSqlQueryParameterEnumMultipleOutputWithContext(context.Background()) +func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput { + return i.ToSqlQueryParameterDateRangeRangeOutputWithContext(context.Background()) } -func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultipleOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultipleOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultipleOutput) +func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangeOutput) } -func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { - return i.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { + return i.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultipleOutput).ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx) +func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangeOutput).ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx) } -// SqlQueryParameterEnumMultiplePtrInput is an input type that accepts SqlQueryParameterEnumMultipleArgs, SqlQueryParameterEnumMultiplePtr and SqlQueryParameterEnumMultiplePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterEnumMultiplePtrInput` via: +// SqlQueryParameterDateRangeRangePtrInput is an input type that accepts SqlQueryParameterDateRangeRangeArgs, SqlQueryParameterDateRangeRangePtr and SqlQueryParameterDateRangeRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDateRangeRangePtrInput` via: // -// SqlQueryParameterEnumMultipleArgs{...} +// SqlQueryParameterDateRangeRangeArgs{...} // // or: // // nil -type SqlQueryParameterEnumMultiplePtrInput interface { +type SqlQueryParameterDateRangeRangePtrInput interface { pulumi.Input - ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput - ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Context) SqlQueryParameterEnumMultiplePtrOutput + ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput + ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDateRangeRangePtrOutput } -type sqlQueryParameterEnumMultiplePtrType SqlQueryParameterEnumMultipleArgs +type sqlQueryParameterDateRangeRangePtrType SqlQueryParameterDateRangeRangeArgs -func SqlQueryParameterEnumMultiplePtr(v *SqlQueryParameterEnumMultipleArgs) SqlQueryParameterEnumMultiplePtrInput { - return (*sqlQueryParameterEnumMultiplePtrType)(v) +func SqlQueryParameterDateRangeRangePtr(v *SqlQueryParameterDateRangeRangeArgs) SqlQueryParameterDateRangeRangePtrInput { + return (*sqlQueryParameterDateRangeRangePtrType)(v) } -func (*sqlQueryParameterEnumMultiplePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterEnumMultiple)(nil)).Elem() +func (*sqlQueryParameterDateRangeRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDateRangeRange)(nil)).Elem() } -func (i *sqlQueryParameterEnumMultiplePtrType) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { - return i.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDateRangeRangePtrType) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { + return i.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterEnumMultiplePtrType) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultiplePtrOutput) +func (i *sqlQueryParameterDateRangeRangePtrType) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangePtrOutput) } -type SqlQueryParameterEnumMultipleOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDateRangeRangeOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterEnumMultipleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterEnumMultiple)(nil)).Elem() +func (SqlQueryParameterDateRangeRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDateRangeRange)(nil)).Elem() } -func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput { +func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput { return o } -func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultipleOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultipleOutput { +func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangeOutput { return o } -func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { - return o.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { + return o.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterEnumMultiple) *SqlQueryParameterEnumMultiple { +func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDateRangeRange) *SqlQueryParameterDateRangeRange { return &v - }).(SqlQueryParameterEnumMultiplePtrOutput) -} - -func (o SqlQueryParameterEnumMultipleOutput) Prefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterEnumMultiple) *string { return v.Prefix }).(pulumi.StringPtrOutput) + }).(SqlQueryParameterDateRangeRangePtrOutput) } -func (o SqlQueryParameterEnumMultipleOutput) Separator() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterEnumMultiple) string { return v.Separator }).(pulumi.StringOutput) +func (o SqlQueryParameterDateRangeRangeOutput) End() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDateRangeRange) string { return v.End }).(pulumi.StringOutput) } -func (o SqlQueryParameterEnumMultipleOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterEnumMultiple) *string { return v.Suffix }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDateRangeRangeOutput) Start() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDateRangeRange) string { return v.Start }).(pulumi.StringOutput) } -type SqlQueryParameterEnumMultiplePtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDateRangeRangePtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterEnumMultiplePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterEnumMultiple)(nil)).Elem() +func (SqlQueryParameterDateRangeRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDateRangeRange)(nil)).Elem() } -func (o SqlQueryParameterEnumMultiplePtrOutput) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { +func (o SqlQueryParameterDateRangeRangePtrOutput) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { return o } -func (o SqlQueryParameterEnumMultiplePtrOutput) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { +func (o SqlQueryParameterDateRangeRangePtrOutput) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { return o } -func (o SqlQueryParameterEnumMultiplePtrOutput) Elem() SqlQueryParameterEnumMultipleOutput { - return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) SqlQueryParameterEnumMultiple { +func (o SqlQueryParameterDateRangeRangePtrOutput) Elem() SqlQueryParameterDateRangeRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) SqlQueryParameterDateRangeRange { if v != nil { return *v } - var ret SqlQueryParameterEnumMultiple + var ret SqlQueryParameterDateRangeRange 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) + }).(SqlQueryParameterDateRangeRangeOutput) } -func (o SqlQueryParameterEnumMultiplePtrOutput) Separator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) *string { +func (o SqlQueryParameterDateRangeRangePtrOutput) End() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) *string { if v == nil { return nil } - return &v.Separator + return &v.End }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterEnumMultiplePtrOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) *string { +func (o SqlQueryParameterDateRangeRangePtrOutput) Start() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) *string { if v == nil { return nil } - return v.Suffix + return &v.Start }).(pulumi.StringPtrOutput) } -type SqlQueryParameterNumber struct { - Value float64 `pulumi:"value"` +type SqlQueryParameterDatetime struct { + Value string `pulumi:"value"` } -// SqlQueryParameterNumberInput is an input type that accepts SqlQueryParameterNumberArgs and SqlQueryParameterNumberOutput values. -// You can construct a concrete instance of `SqlQueryParameterNumberInput` via: +// SqlQueryParameterDatetimeInput is an input type that accepts SqlQueryParameterDatetimeArgs and SqlQueryParameterDatetimeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimeInput` via: // -// SqlQueryParameterNumberArgs{...} -type SqlQueryParameterNumberInput interface { +// SqlQueryParameterDatetimeArgs{...} +type SqlQueryParameterDatetimeInput interface { pulumi.Input - ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput - ToSqlQueryParameterNumberOutputWithContext(context.Context) SqlQueryParameterNumberOutput + ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput + ToSqlQueryParameterDatetimeOutputWithContext(context.Context) SqlQueryParameterDatetimeOutput } -type SqlQueryParameterNumberArgs struct { - Value pulumi.Float64Input `pulumi:"value"` +type SqlQueryParameterDatetimeArgs struct { + Value pulumi.StringInput `pulumi:"value"` } -func (SqlQueryParameterNumberArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterNumber)(nil)).Elem() +func (SqlQueryParameterDatetimeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetime)(nil)).Elem() } -func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput { - return i.ToSqlQueryParameterNumberOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput { + return i.ToSqlQueryParameterDatetimeOutputWithContext(context.Background()) } -func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberOutputWithContext(ctx context.Context) SqlQueryParameterNumberOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberOutput) +func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeOutput) } -func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { - return i.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { + return i.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberOutput).ToSqlQueryParameterNumberPtrOutputWithContext(ctx) +func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeOutput).ToSqlQueryParameterDatetimePtrOutputWithContext(ctx) } -// SqlQueryParameterNumberPtrInput is an input type that accepts SqlQueryParameterNumberArgs, SqlQueryParameterNumberPtr and SqlQueryParameterNumberPtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterNumberPtrInput` via: +// SqlQueryParameterDatetimePtrInput is an input type that accepts SqlQueryParameterDatetimeArgs, SqlQueryParameterDatetimePtr and SqlQueryParameterDatetimePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimePtrInput` via: // -// SqlQueryParameterNumberArgs{...} +// SqlQueryParameterDatetimeArgs{...} // // or: // // nil -type SqlQueryParameterNumberPtrInput interface { +type SqlQueryParameterDatetimePtrInput interface { pulumi.Input - ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput - ToSqlQueryParameterNumberPtrOutputWithContext(context.Context) SqlQueryParameterNumberPtrOutput + ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput + ToSqlQueryParameterDatetimePtrOutputWithContext(context.Context) SqlQueryParameterDatetimePtrOutput } -type sqlQueryParameterNumberPtrType SqlQueryParameterNumberArgs +type sqlQueryParameterDatetimePtrType SqlQueryParameterDatetimeArgs -func SqlQueryParameterNumberPtr(v *SqlQueryParameterNumberArgs) SqlQueryParameterNumberPtrInput { - return (*sqlQueryParameterNumberPtrType)(v) +func SqlQueryParameterDatetimePtr(v *SqlQueryParameterDatetimeArgs) SqlQueryParameterDatetimePtrInput { + return (*sqlQueryParameterDatetimePtrType)(v) } -func (*sqlQueryParameterNumberPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterNumber)(nil)).Elem() +func (*sqlQueryParameterDatetimePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetime)(nil)).Elem() } -func (i *sqlQueryParameterNumberPtrType) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { - return i.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDatetimePtrType) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { + return i.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterNumberPtrType) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberPtrOutput) +func (i *sqlQueryParameterDatetimePtrType) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimePtrOutput) } -type SqlQueryParameterNumberOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimeOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterNumberOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterNumber)(nil)).Elem() +func (SqlQueryParameterDatetimeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetime)(nil)).Elem() } -func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput { +func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput { return o } -func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberOutputWithContext(ctx context.Context) SqlQueryParameterNumberOutput { +func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeOutput { return o } -func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { - return o.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { + return o.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterNumber) *SqlQueryParameterNumber { +func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetime) *SqlQueryParameterDatetime { return &v - }).(SqlQueryParameterNumberPtrOutput) + }).(SqlQueryParameterDatetimePtrOutput) } -func (o SqlQueryParameterNumberOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v SqlQueryParameterNumber) float64 { return v.Value }).(pulumi.Float64Output) +func (o SqlQueryParameterDatetimeOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetime) string { return v.Value }).(pulumi.StringOutput) } -type SqlQueryParameterNumberPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimePtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterNumberPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterNumber)(nil)).Elem() +func (SqlQueryParameterDatetimePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetime)(nil)).Elem() } -func (o SqlQueryParameterNumberPtrOutput) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { +func (o SqlQueryParameterDatetimePtrOutput) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { return o } -func (o SqlQueryParameterNumberPtrOutput) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { +func (o SqlQueryParameterDatetimePtrOutput) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { return o } -func (o SqlQueryParameterNumberPtrOutput) Elem() SqlQueryParameterNumberOutput { - return o.ApplyT(func(v *SqlQueryParameterNumber) SqlQueryParameterNumber { +func (o SqlQueryParameterDatetimePtrOutput) Elem() SqlQueryParameterDatetimeOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetime) SqlQueryParameterDatetime { if v != nil { return *v } - var ret SqlQueryParameterNumber + var ret SqlQueryParameterDatetime return ret - }).(SqlQueryParameterNumberOutput) + }).(SqlQueryParameterDatetimeOutput) } -func (o SqlQueryParameterNumberPtrOutput) Value() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *SqlQueryParameterNumber) *float64 { +func (o SqlQueryParameterDatetimePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetime) *string { if v == nil { return nil } return &v.Value - }).(pulumi.Float64PtrOutput) + }).(pulumi.StringPtrOutput) } -type SqlQueryParameterQuery struct { - Multiple *SqlQueryParameterQueryMultiple `pulumi:"multiple"` - QueryId string `pulumi:"queryId"` - Value *string `pulumi:"value"` - Values []string `pulumi:"values"` +type SqlQueryParameterDatetimeRange struct { + Range *SqlQueryParameterDatetimeRangeRange `pulumi:"range"` + Value *string `pulumi:"value"` } -// SqlQueryParameterQueryInput is an input type that accepts SqlQueryParameterQueryArgs and SqlQueryParameterQueryOutput values. -// You can construct a concrete instance of `SqlQueryParameterQueryInput` via: +// SqlQueryParameterDatetimeRangeInput is an input type that accepts SqlQueryParameterDatetimeRangeArgs and SqlQueryParameterDatetimeRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeInput` via: // -// SqlQueryParameterQueryArgs{...} -type SqlQueryParameterQueryInput interface { +// SqlQueryParameterDatetimeRangeArgs{...} +type SqlQueryParameterDatetimeRangeInput interface { pulumi.Input - ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput - ToSqlQueryParameterQueryOutputWithContext(context.Context) SqlQueryParameterQueryOutput + ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput + ToSqlQueryParameterDatetimeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeOutput } -type SqlQueryParameterQueryArgs struct { - Multiple SqlQueryParameterQueryMultiplePtrInput `pulumi:"multiple"` - QueryId pulumi.StringInput `pulumi:"queryId"` - Value pulumi.StringPtrInput `pulumi:"value"` - Values pulumi.StringArrayInput `pulumi:"values"` +type SqlQueryParameterDatetimeRangeArgs struct { + Range SqlQueryParameterDatetimeRangeRangePtrInput `pulumi:"range"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (SqlQueryParameterQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterQuery)(nil)).Elem() +func (SqlQueryParameterDatetimeRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimeRange)(nil)).Elem() } -func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput { - return i.ToSqlQueryParameterQueryOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput { + return i.ToSqlQueryParameterDatetimeRangeOutputWithContext(context.Background()) } -func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryOutputWithContext(ctx context.Context) SqlQueryParameterQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryOutput) +func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeOutput) } -func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { - return i.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { + return i.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryOutput).ToSqlQueryParameterQueryPtrOutputWithContext(ctx) +func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeOutput).ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx) } -// SqlQueryParameterQueryPtrInput is an input type that accepts SqlQueryParameterQueryArgs, SqlQueryParameterQueryPtr and SqlQueryParameterQueryPtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterQueryPtrInput` via: +// SqlQueryParameterDatetimeRangePtrInput is an input type that accepts SqlQueryParameterDatetimeRangeArgs, SqlQueryParameterDatetimeRangePtr and SqlQueryParameterDatetimeRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimeRangePtrInput` via: // -// SqlQueryParameterQueryArgs{...} +// SqlQueryParameterDatetimeRangeArgs{...} // // or: // // nil -type SqlQueryParameterQueryPtrInput interface { +type SqlQueryParameterDatetimeRangePtrInput interface { pulumi.Input - ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput - ToSqlQueryParameterQueryPtrOutputWithContext(context.Context) SqlQueryParameterQueryPtrOutput + ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput + ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimeRangePtrOutput } -type sqlQueryParameterQueryPtrType SqlQueryParameterQueryArgs +type sqlQueryParameterDatetimeRangePtrType SqlQueryParameterDatetimeRangeArgs -func SqlQueryParameterQueryPtr(v *SqlQueryParameterQueryArgs) SqlQueryParameterQueryPtrInput { - return (*sqlQueryParameterQueryPtrType)(v) +func SqlQueryParameterDatetimeRangePtr(v *SqlQueryParameterDatetimeRangeArgs) SqlQueryParameterDatetimeRangePtrInput { + return (*sqlQueryParameterDatetimeRangePtrType)(v) } -func (*sqlQueryParameterQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterQuery)(nil)).Elem() +func (*sqlQueryParameterDatetimeRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimeRange)(nil)).Elem() } -func (i *sqlQueryParameterQueryPtrType) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { - return i.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDatetimeRangePtrType) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { + return i.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterQueryPtrType) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryPtrOutput) +func (i *sqlQueryParameterDatetimeRangePtrType) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangePtrOutput) } -type SqlQueryParameterQueryOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimeRangeOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterQuery)(nil)).Elem() +func (SqlQueryParameterDatetimeRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimeRange)(nil)).Elem() } -func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput { +func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput { return o } -func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryOutputWithContext(ctx context.Context) SqlQueryParameterQueryOutput { +func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeOutput { return o } -func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { - return o.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { + return o.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterQuery) *SqlQueryParameterQuery { +func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRange { 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) + }).(SqlQueryParameterDatetimeRangePtrOutput) } -func (o SqlQueryParameterQueryOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterQuery) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDatetimeRangeOutput) Range() SqlQueryParameterDatetimeRangeRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRangeRange { return v.Range }).(SqlQueryParameterDatetimeRangeRangePtrOutput) } -func (o SqlQueryParameterQueryOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v SqlQueryParameterQuery) []string { return v.Values }).(pulumi.StringArrayOutput) +func (o SqlQueryParameterDatetimeRangeOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimeRange) *string { return v.Value }).(pulumi.StringPtrOutput) } -type SqlQueryParameterQueryPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimeRangePtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterQuery)(nil)).Elem() +func (SqlQueryParameterDatetimeRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimeRange)(nil)).Elem() } -func (o SqlQueryParameterQueryPtrOutput) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { +func (o SqlQueryParameterDatetimeRangePtrOutput) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { return o } -func (o SqlQueryParameterQueryPtrOutput) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { +func (o SqlQueryParameterDatetimeRangePtrOutput) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { return o } -func (o SqlQueryParameterQueryPtrOutput) Elem() SqlQueryParameterQueryOutput { - return o.ApplyT(func(v *SqlQueryParameterQuery) SqlQueryParameterQuery { +func (o SqlQueryParameterDatetimeRangePtrOutput) Elem() SqlQueryParameterDatetimeRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) SqlQueryParameterDatetimeRange { if v != nil { return *v } - var ret SqlQueryParameterQuery + var ret SqlQueryParameterDatetimeRange return ret - }).(SqlQueryParameterQueryOutput) -} - -func (o SqlQueryParameterQueryPtrOutput) Multiple() SqlQueryParameterQueryMultiplePtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQuery) *SqlQueryParameterQueryMultiple { - if v == nil { - return nil - } - return v.Multiple - }).(SqlQueryParameterQueryMultiplePtrOutput) + }).(SqlQueryParameterDatetimeRangeOutput) } -func (o SqlQueryParameterQueryPtrOutput) QueryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQuery) *string { +func (o SqlQueryParameterDatetimeRangePtrOutput) Range() SqlQueryParameterDatetimeRangeRangePtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRangeRange { if v == nil { return nil } - return &v.QueryId - }).(pulumi.StringPtrOutput) + return v.Range + }).(SqlQueryParameterDatetimeRangeRangePtrOutput) } -func (o SqlQueryParameterQueryPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQuery) *string { +func (o SqlQueryParameterDatetimeRangePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) *string { if v == nil { return nil } @@ -63683,304 +64290,280 @@ func (o SqlQueryParameterQueryPtrOutput) Value() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterQueryPtrOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v *SqlQueryParameterQuery) []string { - if v == nil { - return nil - } - return v.Values - }).(pulumi.StringArrayOutput) -} - -type SqlQueryParameterQueryMultiple struct { - Prefix *string `pulumi:"prefix"` - Separator string `pulumi:"separator"` - Suffix *string `pulumi:"suffix"` +type SqlQueryParameterDatetimeRangeRange struct { + End string `pulumi:"end"` + Start string `pulumi:"start"` } -// SqlQueryParameterQueryMultipleInput is an input type that accepts SqlQueryParameterQueryMultipleArgs and SqlQueryParameterQueryMultipleOutput values. -// You can construct a concrete instance of `SqlQueryParameterQueryMultipleInput` via: +// SqlQueryParameterDatetimeRangeRangeInput is an input type that accepts SqlQueryParameterDatetimeRangeRangeArgs and SqlQueryParameterDatetimeRangeRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeRangeInput` via: // -// SqlQueryParameterQueryMultipleArgs{...} -type SqlQueryParameterQueryMultipleInput interface { +// SqlQueryParameterDatetimeRangeRangeArgs{...} +type SqlQueryParameterDatetimeRangeRangeInput interface { pulumi.Input - ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput - ToSqlQueryParameterQueryMultipleOutputWithContext(context.Context) SqlQueryParameterQueryMultipleOutput + ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput + ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeRangeOutput } -type SqlQueryParameterQueryMultipleArgs struct { - Prefix pulumi.StringPtrInput `pulumi:"prefix"` - Separator pulumi.StringInput `pulumi:"separator"` - Suffix pulumi.StringPtrInput `pulumi:"suffix"` +type SqlQueryParameterDatetimeRangeRangeArgs struct { + End pulumi.StringInput `pulumi:"end"` + Start pulumi.StringInput `pulumi:"start"` } -func (SqlQueryParameterQueryMultipleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterQueryMultiple)(nil)).Elem() +func (SqlQueryParameterDatetimeRangeRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimeRangeRange)(nil)).Elem() } -func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput { - return i.ToSqlQueryParameterQueryMultipleOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput { + return i.ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(context.Background()) } -func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultipleOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultipleOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultipleOutput) +func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangeOutput) } -func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { - return i.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { + return i.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultipleOutput).ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx) +func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangeOutput).ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx) } -// SqlQueryParameterQueryMultiplePtrInput is an input type that accepts SqlQueryParameterQueryMultipleArgs, SqlQueryParameterQueryMultiplePtr and SqlQueryParameterQueryMultiplePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterQueryMultiplePtrInput` via: +// SqlQueryParameterDatetimeRangeRangePtrInput is an input type that accepts SqlQueryParameterDatetimeRangeRangeArgs, SqlQueryParameterDatetimeRangeRangePtr and SqlQueryParameterDatetimeRangeRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeRangePtrInput` via: // -// SqlQueryParameterQueryMultipleArgs{...} +// SqlQueryParameterDatetimeRangeRangeArgs{...} // // or: // // nil -type SqlQueryParameterQueryMultiplePtrInput interface { +type SqlQueryParameterDatetimeRangeRangePtrInput interface { pulumi.Input - ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput - ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Context) SqlQueryParameterQueryMultiplePtrOutput + ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput + ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput } -type sqlQueryParameterQueryMultiplePtrType SqlQueryParameterQueryMultipleArgs +type sqlQueryParameterDatetimeRangeRangePtrType SqlQueryParameterDatetimeRangeRangeArgs -func SqlQueryParameterQueryMultiplePtr(v *SqlQueryParameterQueryMultipleArgs) SqlQueryParameterQueryMultiplePtrInput { - return (*sqlQueryParameterQueryMultiplePtrType)(v) +func SqlQueryParameterDatetimeRangeRangePtr(v *SqlQueryParameterDatetimeRangeRangeArgs) SqlQueryParameterDatetimeRangeRangePtrInput { + return (*sqlQueryParameterDatetimeRangeRangePtrType)(v) } -func (*sqlQueryParameterQueryMultiplePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterQueryMultiple)(nil)).Elem() +func (*sqlQueryParameterDatetimeRangeRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimeRangeRange)(nil)).Elem() } -func (i *sqlQueryParameterQueryMultiplePtrType) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { - return i.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDatetimeRangeRangePtrType) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { + return i.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterQueryMultiplePtrType) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultiplePtrOutput) +func (i *sqlQueryParameterDatetimeRangeRangePtrType) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangePtrOutput) } -type SqlQueryParameterQueryMultipleOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimeRangeRangeOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterQueryMultipleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterQueryMultiple)(nil)).Elem() +func (SqlQueryParameterDatetimeRangeRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimeRangeRange)(nil)).Elem() } -func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput { +func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput { return o } -func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultipleOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultipleOutput { +func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangeOutput { return o } -func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { - return o.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { + return o.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterQueryMultiple) *SqlQueryParameterQueryMultiple { +func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimeRangeRange) *SqlQueryParameterDatetimeRangeRange { return &v - }).(SqlQueryParameterQueryMultiplePtrOutput) -} - -func (o SqlQueryParameterQueryMultipleOutput) Prefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterQueryMultiple) *string { return v.Prefix }).(pulumi.StringPtrOutput) + }).(SqlQueryParameterDatetimeRangeRangePtrOutput) } -func (o SqlQueryParameterQueryMultipleOutput) Separator() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterQueryMultiple) string { return v.Separator }).(pulumi.StringOutput) +func (o SqlQueryParameterDatetimeRangeRangeOutput) End() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimeRangeRange) string { return v.End }).(pulumi.StringOutput) } -func (o SqlQueryParameterQueryMultipleOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterQueryMultiple) *string { return v.Suffix }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDatetimeRangeRangeOutput) Start() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimeRangeRange) string { return v.Start }).(pulumi.StringOutput) } -type SqlQueryParameterQueryMultiplePtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimeRangeRangePtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterQueryMultiplePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterQueryMultiple)(nil)).Elem() +func (SqlQueryParameterDatetimeRangeRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimeRangeRange)(nil)).Elem() } -func (o SqlQueryParameterQueryMultiplePtrOutput) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { +func (o SqlQueryParameterDatetimeRangeRangePtrOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { return o } -func (o SqlQueryParameterQueryMultiplePtrOutput) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { +func (o SqlQueryParameterDatetimeRangeRangePtrOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { return o } -func (o SqlQueryParameterQueryMultiplePtrOutput) Elem() SqlQueryParameterQueryMultipleOutput { - return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) SqlQueryParameterQueryMultiple { +func (o SqlQueryParameterDatetimeRangeRangePtrOutput) Elem() SqlQueryParameterDatetimeRangeRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) SqlQueryParameterDatetimeRangeRange { if v != nil { return *v } - var ret SqlQueryParameterQueryMultiple + var ret SqlQueryParameterDatetimeRangeRange 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) + }).(SqlQueryParameterDatetimeRangeRangeOutput) } -func (o SqlQueryParameterQueryMultiplePtrOutput) Separator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { +func (o SqlQueryParameterDatetimeRangeRangePtrOutput) End() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) *string { if v == nil { return nil } - return &v.Separator + return &v.End }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterQueryMultiplePtrOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { +func (o SqlQueryParameterDatetimeRangeRangePtrOutput) Start() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) *string { if v == nil { return nil } - return v.Suffix + return &v.Start }).(pulumi.StringPtrOutput) } -type SqlQueryParameterText struct { +type SqlQueryParameterDatetimesec struct { Value string `pulumi:"value"` } -// SqlQueryParameterTextInput is an input type that accepts SqlQueryParameterTextArgs and SqlQueryParameterTextOutput values. -// You can construct a concrete instance of `SqlQueryParameterTextInput` via: +// SqlQueryParameterDatetimesecInput is an input type that accepts SqlQueryParameterDatetimesecArgs and SqlQueryParameterDatetimesecOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecInput` via: // -// SqlQueryParameterTextArgs{...} -type SqlQueryParameterTextInput interface { +// SqlQueryParameterDatetimesecArgs{...} +type SqlQueryParameterDatetimesecInput interface { pulumi.Input - ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput - ToSqlQueryParameterTextOutputWithContext(context.Context) SqlQueryParameterTextOutput + ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput + ToSqlQueryParameterDatetimesecOutputWithContext(context.Context) SqlQueryParameterDatetimesecOutput } -type SqlQueryParameterTextArgs struct { +type SqlQueryParameterDatetimesecArgs struct { Value pulumi.StringInput `pulumi:"value"` } -func (SqlQueryParameterTextArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterText)(nil)).Elem() +func (SqlQueryParameterDatetimesecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesec)(nil)).Elem() } -func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput { - return i.ToSqlQueryParameterTextOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput { + return i.ToSqlQueryParameterDatetimesecOutputWithContext(context.Background()) } -func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextOutputWithContext(ctx context.Context) SqlQueryParameterTextOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextOutput) +func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecOutput) } -func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { - return i.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { + return i.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextOutput).ToSqlQueryParameterTextPtrOutputWithContext(ctx) +func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecOutput).ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx) } -// SqlQueryParameterTextPtrInput is an input type that accepts SqlQueryParameterTextArgs, SqlQueryParameterTextPtr and SqlQueryParameterTextPtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterTextPtrInput` via: +// SqlQueryParameterDatetimesecPtrInput is an input type that accepts SqlQueryParameterDatetimesecArgs, SqlQueryParameterDatetimesecPtr and SqlQueryParameterDatetimesecPtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecPtrInput` via: // -// SqlQueryParameterTextArgs{...} +// SqlQueryParameterDatetimesecArgs{...} // // or: // // nil -type SqlQueryParameterTextPtrInput interface { +type SqlQueryParameterDatetimesecPtrInput interface { pulumi.Input - ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput - ToSqlQueryParameterTextPtrOutputWithContext(context.Context) SqlQueryParameterTextPtrOutput + ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput + ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecPtrOutput } -type sqlQueryParameterTextPtrType SqlQueryParameterTextArgs +type sqlQueryParameterDatetimesecPtrType SqlQueryParameterDatetimesecArgs -func SqlQueryParameterTextPtr(v *SqlQueryParameterTextArgs) SqlQueryParameterTextPtrInput { - return (*sqlQueryParameterTextPtrType)(v) +func SqlQueryParameterDatetimesecPtr(v *SqlQueryParameterDatetimesecArgs) SqlQueryParameterDatetimesecPtrInput { + return (*sqlQueryParameterDatetimesecPtrType)(v) } -func (*sqlQueryParameterTextPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterText)(nil)).Elem() +func (*sqlQueryParameterDatetimesecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesec)(nil)).Elem() } -func (i *sqlQueryParameterTextPtrType) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { - return i.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDatetimesecPtrType) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { + return i.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterTextPtrType) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextPtrOutput) +func (i *sqlQueryParameterDatetimesecPtrType) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecPtrOutput) } -type SqlQueryParameterTextOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimesecOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterTextOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterText)(nil)).Elem() +func (SqlQueryParameterDatetimesecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesec)(nil)).Elem() } -func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput { +func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput { return o } -func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextOutputWithContext(ctx context.Context) SqlQueryParameterTextOutput { +func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecOutput { return o } -func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { - return o.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { + return o.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterText) *SqlQueryParameterText { +func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesec) *SqlQueryParameterDatetimesec { return &v - }).(SqlQueryParameterTextPtrOutput) + }).(SqlQueryParameterDatetimesecPtrOutput) } -func (o SqlQueryParameterTextOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterText) string { return v.Value }).(pulumi.StringOutput) +func (o SqlQueryParameterDatetimesecOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimesec) string { return v.Value }).(pulumi.StringOutput) } -type SqlQueryParameterTextPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimesecPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterTextPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterText)(nil)).Elem() +func (SqlQueryParameterDatetimesecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesec)(nil)).Elem() } -func (o SqlQueryParameterTextPtrOutput) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { +func (o SqlQueryParameterDatetimesecPtrOutput) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { return o } -func (o SqlQueryParameterTextPtrOutput) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { +func (o SqlQueryParameterDatetimesecPtrOutput) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { return o } -func (o SqlQueryParameterTextPtrOutput) Elem() SqlQueryParameterTextOutput { - return o.ApplyT(func(v *SqlQueryParameterText) SqlQueryParameterText { +func (o SqlQueryParameterDatetimesecPtrOutput) Elem() SqlQueryParameterDatetimesecOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesec) SqlQueryParameterDatetimesec { if v != nil { return *v } - var ret SqlQueryParameterText + var ret SqlQueryParameterDatetimesec return ret - }).(SqlQueryParameterTextOutput) + }).(SqlQueryParameterDatetimesecOutput) } -func (o SqlQueryParameterTextPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterText) *string { +func (o SqlQueryParameterDatetimesecPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesec) *string { if v == nil { return nil } @@ -63988,7124 +64571,6629 @@ func (o SqlQueryParameterTextPtrOutput) Value() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -type SqlQuerySchedule struct { - Continuous *SqlQueryScheduleContinuous `pulumi:"continuous"` - Daily *SqlQueryScheduleDaily `pulumi:"daily"` - Weekly *SqlQueryScheduleWeekly `pulumi:"weekly"` +type SqlQueryParameterDatetimesecRange struct { + Range *SqlQueryParameterDatetimesecRangeRange `pulumi:"range"` + Value *string `pulumi:"value"` } -// SqlQueryScheduleInput is an input type that accepts SqlQueryScheduleArgs and SqlQueryScheduleOutput values. -// You can construct a concrete instance of `SqlQueryScheduleInput` via: +// SqlQueryParameterDatetimesecRangeInput is an input type that accepts SqlQueryParameterDatetimesecRangeArgs and SqlQueryParameterDatetimesecRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeInput` via: // -// SqlQueryScheduleArgs{...} -type SqlQueryScheduleInput interface { +// SqlQueryParameterDatetimesecRangeArgs{...} +type SqlQueryParameterDatetimesecRangeInput interface { pulumi.Input - ToSqlQueryScheduleOutput() SqlQueryScheduleOutput - ToSqlQueryScheduleOutputWithContext(context.Context) SqlQueryScheduleOutput + ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput + ToSqlQueryParameterDatetimesecRangeOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeOutput } -type SqlQueryScheduleArgs struct { - Continuous SqlQueryScheduleContinuousPtrInput `pulumi:"continuous"` - Daily SqlQueryScheduleDailyPtrInput `pulumi:"daily"` - Weekly SqlQueryScheduleWeeklyPtrInput `pulumi:"weekly"` +type SqlQueryParameterDatetimesecRangeArgs struct { + Range SqlQueryParameterDatetimesecRangeRangePtrInput `pulumi:"range"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (SqlQueryScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQuerySchedule)(nil)).Elem() +func (SqlQueryParameterDatetimesecRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesecRange)(nil)).Elem() } -func (i SqlQueryScheduleArgs) ToSqlQueryScheduleOutput() SqlQueryScheduleOutput { - return i.ToSqlQueryScheduleOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput { + return i.ToSqlQueryParameterDatetimesecRangeOutputWithContext(context.Background()) } -func (i SqlQueryScheduleArgs) ToSqlQueryScheduleOutputWithContext(ctx context.Context) SqlQueryScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleOutput) +func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeOutput) } -func (i SqlQueryScheduleArgs) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { - return i.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { + return i.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) } -func (i SqlQueryScheduleArgs) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleOutput).ToSqlQuerySchedulePtrOutputWithContext(ctx) +func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeOutput).ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx) } -// SqlQuerySchedulePtrInput is an input type that accepts SqlQueryScheduleArgs, SqlQuerySchedulePtr and SqlQuerySchedulePtrOutput values. -// You can construct a concrete instance of `SqlQuerySchedulePtrInput` via: +// SqlQueryParameterDatetimesecRangePtrInput is an input type that accepts SqlQueryParameterDatetimesecRangeArgs, SqlQueryParameterDatetimesecRangePtr and SqlQueryParameterDatetimesecRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangePtrInput` via: // -// SqlQueryScheduleArgs{...} +// SqlQueryParameterDatetimesecRangeArgs{...} // // or: // // nil -type SqlQuerySchedulePtrInput interface { +type SqlQueryParameterDatetimesecRangePtrInput interface { pulumi.Input - ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput - ToSqlQuerySchedulePtrOutputWithContext(context.Context) SqlQuerySchedulePtrOutput + ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput + ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangePtrOutput } -type sqlQuerySchedulePtrType SqlQueryScheduleArgs +type sqlQueryParameterDatetimesecRangePtrType SqlQueryParameterDatetimesecRangeArgs -func SqlQuerySchedulePtr(v *SqlQueryScheduleArgs) SqlQuerySchedulePtrInput { - return (*sqlQuerySchedulePtrType)(v) +func SqlQueryParameterDatetimesecRangePtr(v *SqlQueryParameterDatetimesecRangeArgs) SqlQueryParameterDatetimesecRangePtrInput { + return (*sqlQueryParameterDatetimesecRangePtrType)(v) } -func (*sqlQuerySchedulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQuerySchedule)(nil)).Elem() +func (*sqlQueryParameterDatetimesecRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesecRange)(nil)).Elem() } -func (i *sqlQuerySchedulePtrType) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { - return i.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDatetimesecRangePtrType) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { + return i.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) } -func (i *sqlQuerySchedulePtrType) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQuerySchedulePtrOutput) +func (i *sqlQueryParameterDatetimesecRangePtrType) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangePtrOutput) } -type SqlQueryScheduleOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimesecRangeOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQuerySchedule)(nil)).Elem() +func (SqlQueryParameterDatetimesecRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesecRange)(nil)).Elem() } -func (o SqlQueryScheduleOutput) ToSqlQueryScheduleOutput() SqlQueryScheduleOutput { +func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput { return o } -func (o SqlQueryScheduleOutput) ToSqlQueryScheduleOutputWithContext(ctx context.Context) SqlQueryScheduleOutput { +func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeOutput { return o } -func (o SqlQueryScheduleOutput) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { - return o.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { + return o.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) } -func (o SqlQueryScheduleOutput) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQuerySchedule) *SqlQuerySchedule { +func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRange { return &v - }).(SqlQuerySchedulePtrOutput) -} - -func (o SqlQueryScheduleOutput) Continuous() SqlQueryScheduleContinuousPtrOutput { - return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleContinuous { return v.Continuous }).(SqlQueryScheduleContinuousPtrOutput) + }).(SqlQueryParameterDatetimesecRangePtrOutput) } -func (o SqlQueryScheduleOutput) Daily() SqlQueryScheduleDailyPtrOutput { - return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleDaily { return v.Daily }).(SqlQueryScheduleDailyPtrOutput) +func (o SqlQueryParameterDatetimesecRangeOutput) Range() SqlQueryParameterDatetimesecRangeRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRangeRange { return v.Range }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) } -func (o SqlQueryScheduleOutput) Weekly() SqlQueryScheduleWeeklyPtrOutput { - return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleWeekly { return v.Weekly }).(SqlQueryScheduleWeeklyPtrOutput) +func (o SqlQueryParameterDatetimesecRangeOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimesecRange) *string { return v.Value }).(pulumi.StringPtrOutput) } -type SqlQuerySchedulePtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimesecRangePtrOutput struct{ *pulumi.OutputState } -func (SqlQuerySchedulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQuerySchedule)(nil)).Elem() +func (SqlQueryParameterDatetimesecRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesecRange)(nil)).Elem() } -func (o SqlQuerySchedulePtrOutput) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { +func (o SqlQueryParameterDatetimesecRangePtrOutput) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { return o } -func (o SqlQuerySchedulePtrOutput) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { +func (o SqlQueryParameterDatetimesecRangePtrOutput) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { return o } -func (o SqlQuerySchedulePtrOutput) Elem() SqlQueryScheduleOutput { - return o.ApplyT(func(v *SqlQuerySchedule) SqlQuerySchedule { +func (o SqlQueryParameterDatetimesecRangePtrOutput) Elem() SqlQueryParameterDatetimesecRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) SqlQueryParameterDatetimesecRange { if v != nil { return *v } - var ret SqlQuerySchedule + var ret SqlQueryParameterDatetimesecRange return ret - }).(SqlQueryScheduleOutput) -} - -func (o SqlQuerySchedulePtrOutput) Continuous() SqlQueryScheduleContinuousPtrOutput { - return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleContinuous { - if v == nil { - return nil - } - return v.Continuous - }).(SqlQueryScheduleContinuousPtrOutput) + }).(SqlQueryParameterDatetimesecRangeOutput) } -func (o SqlQuerySchedulePtrOutput) Daily() SqlQueryScheduleDailyPtrOutput { - return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleDaily { +func (o SqlQueryParameterDatetimesecRangePtrOutput) Range() SqlQueryParameterDatetimesecRangeRangePtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRangeRange { if v == nil { return nil } - return v.Daily - }).(SqlQueryScheduleDailyPtrOutput) + return v.Range + }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) } -func (o SqlQuerySchedulePtrOutput) Weekly() SqlQueryScheduleWeeklyPtrOutput { - return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleWeekly { +func (o SqlQueryParameterDatetimesecRangePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) *string { if v == nil { return nil } - return v.Weekly - }).(SqlQueryScheduleWeeklyPtrOutput) + return v.Value + }).(pulumi.StringPtrOutput) } -type SqlQueryScheduleContinuous struct { - IntervalSeconds int `pulumi:"intervalSeconds"` - UntilDate *string `pulumi:"untilDate"` +type SqlQueryParameterDatetimesecRangeRange struct { + End string `pulumi:"end"` + Start string `pulumi:"start"` } -// SqlQueryScheduleContinuousInput is an input type that accepts SqlQueryScheduleContinuousArgs and SqlQueryScheduleContinuousOutput values. -// You can construct a concrete instance of `SqlQueryScheduleContinuousInput` via: +// SqlQueryParameterDatetimesecRangeRangeInput is an input type that accepts SqlQueryParameterDatetimesecRangeRangeArgs and SqlQueryParameterDatetimesecRangeRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeRangeInput` via: // -// SqlQueryScheduleContinuousArgs{...} -type SqlQueryScheduleContinuousInput interface { +// SqlQueryParameterDatetimesecRangeRangeArgs{...} +type SqlQueryParameterDatetimesecRangeRangeInput interface { pulumi.Input - ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput - ToSqlQueryScheduleContinuousOutputWithContext(context.Context) SqlQueryScheduleContinuousOutput + ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput + ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeRangeOutput } -type SqlQueryScheduleContinuousArgs struct { - IntervalSeconds pulumi.IntInput `pulumi:"intervalSeconds"` - UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` +type SqlQueryParameterDatetimesecRangeRangeArgs struct { + End pulumi.StringInput `pulumi:"end"` + Start pulumi.StringInput `pulumi:"start"` } -func (SqlQueryScheduleContinuousArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleContinuous)(nil)).Elem() +func (SqlQueryParameterDatetimesecRangeRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() } -func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput { - return i.ToSqlQueryScheduleContinuousOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput { + return i.ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(context.Background()) } -func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousOutput) +func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangeOutput) } -func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { - return i.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { + return i.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) } -func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousOutput).ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx) +func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangeOutput).ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx) } -// SqlQueryScheduleContinuousPtrInput is an input type that accepts SqlQueryScheduleContinuousArgs, SqlQueryScheduleContinuousPtr and SqlQueryScheduleContinuousPtrOutput values. -// You can construct a concrete instance of `SqlQueryScheduleContinuousPtrInput` via: +// SqlQueryParameterDatetimesecRangeRangePtrInput is an input type that accepts SqlQueryParameterDatetimesecRangeRangeArgs, SqlQueryParameterDatetimesecRangeRangePtr and SqlQueryParameterDatetimesecRangeRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeRangePtrInput` via: // -// SqlQueryScheduleContinuousArgs{...} +// SqlQueryParameterDatetimesecRangeRangeArgs{...} // // or: // // nil -type SqlQueryScheduleContinuousPtrInput interface { +type SqlQueryParameterDatetimesecRangeRangePtrInput interface { pulumi.Input - ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput - ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Context) SqlQueryScheduleContinuousPtrOutput + ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput + ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput } -type sqlQueryScheduleContinuousPtrType SqlQueryScheduleContinuousArgs +type sqlQueryParameterDatetimesecRangeRangePtrType SqlQueryParameterDatetimesecRangeRangeArgs -func SqlQueryScheduleContinuousPtr(v *SqlQueryScheduleContinuousArgs) SqlQueryScheduleContinuousPtrInput { - return (*sqlQueryScheduleContinuousPtrType)(v) +func SqlQueryParameterDatetimesecRangeRangePtr(v *SqlQueryParameterDatetimesecRangeRangeArgs) SqlQueryParameterDatetimesecRangeRangePtrInput { + return (*sqlQueryParameterDatetimesecRangeRangePtrType)(v) } -func (*sqlQueryScheduleContinuousPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleContinuous)(nil)).Elem() +func (*sqlQueryParameterDatetimesecRangeRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() } -func (i *sqlQueryScheduleContinuousPtrType) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { - return i.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDatetimesecRangeRangePtrType) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { + return i.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) } -func (i *sqlQueryScheduleContinuousPtrType) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousPtrOutput) +func (i *sqlQueryParameterDatetimesecRangeRangePtrType) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangePtrOutput) } -type SqlQueryScheduleContinuousOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimesecRangeRangeOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleContinuousOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleContinuous)(nil)).Elem() +func (SqlQueryParameterDatetimesecRangeRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() } -func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput { +func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput { return o } -func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousOutput { +func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangeOutput { return o } -func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { - return o.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { + return o.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) } -func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleContinuous) *SqlQueryScheduleContinuous { +func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesecRangeRange) *SqlQueryParameterDatetimesecRangeRange { return &v - }).(SqlQueryScheduleContinuousPtrOutput) + }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) } -func (o SqlQueryScheduleContinuousOutput) IntervalSeconds() pulumi.IntOutput { - return o.ApplyT(func(v SqlQueryScheduleContinuous) int { return v.IntervalSeconds }).(pulumi.IntOutput) +func (o SqlQueryParameterDatetimesecRangeRangeOutput) End() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimesecRangeRange) string { return v.End }).(pulumi.StringOutput) } -func (o SqlQueryScheduleContinuousOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryScheduleContinuous) *string { return v.UntilDate }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDatetimesecRangeRangeOutput) Start() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimesecRangeRange) string { return v.Start }).(pulumi.StringOutput) } -type SqlQueryScheduleContinuousPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimesecRangeRangePtrOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleContinuousPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleContinuous)(nil)).Elem() +func (SqlQueryParameterDatetimesecRangeRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() } -func (o SqlQueryScheduleContinuousPtrOutput) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { +func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { return o } -func (o SqlQueryScheduleContinuousPtrOutput) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { +func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { return o } -func (o SqlQueryScheduleContinuousPtrOutput) Elem() SqlQueryScheduleContinuousOutput { - return o.ApplyT(func(v *SqlQueryScheduleContinuous) SqlQueryScheduleContinuous { +func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) Elem() SqlQueryParameterDatetimesecRangeRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) SqlQueryParameterDatetimesecRangeRange { if v != nil { return *v } - var ret SqlQueryScheduleContinuous + var ret SqlQueryParameterDatetimesecRangeRange return ret - }).(SqlQueryScheduleContinuousOutput) + }).(SqlQueryParameterDatetimesecRangeRangeOutput) } -func (o SqlQueryScheduleContinuousPtrOutput) IntervalSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleContinuous) *int { +func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) End() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) *string { if v == nil { return nil } - return &v.IntervalSeconds - }).(pulumi.IntPtrOutput) + return &v.End + }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleContinuousPtrOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleContinuous) *string { +func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) Start() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) *string { if v == nil { return nil } - return v.UntilDate + return &v.Start }).(pulumi.StringPtrOutput) } -type SqlQueryScheduleDaily struct { - IntervalDays int `pulumi:"intervalDays"` - TimeOfDay string `pulumi:"timeOfDay"` - UntilDate *string `pulumi:"untilDate"` +type SqlQueryParameterEnum struct { + Multiple *SqlQueryParameterEnumMultiple `pulumi:"multiple"` + Options []string `pulumi:"options"` + Value *string `pulumi:"value"` + Values []string `pulumi:"values"` } -// SqlQueryScheduleDailyInput is an input type that accepts SqlQueryScheduleDailyArgs and SqlQueryScheduleDailyOutput values. -// You can construct a concrete instance of `SqlQueryScheduleDailyInput` via: +// SqlQueryParameterEnumInput is an input type that accepts SqlQueryParameterEnumArgs and SqlQueryParameterEnumOutput values. +// You can construct a concrete instance of `SqlQueryParameterEnumInput` via: // -// SqlQueryScheduleDailyArgs{...} -type SqlQueryScheduleDailyInput interface { +// SqlQueryParameterEnumArgs{...} +type SqlQueryParameterEnumInput interface { pulumi.Input - ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput - ToSqlQueryScheduleDailyOutputWithContext(context.Context) SqlQueryScheduleDailyOutput + ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput + ToSqlQueryParameterEnumOutputWithContext(context.Context) SqlQueryParameterEnumOutput } -type SqlQueryScheduleDailyArgs struct { - IntervalDays pulumi.IntInput `pulumi:"intervalDays"` - TimeOfDay pulumi.StringInput `pulumi:"timeOfDay"` - UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` +type SqlQueryParameterEnumArgs struct { + Multiple SqlQueryParameterEnumMultiplePtrInput `pulumi:"multiple"` + Options pulumi.StringArrayInput `pulumi:"options"` + Value pulumi.StringPtrInput `pulumi:"value"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (SqlQueryScheduleDailyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleDaily)(nil)).Elem() +func (SqlQueryParameterEnumArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterEnum)(nil)).Elem() } -func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput { - return i.ToSqlQueryScheduleDailyOutputWithContext(context.Background()) +func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput { + return i.ToSqlQueryParameterEnumOutputWithContext(context.Background()) } -func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyOutputWithContext(ctx context.Context) SqlQueryScheduleDailyOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyOutput) +func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumOutputWithContext(ctx context.Context) SqlQueryParameterEnumOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumOutput) } -func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { - return i.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { + return i.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) } -func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyOutput).ToSqlQueryScheduleDailyPtrOutputWithContext(ctx) +func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumOutput).ToSqlQueryParameterEnumPtrOutputWithContext(ctx) } -// SqlQueryScheduleDailyPtrInput is an input type that accepts SqlQueryScheduleDailyArgs, SqlQueryScheduleDailyPtr and SqlQueryScheduleDailyPtrOutput values. -// You can construct a concrete instance of `SqlQueryScheduleDailyPtrInput` via: +// SqlQueryParameterEnumPtrInput is an input type that accepts SqlQueryParameterEnumArgs, SqlQueryParameterEnumPtr and SqlQueryParameterEnumPtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterEnumPtrInput` via: // -// SqlQueryScheduleDailyArgs{...} +// SqlQueryParameterEnumArgs{...} // // or: // // nil -type SqlQueryScheduleDailyPtrInput interface { +type SqlQueryParameterEnumPtrInput interface { pulumi.Input - ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput - ToSqlQueryScheduleDailyPtrOutputWithContext(context.Context) SqlQueryScheduleDailyPtrOutput + ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput + ToSqlQueryParameterEnumPtrOutputWithContext(context.Context) SqlQueryParameterEnumPtrOutput } -type sqlQueryScheduleDailyPtrType SqlQueryScheduleDailyArgs +type sqlQueryParameterEnumPtrType SqlQueryParameterEnumArgs -func SqlQueryScheduleDailyPtr(v *SqlQueryScheduleDailyArgs) SqlQueryScheduleDailyPtrInput { - return (*sqlQueryScheduleDailyPtrType)(v) +func SqlQueryParameterEnumPtr(v *SqlQueryParameterEnumArgs) SqlQueryParameterEnumPtrInput { + return (*sqlQueryParameterEnumPtrType)(v) } -func (*sqlQueryScheduleDailyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleDaily)(nil)).Elem() +func (*sqlQueryParameterEnumPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterEnum)(nil)).Elem() } -func (i *sqlQueryScheduleDailyPtrType) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { - return i.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterEnumPtrType) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { + return i.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) } -func (i *sqlQueryScheduleDailyPtrType) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyPtrOutput) +func (i *sqlQueryParameterEnumPtrType) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumPtrOutput) } -type SqlQueryScheduleDailyOutput struct{ *pulumi.OutputState } +type SqlQueryParameterEnumOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleDailyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleDaily)(nil)).Elem() +func (SqlQueryParameterEnumOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterEnum)(nil)).Elem() } -func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput { +func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput { return o } -func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyOutputWithContext(ctx context.Context) SqlQueryScheduleDailyOutput { +func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumOutputWithContext(ctx context.Context) SqlQueryParameterEnumOutput { return o } -func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { - return o.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { + return o.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) } -func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleDaily) *SqlQueryScheduleDaily { +func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterEnum) *SqlQueryParameterEnum { return &v - }).(SqlQueryScheduleDailyPtrOutput) + }).(SqlQueryParameterEnumPtrOutput) } -func (o SqlQueryScheduleDailyOutput) IntervalDays() pulumi.IntOutput { - return o.ApplyT(func(v SqlQueryScheduleDaily) int { return v.IntervalDays }).(pulumi.IntOutput) +func (o SqlQueryParameterEnumOutput) Multiple() SqlQueryParameterEnumMultiplePtrOutput { + return o.ApplyT(func(v SqlQueryParameterEnum) *SqlQueryParameterEnumMultiple { return v.Multiple }).(SqlQueryParameterEnumMultiplePtrOutput) } -func (o SqlQueryScheduleDailyOutput) TimeOfDay() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryScheduleDaily) string { return v.TimeOfDay }).(pulumi.StringOutput) +func (o SqlQueryParameterEnumOutput) Options() pulumi.StringArrayOutput { + return o.ApplyT(func(v SqlQueryParameterEnum) []string { return v.Options }).(pulumi.StringArrayOutput) } -func (o SqlQueryScheduleDailyOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryScheduleDaily) *string { return v.UntilDate }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterEnumOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterEnum) *string { return v.Value }).(pulumi.StringPtrOutput) } -type SqlQueryScheduleDailyPtrOutput struct{ *pulumi.OutputState } +func (o SqlQueryParameterEnumOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v SqlQueryParameterEnum) []string { return v.Values }).(pulumi.StringArrayOutput) +} -func (SqlQueryScheduleDailyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleDaily)(nil)).Elem() +type SqlQueryParameterEnumPtrOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterEnumPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterEnum)(nil)).Elem() } -func (o SqlQueryScheduleDailyPtrOutput) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { +func (o SqlQueryParameterEnumPtrOutput) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { return o } -func (o SqlQueryScheduleDailyPtrOutput) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { +func (o SqlQueryParameterEnumPtrOutput) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { return o } -func (o SqlQueryScheduleDailyPtrOutput) Elem() SqlQueryScheduleDailyOutput { - return o.ApplyT(func(v *SqlQueryScheduleDaily) SqlQueryScheduleDaily { +func (o SqlQueryParameterEnumPtrOutput) Elem() SqlQueryParameterEnumOutput { + return o.ApplyT(func(v *SqlQueryParameterEnum) SqlQueryParameterEnum { if v != nil { return *v } - var ret SqlQueryScheduleDaily + var ret SqlQueryParameterEnum return ret - }).(SqlQueryScheduleDailyOutput) + }).(SqlQueryParameterEnumOutput) } -func (o SqlQueryScheduleDailyPtrOutput) IntervalDays() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleDaily) *int { +func (o SqlQueryParameterEnumPtrOutput) Multiple() SqlQueryParameterEnumMultiplePtrOutput { + return o.ApplyT(func(v *SqlQueryParameterEnum) *SqlQueryParameterEnumMultiple { if v == nil { return nil } - return &v.IntervalDays - }).(pulumi.IntPtrOutput) + return v.Multiple + }).(SqlQueryParameterEnumMultiplePtrOutput) } -func (o SqlQueryScheduleDailyPtrOutput) TimeOfDay() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleDaily) *string { +func (o SqlQueryParameterEnumPtrOutput) Options() pulumi.StringArrayOutput { + return o.ApplyT(func(v *SqlQueryParameterEnum) []string { if v == nil { return nil } - return &v.TimeOfDay - }).(pulumi.StringPtrOutput) + return v.Options + }).(pulumi.StringArrayOutput) } -func (o SqlQueryScheduleDailyPtrOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleDaily) *string { +func (o SqlQueryParameterEnumPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterEnum) *string { if v == nil { return nil } - return v.UntilDate + return v.Value }).(pulumi.StringPtrOutput) } -type SqlQueryScheduleWeekly struct { - DayOfWeek string `pulumi:"dayOfWeek"` - IntervalWeeks int `pulumi:"intervalWeeks"` - TimeOfDay string `pulumi:"timeOfDay"` - UntilDate *string `pulumi:"untilDate"` +func (o SqlQueryParameterEnumPtrOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v *SqlQueryParameterEnum) []string { + if v == nil { + return nil + } + return v.Values + }).(pulumi.StringArrayOutput) } -// SqlQueryScheduleWeeklyInput is an input type that accepts SqlQueryScheduleWeeklyArgs and SqlQueryScheduleWeeklyOutput values. -// You can construct a concrete instance of `SqlQueryScheduleWeeklyInput` 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: // -// SqlQueryScheduleWeeklyArgs{...} -type SqlQueryScheduleWeeklyInput interface { +// SqlQueryParameterEnumMultipleArgs{...} +type SqlQueryParameterEnumMultipleInput interface { pulumi.Input - ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput - ToSqlQueryScheduleWeeklyOutputWithContext(context.Context) SqlQueryScheduleWeeklyOutput + ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput + ToSqlQueryParameterEnumMultipleOutputWithContext(context.Context) SqlQueryParameterEnumMultipleOutput } -type SqlQueryScheduleWeeklyArgs struct { - DayOfWeek pulumi.StringInput `pulumi:"dayOfWeek"` - IntervalWeeks pulumi.IntInput `pulumi:"intervalWeeks"` - TimeOfDay pulumi.StringInput `pulumi:"timeOfDay"` - UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` +type SqlQueryParameterEnumMultipleArgs struct { + Prefix pulumi.StringPtrInput `pulumi:"prefix"` + Separator pulumi.StringInput `pulumi:"separator"` + Suffix pulumi.StringPtrInput `pulumi:"suffix"` } -func (SqlQueryScheduleWeeklyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleWeekly)(nil)).Elem() +func (SqlQueryParameterEnumMultipleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterEnumMultiple)(nil)).Elem() } -func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput { - return i.ToSqlQueryScheduleWeeklyOutputWithContext(context.Background()) +func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput { + return i.ToSqlQueryParameterEnumMultipleOutputWithContext(context.Background()) } -func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyOutput) +func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultipleOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultipleOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultipleOutput) } -func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { - return i.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { + return i.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) } -func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyOutput).ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx) +func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultipleOutput).ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx) } -// SqlQueryScheduleWeeklyPtrInput is an input type that accepts SqlQueryScheduleWeeklyArgs, SqlQueryScheduleWeeklyPtr and SqlQueryScheduleWeeklyPtrOutput values. -// You can construct a concrete instance of `SqlQueryScheduleWeeklyPtrInput` via: +// SqlQueryParameterEnumMultiplePtrInput is an input type that accepts SqlQueryParameterEnumMultipleArgs, SqlQueryParameterEnumMultiplePtr and SqlQueryParameterEnumMultiplePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterEnumMultiplePtrInput` via: // -// SqlQueryScheduleWeeklyArgs{...} +// SqlQueryParameterEnumMultipleArgs{...} // // or: // // nil -type SqlQueryScheduleWeeklyPtrInput interface { +type SqlQueryParameterEnumMultiplePtrInput interface { pulumi.Input - ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput - ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Context) SqlQueryScheduleWeeklyPtrOutput + ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput + ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Context) SqlQueryParameterEnumMultiplePtrOutput } -type sqlQueryScheduleWeeklyPtrType SqlQueryScheduleWeeklyArgs +type sqlQueryParameterEnumMultiplePtrType SqlQueryParameterEnumMultipleArgs -func SqlQueryScheduleWeeklyPtr(v *SqlQueryScheduleWeeklyArgs) SqlQueryScheduleWeeklyPtrInput { - return (*sqlQueryScheduleWeeklyPtrType)(v) +func SqlQueryParameterEnumMultiplePtr(v *SqlQueryParameterEnumMultipleArgs) SqlQueryParameterEnumMultiplePtrInput { + return (*sqlQueryParameterEnumMultiplePtrType)(v) } -func (*sqlQueryScheduleWeeklyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleWeekly)(nil)).Elem() +func (*sqlQueryParameterEnumMultiplePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterEnumMultiple)(nil)).Elem() } -func (i *sqlQueryScheduleWeeklyPtrType) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { - return i.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterEnumMultiplePtrType) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { + return i.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) } -func (i *sqlQueryScheduleWeeklyPtrType) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyPtrOutput) +func (i *sqlQueryParameterEnumMultiplePtrType) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultiplePtrOutput) } -type SqlQueryScheduleWeeklyOutput struct{ *pulumi.OutputState } +type SqlQueryParameterEnumMultipleOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleWeeklyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleWeekly)(nil)).Elem() +func (SqlQueryParameterEnumMultipleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterEnumMultiple)(nil)).Elem() } -func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput { +func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput { return o } -func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyOutput { +func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultipleOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultipleOutput { return o } -func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { - return o.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { + return o.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) } -func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleWeekly) *SqlQueryScheduleWeekly { +func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterEnumMultiple) *SqlQueryParameterEnumMultiple { return &v - }).(SqlQueryScheduleWeeklyPtrOutput) -} - -func (o SqlQueryScheduleWeeklyOutput) DayOfWeek() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryScheduleWeekly) string { return v.DayOfWeek }).(pulumi.StringOutput) + }).(SqlQueryParameterEnumMultiplePtrOutput) } -func (o SqlQueryScheduleWeeklyOutput) IntervalWeeks() pulumi.IntOutput { - return o.ApplyT(func(v SqlQueryScheduleWeekly) int { return v.IntervalWeeks }).(pulumi.IntOutput) +func (o SqlQueryParameterEnumMultipleOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterEnumMultiple) *string { return v.Prefix }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleWeeklyOutput) TimeOfDay() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryScheduleWeekly) string { return v.TimeOfDay }).(pulumi.StringOutput) +func (o SqlQueryParameterEnumMultipleOutput) Separator() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterEnumMultiple) string { return v.Separator }).(pulumi.StringOutput) } -func (o SqlQueryScheduleWeeklyOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryScheduleWeekly) *string { return v.UntilDate }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterEnumMultipleOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterEnumMultiple) *string { return v.Suffix }).(pulumi.StringPtrOutput) } -type SqlQueryScheduleWeeklyPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterEnumMultiplePtrOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleWeeklyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleWeekly)(nil)).Elem() +func (SqlQueryParameterEnumMultiplePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterEnumMultiple)(nil)).Elem() } -func (o SqlQueryScheduleWeeklyPtrOutput) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { +func (o SqlQueryParameterEnumMultiplePtrOutput) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { return o } -func (o SqlQueryScheduleWeeklyPtrOutput) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { +func (o SqlQueryParameterEnumMultiplePtrOutput) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { return o } -func (o SqlQueryScheduleWeeklyPtrOutput) Elem() SqlQueryScheduleWeeklyOutput { - return o.ApplyT(func(v *SqlQueryScheduleWeekly) SqlQueryScheduleWeekly { +func (o SqlQueryParameterEnumMultiplePtrOutput) Elem() SqlQueryParameterEnumMultipleOutput { + return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) SqlQueryParameterEnumMultiple { if v != nil { return *v } - var ret SqlQueryScheduleWeekly + var ret SqlQueryParameterEnumMultiple return ret - }).(SqlQueryScheduleWeeklyOutput) + }).(SqlQueryParameterEnumMultipleOutput) } -func (o SqlQueryScheduleWeeklyPtrOutput) DayOfWeek() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { +func (o SqlQueryParameterEnumMultiplePtrOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) *string { if v == nil { return nil } - return &v.DayOfWeek + return v.Prefix }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleWeeklyPtrOutput) IntervalWeeks() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleWeekly) *int { - if v == nil { - return nil - } - return &v.IntervalWeeks - }).(pulumi.IntPtrOutput) -} - -func (o SqlQueryScheduleWeeklyPtrOutput) TimeOfDay() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { +func (o SqlQueryParameterEnumMultiplePtrOutput) Separator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) *string { if v == nil { return nil } - return &v.TimeOfDay + return &v.Separator }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleWeeklyPtrOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { +func (o SqlQueryParameterEnumMultiplePtrOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) *string { if v == nil { return nil } - return v.UntilDate + return v.Suffix }).(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"` +type SqlQueryParameterNumber struct { + Value float64 `pulumi:"value"` } -// SqlTableColumnInput is an input type that accepts SqlTableColumnArgs and SqlTableColumnOutput values. -// You can construct a concrete instance of `SqlTableColumnInput` via: +// SqlQueryParameterNumberInput is an input type that accepts SqlQueryParameterNumberArgs and SqlQueryParameterNumberOutput values. +// You can construct a concrete instance of `SqlQueryParameterNumberInput` via: // -// SqlTableColumnArgs{...} -type SqlTableColumnInput interface { +// SqlQueryParameterNumberArgs{...} +type SqlQueryParameterNumberInput interface { pulumi.Input - ToSqlTableColumnOutput() SqlTableColumnOutput - ToSqlTableColumnOutputWithContext(context.Context) SqlTableColumnOutput + ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput + ToSqlQueryParameterNumberOutputWithContext(context.Context) SqlQueryParameterNumberOutput } -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"` +type SqlQueryParameterNumberArgs struct { + Value pulumi.Float64Input `pulumi:"value"` } -func (SqlTableColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlTableColumn)(nil)).Elem() +func (SqlQueryParameterNumberArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterNumber)(nil)).Elem() } -func (i SqlTableColumnArgs) ToSqlTableColumnOutput() SqlTableColumnOutput { - return i.ToSqlTableColumnOutputWithContext(context.Background()) +func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput { + return i.ToSqlQueryParameterNumberOutputWithContext(context.Background()) } -func (i SqlTableColumnArgs) ToSqlTableColumnOutputWithContext(ctx context.Context) SqlTableColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlTableColumnOutput) +func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberOutputWithContext(ctx context.Context) SqlQueryParameterNumberOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberOutput) } -// SqlTableColumnArrayInput is an input type that accepts SqlTableColumnArray and SqlTableColumnArrayOutput values. -// You can construct a concrete instance of `SqlTableColumnArrayInput` via: +func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { + return i.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) +} + +func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberOutput).ToSqlQueryParameterNumberPtrOutputWithContext(ctx) +} + +// SqlQueryParameterNumberPtrInput is an input type that accepts SqlQueryParameterNumberArgs, SqlQueryParameterNumberPtr and SqlQueryParameterNumberPtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterNumberPtrInput` via: // -// SqlTableColumnArray{ SqlTableColumnArgs{...} } -type SqlTableColumnArrayInput interface { +// SqlQueryParameterNumberArgs{...} +// +// or: +// +// nil +type SqlQueryParameterNumberPtrInput interface { pulumi.Input - ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput - ToSqlTableColumnArrayOutputWithContext(context.Context) SqlTableColumnArrayOutput + ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput + ToSqlQueryParameterNumberPtrOutputWithContext(context.Context) SqlQueryParameterNumberPtrOutput } -type SqlTableColumnArray []SqlTableColumnInput +type sqlQueryParameterNumberPtrType SqlQueryParameterNumberArgs -func (SqlTableColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlTableColumn)(nil)).Elem() +func SqlQueryParameterNumberPtr(v *SqlQueryParameterNumberArgs) SqlQueryParameterNumberPtrInput { + return (*sqlQueryParameterNumberPtrType)(v) } -func (i SqlTableColumnArray) ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput { - return i.ToSqlTableColumnArrayOutputWithContext(context.Background()) +func (*sqlQueryParameterNumberPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterNumber)(nil)).Elem() } -func (i SqlTableColumnArray) ToSqlTableColumnArrayOutputWithContext(ctx context.Context) SqlTableColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlTableColumnArrayOutput) +func (i *sqlQueryParameterNumberPtrType) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { + return i.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) } -type SqlTableColumnOutput struct{ *pulumi.OutputState } - -func (SqlTableColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlTableColumn)(nil)).Elem() +func (i *sqlQueryParameterNumberPtrType) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberPtrOutput) } -func (o SqlTableColumnOutput) ToSqlTableColumnOutput() SqlTableColumnOutput { - return o +type SqlQueryParameterNumberOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterNumberOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterNumber)(nil)).Elem() } -func (o SqlTableColumnOutput) ToSqlTableColumnOutputWithContext(ctx context.Context) SqlTableColumnOutput { +func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput { 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 SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberOutputWithContext(ctx context.Context) SqlQueryParameterNumberOutput { + return o } -// 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 SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { + return o.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) } -// 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 SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterNumber) *SqlQueryParameterNumber { + return &v + }).(SqlQueryParameterNumberPtrOutput) } -// 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 SqlQueryParameterNumberOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v SqlQueryParameterNumber) float64 { return v.Value }).(pulumi.Float64Output) } -type SqlTableColumnArrayOutput struct{ *pulumi.OutputState } +type SqlQueryParameterNumberPtrOutput struct{ *pulumi.OutputState } -func (SqlTableColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlTableColumn)(nil)).Elem() +func (SqlQueryParameterNumberPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterNumber)(nil)).Elem() } -func (o SqlTableColumnArrayOutput) ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput { +func (o SqlQueryParameterNumberPtrOutput) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { return o } -func (o SqlTableColumnArrayOutput) ToSqlTableColumnArrayOutputWithContext(ctx context.Context) SqlTableColumnArrayOutput { +func (o SqlQueryParameterNumberPtrOutput) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { 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 SqlQueryParameterNumberPtrOutput) Elem() SqlQueryParameterNumberOutput { + return o.ApplyT(func(v *SqlQueryParameterNumber) SqlQueryParameterNumber { + if v != nil { + return *v + } + var ret SqlQueryParameterNumber + return ret + }).(SqlQueryParameterNumberOutput) } -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 SqlQueryParameterNumberPtrOutput) Value() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *SqlQueryParameterNumber) *float64 { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.Float64PtrOutput) } -// SqlWidgetParameterInput is an input type that accepts SqlWidgetParameterArgs and SqlWidgetParameterOutput values. -// You can construct a concrete instance of `SqlWidgetParameterInput` via: +type SqlQueryParameterQuery struct { + Multiple *SqlQueryParameterQueryMultiple `pulumi:"multiple"` + QueryId string `pulumi:"queryId"` + Value *string `pulumi:"value"` + Values []string `pulumi:"values"` +} + +// SqlQueryParameterQueryInput is an input type that accepts SqlQueryParameterQueryArgs and SqlQueryParameterQueryOutput values. +// You can construct a concrete instance of `SqlQueryParameterQueryInput` via: // -// SqlWidgetParameterArgs{...} -type SqlWidgetParameterInput interface { +// SqlQueryParameterQueryArgs{...} +type SqlQueryParameterQueryInput interface { pulumi.Input - ToSqlWidgetParameterOutput() SqlWidgetParameterOutput - ToSqlWidgetParameterOutputWithContext(context.Context) SqlWidgetParameterOutput + ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput + ToSqlQueryParameterQueryOutputWithContext(context.Context) SqlQueryParameterQueryOutput } -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 SqlQueryParameterQueryArgs struct { + Multiple SqlQueryParameterQueryMultiplePtrInput `pulumi:"multiple"` + QueryId pulumi.StringInput `pulumi:"queryId"` + Value pulumi.StringPtrInput `pulumi:"value"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (SqlWidgetParameterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlWidgetParameter)(nil)).Elem() +func (SqlQueryParameterQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterQuery)(nil)).Elem() } -func (i SqlWidgetParameterArgs) ToSqlWidgetParameterOutput() SqlWidgetParameterOutput { - return i.ToSqlWidgetParameterOutputWithContext(context.Background()) +func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput { + return i.ToSqlQueryParameterQueryOutputWithContext(context.Background()) } -func (i SqlWidgetParameterArgs) ToSqlWidgetParameterOutputWithContext(ctx context.Context) SqlWidgetParameterOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetParameterOutput) +func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryOutputWithContext(ctx context.Context) SqlQueryParameterQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryOutput) } -// SqlWidgetParameterArrayInput is an input type that accepts SqlWidgetParameterArray and SqlWidgetParameterArrayOutput values. -// You can construct a concrete instance of `SqlWidgetParameterArrayInput` via: -// -// SqlWidgetParameterArray{ SqlWidgetParameterArgs{...} } -type SqlWidgetParameterArrayInput interface { - pulumi.Input - - ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput - ToSqlWidgetParameterArrayOutputWithContext(context.Context) SqlWidgetParameterArrayOutput -} - -type SqlWidgetParameterArray []SqlWidgetParameterInput - -func (SqlWidgetParameterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlWidgetParameter)(nil)).Elem() -} - -func (i SqlWidgetParameterArray) ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput { - return i.ToSqlWidgetParameterArrayOutputWithContext(context.Background()) -} - -func (i SqlWidgetParameterArray) ToSqlWidgetParameterArrayOutputWithContext(ctx context.Context) SqlWidgetParameterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetParameterArrayOutput) -} - -type SqlWidgetParameterOutput struct{ *pulumi.OutputState } - -func (SqlWidgetParameterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlWidgetParameter)(nil)).Elem() -} - -func (o SqlWidgetParameterOutput) ToSqlWidgetParameterOutput() SqlWidgetParameterOutput { - return o -} - -func (o SqlWidgetParameterOutput) ToSqlWidgetParameterOutputWithContext(ctx context.Context) SqlWidgetParameterOutput { - return o -} - -func (o SqlWidgetParameterOutput) MapTo() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlWidgetParameter) *string { return v.MapTo }).(pulumi.StringPtrOutput) -} - -func (o SqlWidgetParameterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v SqlWidgetParameter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o SqlWidgetParameterOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlWidgetParameter) *string { return v.Title }).(pulumi.StringPtrOutput) -} - -func (o SqlWidgetParameterOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v SqlWidgetParameter) string { return v.Type }).(pulumi.StringOutput) -} - -func (o SqlWidgetParameterOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlWidgetParameter) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -func (o SqlWidgetParameterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v SqlWidgetParameter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type SqlWidgetParameterArrayOutput struct{ *pulumi.OutputState } - -func (SqlWidgetParameterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlWidgetParameter)(nil)).Elem() -} - -func (o SqlWidgetParameterArrayOutput) ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput { - return o -} - -func (o SqlWidgetParameterArrayOutput) ToSqlWidgetParameterArrayOutputWithContext(ctx context.Context) SqlWidgetParameterArrayOutput { - 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) -} - -type SqlWidgetPosition struct { - AutoHeight *bool `pulumi:"autoHeight"` - PosX *int `pulumi:"posX"` - PosY *int `pulumi:"posY"` - SizeX int `pulumi:"sizeX"` - SizeY int `pulumi:"sizeY"` -} - -// 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 - - ToSqlWidgetPositionOutput() SqlWidgetPositionOutput - ToSqlWidgetPositionOutputWithContext(context.Context) SqlWidgetPositionOutput -} - -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 (SqlWidgetPositionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlWidgetPosition)(nil)).Elem() -} - -func (i SqlWidgetPositionArgs) ToSqlWidgetPositionOutput() SqlWidgetPositionOutput { - return i.ToSqlWidgetPositionOutputWithContext(context.Background()) -} - -func (i SqlWidgetPositionArgs) ToSqlWidgetPositionOutputWithContext(ctx context.Context) SqlWidgetPositionOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionOutput) -} - -func (i SqlWidgetPositionArgs) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { - return i.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { + return i.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) } -func (i SqlWidgetPositionArgs) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionOutput).ToSqlWidgetPositionPtrOutputWithContext(ctx) +func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryOutput).ToSqlQueryParameterQueryPtrOutputWithContext(ctx) } -// SqlWidgetPositionPtrInput is an input type that accepts SqlWidgetPositionArgs, SqlWidgetPositionPtr and SqlWidgetPositionPtrOutput values. -// You can construct a concrete instance of `SqlWidgetPositionPtrInput` via: +// SqlQueryParameterQueryPtrInput is an input type that accepts SqlQueryParameterQueryArgs, SqlQueryParameterQueryPtr and SqlQueryParameterQueryPtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterQueryPtrInput` via: // -// SqlWidgetPositionArgs{...} +// SqlQueryParameterQueryArgs{...} // // or: // // nil -type SqlWidgetPositionPtrInput interface { +type SqlQueryParameterQueryPtrInput interface { pulumi.Input - ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput - ToSqlWidgetPositionPtrOutputWithContext(context.Context) SqlWidgetPositionPtrOutput + ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput + ToSqlQueryParameterQueryPtrOutputWithContext(context.Context) SqlQueryParameterQueryPtrOutput } -type sqlWidgetPositionPtrType SqlWidgetPositionArgs +type sqlQueryParameterQueryPtrType SqlQueryParameterQueryArgs -func SqlWidgetPositionPtr(v *SqlWidgetPositionArgs) SqlWidgetPositionPtrInput { - return (*sqlWidgetPositionPtrType)(v) +func SqlQueryParameterQueryPtr(v *SqlQueryParameterQueryArgs) SqlQueryParameterQueryPtrInput { + return (*sqlQueryParameterQueryPtrType)(v) } -func (*sqlWidgetPositionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlWidgetPosition)(nil)).Elem() +func (*sqlQueryParameterQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterQuery)(nil)).Elem() } -func (i *sqlWidgetPositionPtrType) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { - return i.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterQueryPtrType) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { + return i.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) } -func (i *sqlWidgetPositionPtrType) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionPtrOutput) +func (i *sqlQueryParameterQueryPtrType) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryPtrOutput) } -type SqlWidgetPositionOutput struct{ *pulumi.OutputState } +type SqlQueryParameterQueryOutput struct{ *pulumi.OutputState } -func (SqlWidgetPositionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlWidgetPosition)(nil)).Elem() +func (SqlQueryParameterQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterQuery)(nil)).Elem() } -func (o SqlWidgetPositionOutput) ToSqlWidgetPositionOutput() SqlWidgetPositionOutput { +func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput { return o } -func (o SqlWidgetPositionOutput) ToSqlWidgetPositionOutputWithContext(ctx context.Context) SqlWidgetPositionOutput { +func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryOutputWithContext(ctx context.Context) SqlQueryParameterQueryOutput { return o } -func (o SqlWidgetPositionOutput) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { - return o.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { + return o.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) } -func (o SqlWidgetPositionOutput) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlWidgetPosition) *SqlWidgetPosition { +func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterQuery) *SqlQueryParameterQuery { return &v - }).(SqlWidgetPositionPtrOutput) -} - -func (o SqlWidgetPositionOutput) AutoHeight() pulumi.BoolPtrOutput { - return o.ApplyT(func(v SqlWidgetPosition) *bool { return v.AutoHeight }).(pulumi.BoolPtrOutput) + }).(SqlQueryParameterQueryPtrOutput) } -func (o SqlWidgetPositionOutput) PosX() pulumi.IntPtrOutput { - return o.ApplyT(func(v SqlWidgetPosition) *int { return v.PosX }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterQueryOutput) Multiple() SqlQueryParameterQueryMultiplePtrOutput { + return o.ApplyT(func(v SqlQueryParameterQuery) *SqlQueryParameterQueryMultiple { return v.Multiple }).(SqlQueryParameterQueryMultiplePtrOutput) } -func (o SqlWidgetPositionOutput) PosY() pulumi.IntPtrOutput { - return o.ApplyT(func(v SqlWidgetPosition) *int { return v.PosY }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterQueryOutput) QueryId() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterQuery) string { return v.QueryId }).(pulumi.StringOutput) } -func (o SqlWidgetPositionOutput) SizeX() pulumi.IntOutput { - return o.ApplyT(func(v SqlWidgetPosition) int { return v.SizeX }).(pulumi.IntOutput) +func (o SqlQueryParameterQueryOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterQuery) *string { return v.Value }).(pulumi.StringPtrOutput) } -func (o SqlWidgetPositionOutput) SizeY() pulumi.IntOutput { - return o.ApplyT(func(v SqlWidgetPosition) int { return v.SizeY }).(pulumi.IntOutput) +func (o SqlQueryParameterQueryOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v SqlQueryParameterQuery) []string { return v.Values }).(pulumi.StringArrayOutput) } -type SqlWidgetPositionPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterQueryPtrOutput struct{ *pulumi.OutputState } -func (SqlWidgetPositionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlWidgetPosition)(nil)).Elem() +func (SqlQueryParameterQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterQuery)(nil)).Elem() } -func (o SqlWidgetPositionPtrOutput) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { +func (o SqlQueryParameterQueryPtrOutput) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { return o } -func (o SqlWidgetPositionPtrOutput) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { +func (o SqlQueryParameterQueryPtrOutput) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { return o } -func (o SqlWidgetPositionPtrOutput) Elem() SqlWidgetPositionOutput { - return o.ApplyT(func(v *SqlWidgetPosition) SqlWidgetPosition { +func (o SqlQueryParameterQueryPtrOutput) Elem() SqlQueryParameterQueryOutput { + return o.ApplyT(func(v *SqlQueryParameterQuery) SqlQueryParameterQuery { if v != nil { return *v } - var ret SqlWidgetPosition + var ret SqlQueryParameterQuery 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) + }).(SqlQueryParameterQueryOutput) } -func (o SqlWidgetPositionPtrOutput) PosX() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlWidgetPosition) *int { +func (o SqlQueryParameterQueryPtrOutput) Multiple() SqlQueryParameterQueryMultiplePtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQuery) *SqlQueryParameterQueryMultiple { if v == nil { return nil } - return v.PosX - }).(pulumi.IntPtrOutput) + return v.Multiple + }).(SqlQueryParameterQueryMultiplePtrOutput) } -func (o SqlWidgetPositionPtrOutput) PosY() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlWidgetPosition) *int { +func (o SqlQueryParameterQueryPtrOutput) QueryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQuery) *string { if v == nil { return nil } - return v.PosY - }).(pulumi.IntPtrOutput) + return &v.QueryId + }).(pulumi.StringPtrOutput) } -func (o SqlWidgetPositionPtrOutput) SizeX() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlWidgetPosition) *int { +func (o SqlQueryParameterQueryPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQuery) *string { if v == nil { return nil } - return &v.SizeX - }).(pulumi.IntPtrOutput) + return v.Value + }).(pulumi.StringPtrOutput) } -func (o SqlWidgetPositionPtrOutput) SizeY() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlWidgetPosition) *int { +func (o SqlQueryParameterQueryPtrOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v *SqlQueryParameterQuery) []string { if v == nil { return nil } - return &v.SizeY - }).(pulumi.IntPtrOutput) + return v.Values + }).(pulumi.StringArrayOutput) } -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"` +type SqlQueryParameterQueryMultiple struct { + Prefix *string `pulumi:"prefix"` + Separator string `pulumi:"separator"` + Suffix *string `pulumi:"suffix"` } -// StorageCredentialAwsIamRoleInput is an input type that accepts StorageCredentialAwsIamRoleArgs and StorageCredentialAwsIamRoleOutput values. -// You can construct a concrete instance of `StorageCredentialAwsIamRoleInput` via: +// SqlQueryParameterQueryMultipleInput is an input type that accepts SqlQueryParameterQueryMultipleArgs and SqlQueryParameterQueryMultipleOutput values. +// You can construct a concrete instance of `SqlQueryParameterQueryMultipleInput` via: // -// StorageCredentialAwsIamRoleArgs{...} -type StorageCredentialAwsIamRoleInput interface { +// SqlQueryParameterQueryMultipleArgs{...} +type SqlQueryParameterQueryMultipleInput interface { pulumi.Input - ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput - ToStorageCredentialAwsIamRoleOutputWithContext(context.Context) StorageCredentialAwsIamRoleOutput + ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput + ToSqlQueryParameterQueryMultipleOutputWithContext(context.Context) SqlQueryParameterQueryMultipleOutput } -type StorageCredentialAwsIamRoleArgs struct { - ExternalId pulumi.StringPtrInput `pulumi:"externalId"` - // The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` - // - // `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): - RoleArn pulumi.StringInput `pulumi:"roleArn"` - UnityCatalogIamArn pulumi.StringPtrInput `pulumi:"unityCatalogIamArn"` +type SqlQueryParameterQueryMultipleArgs struct { + Prefix pulumi.StringPtrInput `pulumi:"prefix"` + Separator pulumi.StringInput `pulumi:"separator"` + Suffix pulumi.StringPtrInput `pulumi:"suffix"` } -func (StorageCredentialAwsIamRoleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAwsIamRole)(nil)).Elem() +func (SqlQueryParameterQueryMultipleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterQueryMultiple)(nil)).Elem() } -func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput { - return i.ToStorageCredentialAwsIamRoleOutputWithContext(context.Background()) +func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput { + return i.ToSqlQueryParameterQueryMultipleOutputWithContext(context.Background()) } -func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRoleOutputWithContext(ctx context.Context) StorageCredentialAwsIamRoleOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRoleOutput) +func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultipleOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultipleOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultipleOutput) } -func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { - return i.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) +func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { + return i.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) } -func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRoleOutput).ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx) +func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultipleOutput).ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx) } -// StorageCredentialAwsIamRolePtrInput is an input type that accepts StorageCredentialAwsIamRoleArgs, StorageCredentialAwsIamRolePtr and StorageCredentialAwsIamRolePtrOutput values. -// You can construct a concrete instance of `StorageCredentialAwsIamRolePtrInput` via: +// SqlQueryParameterQueryMultiplePtrInput is an input type that accepts SqlQueryParameterQueryMultipleArgs, SqlQueryParameterQueryMultiplePtr and SqlQueryParameterQueryMultiplePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterQueryMultiplePtrInput` via: // -// StorageCredentialAwsIamRoleArgs{...} +// SqlQueryParameterQueryMultipleArgs{...} // // or: // // nil -type StorageCredentialAwsIamRolePtrInput interface { +type SqlQueryParameterQueryMultiplePtrInput interface { pulumi.Input - ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput - ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Context) StorageCredentialAwsIamRolePtrOutput + ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput + ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Context) SqlQueryParameterQueryMultiplePtrOutput } -type storageCredentialAwsIamRolePtrType StorageCredentialAwsIamRoleArgs +type sqlQueryParameterQueryMultiplePtrType SqlQueryParameterQueryMultipleArgs -func StorageCredentialAwsIamRolePtr(v *StorageCredentialAwsIamRoleArgs) StorageCredentialAwsIamRolePtrInput { - return (*storageCredentialAwsIamRolePtrType)(v) +func SqlQueryParameterQueryMultiplePtr(v *SqlQueryParameterQueryMultipleArgs) SqlQueryParameterQueryMultiplePtrInput { + return (*sqlQueryParameterQueryMultiplePtrType)(v) } -func (*storageCredentialAwsIamRolePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAwsIamRole)(nil)).Elem() +func (*sqlQueryParameterQueryMultiplePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterQueryMultiple)(nil)).Elem() } -func (i *storageCredentialAwsIamRolePtrType) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { - return i.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterQueryMultiplePtrType) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { + return i.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) } -func (i *storageCredentialAwsIamRolePtrType) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRolePtrOutput) +func (i *sqlQueryParameterQueryMultiplePtrType) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultiplePtrOutput) } -type StorageCredentialAwsIamRoleOutput struct{ *pulumi.OutputState } +type SqlQueryParameterQueryMultipleOutput struct{ *pulumi.OutputState } -func (StorageCredentialAwsIamRoleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAwsIamRole)(nil)).Elem() +func (SqlQueryParameterQueryMultipleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterQueryMultiple)(nil)).Elem() } -func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput { +func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput { return o } -func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRoleOutputWithContext(ctx context.Context) StorageCredentialAwsIamRoleOutput { +func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultipleOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultipleOutput { return o } -func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { - return o.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) +func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { + return o.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) } -func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAwsIamRole) *StorageCredentialAwsIamRole { +func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterQueryMultiple) *SqlQueryParameterQueryMultiple { return &v - }).(StorageCredentialAwsIamRolePtrOutput) + }).(SqlQueryParameterQueryMultiplePtrOutput) } -func (o StorageCredentialAwsIamRoleOutput) ExternalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v StorageCredentialAwsIamRole) *string { return v.ExternalId }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterQueryMultipleOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterQueryMultiple) *string { return v.Prefix }).(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` -// -// `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): -func (o StorageCredentialAwsIamRoleOutput) RoleArn() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialAwsIamRole) string { return v.RoleArn }).(pulumi.StringOutput) +func (o SqlQueryParameterQueryMultipleOutput) Separator() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterQueryMultiple) string { return v.Separator }).(pulumi.StringOutput) } -func (o StorageCredentialAwsIamRoleOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v StorageCredentialAwsIamRole) *string { return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterQueryMultipleOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterQueryMultiple) *string { return v.Suffix }).(pulumi.StringPtrOutput) } -type StorageCredentialAwsIamRolePtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterQueryMultiplePtrOutput struct{ *pulumi.OutputState } -func (StorageCredentialAwsIamRolePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAwsIamRole)(nil)).Elem() +func (SqlQueryParameterQueryMultiplePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterQueryMultiple)(nil)).Elem() } -func (o StorageCredentialAwsIamRolePtrOutput) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { +func (o SqlQueryParameterQueryMultiplePtrOutput) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { return o } -func (o StorageCredentialAwsIamRolePtrOutput) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { +func (o SqlQueryParameterQueryMultiplePtrOutput) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { return o } -func (o StorageCredentialAwsIamRolePtrOutput) Elem() StorageCredentialAwsIamRoleOutput { - return o.ApplyT(func(v *StorageCredentialAwsIamRole) StorageCredentialAwsIamRole { +func (o SqlQueryParameterQueryMultiplePtrOutput) Elem() SqlQueryParameterQueryMultipleOutput { + return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) SqlQueryParameterQueryMultiple { if v != nil { return *v } - var ret StorageCredentialAwsIamRole + var ret SqlQueryParameterQueryMultiple return ret - }).(StorageCredentialAwsIamRoleOutput) + }).(SqlQueryParameterQueryMultipleOutput) } -func (o StorageCredentialAwsIamRolePtrOutput) ExternalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialAwsIamRole) *string { +func (o SqlQueryParameterQueryMultiplePtrOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { if v == nil { return nil } - return v.ExternalId + return v.Prefix }).(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` -// -// `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 { +func (o SqlQueryParameterQueryMultiplePtrOutput) Separator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { if v == nil { return nil } - return &v.RoleArn + return &v.Separator }).(pulumi.StringPtrOutput) } -func (o StorageCredentialAwsIamRolePtrOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialAwsIamRole) *string { +func (o SqlQueryParameterQueryMultiplePtrOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { if v == nil { return nil } - return v.UnityCatalogIamArn + return v.Suffix }).(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 SqlQueryParameterText struct { + Value string `pulumi:"value"` } -// StorageCredentialAzureManagedIdentityInput is an input type that accepts StorageCredentialAzureManagedIdentityArgs and StorageCredentialAzureManagedIdentityOutput values. -// You can construct a concrete instance of `StorageCredentialAzureManagedIdentityInput` via: +// SqlQueryParameterTextInput is an input type that accepts SqlQueryParameterTextArgs and SqlQueryParameterTextOutput values. +// You can construct a concrete instance of `SqlQueryParameterTextInput` via: // -// StorageCredentialAzureManagedIdentityArgs{...} -type StorageCredentialAzureManagedIdentityInput interface { +// SqlQueryParameterTextArgs{...} +type SqlQueryParameterTextInput interface { pulumi.Input - ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput - ToStorageCredentialAzureManagedIdentityOutputWithContext(context.Context) StorageCredentialAzureManagedIdentityOutput + ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput + ToSqlQueryParameterTextOutputWithContext(context.Context) SqlQueryParameterTextOutput } -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 SqlQueryParameterTextArgs struct { + Value pulumi.StringInput `pulumi:"value"` } -func (StorageCredentialAzureManagedIdentityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAzureManagedIdentity)(nil)).Elem() +func (SqlQueryParameterTextArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterText)(nil)).Elem() } -func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput { - return i.ToStorageCredentialAzureManagedIdentityOutputWithContext(context.Background()) +func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput { + return i.ToSqlQueryParameterTextOutputWithContext(context.Background()) } -func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityOutput) +func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextOutputWithContext(ctx context.Context) SqlQueryParameterTextOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextOutput) } -func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { - return i.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { + return i.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) } -func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityOutput).ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx) +func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextOutput).ToSqlQueryParameterTextPtrOutputWithContext(ctx) } -// StorageCredentialAzureManagedIdentityPtrInput is an input type that accepts StorageCredentialAzureManagedIdentityArgs, StorageCredentialAzureManagedIdentityPtr and StorageCredentialAzureManagedIdentityPtrOutput values. -// You can construct a concrete instance of `StorageCredentialAzureManagedIdentityPtrInput` via: +// SqlQueryParameterTextPtrInput is an input type that accepts SqlQueryParameterTextArgs, SqlQueryParameterTextPtr and SqlQueryParameterTextPtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterTextPtrInput` via: // -// StorageCredentialAzureManagedIdentityArgs{...} +// SqlQueryParameterTextArgs{...} // // or: // // nil -type StorageCredentialAzureManagedIdentityPtrInput interface { +type SqlQueryParameterTextPtrInput interface { pulumi.Input - ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput - ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Context) StorageCredentialAzureManagedIdentityPtrOutput + ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput + ToSqlQueryParameterTextPtrOutputWithContext(context.Context) SqlQueryParameterTextPtrOutput } -type storageCredentialAzureManagedIdentityPtrType StorageCredentialAzureManagedIdentityArgs +type sqlQueryParameterTextPtrType SqlQueryParameterTextArgs -func StorageCredentialAzureManagedIdentityPtr(v *StorageCredentialAzureManagedIdentityArgs) StorageCredentialAzureManagedIdentityPtrInput { - return (*storageCredentialAzureManagedIdentityPtrType)(v) +func SqlQueryParameterTextPtr(v *SqlQueryParameterTextArgs) SqlQueryParameterTextPtrInput { + return (*sqlQueryParameterTextPtrType)(v) } -func (*storageCredentialAzureManagedIdentityPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAzureManagedIdentity)(nil)).Elem() +func (*sqlQueryParameterTextPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterText)(nil)).Elem() } -func (i *storageCredentialAzureManagedIdentityPtrType) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { - return i.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterTextPtrType) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { + return i.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) } -func (i *storageCredentialAzureManagedIdentityPtrType) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityPtrOutput) +func (i *sqlQueryParameterTextPtrType) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextPtrOutput) } -type StorageCredentialAzureManagedIdentityOutput struct{ *pulumi.OutputState } +type SqlQueryParameterTextOutput struct{ *pulumi.OutputState } -func (StorageCredentialAzureManagedIdentityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAzureManagedIdentity)(nil)).Elem() +func (SqlQueryParameterTextOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterText)(nil)).Elem() } -func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput { +func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput { return o } -func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityOutput { +func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextOutputWithContext(ctx context.Context) SqlQueryParameterTextOutput { return o } -func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { - return o.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { + return o.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) } -func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAzureManagedIdentity) *StorageCredentialAzureManagedIdentity { +func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterText) *SqlQueryParameterText { 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) + }).(SqlQueryParameterTextPtrOutput) } -// 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 SqlQueryParameterTextOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterText) string { return v.Value }).(pulumi.StringOutput) } -type StorageCredentialAzureManagedIdentityPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterTextPtrOutput struct{ *pulumi.OutputState } -func (StorageCredentialAzureManagedIdentityPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAzureManagedIdentity)(nil)).Elem() +func (SqlQueryParameterTextPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterText)(nil)).Elem() } -func (o StorageCredentialAzureManagedIdentityPtrOutput) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { +func (o SqlQueryParameterTextPtrOutput) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { return o } -func (o StorageCredentialAzureManagedIdentityPtrOutput) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { +func (o SqlQueryParameterTextPtrOutput) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { return o } -func (o StorageCredentialAzureManagedIdentityPtrOutput) Elem() StorageCredentialAzureManagedIdentityOutput { - return o.ApplyT(func(v *StorageCredentialAzureManagedIdentity) StorageCredentialAzureManagedIdentity { +func (o SqlQueryParameterTextPtrOutput) Elem() SqlQueryParameterTextOutput { + return o.ApplyT(func(v *SqlQueryParameterText) SqlQueryParameterText { if v != nil { return *v } - var ret StorageCredentialAzureManagedIdentity + var ret SqlQueryParameterText 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) + }).(SqlQueryParameterTextOutput) } -// 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 SqlQueryParameterTextPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterText) *string { if v == nil { return nil } - return v.ManagedIdentityId + return &v.Value }).(pulumi.StringPtrOutput) } -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 SqlQuerySchedule struct { + Continuous *SqlQueryScheduleContinuous `pulumi:"continuous"` + Daily *SqlQueryScheduleDaily `pulumi:"daily"` + Weekly *SqlQueryScheduleWeekly `pulumi:"weekly"` } -// StorageCredentialAzureServicePrincipalInput is an input type that accepts StorageCredentialAzureServicePrincipalArgs and StorageCredentialAzureServicePrincipalOutput values. -// You can construct a concrete instance of `StorageCredentialAzureServicePrincipalInput` via: +// SqlQueryScheduleInput is an input type that accepts SqlQueryScheduleArgs and SqlQueryScheduleOutput values. +// You can construct a concrete instance of `SqlQueryScheduleInput` via: // -// StorageCredentialAzureServicePrincipalArgs{...} -type StorageCredentialAzureServicePrincipalInput interface { +// SqlQueryScheduleArgs{...} +type SqlQueryScheduleInput interface { pulumi.Input - ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput - ToStorageCredentialAzureServicePrincipalOutputWithContext(context.Context) StorageCredentialAzureServicePrincipalOutput + ToSqlQueryScheduleOutput() SqlQueryScheduleOutput + ToSqlQueryScheduleOutputWithContext(context.Context) SqlQueryScheduleOutput } -type StorageCredentialAzureServicePrincipalArgs struct { - // The application ID of the application registration within the referenced AAD tenant - ApplicationId pulumi.StringInput `pulumi:"applicationId"` - // The client secret generated for the above app ID in AAD. **This field is redacted on output** - ClientSecret pulumi.StringInput `pulumi:"clientSecret"` - // The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application - DirectoryId pulumi.StringInput `pulumi:"directoryId"` +type SqlQueryScheduleArgs struct { + Continuous SqlQueryScheduleContinuousPtrInput `pulumi:"continuous"` + Daily SqlQueryScheduleDailyPtrInput `pulumi:"daily"` + Weekly SqlQueryScheduleWeeklyPtrInput `pulumi:"weekly"` } -func (StorageCredentialAzureServicePrincipalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAzureServicePrincipal)(nil)).Elem() +func (SqlQueryScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQuerySchedule)(nil)).Elem() } -func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput { - return i.ToStorageCredentialAzureServicePrincipalOutputWithContext(context.Background()) +func (i SqlQueryScheduleArgs) ToSqlQueryScheduleOutput() SqlQueryScheduleOutput { + return i.ToSqlQueryScheduleOutputWithContext(context.Background()) } -func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalOutput) +func (i SqlQueryScheduleArgs) ToSqlQueryScheduleOutputWithContext(ctx context.Context) SqlQueryScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleOutput) } -func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { - return i.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (i SqlQueryScheduleArgs) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { + return i.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) } -func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalOutput).ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx) +func (i SqlQueryScheduleArgs) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleOutput).ToSqlQuerySchedulePtrOutputWithContext(ctx) } -// StorageCredentialAzureServicePrincipalPtrInput is an input type that accepts StorageCredentialAzureServicePrincipalArgs, StorageCredentialAzureServicePrincipalPtr and StorageCredentialAzureServicePrincipalPtrOutput values. -// You can construct a concrete instance of `StorageCredentialAzureServicePrincipalPtrInput` via: +// SqlQuerySchedulePtrInput is an input type that accepts SqlQueryScheduleArgs, SqlQuerySchedulePtr and SqlQuerySchedulePtrOutput values. +// You can construct a concrete instance of `SqlQuerySchedulePtrInput` via: // -// StorageCredentialAzureServicePrincipalArgs{...} +// SqlQueryScheduleArgs{...} // // or: // // nil -type StorageCredentialAzureServicePrincipalPtrInput interface { +type SqlQuerySchedulePtrInput interface { pulumi.Input - ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput - ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Context) StorageCredentialAzureServicePrincipalPtrOutput + ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput + ToSqlQuerySchedulePtrOutputWithContext(context.Context) SqlQuerySchedulePtrOutput } -type storageCredentialAzureServicePrincipalPtrType StorageCredentialAzureServicePrincipalArgs +type sqlQuerySchedulePtrType SqlQueryScheduleArgs -func StorageCredentialAzureServicePrincipalPtr(v *StorageCredentialAzureServicePrincipalArgs) StorageCredentialAzureServicePrincipalPtrInput { - return (*storageCredentialAzureServicePrincipalPtrType)(v) +func SqlQuerySchedulePtr(v *SqlQueryScheduleArgs) SqlQuerySchedulePtrInput { + return (*sqlQuerySchedulePtrType)(v) } -func (*storageCredentialAzureServicePrincipalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAzureServicePrincipal)(nil)).Elem() +func (*sqlQuerySchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQuerySchedule)(nil)).Elem() } -func (i *storageCredentialAzureServicePrincipalPtrType) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { - return i.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (i *sqlQuerySchedulePtrType) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { + return i.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) } -func (i *storageCredentialAzureServicePrincipalPtrType) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalPtrOutput) +func (i *sqlQuerySchedulePtrType) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQuerySchedulePtrOutput) } -type StorageCredentialAzureServicePrincipalOutput struct{ *pulumi.OutputState } +type SqlQueryScheduleOutput struct{ *pulumi.OutputState } -func (StorageCredentialAzureServicePrincipalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAzureServicePrincipal)(nil)).Elem() +func (SqlQueryScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQuerySchedule)(nil)).Elem() } -func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput { +func (o SqlQueryScheduleOutput) ToSqlQueryScheduleOutput() SqlQueryScheduleOutput { return o } -func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalOutput { +func (o SqlQueryScheduleOutput) ToSqlQueryScheduleOutputWithContext(ctx context.Context) SqlQueryScheduleOutput { return o } -func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { - return o.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (o SqlQueryScheduleOutput) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { + return o.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) } -func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAzureServicePrincipal) *StorageCredentialAzureServicePrincipal { +func (o SqlQueryScheduleOutput) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQuerySchedule) *SqlQuerySchedule { return &v - }).(StorageCredentialAzureServicePrincipalPtrOutput) + }).(SqlQuerySchedulePtrOutput) } -// The application ID of the application registration within the referenced AAD tenant -func (o StorageCredentialAzureServicePrincipalOutput) ApplicationId() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialAzureServicePrincipal) string { return v.ApplicationId }).(pulumi.StringOutput) +func (o SqlQueryScheduleOutput) Continuous() SqlQueryScheduleContinuousPtrOutput { + return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleContinuous { return v.Continuous }).(SqlQueryScheduleContinuousPtrOutput) } -// The client secret generated for the above app ID in AAD. **This field is redacted on output** -func (o StorageCredentialAzureServicePrincipalOutput) ClientSecret() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialAzureServicePrincipal) string { return v.ClientSecret }).(pulumi.StringOutput) +func (o SqlQueryScheduleOutput) Daily() SqlQueryScheduleDailyPtrOutput { + return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleDaily { return v.Daily }).(SqlQueryScheduleDailyPtrOutput) } -// 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 SqlQueryScheduleOutput) Weekly() SqlQueryScheduleWeeklyPtrOutput { + return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleWeekly { return v.Weekly }).(SqlQueryScheduleWeeklyPtrOutput) } -type StorageCredentialAzureServicePrincipalPtrOutput struct{ *pulumi.OutputState } +type SqlQuerySchedulePtrOutput struct{ *pulumi.OutputState } -func (StorageCredentialAzureServicePrincipalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAzureServicePrincipal)(nil)).Elem() +func (SqlQuerySchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQuerySchedule)(nil)).Elem() } -func (o StorageCredentialAzureServicePrincipalPtrOutput) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { +func (o SqlQuerySchedulePtrOutput) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { return o } -func (o StorageCredentialAzureServicePrincipalPtrOutput) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { +func (o SqlQuerySchedulePtrOutput) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { return o } -func (o StorageCredentialAzureServicePrincipalPtrOutput) Elem() StorageCredentialAzureServicePrincipalOutput { - return o.ApplyT(func(v *StorageCredentialAzureServicePrincipal) StorageCredentialAzureServicePrincipal { +func (o SqlQuerySchedulePtrOutput) Elem() SqlQueryScheduleOutput { + return o.ApplyT(func(v *SqlQuerySchedule) SqlQuerySchedule { if v != nil { return *v } - var ret StorageCredentialAzureServicePrincipal + var ret SqlQuerySchedule return ret - }).(StorageCredentialAzureServicePrincipalOutput) + }).(SqlQueryScheduleOutput) } -// 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 { +func (o SqlQuerySchedulePtrOutput) Continuous() SqlQueryScheduleContinuousPtrOutput { + return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleContinuous { if v == nil { return nil } - return &v.ApplicationId - }).(pulumi.StringPtrOutput) + return v.Continuous + }).(SqlQueryScheduleContinuousPtrOutput) } -// 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 { +func (o SqlQuerySchedulePtrOutput) Daily() SqlQueryScheduleDailyPtrOutput { + return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleDaily { if v == nil { return nil } - return &v.ClientSecret - }).(pulumi.StringPtrOutput) + return v.Daily + }).(SqlQueryScheduleDailyPtrOutput) } -// 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 { +func (o SqlQuerySchedulePtrOutput) Weekly() SqlQueryScheduleWeeklyPtrOutput { + return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleWeekly { if v == nil { return nil } - return &v.DirectoryId - }).(pulumi.StringPtrOutput) + return v.Weekly + }).(SqlQueryScheduleWeeklyPtrOutput) } -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"` +type SqlQueryScheduleContinuous struct { + IntervalSeconds int `pulumi:"intervalSeconds"` + UntilDate *string `pulumi:"untilDate"` } -// StorageCredentialDatabricksGcpServiceAccountInput is an input type that accepts StorageCredentialDatabricksGcpServiceAccountArgs and StorageCredentialDatabricksGcpServiceAccountOutput values. -// You can construct a concrete instance of `StorageCredentialDatabricksGcpServiceAccountInput` via: +// SqlQueryScheduleContinuousInput is an input type that accepts SqlQueryScheduleContinuousArgs and SqlQueryScheduleContinuousOutput values. +// You can construct a concrete instance of `SqlQueryScheduleContinuousInput` via: // -// StorageCredentialDatabricksGcpServiceAccountArgs{...} -type StorageCredentialDatabricksGcpServiceAccountInput interface { +// SqlQueryScheduleContinuousArgs{...} +type SqlQueryScheduleContinuousInput interface { pulumi.Input - ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput - ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(context.Context) StorageCredentialDatabricksGcpServiceAccountOutput + ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput + ToSqlQueryScheduleContinuousOutputWithContext(context.Context) SqlQueryScheduleContinuousOutput } -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 SqlQueryScheduleContinuousArgs struct { + IntervalSeconds pulumi.IntInput `pulumi:"intervalSeconds"` + UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` } -func (StorageCredentialDatabricksGcpServiceAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() +func (SqlQueryScheduleContinuousArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleContinuous)(nil)).Elem() } -func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput { - return i.ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(context.Background()) +func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput { + return i.ToSqlQueryScheduleContinuousOutputWithContext(context.Background()) } -func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountOutput) +func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousOutput) } -func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return i.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { + return i.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) } -func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountOutput).ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx) +func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousOutput).ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx) } -// StorageCredentialDatabricksGcpServiceAccountPtrInput is an input type that accepts StorageCredentialDatabricksGcpServiceAccountArgs, StorageCredentialDatabricksGcpServiceAccountPtr and StorageCredentialDatabricksGcpServiceAccountPtrOutput values. -// You can construct a concrete instance of `StorageCredentialDatabricksGcpServiceAccountPtrInput` via: +// SqlQueryScheduleContinuousPtrInput is an input type that accepts SqlQueryScheduleContinuousArgs, SqlQueryScheduleContinuousPtr and SqlQueryScheduleContinuousPtrOutput values. +// You can construct a concrete instance of `SqlQueryScheduleContinuousPtrInput` via: // -// StorageCredentialDatabricksGcpServiceAccountArgs{...} +// SqlQueryScheduleContinuousArgs{...} // // or: // // nil -type StorageCredentialDatabricksGcpServiceAccountPtrInput interface { +type SqlQueryScheduleContinuousPtrInput interface { pulumi.Input - ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput - ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput + ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput + ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Context) SqlQueryScheduleContinuousPtrOutput } -type storageCredentialDatabricksGcpServiceAccountPtrType StorageCredentialDatabricksGcpServiceAccountArgs +type sqlQueryScheduleContinuousPtrType SqlQueryScheduleContinuousArgs -func StorageCredentialDatabricksGcpServiceAccountPtr(v *StorageCredentialDatabricksGcpServiceAccountArgs) StorageCredentialDatabricksGcpServiceAccountPtrInput { - return (*storageCredentialDatabricksGcpServiceAccountPtrType)(v) +func SqlQueryScheduleContinuousPtr(v *SqlQueryScheduleContinuousArgs) SqlQueryScheduleContinuousPtrInput { + return (*sqlQueryScheduleContinuousPtrType)(v) } -func (*storageCredentialDatabricksGcpServiceAccountPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() +func (*sqlQueryScheduleContinuousPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleContinuous)(nil)).Elem() } -func (i *storageCredentialDatabricksGcpServiceAccountPtrType) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return i.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (i *sqlQueryScheduleContinuousPtrType) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { + return i.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) } -func (i *storageCredentialDatabricksGcpServiceAccountPtrType) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountPtrOutput) +func (i *sqlQueryScheduleContinuousPtrType) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousPtrOutput) } -type StorageCredentialDatabricksGcpServiceAccountOutput struct{ *pulumi.OutputState } +type SqlQueryScheduleContinuousOutput struct{ *pulumi.OutputState } -func (StorageCredentialDatabricksGcpServiceAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() +func (SqlQueryScheduleContinuousOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleContinuous)(nil)).Elem() } -func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput { +func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput { return o } -func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountOutput { +func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousOutput { return o } -func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return o.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { + return o.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) } -func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialDatabricksGcpServiceAccount) *StorageCredentialDatabricksGcpServiceAccount { +func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleContinuous) *SqlQueryScheduleContinuous { return &v - }).(StorageCredentialDatabricksGcpServiceAccountPtrOutput) + }).(SqlQueryScheduleContinuousPtrOutput) } -func (o StorageCredentialDatabricksGcpServiceAccountOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v StorageCredentialDatabricksGcpServiceAccount) *string { return v.CredentialId }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleContinuousOutput) IntervalSeconds() pulumi.IntOutput { + return o.ApplyT(func(v SqlQueryScheduleContinuous) int { return v.IntervalSeconds }).(pulumi.IntOutput) } -// 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 (o SqlQueryScheduleContinuousOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryScheduleContinuous) *string { return v.UntilDate }).(pulumi.StringPtrOutput) } -type StorageCredentialDatabricksGcpServiceAccountPtrOutput struct{ *pulumi.OutputState } +type SqlQueryScheduleContinuousPtrOutput struct{ *pulumi.OutputState } -func (StorageCredentialDatabricksGcpServiceAccountPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() +func (SqlQueryScheduleContinuousPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleContinuous)(nil)).Elem() } -func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { +func (o SqlQueryScheduleContinuousPtrOutput) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { return o } -func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { +func (o SqlQueryScheduleContinuousPtrOutput) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { return o } -func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) Elem() StorageCredentialDatabricksGcpServiceAccountOutput { - return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) StorageCredentialDatabricksGcpServiceAccount { +func (o SqlQueryScheduleContinuousPtrOutput) Elem() SqlQueryScheduleContinuousOutput { + return o.ApplyT(func(v *SqlQueryScheduleContinuous) SqlQueryScheduleContinuous { if v != nil { return *v } - var ret StorageCredentialDatabricksGcpServiceAccount + var ret SqlQueryScheduleContinuous return ret - }).(StorageCredentialDatabricksGcpServiceAccountOutput) + }).(SqlQueryScheduleContinuousOutput) } -func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) *string { +func (o SqlQueryScheduleContinuousPtrOutput) IntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleContinuous) *int { if v == nil { return nil } - return v.CredentialId - }).(pulumi.StringPtrOutput) + return &v.IntervalSeconds + }).(pulumi.IntPtrOutput) } -// 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 { +func (o SqlQueryScheduleContinuousPtrOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleContinuous) *string { if v == nil { return nil } - return v.Email + return v.UntilDate }).(pulumi.StringPtrOutput) } -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"` +type SqlQueryScheduleDaily struct { + IntervalDays int `pulumi:"intervalDays"` + TimeOfDay string `pulumi:"timeOfDay"` + UntilDate *string `pulumi:"untilDate"` } -// StorageCredentialGcpServiceAccountKeyInput is an input type that accepts StorageCredentialGcpServiceAccountKeyArgs and StorageCredentialGcpServiceAccountKeyOutput values. -// You can construct a concrete instance of `StorageCredentialGcpServiceAccountKeyInput` via: +// SqlQueryScheduleDailyInput is an input type that accepts SqlQueryScheduleDailyArgs and SqlQueryScheduleDailyOutput values. +// You can construct a concrete instance of `SqlQueryScheduleDailyInput` via: // -// StorageCredentialGcpServiceAccountKeyArgs{...} -type StorageCredentialGcpServiceAccountKeyInput interface { +// SqlQueryScheduleDailyArgs{...} +type SqlQueryScheduleDailyInput interface { pulumi.Input - ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput - ToStorageCredentialGcpServiceAccountKeyOutputWithContext(context.Context) StorageCredentialGcpServiceAccountKeyOutput + ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput + ToSqlQueryScheduleDailyOutputWithContext(context.Context) SqlQueryScheduleDailyOutput } -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 SqlQueryScheduleDailyArgs struct { + IntervalDays pulumi.IntInput `pulumi:"intervalDays"` + TimeOfDay pulumi.StringInput `pulumi:"timeOfDay"` + UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` } -func (StorageCredentialGcpServiceAccountKeyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialGcpServiceAccountKey)(nil)).Elem() +func (SqlQueryScheduleDailyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleDaily)(nil)).Elem() } -func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput { - return i.ToStorageCredentialGcpServiceAccountKeyOutputWithContext(context.Background()) +func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput { + return i.ToSqlQueryScheduleDailyOutputWithContext(context.Background()) } -func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyOutput) +func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyOutputWithContext(ctx context.Context) SqlQueryScheduleDailyOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyOutput) } -func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { - return i.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) +func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { + return i.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) } -func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyOutput).ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx) +func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyOutput).ToSqlQueryScheduleDailyPtrOutputWithContext(ctx) } -// StorageCredentialGcpServiceAccountKeyPtrInput is an input type that accepts StorageCredentialGcpServiceAccountKeyArgs, StorageCredentialGcpServiceAccountKeyPtr and StorageCredentialGcpServiceAccountKeyPtrOutput values. -// You can construct a concrete instance of `StorageCredentialGcpServiceAccountKeyPtrInput` via: +// SqlQueryScheduleDailyPtrInput is an input type that accepts SqlQueryScheduleDailyArgs, SqlQueryScheduleDailyPtr and SqlQueryScheduleDailyPtrOutput values. +// You can construct a concrete instance of `SqlQueryScheduleDailyPtrInput` via: // -// StorageCredentialGcpServiceAccountKeyArgs{...} +// SqlQueryScheduleDailyArgs{...} // // or: // // nil -type StorageCredentialGcpServiceAccountKeyPtrInput interface { +type SqlQueryScheduleDailyPtrInput interface { pulumi.Input - ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput - ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput + ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput + ToSqlQueryScheduleDailyPtrOutputWithContext(context.Context) SqlQueryScheduleDailyPtrOutput } -type storageCredentialGcpServiceAccountKeyPtrType StorageCredentialGcpServiceAccountKeyArgs +type sqlQueryScheduleDailyPtrType SqlQueryScheduleDailyArgs -func StorageCredentialGcpServiceAccountKeyPtr(v *StorageCredentialGcpServiceAccountKeyArgs) StorageCredentialGcpServiceAccountKeyPtrInput { - return (*storageCredentialGcpServiceAccountKeyPtrType)(v) +func SqlQueryScheduleDailyPtr(v *SqlQueryScheduleDailyArgs) SqlQueryScheduleDailyPtrInput { + return (*sqlQueryScheduleDailyPtrType)(v) } -func (*storageCredentialGcpServiceAccountKeyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialGcpServiceAccountKey)(nil)).Elem() +func (*sqlQueryScheduleDailyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleDaily)(nil)).Elem() } -func (i *storageCredentialGcpServiceAccountKeyPtrType) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { - return i.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) +func (i *sqlQueryScheduleDailyPtrType) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { + return i.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) } -func (i *storageCredentialGcpServiceAccountKeyPtrType) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyPtrOutput) +func (i *sqlQueryScheduleDailyPtrType) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyPtrOutput) } -type StorageCredentialGcpServiceAccountKeyOutput struct{ *pulumi.OutputState } +type SqlQueryScheduleDailyOutput struct{ *pulumi.OutputState } -func (StorageCredentialGcpServiceAccountKeyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialGcpServiceAccountKey)(nil)).Elem() +func (SqlQueryScheduleDailyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleDaily)(nil)).Elem() } -func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput { +func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput { return o } -func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyOutput { +func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyOutputWithContext(ctx context.Context) SqlQueryScheduleDailyOutput { return o } -func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { - return o.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) +func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { + return o.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) } -func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialGcpServiceAccountKey) *StorageCredentialGcpServiceAccountKey { +func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleDaily) *SqlQueryScheduleDaily { return &v - }).(StorageCredentialGcpServiceAccountKeyPtrOutput) + }).(SqlQueryScheduleDailyPtrOutput) } -// 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 SqlQueryScheduleDailyOutput) IntervalDays() pulumi.IntOutput { + return o.ApplyT(func(v SqlQueryScheduleDaily) int { return v.IntervalDays }).(pulumi.IntOutput) } -func (o StorageCredentialGcpServiceAccountKeyOutput) PrivateKey() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialGcpServiceAccountKey) string { return v.PrivateKey }).(pulumi.StringOutput) +func (o SqlQueryScheduleDailyOutput) TimeOfDay() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryScheduleDaily) string { return v.TimeOfDay }).(pulumi.StringOutput) } -func (o StorageCredentialGcpServiceAccountKeyOutput) PrivateKeyId() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialGcpServiceAccountKey) string { return v.PrivateKeyId }).(pulumi.StringOutput) +func (o SqlQueryScheduleDailyOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryScheduleDaily) *string { return v.UntilDate }).(pulumi.StringPtrOutput) } -type StorageCredentialGcpServiceAccountKeyPtrOutput struct{ *pulumi.OutputState } +type SqlQueryScheduleDailyPtrOutput struct{ *pulumi.OutputState } -func (StorageCredentialGcpServiceAccountKeyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialGcpServiceAccountKey)(nil)).Elem() +func (SqlQueryScheduleDailyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleDaily)(nil)).Elem() } -func (o StorageCredentialGcpServiceAccountKeyPtrOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { +func (o SqlQueryScheduleDailyPtrOutput) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { return o } -func (o StorageCredentialGcpServiceAccountKeyPtrOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { +func (o SqlQueryScheduleDailyPtrOutput) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { return o } -func (o StorageCredentialGcpServiceAccountKeyPtrOutput) Elem() StorageCredentialGcpServiceAccountKeyOutput { - return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) StorageCredentialGcpServiceAccountKey { +func (o SqlQueryScheduleDailyPtrOutput) Elem() SqlQueryScheduleDailyOutput { + return o.ApplyT(func(v *SqlQueryScheduleDaily) SqlQueryScheduleDaily { if v != nil { return *v } - var ret StorageCredentialGcpServiceAccountKey + var ret SqlQueryScheduleDaily return ret - }).(StorageCredentialGcpServiceAccountKeyOutput) + }).(SqlQueryScheduleDailyOutput) } -// 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 { +func (o SqlQueryScheduleDailyPtrOutput) IntervalDays() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleDaily) *int { if v == nil { return nil } - return &v.Email - }).(pulumi.StringPtrOutput) + return &v.IntervalDays + }).(pulumi.IntPtrOutput) } -func (o StorageCredentialGcpServiceAccountKeyPtrOutput) PrivateKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) *string { +func (o SqlQueryScheduleDailyPtrOutput) TimeOfDay() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleDaily) *string { if v == nil { return nil } - return &v.PrivateKey + return &v.TimeOfDay }).(pulumi.StringPtrOutput) } -func (o StorageCredentialGcpServiceAccountKeyPtrOutput) PrivateKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) *string { +func (o SqlQueryScheduleDailyPtrOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleDaily) *string { if v == nil { return nil } - return &v.PrivateKeyId + return v.UntilDate }).(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"` +type SqlQueryScheduleWeekly struct { + DayOfWeek string `pulumi:"dayOfWeek"` + IntervalWeeks int `pulumi:"intervalWeeks"` + TimeOfDay string `pulumi:"timeOfDay"` + UntilDate *string `pulumi:"untilDate"` } -// TableColumnInput is an input type that accepts TableColumnArgs and TableColumnOutput values. -// You can construct a concrete instance of `TableColumnInput` via: +// SqlQueryScheduleWeeklyInput is an input type that accepts SqlQueryScheduleWeeklyArgs and SqlQueryScheduleWeeklyOutput values. +// You can construct a concrete instance of `SqlQueryScheduleWeeklyInput` via: // -// TableColumnArgs{...} -type TableColumnInput interface { +// SqlQueryScheduleWeeklyArgs{...} +type SqlQueryScheduleWeeklyInput interface { pulumi.Input - ToTableColumnOutput() TableColumnOutput - ToTableColumnOutputWithContext(context.Context) TableColumnOutput + ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput + ToSqlQueryScheduleWeeklyOutputWithContext(context.Context) SqlQueryScheduleWeeklyOutput } -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"` +type SqlQueryScheduleWeeklyArgs struct { + DayOfWeek pulumi.StringInput `pulumi:"dayOfWeek"` + IntervalWeeks pulumi.IntInput `pulumi:"intervalWeeks"` + TimeOfDay pulumi.StringInput `pulumi:"timeOfDay"` + UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` } -func (TableColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*TableColumn)(nil)).Elem() +func (SqlQueryScheduleWeeklyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleWeekly)(nil)).Elem() } -func (i TableColumnArgs) ToTableColumnOutput() TableColumnOutput { - return i.ToTableColumnOutputWithContext(context.Background()) +func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput { + return i.ToSqlQueryScheduleWeeklyOutputWithContext(context.Background()) } -func (i TableColumnArgs) ToTableColumnOutputWithContext(ctx context.Context) TableColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(TableColumnOutput) +func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyOutput) } -// TableColumnArrayInput is an input type that accepts TableColumnArray and TableColumnArrayOutput values. -// You can construct a concrete instance of `TableColumnArrayInput` via: +func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { + return i.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) +} + +func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyOutput).ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx) +} + +// SqlQueryScheduleWeeklyPtrInput is an input type that accepts SqlQueryScheduleWeeklyArgs, SqlQueryScheduleWeeklyPtr and SqlQueryScheduleWeeklyPtrOutput values. +// You can construct a concrete instance of `SqlQueryScheduleWeeklyPtrInput` via: // -// TableColumnArray{ TableColumnArgs{...} } -type TableColumnArrayInput interface { +// SqlQueryScheduleWeeklyArgs{...} +// +// or: +// +// nil +type SqlQueryScheduleWeeklyPtrInput interface { pulumi.Input - ToTableColumnArrayOutput() TableColumnArrayOutput - ToTableColumnArrayOutputWithContext(context.Context) TableColumnArrayOutput + ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput + ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Context) SqlQueryScheduleWeeklyPtrOutput } -type TableColumnArray []TableColumnInput +type sqlQueryScheduleWeeklyPtrType SqlQueryScheduleWeeklyArgs -func (TableColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]TableColumn)(nil)).Elem() +func SqlQueryScheduleWeeklyPtr(v *SqlQueryScheduleWeeklyArgs) SqlQueryScheduleWeeklyPtrInput { + return (*sqlQueryScheduleWeeklyPtrType)(v) } -func (i TableColumnArray) ToTableColumnArrayOutput() TableColumnArrayOutput { - return i.ToTableColumnArrayOutputWithContext(context.Background()) +func (*sqlQueryScheduleWeeklyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleWeekly)(nil)).Elem() } -func (i TableColumnArray) ToTableColumnArrayOutputWithContext(ctx context.Context) TableColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(TableColumnArrayOutput) +func (i *sqlQueryScheduleWeeklyPtrType) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { + return i.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) } -type TableColumnOutput struct{ *pulumi.OutputState } +func (i *sqlQueryScheduleWeeklyPtrType) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyPtrOutput) +} -func (TableColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*TableColumn)(nil)).Elem() +type SqlQueryScheduleWeeklyOutput struct{ *pulumi.OutputState } + +func (SqlQueryScheduleWeeklyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleWeekly)(nil)).Elem() } -func (o TableColumnOutput) ToTableColumnOutput() TableColumnOutput { +func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput { return o } -func (o TableColumnOutput) ToTableColumnOutputWithContext(ctx context.Context) TableColumnOutput { +func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyOutput { return o } -func (o TableColumnOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v TableColumn) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { + return o.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) } -func (o TableColumnOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v TableColumn) string { return v.Name }).(pulumi.StringOutput) +func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleWeekly) *SqlQueryScheduleWeekly { + return &v + }).(SqlQueryScheduleWeeklyPtrOutput) } -func (o TableColumnOutput) Nullable() pulumi.BoolPtrOutput { - return o.ApplyT(func(v TableColumn) *bool { return v.Nullable }).(pulumi.BoolPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) DayOfWeek() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryScheduleWeekly) string { return v.DayOfWeek }).(pulumi.StringOutput) } -func (o TableColumnOutput) PartitionIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v TableColumn) *int { return v.PartitionIndex }).(pulumi.IntPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) IntervalWeeks() pulumi.IntOutput { + return o.ApplyT(func(v SqlQueryScheduleWeekly) int { return v.IntervalWeeks }).(pulumi.IntOutput) } -func (o TableColumnOutput) Position() pulumi.IntOutput { - return o.ApplyT(func(v TableColumn) int { return v.Position }).(pulumi.IntOutput) +func (o SqlQueryScheduleWeeklyOutput) TimeOfDay() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryScheduleWeekly) string { return v.TimeOfDay }).(pulumi.StringOutput) } -func (o TableColumnOutput) TypeIntervalType() pulumi.StringPtrOutput { - return o.ApplyT(func(v TableColumn) *string { return v.TypeIntervalType }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryScheduleWeekly) *string { return v.UntilDate }).(pulumi.StringPtrOutput) } -func (o TableColumnOutput) TypeJson() pulumi.StringPtrOutput { - return o.ApplyT(func(v TableColumn) *string { return v.TypeJson }).(pulumi.StringPtrOutput) -} +type SqlQueryScheduleWeeklyPtrOutput struct{ *pulumi.OutputState } -func (o TableColumnOutput) TypeName() pulumi.StringOutput { - return o.ApplyT(func(v TableColumn) string { return v.TypeName }).(pulumi.StringOutput) +func (SqlQueryScheduleWeeklyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleWeekly)(nil)).Elem() } -func (o TableColumnOutput) TypePrecision() pulumi.IntPtrOutput { - return o.ApplyT(func(v TableColumn) *int { return v.TypePrecision }).(pulumi.IntPtrOutput) +func (o SqlQueryScheduleWeeklyPtrOutput) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { + return o } -func (o TableColumnOutput) TypeScale() pulumi.IntPtrOutput { - return o.ApplyT(func(v TableColumn) *int { return v.TypeScale }).(pulumi.IntPtrOutput) +func (o SqlQueryScheduleWeeklyPtrOutput) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { + return o } -func (o TableColumnOutput) TypeText() pulumi.StringOutput { - return o.ApplyT(func(v TableColumn) string { return v.TypeText }).(pulumi.StringOutput) +func (o SqlQueryScheduleWeeklyPtrOutput) Elem() SqlQueryScheduleWeeklyOutput { + return o.ApplyT(func(v *SqlQueryScheduleWeekly) SqlQueryScheduleWeekly { + if v != nil { + return *v + } + var ret SqlQueryScheduleWeekly + return ret + }).(SqlQueryScheduleWeeklyOutput) } -type TableColumnArrayOutput struct{ *pulumi.OutputState } - -func (TableColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]TableColumn)(nil)).Elem() +func (o SqlQueryScheduleWeeklyPtrOutput) DayOfWeek() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { + if v == nil { + return nil + } + return &v.DayOfWeek + }).(pulumi.StringPtrOutput) } -func (o TableColumnArrayOutput) ToTableColumnArrayOutput() TableColumnArrayOutput { - return o +func (o SqlQueryScheduleWeeklyPtrOutput) IntervalWeeks() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleWeekly) *int { + if v == nil { + return nil + } + return &v.IntervalWeeks + }).(pulumi.IntPtrOutput) } -func (o TableColumnArrayOutput) ToTableColumnArrayOutputWithContext(ctx context.Context) TableColumnArrayOutput { - return o +func (o SqlQueryScheduleWeeklyPtrOutput) TimeOfDay() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { + if v == nil { + return nil + } + return &v.TimeOfDay + }).(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) +func (o SqlQueryScheduleWeeklyPtrOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { + if v == nil { + return nil + } + return v.UntilDate + }).(pulumi.StringPtrOutput) } -type VectorSearchEndpointEndpointStatus struct { - // Additional status message. - Message *string `pulumi:"message"` - // Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. - State *string `pulumi:"state"` +type 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"` } -// VectorSearchEndpointEndpointStatusInput is an input type that accepts VectorSearchEndpointEndpointStatusArgs and VectorSearchEndpointEndpointStatusOutput values. -// You can construct a concrete instance of `VectorSearchEndpointEndpointStatusInput` via: +// SqlTableColumnInput is an input type that accepts SqlTableColumnArgs and SqlTableColumnOutput values. +// You can construct a concrete instance of `SqlTableColumnInput` via: // -// VectorSearchEndpointEndpointStatusArgs{...} -type VectorSearchEndpointEndpointStatusInput interface { +// SqlTableColumnArgs{...} +type SqlTableColumnInput interface { pulumi.Input - ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput - ToVectorSearchEndpointEndpointStatusOutputWithContext(context.Context) VectorSearchEndpointEndpointStatusOutput + ToSqlTableColumnOutput() SqlTableColumnOutput + ToSqlTableColumnOutputWithContext(context.Context) SqlTableColumnOutput } -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"` +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 (VectorSearchEndpointEndpointStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchEndpointEndpointStatus)(nil)).Elem() +func (SqlTableColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlTableColumn)(nil)).Elem() } -func (i VectorSearchEndpointEndpointStatusArgs) ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput { - return i.ToVectorSearchEndpointEndpointStatusOutputWithContext(context.Background()) +func (i SqlTableColumnArgs) ToSqlTableColumnOutput() SqlTableColumnOutput { + return i.ToSqlTableColumnOutputWithContext(context.Background()) } -func (i VectorSearchEndpointEndpointStatusArgs) ToVectorSearchEndpointEndpointStatusOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchEndpointEndpointStatusOutput) +func (i SqlTableColumnArgs) ToSqlTableColumnOutputWithContext(ctx context.Context) SqlTableColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlTableColumnOutput) } -// VectorSearchEndpointEndpointStatusArrayInput is an input type that accepts VectorSearchEndpointEndpointStatusArray and VectorSearchEndpointEndpointStatusArrayOutput values. -// You can construct a concrete instance of `VectorSearchEndpointEndpointStatusArrayInput` via: +// SqlTableColumnArrayInput is an input type that accepts SqlTableColumnArray and SqlTableColumnArrayOutput values. +// You can construct a concrete instance of `SqlTableColumnArrayInput` via: // -// VectorSearchEndpointEndpointStatusArray{ VectorSearchEndpointEndpointStatusArgs{...} } -type VectorSearchEndpointEndpointStatusArrayInput interface { +// SqlTableColumnArray{ SqlTableColumnArgs{...} } +type SqlTableColumnArrayInput interface { pulumi.Input - ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput - ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(context.Context) VectorSearchEndpointEndpointStatusArrayOutput + ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput + ToSqlTableColumnArrayOutputWithContext(context.Context) SqlTableColumnArrayOutput } -type VectorSearchEndpointEndpointStatusArray []VectorSearchEndpointEndpointStatusInput +type SqlTableColumnArray []SqlTableColumnInput -func (VectorSearchEndpointEndpointStatusArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchEndpointEndpointStatus)(nil)).Elem() +func (SqlTableColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlTableColumn)(nil)).Elem() } -func (i VectorSearchEndpointEndpointStatusArray) ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput { - return i.ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(context.Background()) +func (i SqlTableColumnArray) ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput { + return i.ToSqlTableColumnArrayOutputWithContext(context.Background()) } -func (i VectorSearchEndpointEndpointStatusArray) ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchEndpointEndpointStatusArrayOutput) +func (i SqlTableColumnArray) ToSqlTableColumnArrayOutputWithContext(ctx context.Context) SqlTableColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlTableColumnArrayOutput) } -type VectorSearchEndpointEndpointStatusOutput struct{ *pulumi.OutputState } +type SqlTableColumnOutput struct{ *pulumi.OutputState } -func (VectorSearchEndpointEndpointStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchEndpointEndpointStatus)(nil)).Elem() +func (SqlTableColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlTableColumn)(nil)).Elem() } -func (o VectorSearchEndpointEndpointStatusOutput) ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput { +func (o SqlTableColumnOutput) ToSqlTableColumnOutput() SqlTableColumnOutput { return o } -func (o VectorSearchEndpointEndpointStatusOutput) ToVectorSearchEndpointEndpointStatusOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusOutput { +func (o SqlTableColumnOutput) ToSqlTableColumnOutputWithContext(ctx context.Context) SqlTableColumnOutput { return o } -// Additional status message. -func (o VectorSearchEndpointEndpointStatusOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchEndpointEndpointStatus) *string { return v.Message }).(pulumi.StringPtrOutput) +// User-supplied free-form text. +func (o SqlTableColumnOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlTableColumn) *string { return v.Comment }).(pulumi.StringPtrOutput) } -// Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. -func (o VectorSearchEndpointEndpointStatusOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchEndpointEndpointStatus) *string { return v.State }).(pulumi.StringPtrOutput) +// User-visible name of column +func (o SqlTableColumnOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v SqlTableColumn) string { return v.Name }).(pulumi.StringOutput) } -type VectorSearchEndpointEndpointStatusArrayOutput struct{ *pulumi.OutputState } +// 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 (VectorSearchEndpointEndpointStatusArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchEndpointEndpointStatus)(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 VectorSearchEndpointEndpointStatusArrayOutput) ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput { +type SqlTableColumnArrayOutput struct{ *pulumi.OutputState } + +func (SqlTableColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlTableColumn)(nil)).Elem() +} + +func (o SqlTableColumnArrayOutput) ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput { return o } -func (o VectorSearchEndpointEndpointStatusArrayOutput) ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusArrayOutput { +func (o SqlTableColumnArrayOutput) ToSqlTableColumnArrayOutputWithContext(ctx context.Context) SqlTableColumnArrayOutput { 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 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 VectorSearchIndexDeltaSyncIndexSpec struct { - // array of objects representing columns that contain the embedding source. Each entry consists of: - EmbeddingSourceColumns []VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn `pulumi:"embeddingSourceColumns"` - EmbeddingVectorColumns []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn `pulumi:"embeddingVectorColumns"` - // ID of the associated Delta Live Table pipeline. - PipelineId *string `pulumi:"pipelineId"` - PipelineType *string `pulumi:"pipelineType"` - // The name of the source table. - SourceTable *string `pulumi:"sourceTable"` +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"` } -// VectorSearchIndexDeltaSyncIndexSpecInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecArgs and VectorSearchIndexDeltaSyncIndexSpecOutput values. -// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecInput` via: +// SqlWidgetParameterInput is an input type that accepts SqlWidgetParameterArgs and SqlWidgetParameterOutput values. +// You can construct a concrete instance of `SqlWidgetParameterInput` via: // -// VectorSearchIndexDeltaSyncIndexSpecArgs{...} -type VectorSearchIndexDeltaSyncIndexSpecInput interface { +// SqlWidgetParameterArgs{...} +type SqlWidgetParameterInput interface { pulumi.Input - ToVectorSearchIndexDeltaSyncIndexSpecOutput() VectorSearchIndexDeltaSyncIndexSpecOutput - ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecOutput -} - -type VectorSearchIndexDeltaSyncIndexSpecArgs struct { - // array of objects representing columns that contain the embedding source. Each entry consists of: - EmbeddingSourceColumns VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput `pulumi:"embeddingSourceColumns"` - EmbeddingVectorColumns VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayInput `pulumi:"embeddingVectorColumns"` - // ID of the associated Delta Live Table pipeline. - PipelineId pulumi.StringPtrInput `pulumi:"pipelineId"` - PipelineType pulumi.StringPtrInput `pulumi:"pipelineType"` - // The name of the source table. - SourceTable pulumi.StringPtrInput `pulumi:"sourceTable"` -} - -func (VectorSearchIndexDeltaSyncIndexSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() + ToSqlWidgetParameterOutput() SqlWidgetParameterOutput + ToSqlWidgetParameterOutputWithContext(context.Context) SqlWidgetParameterOutput } -func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecOutput() VectorSearchIndexDeltaSyncIndexSpecOutput { - return i.ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(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 VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecOutput) +func (SqlWidgetParameterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlWidgetParameter)(nil)).Elem() } -func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { - return i.ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Background()) +func (i SqlWidgetParameterArgs) ToSqlWidgetParameterOutput() SqlWidgetParameterOutput { + return i.ToSqlWidgetParameterOutputWithContext(context.Background()) } -func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecOutput).ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx) +func (i SqlWidgetParameterArgs) ToSqlWidgetParameterOutputWithContext(ctx context.Context) SqlWidgetParameterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetParameterOutput) } -// VectorSearchIndexDeltaSyncIndexSpecPtrInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecArgs, VectorSearchIndexDeltaSyncIndexSpecPtr and VectorSearchIndexDeltaSyncIndexSpecPtrOutput values. -// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecPtrInput` via: -// -// VectorSearchIndexDeltaSyncIndexSpecArgs{...} -// -// or: +// SqlWidgetParameterArrayInput is an input type that accepts SqlWidgetParameterArray and SqlWidgetParameterArrayOutput values. +// You can construct a concrete instance of `SqlWidgetParameterArrayInput` via: // -// nil -type VectorSearchIndexDeltaSyncIndexSpecPtrInput interface { +// SqlWidgetParameterArray{ SqlWidgetParameterArgs{...} } +type SqlWidgetParameterArrayInput interface { pulumi.Input - ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput - ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput + ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput + ToSqlWidgetParameterArrayOutputWithContext(context.Context) SqlWidgetParameterArrayOutput } -type vectorSearchIndexDeltaSyncIndexSpecPtrType VectorSearchIndexDeltaSyncIndexSpecArgs - -func VectorSearchIndexDeltaSyncIndexSpecPtr(v *VectorSearchIndexDeltaSyncIndexSpecArgs) VectorSearchIndexDeltaSyncIndexSpecPtrInput { - return (*vectorSearchIndexDeltaSyncIndexSpecPtrType)(v) -} +type SqlWidgetParameterArray []SqlWidgetParameterInput -func (*vectorSearchIndexDeltaSyncIndexSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() +func (SqlWidgetParameterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlWidgetParameter)(nil)).Elem() } -func (i *vectorSearchIndexDeltaSyncIndexSpecPtrType) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { - return i.ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Background()) +func (i SqlWidgetParameterArray) ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput { + return i.ToSqlWidgetParameterArrayOutputWithContext(context.Background()) } -func (i *vectorSearchIndexDeltaSyncIndexSpecPtrType) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecPtrOutput) +func (i SqlWidgetParameterArray) ToSqlWidgetParameterArrayOutputWithContext(ctx context.Context) SqlWidgetParameterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetParameterArrayOutput) } -type VectorSearchIndexDeltaSyncIndexSpecOutput struct{ *pulumi.OutputState } +type SqlWidgetParameterOutput struct{ *pulumi.OutputState } -func (VectorSearchIndexDeltaSyncIndexSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() +func (SqlWidgetParameterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlWidgetParameter)(nil)).Elem() } -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecOutput() VectorSearchIndexDeltaSyncIndexSpecOutput { +func (o SqlWidgetParameterOutput) ToSqlWidgetParameterOutput() SqlWidgetParameterOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecOutput { +func (o SqlWidgetParameterOutput) ToSqlWidgetParameterOutputWithContext(ctx context.Context) SqlWidgetParameterOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { - return o.ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Background()) -} - -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v VectorSearchIndexDeltaSyncIndexSpec) *VectorSearchIndexDeltaSyncIndexSpec { - return &v - }).(VectorSearchIndexDeltaSyncIndexSpecPtrOutput) +func (o SqlWidgetParameterOutput) MapTo() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlWidgetParameter) *string { return v.MapTo }).(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 SqlWidgetParameterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v SqlWidgetParameter) string { return v.Name }).(pulumi.StringOutput) } -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) EmbeddingVectorColumns() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn { - return v.EmbeddingVectorColumns - }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) +func (o SqlWidgetParameterOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlWidgetParameter) *string { return v.Title }).(pulumi.StringPtrOutput) } -// ID of the associated Delta Live Table pipeline. -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.PipelineId }).(pulumi.StringPtrOutput) +func (o SqlWidgetParameterOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v SqlWidgetParameter) string { return v.Type }).(pulumi.StringOutput) } -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) PipelineType() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.PipelineType }).(pulumi.StringPtrOutput) +func (o SqlWidgetParameterOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlWidgetParameter) *string { return v.Value }).(pulumi.StringPtrOutput) } -// The name of the source table. -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) SourceTable() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.SourceTable }).(pulumi.StringPtrOutput) +func (o SqlWidgetParameterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v SqlWidgetParameter) []string { return v.Values }).(pulumi.StringArrayOutput) } -type VectorSearchIndexDeltaSyncIndexSpecPtrOutput struct{ *pulumi.OutputState } +type SqlWidgetParameterArrayOutput struct{ *pulumi.OutputState } -func (VectorSearchIndexDeltaSyncIndexSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() +func (SqlWidgetParameterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlWidgetParameter)(nil)).Elem() } -func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { +func (o SqlWidgetParameterArrayOutput) ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { +func (o SqlWidgetParameterArrayOutput) ToSqlWidgetParameterArrayOutputWithContext(ctx context.Context) SqlWidgetParameterArrayOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) Elem() VectorSearchIndexDeltaSyncIndexSpecOutput { - return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) VectorSearchIndexDeltaSyncIndexSpec { - if v != nil { - return *v - } - var ret VectorSearchIndexDeltaSyncIndexSpec - return ret - }).(VectorSearchIndexDeltaSyncIndexSpecOutput) -} - -// 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.EmbeddingSourceColumns - }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) -} - -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 VectorSearchIndexDeltaSyncIndexSpecPtrOutput) PipelineType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) *string { - if v == nil { - return nil - } - return v.PipelineType - }).(pulumi.StringPtrOutput) -} - -// The name of the source table. -func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) SourceTable() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) *string { - if v == nil { - return nil - } - return v.SourceTable - }).(pulumi.StringPtrOutput) +func (o SqlWidgetParameterArrayOutput) Index(i pulumi.IntInput) SqlWidgetParameterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlWidgetParameter { + return vs[0].([]SqlWidgetParameter)[vs[1].(int)] + }).(SqlWidgetParameterOutput) } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn struct { - EmbeddingModelEndpointName *string `pulumi:"embeddingModelEndpointName"` - // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). - Name *string `pulumi:"name"` +type SqlWidgetPosition struct { + AutoHeight *bool `pulumi:"autoHeight"` + PosX *int `pulumi:"posX"` + PosY *int `pulumi:"posY"` + SizeX int `pulumi:"sizeX"` + SizeY int `pulumi:"sizeY"` } -// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs and VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput values. -// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput` via: +// SqlWidgetPositionInput is an input type that accepts SqlWidgetPositionArgs and SqlWidgetPositionOutput values. +// You can construct a concrete instance of `SqlWidgetPositionInput` via: // -// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs{...} -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput interface { +// SqlWidgetPositionArgs{...} +type SqlWidgetPositionInput interface { pulumi.Input - ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput - ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput + ToSqlWidgetPositionOutput() SqlWidgetPositionOutput + ToSqlWidgetPositionOutputWithContext(context.Context) SqlWidgetPositionOutput } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs struct { - EmbeddingModelEndpointName pulumi.StringPtrInput `pulumi:"embeddingModelEndpointName"` - // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). - Name pulumi.StringPtrInput `pulumi:"name"` +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 (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() +func (SqlWidgetPositionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlWidgetPosition)(nil)).Elem() } -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { - return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(context.Background()) +func (i SqlWidgetPositionArgs) ToSqlWidgetPositionOutput() SqlWidgetPositionOutput { + return i.ToSqlWidgetPositionOutputWithContext(context.Background()) } -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) +func (i SqlWidgetPositionArgs) ToSqlWidgetPositionOutputWithContext(ctx context.Context) SqlWidgetPositionOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionOutput) } -// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray and VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput values. -// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput` via: -// -// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray{ VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs{...} } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput interface { - pulumi.Input - - ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput - ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput +func (i SqlWidgetPositionArgs) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { + return i.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray []VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput - -func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() +func (i SqlWidgetPositionArgs) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionOutput).ToSqlWidgetPositionPtrOutputWithContext(ctx) } -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { - return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Background()) -} +// SqlWidgetPositionPtrInput is an input type that accepts SqlWidgetPositionArgs, SqlWidgetPositionPtr and SqlWidgetPositionPtrOutput values. +// You can construct a concrete instance of `SqlWidgetPositionPtrInput` via: +// +// SqlWidgetPositionArgs{...} +// +// or: +// +// nil +type SqlWidgetPositionPtrInput interface { + pulumi.Input -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) + ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput + ToSqlWidgetPositionPtrOutputWithContext(context.Context) SqlWidgetPositionPtrOutput } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput struct{ *pulumi.OutputState } - -func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() -} +type sqlWidgetPositionPtrType SqlWidgetPositionArgs -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { - return o +func SqlWidgetPositionPtr(v *SqlWidgetPositionArgs) SqlWidgetPositionPtrInput { + return (*sqlWidgetPositionPtrType)(v) } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { - return o +func (*sqlWidgetPositionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlWidgetPosition)(nil)).Elem() } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) EmbeddingModelEndpointName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn) *string { - return v.EmbeddingModelEndpointName - }).(pulumi.StringPtrOutput) +func (i *sqlWidgetPositionPtrType) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { + return i.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) } -// Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn) *string { return v.Name }).(pulumi.StringPtrOutput) +func (i *sqlWidgetPositionPtrType) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionPtrOutput) } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput struct{ *pulumi.OutputState } +type SqlWidgetPositionOutput struct{ *pulumi.OutputState } -func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() +func (SqlWidgetPositionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlWidgetPosition)(nil)).Elem() } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { +func (o SqlWidgetPositionOutput) ToSqlWidgetPositionOutput() SqlWidgetPositionOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { +func (o SqlWidgetPositionOutput) ToSqlWidgetPositionOutputWithContext(ctx context.Context) SqlWidgetPositionOutput { return o } -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) -} - -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn struct { - EmbeddingDimension *int `pulumi:"embeddingDimension"` - // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). - Name *string `pulumi:"name"` -} - -// 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 -} - -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs struct { - EmbeddingDimension pulumi.IntPtrInput `pulumi:"embeddingDimension"` - // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). - Name pulumi.StringPtrInput `pulumi:"name"` -} - -func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() +func (o SqlWidgetPositionOutput) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { + return o.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) } -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { - return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(context.Background()) +func (o SqlWidgetPositionOutput) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlWidgetPosition) *SqlWidgetPosition { + return &v + }).(SqlWidgetPositionPtrOutput) } -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) +func (o SqlWidgetPositionOutput) AutoHeight() pulumi.BoolPtrOutput { + return o.ApplyT(func(v SqlWidgetPosition) *bool { return v.AutoHeight }).(pulumi.BoolPtrOutput) } -// VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray and VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput values. -// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayInput` via: -// -// VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray{ VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs{...} } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayInput interface { - pulumi.Input - - ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput - ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput +func (o SqlWidgetPositionOutput) PosX() pulumi.IntPtrOutput { + return o.ApplyT(func(v SqlWidgetPosition) *int { return v.PosX }).(pulumi.IntPtrOutput) } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnInput - -func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() +func (o SqlWidgetPositionOutput) PosY() pulumi.IntPtrOutput { + return o.ApplyT(func(v SqlWidgetPosition) *int { return v.PosY }).(pulumi.IntPtrOutput) } -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { - return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Background()) +func (o SqlWidgetPositionOutput) SizeX() pulumi.IntOutput { + return o.ApplyT(func(v SqlWidgetPosition) int { return v.SizeX }).(pulumi.IntOutput) } -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) +func (o SqlWidgetPositionOutput) SizeY() pulumi.IntOutput { + return o.ApplyT(func(v SqlWidgetPosition) int { return v.SizeY }).(pulumi.IntOutput) } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput struct{ *pulumi.OutputState } +type SqlWidgetPositionPtrOutput struct{ *pulumi.OutputState } -func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() +func (SqlWidgetPositionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlWidgetPosition)(nil)).Elem() } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { +func (o SqlWidgetPositionPtrOutput) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { +func (o SqlWidgetPositionPtrOutput) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) EmbeddingDimension() pulumi.IntPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn) *int { return v.EmbeddingDimension }).(pulumi.IntPtrOutput) +func (o SqlWidgetPositionPtrOutput) Elem() SqlWidgetPositionOutput { + return o.ApplyT(func(v *SqlWidgetPosition) SqlWidgetPosition { + if v != nil { + return *v + } + var ret SqlWidgetPosition + return ret + }).(SqlWidgetPositionOutput) } -// Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o SqlWidgetPositionPtrOutput) AutoHeight() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *SqlWidgetPosition) *bool { + if v == nil { + return nil + } + return v.AutoHeight + }).(pulumi.BoolPtrOutput) } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput struct{ *pulumi.OutputState } - -func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { - 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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { - 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 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 SqlWidgetPositionPtrOutput) SizeY() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlWidgetPosition) *int { + if v == nil { + return nil + } + return &v.SizeY + }).(pulumi.IntPtrOutput) } -type VectorSearchIndexDirectAccessIndexSpec struct { - // array of objects representing columns that contain the embedding source. Each entry consists of: - EmbeddingSourceColumns []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn `pulumi:"embeddingSourceColumns"` - EmbeddingVectorColumns []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn `pulumi:"embeddingVectorColumns"` - // The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. - SchemaJson *string `pulumi:"schemaJson"` +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"` } -// VectorSearchIndexDirectAccessIndexSpecInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecArgs and VectorSearchIndexDirectAccessIndexSpecOutput values. -// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecInput` via: +// StorageCredentialAwsIamRoleInput is an input type that accepts StorageCredentialAwsIamRoleArgs and StorageCredentialAwsIamRoleOutput values. +// You can construct a concrete instance of `StorageCredentialAwsIamRoleInput` via: // -// VectorSearchIndexDirectAccessIndexSpecArgs{...} -type VectorSearchIndexDirectAccessIndexSpecInput interface { +// StorageCredentialAwsIamRoleArgs{...} +type StorageCredentialAwsIamRoleInput interface { pulumi.Input - ToVectorSearchIndexDirectAccessIndexSpecOutput() VectorSearchIndexDirectAccessIndexSpecOutput - ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecOutput + ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput + ToStorageCredentialAwsIamRoleOutputWithContext(context.Context) StorageCredentialAwsIamRoleOutput } -type VectorSearchIndexDirectAccessIndexSpecArgs struct { - // array of objects representing columns that contain the embedding source. Each entry consists of: - EmbeddingSourceColumns VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput `pulumi:"embeddingSourceColumns"` - EmbeddingVectorColumns VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput `pulumi:"embeddingVectorColumns"` - // The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. - SchemaJson pulumi.StringPtrInput `pulumi:"schemaJson"` +type 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 (VectorSearchIndexDirectAccessIndexSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() +func (StorageCredentialAwsIamRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAwsIamRole)(nil)).Elem() } -func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecOutput() VectorSearchIndexDirectAccessIndexSpecOutput { - return i.ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(context.Background()) +func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput { + return i.ToStorageCredentialAwsIamRoleOutputWithContext(context.Background()) } -func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecOutput) +func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRoleOutputWithContext(ctx context.Context) StorageCredentialAwsIamRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRoleOutput) } -func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { - return i.ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Background()) +func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { + return i.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) } -func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecOutput).ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx) +func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRoleOutput).ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx) } -// VectorSearchIndexDirectAccessIndexSpecPtrInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecArgs, VectorSearchIndexDirectAccessIndexSpecPtr and VectorSearchIndexDirectAccessIndexSpecPtrOutput values. -// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecPtrInput` via: +// StorageCredentialAwsIamRolePtrInput is an input type that accepts StorageCredentialAwsIamRoleArgs, StorageCredentialAwsIamRolePtr and StorageCredentialAwsIamRolePtrOutput values. +// You can construct a concrete instance of `StorageCredentialAwsIamRolePtrInput` via: // -// VectorSearchIndexDirectAccessIndexSpecArgs{...} +// StorageCredentialAwsIamRoleArgs{...} // // or: // // nil -type VectorSearchIndexDirectAccessIndexSpecPtrInput interface { +type StorageCredentialAwsIamRolePtrInput interface { pulumi.Input - ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput - ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput + ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput + ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Context) StorageCredentialAwsIamRolePtrOutput } -type vectorSearchIndexDirectAccessIndexSpecPtrType VectorSearchIndexDirectAccessIndexSpecArgs +type storageCredentialAwsIamRolePtrType StorageCredentialAwsIamRoleArgs -func VectorSearchIndexDirectAccessIndexSpecPtr(v *VectorSearchIndexDirectAccessIndexSpecArgs) VectorSearchIndexDirectAccessIndexSpecPtrInput { - return (*vectorSearchIndexDirectAccessIndexSpecPtrType)(v) +func StorageCredentialAwsIamRolePtr(v *StorageCredentialAwsIamRoleArgs) StorageCredentialAwsIamRolePtrInput { + return (*storageCredentialAwsIamRolePtrType)(v) } -func (*vectorSearchIndexDirectAccessIndexSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() +func (*storageCredentialAwsIamRolePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAwsIamRole)(nil)).Elem() } -func (i *vectorSearchIndexDirectAccessIndexSpecPtrType) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { - return i.ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Background()) +func (i *storageCredentialAwsIamRolePtrType) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { + return i.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) } -func (i *vectorSearchIndexDirectAccessIndexSpecPtrType) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecPtrOutput) +func (i *storageCredentialAwsIamRolePtrType) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRolePtrOutput) } -type VectorSearchIndexDirectAccessIndexSpecOutput struct{ *pulumi.OutputState } +type StorageCredentialAwsIamRoleOutput struct{ *pulumi.OutputState } -func (VectorSearchIndexDirectAccessIndexSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() +func (StorageCredentialAwsIamRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAwsIamRole)(nil)).Elem() } -func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecOutput() VectorSearchIndexDirectAccessIndexSpecOutput { +func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecOutput { +func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRoleOutputWithContext(ctx context.Context) StorageCredentialAwsIamRoleOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { - return o.ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Background()) +func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { + return o.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) } -func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v VectorSearchIndexDirectAccessIndexSpec) *VectorSearchIndexDirectAccessIndexSpec { +func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAwsIamRole) *StorageCredentialAwsIamRole { return &v - }).(VectorSearchIndexDirectAccessIndexSpecPtrOutput) + }).(StorageCredentialAwsIamRolePtrOutput) } -// array of objects representing columns that contain the embedding source. Each entry consists of: -func (o VectorSearchIndexDirectAccessIndexSpecOutput) EmbeddingSourceColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { - return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn { - return v.EmbeddingSourceColumns - }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) +func (o StorageCredentialAwsIamRoleOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialAwsIamRole) *string { return v.ExternalId }).(pulumi.StringPtrOutput) } -func (o VectorSearchIndexDirectAccessIndexSpecOutput) EmbeddingVectorColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { - return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn { - return v.EmbeddingVectorColumns - }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) +// 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) } -// 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) +func (o StorageCredentialAwsIamRoleOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialAwsIamRole) *string { return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) } -type VectorSearchIndexDirectAccessIndexSpecPtrOutput struct{ *pulumi.OutputState } +type StorageCredentialAwsIamRolePtrOutput struct{ *pulumi.OutputState } -func (VectorSearchIndexDirectAccessIndexSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() +func (StorageCredentialAwsIamRolePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAwsIamRole)(nil)).Elem() } -func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { +func (o StorageCredentialAwsIamRolePtrOutput) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { +func (o StorageCredentialAwsIamRolePtrOutput) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) Elem() VectorSearchIndexDirectAccessIndexSpecOutput { - return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) VectorSearchIndexDirectAccessIndexSpec { +func (o StorageCredentialAwsIamRolePtrOutput) Elem() StorageCredentialAwsIamRoleOutput { + return o.ApplyT(func(v *StorageCredentialAwsIamRole) StorageCredentialAwsIamRole { if v != nil { return *v } - var ret VectorSearchIndexDirectAccessIndexSpec + var ret StorageCredentialAwsIamRole return ret - }).(VectorSearchIndexDirectAccessIndexSpecOutput) + }).(StorageCredentialAwsIamRoleOutput) } -// array of objects representing columns that contain the embedding source. Each entry consists of: -func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) EmbeddingSourceColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { - return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn { +func (o StorageCredentialAwsIamRolePtrOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialAwsIamRole) *string { if v == nil { return nil } - return v.EmbeddingSourceColumns - }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) + return v.ExternalId + }).(pulumi.StringPtrOutput) } -func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) EmbeddingVectorColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { - return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn { +// 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.EmbeddingVectorColumns - }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) + return &v.RoleArn + }).(pulumi.StringPtrOutput) } -// 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 { +func (o StorageCredentialAwsIamRolePtrOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialAwsIamRole) *string { if v == nil { return nil } - return v.SchemaJson + return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn struct { - EmbeddingModelEndpointName *string `pulumi:"embeddingModelEndpointName"` - // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). - Name *string `pulumi:"name"` +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"` } -// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs and VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput values. -// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput` via: +// StorageCredentialAzureManagedIdentityInput is an input type that accepts StorageCredentialAzureManagedIdentityArgs and StorageCredentialAzureManagedIdentityOutput values. +// You can construct a concrete instance of `StorageCredentialAzureManagedIdentityInput` via: // -// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs{...} -type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput interface { +// StorageCredentialAzureManagedIdentityArgs{...} +type StorageCredentialAzureManagedIdentityInput interface { pulumi.Input - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput + ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput + ToStorageCredentialAzureManagedIdentityOutputWithContext(context.Context) StorageCredentialAzureManagedIdentityOutput } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs struct { - EmbeddingModelEndpointName pulumi.StringPtrInput `pulumi:"embeddingModelEndpointName"` - // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). - Name pulumi.StringPtrInput `pulumi:"name"` +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 (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() +func (StorageCredentialAzureManagedIdentityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAzureManagedIdentity)(nil)).Elem() } -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { - return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(context.Background()) +func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput { + return i.ToStorageCredentialAzureManagedIdentityOutputWithContext(context.Background()) } -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) +func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityOutput) } -// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray and VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput values. -// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput` via: +func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { + return i.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) +} + +func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityOutput).ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx) +} + +// StorageCredentialAzureManagedIdentityPtrInput is an input type that accepts StorageCredentialAzureManagedIdentityArgs, StorageCredentialAzureManagedIdentityPtr and StorageCredentialAzureManagedIdentityPtrOutput values. +// You can construct a concrete instance of `StorageCredentialAzureManagedIdentityPtrInput` via: // -// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray{ VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs{...} } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput interface { +// StorageCredentialAzureManagedIdentityArgs{...} +// +// or: +// +// nil +type StorageCredentialAzureManagedIdentityPtrInput interface { pulumi.Input - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput + ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput + ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Context) StorageCredentialAzureManagedIdentityPtrOutput } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput +type storageCredentialAzureManagedIdentityPtrType StorageCredentialAzureManagedIdentityArgs -func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() +func StorageCredentialAzureManagedIdentityPtr(v *StorageCredentialAzureManagedIdentityArgs) StorageCredentialAzureManagedIdentityPtrInput { + return (*storageCredentialAzureManagedIdentityPtrType)(v) } -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { - return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Background()) +func (*storageCredentialAzureManagedIdentityPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAzureManagedIdentity)(nil)).Elem() } -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) +func (i *storageCredentialAzureManagedIdentityPtrType) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { + return i.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput struct{ *pulumi.OutputState } +func (i *storageCredentialAzureManagedIdentityPtrType) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityPtrOutput) +} -func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() +type StorageCredentialAzureManagedIdentityOutput struct{ *pulumi.OutputState } + +func (StorageCredentialAzureManagedIdentityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAzureManagedIdentity)(nil)).Elem() } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { +func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { +func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) EmbeddingModelEndpointName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn) *string { - return v.EmbeddingModelEndpointName - }).(pulumi.StringPtrOutput) +func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { + return o.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) } -// Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAzureManagedIdentity) *StorageCredentialAzureManagedIdentity { + return &v + }).(StorageCredentialAzureManagedIdentityPtrOutput) } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput struct{ *pulumi.OutputState } +// 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 (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() +func (o StorageCredentialAzureManagedIdentityOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialAzureManagedIdentity) *string { return v.CredentialId }).(pulumi.StringPtrOutput) } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { +// The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. +// +// `databricksGcpServiceAccount` optional configuration block for creating a Databricks-managed GCP Service Account: +func (o StorageCredentialAzureManagedIdentityOutput) ManagedIdentityId() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialAzureManagedIdentity) *string { return v.ManagedIdentityId }).(pulumi.StringPtrOutput) +} + +type StorageCredentialAzureManagedIdentityPtrOutput struct{ *pulumi.OutputState } + +func (StorageCredentialAzureManagedIdentityPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAzureManagedIdentity)(nil)).Elem() +} + +func (o StorageCredentialAzureManagedIdentityPtrOutput) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { +func (o StorageCredentialAzureManagedIdentityPtrOutput) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn { - return vs[0].([]VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)[vs[1].(int)] - }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) +func (o StorageCredentialAzureManagedIdentityPtrOutput) Elem() StorageCredentialAzureManagedIdentityOutput { + return o.ApplyT(func(v *StorageCredentialAzureManagedIdentity) StorageCredentialAzureManagedIdentity { + if v != nil { + return *v + } + var ret StorageCredentialAzureManagedIdentity + return ret + }).(StorageCredentialAzureManagedIdentityOutput) } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn struct { - EmbeddingDimension *int `pulumi:"embeddingDimension"` - // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). - Name *string `pulumi:"name"` +// 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) } -// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs and VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput values. -// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput` via: +func (o StorageCredentialAzureManagedIdentityPtrOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialAzureManagedIdentity) *string { + if v == nil { + return nil + } + return v.CredentialId + }).(pulumi.StringPtrOutput) +} + +// 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`. // -// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs{...} -type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput interface { +// `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 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"` +} + +// 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 - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput + ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput + ToStorageCredentialAzureServicePrincipalOutputWithContext(context.Context) StorageCredentialAzureServicePrincipalOutput } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs struct { - EmbeddingDimension pulumi.IntPtrInput `pulumi:"embeddingDimension"` - // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). - Name pulumi.StringPtrInput `pulumi:"name"` +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 (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() +func (StorageCredentialAzureServicePrincipalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAzureServicePrincipal)(nil)).Elem() } -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { - return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(context.Background()) +func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput { + return i.ToStorageCredentialAzureServicePrincipalOutputWithContext(context.Background()) } -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) +func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalOutput) } -// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray and VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput values. -// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput` 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: // -// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray{ VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs{...} } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput interface { +// StorageCredentialAzureServicePrincipalArgs{...} +// +// or: +// +// nil +type StorageCredentialAzureServicePrincipalPtrInput interface { pulumi.Input - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput + ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput + ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Context) StorageCredentialAzureServicePrincipalPtrOutput } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput +type storageCredentialAzureServicePrincipalPtrType StorageCredentialAzureServicePrincipalArgs -func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() +func StorageCredentialAzureServicePrincipalPtr(v *StorageCredentialAzureServicePrincipalArgs) StorageCredentialAzureServicePrincipalPtrInput { + return (*storageCredentialAzureServicePrincipalPtrType)(v) } -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { - return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Background()) +func (*storageCredentialAzureServicePrincipalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAzureServicePrincipal)(nil)).Elem() } -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) +func (i *storageCredentialAzureServicePrincipalPtrType) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { + return i.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput struct{ *pulumi.OutputState } +func (i *storageCredentialAzureServicePrincipalPtrType) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalPtrOutput) +} -func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() +type StorageCredentialAzureServicePrincipalOutput struct{ *pulumi.OutputState } + +func (StorageCredentialAzureServicePrincipalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAzureServicePrincipal)(nil)).Elem() } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { +func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { +func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) EmbeddingDimension() pulumi.IntPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn) *int { return v.EmbeddingDimension }).(pulumi.IntPtrOutput) +func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { + return o.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) } -// Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAzureServicePrincipal) *StorageCredentialAzureServicePrincipal { + return &v + }).(StorageCredentialAzureServicePrincipalPtrOutput) } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput struct{ *pulumi.OutputState } +// The application ID of the application registration within the referenced AAD tenant +func (o StorageCredentialAzureServicePrincipalOutput) ApplicationId() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialAzureServicePrincipal) string { return v.ApplicationId }).(pulumi.StringOutput) +} -func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() +// The client secret generated for the above app ID in AAD. **This field is redacted on output** +func (o StorageCredentialAzureServicePrincipalOutput) ClientSecret() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialAzureServicePrincipal) string { return v.ClientSecret }).(pulumi.StringOutput) } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { +// The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application +func (o StorageCredentialAzureServicePrincipalOutput) DirectoryId() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialAzureServicePrincipal) string { return v.DirectoryId }).(pulumi.StringOutput) +} + +type StorageCredentialAzureServicePrincipalPtrOutput struct{ *pulumi.OutputState } + +func (StorageCredentialAzureServicePrincipalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAzureServicePrincipal)(nil)).Elem() +} + +func (o StorageCredentialAzureServicePrincipalPtrOutput) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { +func (o StorageCredentialAzureServicePrincipalPtrOutput) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { return o } -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 StorageCredentialAzureServicePrincipalPtrOutput) Elem() StorageCredentialAzureServicePrincipalOutput { + return o.ApplyT(func(v *StorageCredentialAzureServicePrincipal) StorageCredentialAzureServicePrincipal { + if v != nil { + return *v + } + var ret StorageCredentialAzureServicePrincipal + return ret + }).(StorageCredentialAzureServicePrincipalOutput) } -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"` +// 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) } -// VectorSearchIndexStatusInput is an input type that accepts VectorSearchIndexStatusArgs and VectorSearchIndexStatusOutput values. -// You can construct a concrete instance of `VectorSearchIndexStatusInput` via: +// 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) +} + +// 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: // -// VectorSearchIndexStatusArgs{...} -type VectorSearchIndexStatusInput interface { +// StorageCredentialDatabricksGcpServiceAccountArgs{...} +type StorageCredentialDatabricksGcpServiceAccountInput interface { pulumi.Input - ToVectorSearchIndexStatusOutput() VectorSearchIndexStatusOutput - ToVectorSearchIndexStatusOutputWithContext(context.Context) VectorSearchIndexStatusOutput + ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput + ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(context.Context) StorageCredentialDatabricksGcpServiceAccountOutput } -type VectorSearchIndexStatusArgs struct { - // Index API Url to be used to perform operations on the index - IndexUrl pulumi.StringPtrInput `pulumi:"indexUrl"` - // Number of rows indexed - IndexedRowCount pulumi.IntPtrInput `pulumi:"indexedRowCount"` - // Message associated with the index status - Message pulumi.StringPtrInput `pulumi:"message"` - // Whether the index is ready for search - Ready pulumi.BoolPtrInput `pulumi:"ready"` +type 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 (VectorSearchIndexStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexStatus)(nil)).Elem() +func (StorageCredentialDatabricksGcpServiceAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() } -func (i VectorSearchIndexStatusArgs) ToVectorSearchIndexStatusOutput() VectorSearchIndexStatusOutput { - return i.ToVectorSearchIndexStatusOutputWithContext(context.Background()) +func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput { + return i.ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(context.Background()) } -func (i VectorSearchIndexStatusArgs) ToVectorSearchIndexStatusOutputWithContext(ctx context.Context) VectorSearchIndexStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexStatusOutput) +func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountOutput) } -// VectorSearchIndexStatusArrayInput is an input type that accepts VectorSearchIndexStatusArray and VectorSearchIndexStatusArrayOutput values. -// You can construct a concrete instance of `VectorSearchIndexStatusArrayInput` via: +func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return i.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +} + +func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountOutput).ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx) +} + +// StorageCredentialDatabricksGcpServiceAccountPtrInput is an input type that accepts StorageCredentialDatabricksGcpServiceAccountArgs, StorageCredentialDatabricksGcpServiceAccountPtr and StorageCredentialDatabricksGcpServiceAccountPtrOutput values. +// You can construct a concrete instance of `StorageCredentialDatabricksGcpServiceAccountPtrInput` via: // -// VectorSearchIndexStatusArray{ VectorSearchIndexStatusArgs{...} } -type VectorSearchIndexStatusArrayInput interface { +// StorageCredentialDatabricksGcpServiceAccountArgs{...} +// +// or: +// +// nil +type StorageCredentialDatabricksGcpServiceAccountPtrInput interface { pulumi.Input - ToVectorSearchIndexStatusArrayOutput() VectorSearchIndexStatusArrayOutput - ToVectorSearchIndexStatusArrayOutputWithContext(context.Context) VectorSearchIndexStatusArrayOutput + ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput + ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput } -type VectorSearchIndexStatusArray []VectorSearchIndexStatusInput +type storageCredentialDatabricksGcpServiceAccountPtrType StorageCredentialDatabricksGcpServiceAccountArgs -func (VectorSearchIndexStatusArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexStatus)(nil)).Elem() +func StorageCredentialDatabricksGcpServiceAccountPtr(v *StorageCredentialDatabricksGcpServiceAccountArgs) StorageCredentialDatabricksGcpServiceAccountPtrInput { + return (*storageCredentialDatabricksGcpServiceAccountPtrType)(v) } -func (i VectorSearchIndexStatusArray) ToVectorSearchIndexStatusArrayOutput() VectorSearchIndexStatusArrayOutput { - return i.ToVectorSearchIndexStatusArrayOutputWithContext(context.Background()) +func (*storageCredentialDatabricksGcpServiceAccountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() } -func (i VectorSearchIndexStatusArray) ToVectorSearchIndexStatusArrayOutputWithContext(ctx context.Context) VectorSearchIndexStatusArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexStatusArrayOutput) +func (i *storageCredentialDatabricksGcpServiceAccountPtrType) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return i.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -type VectorSearchIndexStatusOutput struct{ *pulumi.OutputState } +func (i *storageCredentialDatabricksGcpServiceAccountPtrType) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountPtrOutput) +} -func (VectorSearchIndexStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexStatus)(nil)).Elem() +type StorageCredentialDatabricksGcpServiceAccountOutput struct{ *pulumi.OutputState } + +func (StorageCredentialDatabricksGcpServiceAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() } -func (o VectorSearchIndexStatusOutput) ToVectorSearchIndexStatusOutput() VectorSearchIndexStatusOutput { +func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput { return o } -func (o VectorSearchIndexStatusOutput) ToVectorSearchIndexStatusOutputWithContext(ctx context.Context) VectorSearchIndexStatusOutput { +func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountOutput { return o } -// Index API Url to be used to perform operations on the index -func (o VectorSearchIndexStatusOutput) IndexUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexStatus) *string { return v.IndexUrl }).(pulumi.StringPtrOutput) +func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return o.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -// Number of rows indexed -func (o VectorSearchIndexStatusOutput) IndexedRowCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v VectorSearchIndexStatus) *int { return v.IndexedRowCount }).(pulumi.IntPtrOutput) +func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialDatabricksGcpServiceAccount) *StorageCredentialDatabricksGcpServiceAccount { + return &v + }).(StorageCredentialDatabricksGcpServiceAccountPtrOutput) } -// 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 StorageCredentialDatabricksGcpServiceAccountOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialDatabricksGcpServiceAccount) *string { return v.CredentialId }).(pulumi.StringPtrOutput) } -// Whether the index is ready for search -func (o VectorSearchIndexStatusOutput) Ready() pulumi.BoolPtrOutput { - return o.ApplyT(func(v VectorSearchIndexStatus) *bool { return v.Ready }).(pulumi.BoolPtrOutput) +// 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) } -type VectorSearchIndexStatusArrayOutput struct{ *pulumi.OutputState } +type StorageCredentialDatabricksGcpServiceAccountPtrOutput struct{ *pulumi.OutputState } -func (VectorSearchIndexStatusArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexStatus)(nil)).Elem() +func (StorageCredentialDatabricksGcpServiceAccountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() } -func (o VectorSearchIndexStatusArrayOutput) ToVectorSearchIndexStatusArrayOutput() VectorSearchIndexStatusArrayOutput { +func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { return o } -func (o VectorSearchIndexStatusArrayOutput) ToVectorSearchIndexStatusArrayOutputWithContext(ctx context.Context) VectorSearchIndexStatusArrayOutput { +func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { return o } -func (o VectorSearchIndexStatusArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexStatusOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexStatus { - return vs[0].([]VectorSearchIndexStatus)[vs[1].(int)] - }).(VectorSearchIndexStatusOutput) +func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) Elem() StorageCredentialDatabricksGcpServiceAccountOutput { + return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) StorageCredentialDatabricksGcpServiceAccount { + if v != nil { + return *v + } + var ret StorageCredentialDatabricksGcpServiceAccount + return ret + }).(StorageCredentialDatabricksGcpServiceAccountOutput) } -type GetCatalogCatalogInfo struct { - BrowseOnly *bool `pulumi:"browseOnly"` - // Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, - CatalogType *string `pulumi:"catalogType"` - // Free-form text description - Comment *string `pulumi:"comment"` - // The name of the connection to an external data source. - ConnectionName *string `pulumi:"connectionName"` - // Time at which this catalog was created, in epoch milliseconds. - CreatedAt *int `pulumi:"createdAt"` - // Username of catalog creator. - CreatedBy *string `pulumi:"createdBy"` - // object describing applied predictive optimization flag. - EffectivePredictiveOptimizationFlag *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag `pulumi:"effectivePredictiveOptimizationFlag"` - // Whether predictive optimization should be enabled for this object and objects under it. - EnablePredictiveOptimization *string `pulumi:"enablePredictiveOptimization"` - // The full name of the catalog. Corresponds with the name field. - FullName *string `pulumi:"fullName"` - // Whether the current securable is accessible from all workspaces or a specific set of workspaces. - IsolationMode *string `pulumi:"isolationMode"` - // Unique identifier of parent metastore. - MetastoreId *string `pulumi:"metastoreId"` - // name of the catalog - Name *string `pulumi:"name"` - // A map of key-value properties attached to the securable. - Options map[string]interface{} `pulumi:"options"` - // Current owner of the catalog - Owner *string `pulumi:"owner"` - // A map of key-value properties attached to the securable. - Properties map[string]interface{} `pulumi:"properties"` - // The name of delta sharing provider. - ProviderName *string `pulumi:"providerName"` - ProvisioningInfo *GetCatalogCatalogInfoProvisioningInfo `pulumi:"provisioningInfo"` - // Kind of catalog securable. - SecurableKind *string `pulumi:"securableKind"` - // Securable type. - SecurableType *string `pulumi:"securableType"` - // The name of the share under the share provider. - ShareName *string `pulumi:"shareName"` - // Storage Location URL (full path) for managed tables within catalog. - StorageLocation *string `pulumi:"storageLocation"` - // Storage root URL for managed tables within catalog. - StorageRoot *string `pulumi:"storageRoot"` - // Time at which this catalog was last modified, in epoch milliseconds. - UpdatedAt *int `pulumi:"updatedAt"` - // Username of user who last modified catalog. - UpdatedBy *string `pulumi:"updatedBy"` -} - -// GetCatalogCatalogInfoInput is an input type that accepts GetCatalogCatalogInfoArgs and GetCatalogCatalogInfoOutput values. -// You can construct a concrete instance of `GetCatalogCatalogInfoInput` via: -// -// GetCatalogCatalogInfoArgs{...} -type GetCatalogCatalogInfoInput interface { - pulumi.Input - - ToGetCatalogCatalogInfoOutput() GetCatalogCatalogInfoOutput - ToGetCatalogCatalogInfoOutputWithContext(context.Context) GetCatalogCatalogInfoOutput -} - -type GetCatalogCatalogInfoArgs struct { - BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` - // Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, - CatalogType pulumi.StringPtrInput `pulumi:"catalogType"` - // Free-form text description - Comment pulumi.StringPtrInput `pulumi:"comment"` - // The name of the connection to an external data source. - ConnectionName pulumi.StringPtrInput `pulumi:"connectionName"` - // Time at which this catalog was created, in epoch milliseconds. - CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` - // Username of catalog creator. - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` - // object describing applied predictive optimization flag. - EffectivePredictiveOptimizationFlag GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput `pulumi:"effectivePredictiveOptimizationFlag"` - // Whether predictive optimization should be enabled for this object and objects under it. - EnablePredictiveOptimization pulumi.StringPtrInput `pulumi:"enablePredictiveOptimization"` - // The full name of the catalog. Corresponds with the name field. - FullName pulumi.StringPtrInput `pulumi:"fullName"` - // Whether the current securable is accessible from all workspaces or a specific set of workspaces. - IsolationMode pulumi.StringPtrInput `pulumi:"isolationMode"` - // Unique identifier of parent metastore. - MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` - // name of the catalog - Name pulumi.StringPtrInput `pulumi:"name"` - // A map of key-value properties attached to the securable. - Options pulumi.MapInput `pulumi:"options"` - // Current owner of the catalog - Owner pulumi.StringPtrInput `pulumi:"owner"` - // A map of key-value properties attached to the securable. - Properties pulumi.MapInput `pulumi:"properties"` - // The name of delta sharing provider. - ProviderName pulumi.StringPtrInput `pulumi:"providerName"` - ProvisioningInfo GetCatalogCatalogInfoProvisioningInfoPtrInput `pulumi:"provisioningInfo"` - // Kind of catalog securable. - SecurableKind pulumi.StringPtrInput `pulumi:"securableKind"` - // Securable type. - SecurableType pulumi.StringPtrInput `pulumi:"securableType"` - // The name of the share under the share provider. - ShareName pulumi.StringPtrInput `pulumi:"shareName"` - // Storage Location URL (full path) for managed tables within catalog. - StorageLocation pulumi.StringPtrInput `pulumi:"storageLocation"` - // Storage root URL for managed tables within catalog. - StorageRoot pulumi.StringPtrInput `pulumi:"storageRoot"` - // Time at which this catalog was last modified, in epoch milliseconds. - UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` - // Username of user who last modified catalog. - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` -} - -func (GetCatalogCatalogInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetCatalogCatalogInfo)(nil)).Elem() -} - -func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoOutput() GetCatalogCatalogInfoOutput { - return i.ToGetCatalogCatalogInfoOutputWithContext(context.Background()) -} - -func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoOutput) -} - -func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { - return i.ToGetCatalogCatalogInfoPtrOutputWithContext(context.Background()) -} - -func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoOutput).ToGetCatalogCatalogInfoPtrOutputWithContext(ctx) -} - -// GetCatalogCatalogInfoPtrInput is an input type that accepts GetCatalogCatalogInfoArgs, GetCatalogCatalogInfoPtr and GetCatalogCatalogInfoPtrOutput values. -// You can construct a concrete instance of `GetCatalogCatalogInfoPtrInput` via: -// -// GetCatalogCatalogInfoArgs{...} -// -// or: -// -// nil -type GetCatalogCatalogInfoPtrInput interface { - pulumi.Input - - ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput - ToGetCatalogCatalogInfoPtrOutputWithContext(context.Context) GetCatalogCatalogInfoPtrOutput -} - -type getCatalogCatalogInfoPtrType GetCatalogCatalogInfoArgs - -func GetCatalogCatalogInfoPtr(v *GetCatalogCatalogInfoArgs) GetCatalogCatalogInfoPtrInput { - return (*getCatalogCatalogInfoPtrType)(v) -} - -func (*getCatalogCatalogInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetCatalogCatalogInfo)(nil)).Elem() -} - -func (i *getCatalogCatalogInfoPtrType) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { - return i.ToGetCatalogCatalogInfoPtrOutputWithContext(context.Background()) -} - -func (i *getCatalogCatalogInfoPtrType) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoPtrOutput) -} - -type GetCatalogCatalogInfoOutput struct{ *pulumi.OutputState } - -func (GetCatalogCatalogInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetCatalogCatalogInfo)(nil)).Elem() -} - -func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoOutput() GetCatalogCatalogInfoOutput { - return o -} - -func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoOutput { - return o -} - -func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { - return o.ToGetCatalogCatalogInfoPtrOutputWithContext(context.Background()) -} - -func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCatalogCatalogInfo) *GetCatalogCatalogInfo { - return &v - }).(GetCatalogCatalogInfoPtrOutput) -} - -func (o GetCatalogCatalogInfoOutput) BrowseOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) -} - -// Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, -func (o GetCatalogCatalogInfoOutput) CatalogType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.CatalogType }).(pulumi.StringPtrOutput) -} - -// Free-form text description -func (o GetCatalogCatalogInfoOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) -} - -// The name of the connection to an external data source. -func (o GetCatalogCatalogInfoOutput) ConnectionName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.ConnectionName }).(pulumi.StringPtrOutput) -} - -// Time at which this catalog was created, in epoch milliseconds. -func (o GetCatalogCatalogInfoOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) -} - -// Username of catalog creator. -func (o GetCatalogCatalogInfoOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) -} - -// object describing applied predictive optimization flag. -func (o GetCatalogCatalogInfoOutput) EffectivePredictiveOptimizationFlag() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { - return v.EffectivePredictiveOptimizationFlag - }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) -} - -// Whether predictive optimization should be enabled for this object and objects under it. -func (o GetCatalogCatalogInfoOutput) EnablePredictiveOptimization() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.EnablePredictiveOptimization }).(pulumi.StringPtrOutput) -} - -// The full name of the catalog. Corresponds with the name field. -func (o GetCatalogCatalogInfoOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.FullName }).(pulumi.StringPtrOutput) -} - -// Whether the current securable is accessible from all workspaces or a specific set of workspaces. -func (o GetCatalogCatalogInfoOutput) IsolationMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.IsolationMode }).(pulumi.StringPtrOutput) -} - -// Unique identifier of parent metastore. -func (o GetCatalogCatalogInfoOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) -} - -// name of the catalog -func (o GetCatalogCatalogInfoOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -// A map of key-value properties attached to the securable. -func (o GetCatalogCatalogInfoOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) map[string]interface{} { return v.Options }).(pulumi.MapOutput) -} - -// Current owner of the catalog -func (o GetCatalogCatalogInfoOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) -} - -// A map of key-value properties attached to the securable. -func (o GetCatalogCatalogInfoOutput) Properties() pulumi.MapOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) map[string]interface{} { return v.Properties }).(pulumi.MapOutput) -} - -// The name of delta sharing provider. -func (o GetCatalogCatalogInfoOutput) ProviderName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.ProviderName }).(pulumi.StringPtrOutput) -} - -func (o GetCatalogCatalogInfoOutput) ProvisioningInfo() GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *GetCatalogCatalogInfoProvisioningInfo { return v.ProvisioningInfo }).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) -} - -// Kind of catalog securable. -func (o GetCatalogCatalogInfoOutput) SecurableKind() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.SecurableKind }).(pulumi.StringPtrOutput) -} - -// Securable type. -func (o GetCatalogCatalogInfoOutput) SecurableType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.SecurableType }).(pulumi.StringPtrOutput) -} - -// The name of the share under the share provider. -func (o GetCatalogCatalogInfoOutput) ShareName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.ShareName }).(pulumi.StringPtrOutput) -} - -// Storage Location URL (full path) for managed tables within catalog. -func (o GetCatalogCatalogInfoOutput) StorageLocation() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.StorageLocation }).(pulumi.StringPtrOutput) -} - -// Storage root URL for managed tables within catalog. -func (o GetCatalogCatalogInfoOutput) StorageRoot() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.StorageRoot }).(pulumi.StringPtrOutput) -} - -// Time at which this catalog was last modified, in epoch milliseconds. -func (o GetCatalogCatalogInfoOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) -} - -// Username of user who last modified catalog. -func (o GetCatalogCatalogInfoOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) -} - -type GetCatalogCatalogInfoPtrOutput struct{ *pulumi.OutputState } - -func (GetCatalogCatalogInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetCatalogCatalogInfo)(nil)).Elem() -} - -func (o GetCatalogCatalogInfoPtrOutput) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { - return o -} - -func (o GetCatalogCatalogInfoPtrOutput) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { - return o -} - -func (o GetCatalogCatalogInfoPtrOutput) Elem() GetCatalogCatalogInfoOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) GetCatalogCatalogInfo { - if v != nil { - return *v - } - var ret GetCatalogCatalogInfo - return ret - }).(GetCatalogCatalogInfoOutput) -} - -func (o GetCatalogCatalogInfoPtrOutput) BrowseOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *bool { - if v == nil { - return nil - } - return v.BrowseOnly - }).(pulumi.BoolPtrOutput) -} - -// Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, -func (o GetCatalogCatalogInfoPtrOutput) CatalogType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.CatalogType - }).(pulumi.StringPtrOutput) -} - -// Free-form text description -func (o GetCatalogCatalogInfoPtrOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.Comment - }).(pulumi.StringPtrOutput) -} - -// The name of the connection to an external data source. -func (o GetCatalogCatalogInfoPtrOutput) ConnectionName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.ConnectionName - }).(pulumi.StringPtrOutput) -} - -// Time at which this catalog was created, in epoch milliseconds. -func (o GetCatalogCatalogInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *int { - if v == nil { - return nil - } - return v.CreatedAt - }).(pulumi.IntPtrOutput) -} - -// Username of catalog creator. -func (o GetCatalogCatalogInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.CreatedBy - }).(pulumi.StringPtrOutput) -} - -// object describing applied predictive optimization flag. -func (o GetCatalogCatalogInfoPtrOutput) EffectivePredictiveOptimizationFlag() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { - if v == nil { - return nil - } - return v.EffectivePredictiveOptimizationFlag - }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) -} - -// Whether predictive optimization should be enabled for this object and objects under it. -func (o GetCatalogCatalogInfoPtrOutput) EnablePredictiveOptimization() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.EnablePredictiveOptimization - }).(pulumi.StringPtrOutput) -} - -// The full name of the catalog. Corresponds with the name field. -func (o GetCatalogCatalogInfoPtrOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.FullName - }).(pulumi.StringPtrOutput) -} - -// Whether the current securable is accessible from all workspaces or a specific set of workspaces. -func (o GetCatalogCatalogInfoPtrOutput) IsolationMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.IsolationMode - }).(pulumi.StringPtrOutput) -} - -// Unique identifier of parent metastore. -func (o GetCatalogCatalogInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.MetastoreId - }).(pulumi.StringPtrOutput) -} - -// name of the catalog -func (o GetCatalogCatalogInfoPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) -} - -// A map of key-value properties attached to the securable. -func (o GetCatalogCatalogInfoPtrOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) map[string]interface{} { - if v == nil { - return nil - } - return v.Options - }).(pulumi.MapOutput) -} - -// Current owner of the catalog -func (o GetCatalogCatalogInfoPtrOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.Owner - }).(pulumi.StringPtrOutput) -} - -// A map of key-value properties attached to the securable. -func (o GetCatalogCatalogInfoPtrOutput) Properties() pulumi.MapOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) map[string]interface{} { - if v == nil { - return nil - } - return v.Properties - }).(pulumi.MapOutput) -} - -// The name of delta sharing provider. -func (o GetCatalogCatalogInfoPtrOutput) ProviderName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.ProviderName - }).(pulumi.StringPtrOutput) -} - -func (o GetCatalogCatalogInfoPtrOutput) ProvisioningInfo() GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *GetCatalogCatalogInfoProvisioningInfo { - if v == nil { - return nil - } - return v.ProvisioningInfo - }).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) -} - -// Kind of catalog securable. -func (o GetCatalogCatalogInfoPtrOutput) SecurableKind() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.SecurableKind - }).(pulumi.StringPtrOutput) -} - -// Securable type. -func (o GetCatalogCatalogInfoPtrOutput) SecurableType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.SecurableType - }).(pulumi.StringPtrOutput) -} - -// The name of the share under the share provider. -func (o GetCatalogCatalogInfoPtrOutput) ShareName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.ShareName - }).(pulumi.StringPtrOutput) -} - -// Storage Location URL (full path) for managed tables within catalog. -func (o GetCatalogCatalogInfoPtrOutput) StorageLocation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.StorageLocation - }).(pulumi.StringPtrOutput) -} - -// Storage root URL for managed tables within catalog. -func (o GetCatalogCatalogInfoPtrOutput) StorageRoot() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { +func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) *string { if v == nil { return nil } - return v.StorageRoot + return v.CredentialId }).(pulumi.StringPtrOutput) } -// Time at which this catalog was last modified, in epoch milliseconds. -func (o GetCatalogCatalogInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *int { - if v == nil { - return nil - } - return v.UpdatedAt - }).(pulumi.IntPtrOutput) -} - -// Username of user who last modified catalog. -func (o GetCatalogCatalogInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *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 StorageCredentialDatabricksGcpServiceAccountPtrOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) *string { if v == nil { return nil } - return v.UpdatedBy + return v.Email }).(pulumi.StringPtrOutput) } -type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag struct { - InheritedFromName *string `pulumi:"inheritedFromName"` - InheritedFromType *string `pulumi:"inheritedFromType"` - Value string `pulumi:"value"` +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"` } -// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput is an input type that accepts GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs and GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput values. -// You can construct a concrete instance of `GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput` via: +// StorageCredentialGcpServiceAccountKeyInput is an input type that accepts StorageCredentialGcpServiceAccountKeyArgs and StorageCredentialGcpServiceAccountKeyOutput values. +// You can construct a concrete instance of `StorageCredentialGcpServiceAccountKeyInput` via: // -// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{...} -type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput interface { +// StorageCredentialGcpServiceAccountKeyArgs{...} +type StorageCredentialGcpServiceAccountKeyInput interface { pulumi.Input - ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput - ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput + ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput + ToStorageCredentialGcpServiceAccountKeyOutputWithContext(context.Context) StorageCredentialGcpServiceAccountKeyOutput } -type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs struct { - InheritedFromName pulumi.StringPtrInput `pulumi:"inheritedFromName"` - InheritedFromType pulumi.StringPtrInput `pulumi:"inheritedFromType"` - Value pulumi.StringInput `pulumi:"value"` +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 (GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() +func (StorageCredentialGcpServiceAccountKeyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialGcpServiceAccountKey)(nil)).Elem() } -func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { - return i.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Background()) +func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput { + return i.ToStorageCredentialGcpServiceAccountKeyOutputWithContext(context.Background()) } -func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) +func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyOutput) } -func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return i.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) +func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { + return i.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) } -func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput).ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx) +func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyOutput).ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx) } -// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput is an input type that accepts GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs, GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtr and GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput values. -// You can construct a concrete instance of `GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput` via: +// StorageCredentialGcpServiceAccountKeyPtrInput is an input type that accepts StorageCredentialGcpServiceAccountKeyArgs, StorageCredentialGcpServiceAccountKeyPtr and StorageCredentialGcpServiceAccountKeyPtrOutput values. +// You can construct a concrete instance of `StorageCredentialGcpServiceAccountKeyPtrInput` via: // -// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{...} +// StorageCredentialGcpServiceAccountKeyArgs{...} // // or: // // nil -type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput interface { +type StorageCredentialGcpServiceAccountKeyPtrInput interface { pulumi.Input - ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput - ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput + ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput + ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput } -type getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs +type storageCredentialGcpServiceAccountKeyPtrType StorageCredentialGcpServiceAccountKeyArgs -func GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtr(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput { - return (*getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType)(v) +func StorageCredentialGcpServiceAccountKeyPtr(v *StorageCredentialGcpServiceAccountKeyArgs) StorageCredentialGcpServiceAccountKeyPtrInput { + return (*storageCredentialGcpServiceAccountKeyPtrType)(v) } -func (*getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() +func (*storageCredentialGcpServiceAccountKeyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialGcpServiceAccountKey)(nil)).Elem() } -func (i *getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return i.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) +func (i *storageCredentialGcpServiceAccountKeyPtrType) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { + return i.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) } -func (i *getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) +func (i *storageCredentialGcpServiceAccountKeyPtrType) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyPtrOutput) } -type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput struct{ *pulumi.OutputState } +type StorageCredentialGcpServiceAccountKeyOutput struct{ *pulumi.OutputState } -func (GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() +func (StorageCredentialGcpServiceAccountKeyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialGcpServiceAccountKey)(nil)).Elem() } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { +func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput { return o } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { +func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyOutput { return o } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return o.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) +func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { + return o.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { +func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialGcpServiceAccountKey) *StorageCredentialGcpServiceAccountKey { return &v - }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) + }).(StorageCredentialGcpServiceAccountKeyPtrOutput) } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromName }).(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 GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromType }).(pulumi.StringPtrOutput) +func (o StorageCredentialGcpServiceAccountKeyOutput) PrivateKey() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialGcpServiceAccountKey) string { return v.PrivateKey }).(pulumi.StringOutput) } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) string { return v.Value }).(pulumi.StringOutput) +func (o StorageCredentialGcpServiceAccountKeyOutput) PrivateKeyId() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialGcpServiceAccountKey) string { return v.PrivateKeyId }).(pulumi.StringOutput) } -type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput struct{ *pulumi.OutputState } +type StorageCredentialGcpServiceAccountKeyPtrOutput struct{ *pulumi.OutputState } -func (GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() +func (StorageCredentialGcpServiceAccountKeyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialGcpServiceAccountKey)(nil)).Elem() } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { +func (o StorageCredentialGcpServiceAccountKeyPtrOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { return o } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { +func (o StorageCredentialGcpServiceAccountKeyPtrOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { return o } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) Elem() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { +func (o StorageCredentialGcpServiceAccountKeyPtrOutput) Elem() StorageCredentialGcpServiceAccountKeyOutput { + return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) StorageCredentialGcpServiceAccountKey { if v != nil { return *v } - var ret GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag + var ret StorageCredentialGcpServiceAccountKey return ret - }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) + }).(StorageCredentialGcpServiceAccountKeyOutput) } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *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.InheritedFromName + return &v.Email }).(pulumi.StringPtrOutput) } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { +func (o StorageCredentialGcpServiceAccountKeyPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) *string { if v == nil { return nil } - return v.InheritedFromType + return &v.PrivateKey }).(pulumi.StringPtrOutput) } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { +func (o StorageCredentialGcpServiceAccountKeyPtrOutput) PrivateKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) *string { if v == nil { return nil } - return &v.Value + return &v.PrivateKeyId }).(pulumi.StringPtrOutput) } -type GetCatalogCatalogInfoProvisioningInfo struct { - State *string `pulumi:"state"` +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"` } -// GetCatalogCatalogInfoProvisioningInfoInput is an input type that accepts GetCatalogCatalogInfoProvisioningInfoArgs and GetCatalogCatalogInfoProvisioningInfoOutput values. -// You can construct a concrete instance of `GetCatalogCatalogInfoProvisioningInfoInput` via: +// TableColumnInput is an input type that accepts TableColumnArgs and TableColumnOutput values. +// You can construct a concrete instance of `TableColumnInput` via: // -// GetCatalogCatalogInfoProvisioningInfoArgs{...} -type GetCatalogCatalogInfoProvisioningInfoInput interface { +// TableColumnArgs{...} +type TableColumnInput interface { pulumi.Input - ToGetCatalogCatalogInfoProvisioningInfoOutput() GetCatalogCatalogInfoProvisioningInfoOutput - ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(context.Context) GetCatalogCatalogInfoProvisioningInfoOutput -} - -type GetCatalogCatalogInfoProvisioningInfoArgs struct { - State pulumi.StringPtrInput `pulumi:"state"` -} - -func (GetCatalogCatalogInfoProvisioningInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() + ToTableColumnOutput() TableColumnOutput + ToTableColumnOutputWithContext(context.Context) TableColumnOutput } -func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoOutput() GetCatalogCatalogInfoProvisioningInfoOutput { - return i.ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(context.Background()) +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 GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoProvisioningInfoOutput) +func (TableColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TableColumn)(nil)).Elem() } -func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return i.ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Background()) +func (i TableColumnArgs) ToTableColumnOutput() TableColumnOutput { + return i.ToTableColumnOutputWithContext(context.Background()) } -func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoProvisioningInfoOutput).ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx) +func (i TableColumnArgs) ToTableColumnOutputWithContext(ctx context.Context) TableColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(TableColumnOutput) } -// GetCatalogCatalogInfoProvisioningInfoPtrInput is an input type that accepts GetCatalogCatalogInfoProvisioningInfoArgs, GetCatalogCatalogInfoProvisioningInfoPtr and GetCatalogCatalogInfoProvisioningInfoPtrOutput values. -// You can construct a concrete instance of `GetCatalogCatalogInfoProvisioningInfoPtrInput` via: -// -// GetCatalogCatalogInfoProvisioningInfoArgs{...} -// -// or: +// TableColumnArrayInput is an input type that accepts TableColumnArray and TableColumnArrayOutput values. +// You can construct a concrete instance of `TableColumnArrayInput` via: // -// nil -type GetCatalogCatalogInfoProvisioningInfoPtrInput interface { +// TableColumnArray{ TableColumnArgs{...} } +type TableColumnArrayInput interface { pulumi.Input - ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput - ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput + ToTableColumnArrayOutput() TableColumnArrayOutput + ToTableColumnArrayOutputWithContext(context.Context) TableColumnArrayOutput } -type getCatalogCatalogInfoProvisioningInfoPtrType GetCatalogCatalogInfoProvisioningInfoArgs - -func GetCatalogCatalogInfoProvisioningInfoPtr(v *GetCatalogCatalogInfoProvisioningInfoArgs) GetCatalogCatalogInfoProvisioningInfoPtrInput { - return (*getCatalogCatalogInfoProvisioningInfoPtrType)(v) -} +type TableColumnArray []TableColumnInput -func (*getCatalogCatalogInfoProvisioningInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() +func (TableColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TableColumn)(nil)).Elem() } -func (i *getCatalogCatalogInfoProvisioningInfoPtrType) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return i.ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Background()) +func (i TableColumnArray) ToTableColumnArrayOutput() TableColumnArrayOutput { + return i.ToTableColumnArrayOutputWithContext(context.Background()) } -func (i *getCatalogCatalogInfoProvisioningInfoPtrType) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) +func (i TableColumnArray) ToTableColumnArrayOutputWithContext(ctx context.Context) TableColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TableColumnArrayOutput) } -type GetCatalogCatalogInfoProvisioningInfoOutput struct{ *pulumi.OutputState } +type TableColumnOutput struct{ *pulumi.OutputState } -func (GetCatalogCatalogInfoProvisioningInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() +func (TableColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TableColumn)(nil)).Elem() } -func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoOutput() GetCatalogCatalogInfoProvisioningInfoOutput { +func (o TableColumnOutput) ToTableColumnOutput() TableColumnOutput { return o } -func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoOutput { +func (o TableColumnOutput) ToTableColumnOutputWithContext(ctx context.Context) TableColumnOutput { return o } -func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return o.ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Background()) +func (o TableColumnOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v TableColumn) *string { return v.Comment }).(pulumi.StringPtrOutput) } -func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCatalogCatalogInfoProvisioningInfo) *GetCatalogCatalogInfoProvisioningInfo { - return &v - }).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) +func (o TableColumnOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v TableColumn) string { return v.Name }).(pulumi.StringOutput) } -func (o GetCatalogCatalogInfoProvisioningInfoOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfoProvisioningInfo) *string { return v.State }).(pulumi.StringPtrOutput) +func (o TableColumnOutput) Nullable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v TableColumn) *bool { return v.Nullable }).(pulumi.BoolPtrOutput) } -type GetCatalogCatalogInfoProvisioningInfoPtrOutput struct{ *pulumi.OutputState } - -func (GetCatalogCatalogInfoProvisioningInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() +func (o TableColumnOutput) PartitionIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v TableColumn) *int { return v.PartitionIndex }).(pulumi.IntPtrOutput) } -func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return o +func (o TableColumnOutput) Position() pulumi.IntOutput { + return o.ApplyT(func(v TableColumn) int { return v.Position }).(pulumi.IntOutput) } -func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return o +func (o TableColumnOutput) TypeIntervalType() pulumi.StringPtrOutput { + return o.ApplyT(func(v TableColumn) *string { return v.TypeIntervalType }).(pulumi.StringPtrOutput) } -func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) Elem() GetCatalogCatalogInfoProvisioningInfoOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfoProvisioningInfo) GetCatalogCatalogInfoProvisioningInfo { - if v != nil { - return *v - } - var ret GetCatalogCatalogInfoProvisioningInfo - return ret - }).(GetCatalogCatalogInfoProvisioningInfoOutput) +func (o TableColumnOutput) TypeJson() pulumi.StringPtrOutput { + return o.ApplyT(func(v TableColumn) *string { return v.TypeJson }).(pulumi.StringPtrOutput) } -func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfoProvisioningInfo) *string { - if v == nil { - return nil - } - return v.State - }).(pulumi.StringPtrOutput) +func (o TableColumnOutput) TypeName() pulumi.StringOutput { + return o.ApplyT(func(v TableColumn) string { return v.TypeName }).(pulumi.StringOutput) } -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 TableColumnOutput) TypePrecision() pulumi.IntPtrOutput { + return o.ApplyT(func(v TableColumn) *int { return v.TypePrecision }).(pulumi.IntPtrOutput) } -// GetClusterClusterInfoInput is an input type that accepts GetClusterClusterInfoArgs and GetClusterClusterInfoOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInput` via: -// -// GetClusterClusterInfoArgs{...} -type GetClusterClusterInfoInput interface { - pulumi.Input - - ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput - ToGetClusterClusterInfoOutputWithContext(context.Context) GetClusterClusterInfoOutput +func (o TableColumnOutput) TypeScale() pulumi.IntPtrOutput { + return o.ApplyT(func(v TableColumn) *int { return v.TypeScale }).(pulumi.IntPtrOutput) } -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 (o TableColumnOutput) TypeText() pulumi.StringOutput { + return o.ApplyT(func(v TableColumn) string { return v.TypeText }).(pulumi.StringOutput) } -func (GetClusterClusterInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfo)(nil)).Elem() +type TableColumnArrayOutput struct{ *pulumi.OutputState } + +func (TableColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TableColumn)(nil)).Elem() } -func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput { - return i.ToGetClusterClusterInfoOutputWithContext(context.Background()) +func (o TableColumnArrayOutput) ToTableColumnArrayOutput() TableColumnArrayOutput { + return o } -func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoOutput) +func (o TableColumnArrayOutput) ToTableColumnArrayOutputWithContext(ctx context.Context) TableColumnArrayOutput { + return o } -func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { - return i.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) +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) } -func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoOutput).ToGetClusterClusterInfoPtrOutputWithContext(ctx) +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"` } -// GetClusterClusterInfoPtrInput is an input type that accepts GetClusterClusterInfoArgs, GetClusterClusterInfoPtr and GetClusterClusterInfoPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoPtrInput` via: -// -// GetClusterClusterInfoArgs{...} -// -// or: +// VectorSearchEndpointEndpointStatusInput is an input type that accepts VectorSearchEndpointEndpointStatusArgs and VectorSearchEndpointEndpointStatusOutput values. +// You can construct a concrete instance of `VectorSearchEndpointEndpointStatusInput` via: // -// nil -type GetClusterClusterInfoPtrInput interface { +// VectorSearchEndpointEndpointStatusArgs{...} +type VectorSearchEndpointEndpointStatusInput interface { pulumi.Input - ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput - ToGetClusterClusterInfoPtrOutputWithContext(context.Context) GetClusterClusterInfoPtrOutput -} - -type getClusterClusterInfoPtrType GetClusterClusterInfoArgs - -func GetClusterClusterInfoPtr(v *GetClusterClusterInfoArgs) GetClusterClusterInfoPtrInput { - return (*getClusterClusterInfoPtrType)(v) -} - -func (*getClusterClusterInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfo)(nil)).Elem() -} - -func (i *getClusterClusterInfoPtrType) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { - return i.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) -} - -func (i *getClusterClusterInfoPtrType) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoPtrOutput) -} - -type GetClusterClusterInfoOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfo)(nil)).Elem() + ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput + ToVectorSearchEndpointEndpointStatusOutputWithContext(context.Context) VectorSearchEndpointEndpointStatusOutput } -func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput { - return o +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 (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoOutput { - return o +func (VectorSearchEndpointEndpointStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchEndpointEndpointStatus)(nil)).Elem() } -func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { - return o.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) +func (i VectorSearchEndpointEndpointStatusArgs) ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput { + return i.ToVectorSearchEndpointEndpointStatusOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfo) *GetClusterClusterInfo { - return &v - }).(GetClusterClusterInfoPtrOutput) +func (i VectorSearchEndpointEndpointStatusArgs) ToVectorSearchEndpointEndpointStatusOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchEndpointEndpointStatusOutput) } -func (o GetClusterClusterInfoOutput) Autoscale() GetClusterClusterInfoAutoscalePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAutoscale { return v.Autoscale }).(GetClusterClusterInfoAutoscalePtrOutput) -} +// VectorSearchEndpointEndpointStatusArrayInput is an input type that accepts VectorSearchEndpointEndpointStatusArray and VectorSearchEndpointEndpointStatusArrayOutput values. +// You can construct a concrete instance of `VectorSearchEndpointEndpointStatusArrayInput` via: +// +// VectorSearchEndpointEndpointStatusArray{ VectorSearchEndpointEndpointStatusArgs{...} } +type VectorSearchEndpointEndpointStatusArrayInput interface { + pulumi.Input -// 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) + ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput + ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(context.Context) VectorSearchEndpointEndpointStatusArrayOutput } -func (o GetClusterClusterInfoOutput) AwsAttributes() GetClusterClusterInfoAwsAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAwsAttributes { return v.AwsAttributes }).(GetClusterClusterInfoAwsAttributesPtrOutput) -} +type VectorSearchEndpointEndpointStatusArray []VectorSearchEndpointEndpointStatusInput -func (o GetClusterClusterInfoOutput) AzureAttributes() GetClusterClusterInfoAzureAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAzureAttributes { return v.AzureAttributes }).(GetClusterClusterInfoAzureAttributesPtrOutput) +func (VectorSearchEndpointEndpointStatusArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchEndpointEndpointStatus)(nil)).Elem() } -func (o GetClusterClusterInfoOutput) ClusterCores() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *float64 { return v.ClusterCores }).(pulumi.Float64PtrOutput) +func (i VectorSearchEndpointEndpointStatusArray) ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput { + return i.ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(context.Background()) } -// The id of the cluster -func (o GetClusterClusterInfoOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +func (i VectorSearchEndpointEndpointStatusArray) ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchEndpointEndpointStatusArrayOutput) } -func (o GetClusterClusterInfoOutput) ClusterLogConf() GetClusterClusterInfoClusterLogConfPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoClusterLogConf { return v.ClusterLogConf }).(GetClusterClusterInfoClusterLogConfPtrOutput) -} +type VectorSearchEndpointEndpointStatusOutput struct{ *pulumi.OutputState } -func (o GetClusterClusterInfoOutput) ClusterLogStatus() GetClusterClusterInfoClusterLogStatusPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoClusterLogStatus { return v.ClusterLogStatus }).(GetClusterClusterInfoClusterLogStatusPtrOutput) +func (VectorSearchEndpointEndpointStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchEndpointEndpointStatus)(nil)).Elem() } -func (o GetClusterClusterInfoOutput) ClusterMemoryMb() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.ClusterMemoryMb }).(pulumi.IntPtrOutput) +func (o VectorSearchEndpointEndpointStatusOutput) ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput { + return o } -// The exact name of the cluster to search -func (o GetClusterClusterInfoOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +func (o VectorSearchEndpointEndpointStatusOutput) ToVectorSearchEndpointEndpointStatusOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusOutput { + return o } -func (o GetClusterClusterInfoOutput) ClusterSource() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfo) string { return v.ClusterSource }).(pulumi.StringOutput) +// Additional status message. +func (o VectorSearchEndpointEndpointStatusOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchEndpointEndpointStatus) *string { return v.Message }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoOutput) CreatorUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.CreatorUserName }).(pulumi.StringPtrOutput) +// Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. +func (o VectorSearchEndpointEndpointStatusOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchEndpointEndpointStatus) *string { return v.State }).(pulumi.StringPtrOutput) } -// 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) -} +type VectorSearchEndpointEndpointStatusArrayOutput struct{ *pulumi.OutputState } -// 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 (VectorSearchEndpointEndpointStatusArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchEndpointEndpointStatus)(nil)).Elem() } -func (o GetClusterClusterInfoOutput) DefaultTags() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterClusterInfo) map[string]interface{} { return v.DefaultTags }).(pulumi.MapOutput) +func (o VectorSearchEndpointEndpointStatusArrayOutput) ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput { + return o } -func (o GetClusterClusterInfoOutput) DockerImage() GetClusterClusterInfoDockerImagePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoDockerImage { return v.DockerImage }).(GetClusterClusterInfoDockerImagePtrOutput) +func (o VectorSearchEndpointEndpointStatusArrayOutput) ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusArrayOutput { + return o } -func (o GetClusterClusterInfoOutput) Driver() GetClusterClusterInfoDriverPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoDriver { return v.Driver }).(GetClusterClusterInfoDriverPtrOutput) +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) } -// 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 VectorSearchIndexDeltaSyncIndexSpec struct { + // array of objects representing columns that contain the embedding source. Each entry consists of: + EmbeddingSourceColumns []VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn `pulumi:"embeddingSourceColumns"` + EmbeddingVectorColumns []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn `pulumi:"embeddingVectorColumns"` + EmbeddingWritebackTable *string `pulumi:"embeddingWritebackTable"` + // ID of the associated Delta Live Table pipeline. + PipelineId *string `pulumi:"pipelineId"` + PipelineType *string `pulumi:"pipelineType"` + // The name of the source table. + SourceTable *string `pulumi:"sourceTable"` } -// 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) -} +// VectorSearchIndexDeltaSyncIndexSpecInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecArgs and VectorSearchIndexDeltaSyncIndexSpecOutput values. +// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecInput` via: +// +// VectorSearchIndexDeltaSyncIndexSpecArgs{...} +type VectorSearchIndexDeltaSyncIndexSpecInput interface { + pulumi.Input -// Use autoscaling local storage. -func (o GetClusterClusterInfoOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) + ToVectorSearchIndexDeltaSyncIndexSpecOutput() VectorSearchIndexDeltaSyncIndexSpecOutput + ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecOutput } -// Enable local disk encryption. -func (o GetClusterClusterInfoOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) +type VectorSearchIndexDeltaSyncIndexSpecArgs struct { + // array of objects representing columns that contain the embedding source. Each entry consists of: + EmbeddingSourceColumns VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput `pulumi:"embeddingSourceColumns"` + EmbeddingVectorColumns VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayInput `pulumi:"embeddingVectorColumns"` + EmbeddingWritebackTable pulumi.StringPtrInput `pulumi:"embeddingWritebackTable"` + // ID of the associated Delta Live Table pipeline. + PipelineId pulumi.StringPtrInput `pulumi:"pipelineId"` + PipelineType pulumi.StringPtrInput `pulumi:"pipelineType"` + // The name of the source table. + SourceTable pulumi.StringPtrInput `pulumi:"sourceTable"` } -func (o GetClusterClusterInfoOutput) Executors() GetClusterClusterInfoExecutorArrayOutput { - return o.ApplyT(func(v GetClusterClusterInfo) []GetClusterClusterInfoExecutor { return v.Executors }).(GetClusterClusterInfoExecutorArrayOutput) +func (VectorSearchIndexDeltaSyncIndexSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() } -func (o GetClusterClusterInfoOutput) GcpAttributes() GetClusterClusterInfoGcpAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoGcpAttributes { return v.GcpAttributes }).(GetClusterClusterInfoGcpAttributesPtrOutput) +func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecOutput() VectorSearchIndexDeltaSyncIndexSpecOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoOutput) InitScripts() GetClusterClusterInfoInitScriptArrayOutput { - return o.ApplyT(func(v GetClusterClusterInfo) []GetClusterClusterInfoInitScript { return v.InitScripts }).(GetClusterClusterInfoInitScriptArrayOutput) +func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecOutput) } -// 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 (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoOutput) JdbcPort() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.JdbcPort }).(pulumi.IntPtrOutput) +func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecOutput).ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx) } -func (o GetClusterClusterInfoOutput) LastActivityTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.LastActivityTime }).(pulumi.IntPtrOutput) -} +// VectorSearchIndexDeltaSyncIndexSpecPtrInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecArgs, VectorSearchIndexDeltaSyncIndexSpecPtr and VectorSearchIndexDeltaSyncIndexSpecPtrOutput values. +// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecPtrInput` via: +// +// VectorSearchIndexDeltaSyncIndexSpecArgs{...} +// +// or: +// +// nil +type VectorSearchIndexDeltaSyncIndexSpecPtrInput interface { + pulumi.Input -func (o GetClusterClusterInfoOutput) LastStateLossTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.LastStateLossTime }).(pulumi.IntPtrOutput) + ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput + ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput } -// Any supported getNodeType id. -func (o GetClusterClusterInfoOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) +type vectorSearchIndexDeltaSyncIndexSpecPtrType VectorSearchIndexDeltaSyncIndexSpecArgs + +func VectorSearchIndexDeltaSyncIndexSpecPtr(v *VectorSearchIndexDeltaSyncIndexSpecArgs) VectorSearchIndexDeltaSyncIndexSpecPtrInput { + return (*vectorSearchIndexDeltaSyncIndexSpecPtrType)(v) } -func (o GetClusterClusterInfoOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) +func (*vectorSearchIndexDeltaSyncIndexSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() } -// 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 (i *vectorSearchIndexDeltaSyncIndexSpecPtrType) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Background()) } -// 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 (i *vectorSearchIndexDeltaSyncIndexSpecPtrType) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecPtrOutput) } -// The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). -func (o GetClusterClusterInfoOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +type VectorSearchIndexDeltaSyncIndexSpecOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDeltaSyncIndexSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() } -// 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 VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecOutput() VectorSearchIndexDeltaSyncIndexSpecOutput { + return o } -func (o GetClusterClusterInfoOutput) SparkContextId() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.SparkContextId }).(pulumi.IntPtrOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecOutput { + return o } -// Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. -func (o GetClusterClusterInfoOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterClusterInfo) map[string]interface{} { return v.SparkEnvVars }).(pulumi.MapOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return o.ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Background()) } -// [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 (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VectorSearchIndexDeltaSyncIndexSpec) *VectorSearchIndexDeltaSyncIndexSpec { + return &v + }).(VectorSearchIndexDeltaSyncIndexSpecPtrOutput) } -// 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) +// 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 GetClusterClusterInfoOutput) StartTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.StartTime }).(pulumi.IntPtrOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) EmbeddingVectorColumns() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn { + return v.EmbeddingVectorColumns + }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) } -func (o GetClusterClusterInfoOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfo) string { return v.State }).(pulumi.StringOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) EmbeddingWritebackTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.EmbeddingWritebackTable }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoOutput) StateMessage() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.StateMessage }).(pulumi.StringPtrOutput) +// ID of the associated Delta Live Table pipeline. +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.PipelineId }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoOutput) TerminateTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.TerminateTime }).(pulumi.IntPtrOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) PipelineType() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.PipelineType }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoOutput) TerminationReason() GetClusterClusterInfoTerminationReasonPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoTerminationReason { return v.TerminationReason }).(GetClusterClusterInfoTerminationReasonPtrOutput) +// The name of the source table. +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) SourceTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.SourceTable }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoPtrOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDeltaSyncIndexSpecPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfo)(nil)).Elem() +func (VectorSearchIndexDeltaSyncIndexSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() } -func (o GetClusterClusterInfoPtrOutput) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { return o } -func (o GetClusterClusterInfoPtrOutput) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { return o } -func (o GetClusterClusterInfoPtrOutput) Elem() GetClusterClusterInfoOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) GetClusterClusterInfo { +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) Elem() VectorSearchIndexDeltaSyncIndexSpecOutput { + return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) VectorSearchIndexDeltaSyncIndexSpec { if v != nil { return *v } - var ret GetClusterClusterInfo + var ret VectorSearchIndexDeltaSyncIndexSpec return ret - }).(GetClusterClusterInfoOutput) + }).(VectorSearchIndexDeltaSyncIndexSpecOutput) } -func (o GetClusterClusterInfoPtrOutput) Autoscale() GetClusterClusterInfoAutoscalePtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAutoscale { +// 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.Autoscale - }).(GetClusterClusterInfoAutoscalePtrOutput) + return v.EmbeddingSourceColumns + }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) } -// Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. -func (o GetClusterClusterInfoPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) EmbeddingVectorColumns() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn { if v == nil { return nil } - return v.AutoterminationMinutes - }).(pulumi.IntPtrOutput) + return v.EmbeddingVectorColumns + }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) } -func (o GetClusterClusterInfoPtrOutput) AwsAttributes() GetClusterClusterInfoAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAwsAttributes { +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) EmbeddingWritebackTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) *string { if v == nil { return nil } - return v.AwsAttributes - }).(GetClusterClusterInfoAwsAttributesPtrOutput) + return v.EmbeddingWritebackTable + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoPtrOutput) AzureAttributes() GetClusterClusterInfoAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAzureAttributes { +// 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.AzureAttributes - }).(GetClusterClusterInfoAzureAttributesPtrOutput) + return v.PipelineId + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoPtrOutput) ClusterCores() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *float64 { +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) PipelineType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) *string { if v == nil { return nil } - return v.ClusterCores - }).(pulumi.Float64PtrOutput) + return v.PipelineType + }).(pulumi.StringPtrOutput) } -// The id of the cluster -func (o GetClusterClusterInfoPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *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.ClusterId + return v.SourceTable }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoPtrOutput) ClusterLogConf() GetClusterClusterInfoClusterLogConfPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoClusterLogConf { - if v == nil { - return nil - } - return v.ClusterLogConf - }).(GetClusterClusterInfoClusterLogConfPtrOutput) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn struct { + EmbeddingModelEndpointName *string `pulumi:"embeddingModelEndpointName"` + // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). + Name *string `pulumi:"name"` } -func (o GetClusterClusterInfoPtrOutput) ClusterLogStatus() GetClusterClusterInfoClusterLogStatusPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoClusterLogStatus { - if v == nil { - return nil - } - return v.ClusterLogStatus - }).(GetClusterClusterInfoClusterLogStatusPtrOutput) +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs and VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput values. +// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput` via: +// +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs{...} +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput interface { + pulumi.Input + + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput } -func (o GetClusterClusterInfoPtrOutput) ClusterMemoryMb() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.ClusterMemoryMb - }).(pulumi.IntPtrOutput) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs struct { + EmbeddingModelEndpointName pulumi.StringPtrInput `pulumi:"embeddingModelEndpointName"` + // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). + Name pulumi.StringPtrInput `pulumi:"name"` } -// 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 (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (o GetClusterClusterInfoPtrOutput) ClusterSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return &v.ClusterSource - }).(pulumi.StringPtrOutput) +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoPtrOutput) CreatorUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.CreatorUserName - }).(pulumi.StringPtrOutput) +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) } -// 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) +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray and VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput values. +// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput` via: +// +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray{ VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs{...} } +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput interface { + pulumi.Input + + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput } -// 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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray []VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput + +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -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 (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoPtrOutput) DockerImage() GetClusterClusterInfoDockerImagePtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoDockerImage { - if v == nil { - return nil - } - return v.DockerImage - }).(GetClusterClusterInfoDockerImagePtrOutput) +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) } -func (o GetClusterClusterInfoPtrOutput) Driver() GetClusterClusterInfoDriverPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoDriver { - if v == nil { - return nil - } - return v.Driver - }).(GetClusterClusterInfoDriverPtrOutput) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -// similar to `instancePoolId`, but for driver node. -func (o GetClusterClusterInfoPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return &v.DriverInstancePoolId - }).(pulumi.StringPtrOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { + return o } -// 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 +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { + return o +} + +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) EmbeddingModelEndpointName() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn) *string { + return v.EmbeddingModelEndpointName }).(pulumi.StringPtrOutput) } -// 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) +// Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn) *string { return v.Name }).(pulumi.StringPtrOutput) } -// 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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (o GetClusterClusterInfoPtrOutput) Executors() GetClusterClusterInfoExecutorArrayOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) []GetClusterClusterInfoExecutor { - if v == nil { - return nil - } - return v.Executors - }).(GetClusterClusterInfoExecutorArrayOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { + return o } -func (o GetClusterClusterInfoPtrOutput) GcpAttributes() GetClusterClusterInfoGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(GetClusterClusterInfoGcpAttributesPtrOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { + return o } -func (o GetClusterClusterInfoPtrOutput) InitScripts() GetClusterClusterInfoInitScriptArrayOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) []GetClusterClusterInfoInitScript { - if v == nil { - return nil - } - return v.InitScripts - }).(GetClusterClusterInfoInitScriptArrayOutput) +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 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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn struct { + EmbeddingDimension *int `pulumi:"embeddingDimension"` + // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). + Name *string `pulumi:"name"` } -func (o GetClusterClusterInfoPtrOutput) JdbcPort() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.JdbcPort - }).(pulumi.IntPtrOutput) +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs and VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput values. +// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnInput` via: +// +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs{...} +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnInput interface { + pulumi.Input + + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput } -func (o GetClusterClusterInfoPtrOutput) LastActivityTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.LastActivityTime - }).(pulumi.IntPtrOutput) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs struct { + EmbeddingDimension pulumi.IntPtrInput `pulumi:"embeddingDimension"` + // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). + Name pulumi.StringPtrInput `pulumi:"name"` } -func (o GetClusterClusterInfoPtrOutput) LastStateLossTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.LastStateLossTime - }).(pulumi.IntPtrOutput) +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -// 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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoPtrOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.NumWorkers - }).(pulumi.IntPtrOutput) +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) } -// 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) +// 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 } -// 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) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnInput + +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -// The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). -func (o GetClusterClusterInfoPtrOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.SingleUserName - }).(pulumi.StringPtrOutput) +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(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 (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) } -func (o GetClusterClusterInfoPtrOutput) SparkContextId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.SparkContextId - }).(pulumi.IntPtrOutput) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -// Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. -func (o GetClusterClusterInfoPtrOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) map[string]interface{} { - if v == nil { - return nil - } - return v.SparkEnvVars - }).(pulumi.MapOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { + return o } -// [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. -func (o GetClusterClusterInfoPtrOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return &v.SparkVersion - }).(pulumi.StringPtrOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { + return o } -// 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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) EmbeddingDimension() pulumi.IntPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn) *int { return v.EmbeddingDimension }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoPtrOutput) StartTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.StartTime - }).(pulumi.IntPtrOutput) +// Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoPtrOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return &v.State - }).(pulumi.StringPtrOutput) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -func (o GetClusterClusterInfoPtrOutput) StateMessage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.StateMessage - }).(pulumi.StringPtrOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return o } -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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return o } -func (o GetClusterClusterInfoPtrOutput) TerminationReason() GetClusterClusterInfoTerminationReasonPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoTerminationReason { - if v == nil { - return nil - } - return v.TerminationReason - }).(GetClusterClusterInfoTerminationReasonPtrOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn { + return vs[0].([]VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)[vs[1].(int)] + }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) } -type GetClusterClusterInfoAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type VectorSearchIndexDirectAccessIndexSpec struct { + // array of objects representing columns that contain the embedding source. Each entry consists of: + EmbeddingSourceColumns []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn `pulumi:"embeddingSourceColumns"` + EmbeddingVectorColumns []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn `pulumi:"embeddingVectorColumns"` + // The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. + SchemaJson *string `pulumi:"schemaJson"` } -// GetClusterClusterInfoAutoscaleInput is an input type that accepts GetClusterClusterInfoAutoscaleArgs and GetClusterClusterInfoAutoscaleOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAutoscaleInput` via: +// VectorSearchIndexDirectAccessIndexSpecInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecArgs and VectorSearchIndexDirectAccessIndexSpecOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecInput` via: // -// GetClusterClusterInfoAutoscaleArgs{...} -type GetClusterClusterInfoAutoscaleInput interface { +// VectorSearchIndexDirectAccessIndexSpecArgs{...} +type VectorSearchIndexDirectAccessIndexSpecInput interface { pulumi.Input - ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput - ToGetClusterClusterInfoAutoscaleOutputWithContext(context.Context) GetClusterClusterInfoAutoscaleOutput + ToVectorSearchIndexDirectAccessIndexSpecOutput() VectorSearchIndexDirectAccessIndexSpecOutput + ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecOutput } -type GetClusterClusterInfoAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type VectorSearchIndexDirectAccessIndexSpecArgs struct { + // array of objects representing columns that contain the embedding source. Each entry consists of: + EmbeddingSourceColumns VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput `pulumi:"embeddingSourceColumns"` + EmbeddingVectorColumns VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput `pulumi:"embeddingVectorColumns"` + // The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. + SchemaJson pulumi.StringPtrInput `pulumi:"schemaJson"` } -func (GetClusterClusterInfoAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAutoscale)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() } -func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput { - return i.ToGetClusterClusterInfoAutoscaleOutputWithContext(context.Background()) +func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecOutput() VectorSearchIndexDirectAccessIndexSpecOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscaleOutput) +func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecOutput) } -func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { - return i.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) +func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscaleOutput).ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx) +func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecOutput).ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx) } -// GetClusterClusterInfoAutoscalePtrInput is an input type that accepts GetClusterClusterInfoAutoscaleArgs, GetClusterClusterInfoAutoscalePtr and GetClusterClusterInfoAutoscalePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAutoscalePtrInput` via: +// VectorSearchIndexDirectAccessIndexSpecPtrInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecArgs, VectorSearchIndexDirectAccessIndexSpecPtr and VectorSearchIndexDirectAccessIndexSpecPtrOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecPtrInput` via: // -// GetClusterClusterInfoAutoscaleArgs{...} +// VectorSearchIndexDirectAccessIndexSpecArgs{...} // // or: // // nil -type GetClusterClusterInfoAutoscalePtrInput interface { +type VectorSearchIndexDirectAccessIndexSpecPtrInput interface { pulumi.Input - ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput - ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Context) GetClusterClusterInfoAutoscalePtrOutput + ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput + ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput } -type getClusterClusterInfoAutoscalePtrType GetClusterClusterInfoAutoscaleArgs +type vectorSearchIndexDirectAccessIndexSpecPtrType VectorSearchIndexDirectAccessIndexSpecArgs -func GetClusterClusterInfoAutoscalePtr(v *GetClusterClusterInfoAutoscaleArgs) GetClusterClusterInfoAutoscalePtrInput { - return (*getClusterClusterInfoAutoscalePtrType)(v) +func VectorSearchIndexDirectAccessIndexSpecPtr(v *VectorSearchIndexDirectAccessIndexSpecArgs) VectorSearchIndexDirectAccessIndexSpecPtrInput { + return (*vectorSearchIndexDirectAccessIndexSpecPtrType)(v) } -func (*getClusterClusterInfoAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAutoscale)(nil)).Elem() +func (*vectorSearchIndexDirectAccessIndexSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() } -func (i *getClusterClusterInfoAutoscalePtrType) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { - return i.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) +func (i *vectorSearchIndexDirectAccessIndexSpecPtrType) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoAutoscalePtrType) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscalePtrOutput) +func (i *vectorSearchIndexDirectAccessIndexSpecPtrType) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecPtrOutput) } -type GetClusterClusterInfoAutoscaleOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDirectAccessIndexSpecOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAutoscale)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() } -func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput { +func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecOutput() VectorSearchIndexDirectAccessIndexSpecOutput { return o } -func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscaleOutput { +func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecOutput { return o } -func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { - return o.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) +func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return o.ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAutoscale) *GetClusterClusterInfoAutoscale { +func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VectorSearchIndexDirectAccessIndexSpec) *VectorSearchIndexDirectAccessIndexSpec { return &v - }).(GetClusterClusterInfoAutoscalePtrOutput) + }).(VectorSearchIndexDirectAccessIndexSpecPtrOutput) } -func (o GetClusterClusterInfoAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +// array of objects representing columns that contain the embedding source. Each entry consists of: +func (o VectorSearchIndexDirectAccessIndexSpecOutput) EmbeddingSourceColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn { + return v.EmbeddingSourceColumns + }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) } -func (o GetClusterClusterInfoAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o VectorSearchIndexDirectAccessIndexSpecOutput) EmbeddingVectorColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn { + return v.EmbeddingVectorColumns + }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) } -type GetClusterClusterInfoAutoscalePtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (GetClusterClusterInfoAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAutoscale)(nil)).Elem() +type VectorSearchIndexDirectAccessIndexSpecPtrOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDirectAccessIndexSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() } -func (o GetClusterClusterInfoAutoscalePtrOutput) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { +func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { return o } -func (o GetClusterClusterInfoAutoscalePtrOutput) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { +func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { return o } -func (o GetClusterClusterInfoAutoscalePtrOutput) Elem() GetClusterClusterInfoAutoscaleOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) GetClusterClusterInfoAutoscale { +func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) Elem() VectorSearchIndexDirectAccessIndexSpecOutput { + return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) VectorSearchIndexDirectAccessIndexSpec { if v != nil { return *v } - var ret GetClusterClusterInfoAutoscale + var ret VectorSearchIndexDirectAccessIndexSpec return ret - }).(GetClusterClusterInfoAutoscaleOutput) + }).(VectorSearchIndexDirectAccessIndexSpecOutput) } -func (o GetClusterClusterInfoAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) *int { +// 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.MaxWorkers - }).(pulumi.IntPtrOutput) + return v.EmbeddingSourceColumns + }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) } -func (o GetClusterClusterInfoAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) *int { +func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) EmbeddingVectorColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { + return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn { if v == nil { return nil } - return v.MinWorkers - }).(pulumi.IntPtrOutput) + return v.EmbeddingVectorColumns + }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) } -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"` +// The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. +func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) SchemaJson() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) *string { + if v == nil { + return nil + } + return v.SchemaJson + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoAwsAttributesInput is an input type that accepts GetClusterClusterInfoAwsAttributesArgs and GetClusterClusterInfoAwsAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAwsAttributesInput` via: +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn struct { + EmbeddingModelEndpointName *string `pulumi:"embeddingModelEndpointName"` + // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). + Name *string `pulumi:"name"` +} + +// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs and VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput` via: // -// GetClusterClusterInfoAwsAttributesArgs{...} -type GetClusterClusterInfoAwsAttributesInput interface { +// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs{...} +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput interface { pulumi.Input - ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput - ToGetClusterClusterInfoAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoAwsAttributesOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput } -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 VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs struct { + EmbeddingModelEndpointName pulumi.StringPtrInput `pulumi:"embeddingModelEndpointName"` + // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). + Name pulumi.StringPtrInput `pulumi:"name"` } -func (GetClusterClusterInfoAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAwsAttributes)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput { - return i.ToGetClusterClusterInfoAwsAttributesOutputWithContext(context.Background()) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesOutput) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) } -func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) +// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray and VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput` via: +// +// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray{ VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs{...} } +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput interface { + pulumi.Input + + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput } -func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesOutput).ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx) +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput + +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -// GetClusterClusterInfoAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoAwsAttributesArgs, GetClusterClusterInfoAwsAttributesPtr and GetClusterClusterInfoAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAwsAttributesPtrInput` via: -// -// GetClusterClusterInfoAwsAttributesArgs{...} +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Background()) +} + +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) +} + +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() +} + +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { + return o +} + +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { + return o +} + +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) EmbeddingModelEndpointName() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn) *string { + return v.EmbeddingModelEndpointName + }).(pulumi.StringPtrOutput) +} + +// Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() +} + +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { + return o +} + +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { + return o +} + +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn { + return vs[0].([]VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)[vs[1].(int)] + }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) +} + +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn struct { + EmbeddingDimension *int `pulumi:"embeddingDimension"` + // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). + Name *string `pulumi:"name"` +} + +// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs and VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput` via: // -// or: +// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs{...} +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput interface { + pulumi.Input + + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput +} + +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs struct { + EmbeddingDimension pulumi.IntPtrInput `pulumi:"embeddingDimension"` + // Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). + Name pulumi.StringPtrInput `pulumi:"name"` +} + +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() +} + +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(context.Background()) +} + +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) +} + +// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray and VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput` via: // -// nil -type GetClusterClusterInfoAwsAttributesPtrInput interface { +// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray{ VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs{...} } +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput interface { pulumi.Input - ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput - ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoAwsAttributesPtrOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput } -type getClusterClusterInfoAwsAttributesPtrType GetClusterClusterInfoAwsAttributesArgs +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput -func GetClusterClusterInfoAwsAttributesPtr(v *GetClusterClusterInfoAwsAttributesArgs) GetClusterClusterInfoAwsAttributesPtrInput { - return (*getClusterClusterInfoAwsAttributesPtrType)(v) +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -func (*getClusterClusterInfoAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAwsAttributes)(nil)).Elem() +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoAwsAttributesPtrType) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) } -func (i *getClusterClusterInfoAwsAttributesPtrType) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesPtrOutput) +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -type GetClusterClusterInfoAwsAttributesOutput struct{ *pulumi.OutputState } +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { + return o +} -func (GetClusterClusterInfoAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAwsAttributes)(nil)).Elem() +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { + return o } -func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) EmbeddingDimension() pulumi.IntPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn) *int { return v.EmbeddingDimension }).(pulumi.IntPtrOutput) +} + +// Three-level name of the Vector Search Index to create (`catalog.schema.index_name`). +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() +} + +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { return o } -func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { return o } -func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { - return o.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) +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 GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAwsAttributes) *GetClusterClusterInfoAwsAttributes { - return &v - }).(GetClusterClusterInfoAwsAttributesPtrOutput) +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 GetClusterClusterInfoAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +// 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 + + ToVectorSearchIndexStatusOutput() VectorSearchIndexStatusOutput + ToVectorSearchIndexStatusOutputWithContext(context.Context) VectorSearchIndexStatusOutput } -func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) +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 GetClusterClusterInfoAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) +func (VectorSearchIndexStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexStatus)(nil)).Elem() } -func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +func (i VectorSearchIndexStatusArgs) ToVectorSearchIndexStatusOutput() VectorSearchIndexStatusOutput { + return i.ToVectorSearchIndexStatusOutputWithContext(context.Background()) +} + +func (i VectorSearchIndexStatusArgs) ToVectorSearchIndexStatusOutputWithContext(ctx context.Context) VectorSearchIndexStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexStatusOutput) } -func (o GetClusterClusterInfoAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.FirstOnDemand }).(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 + + ToVectorSearchIndexStatusArrayOutput() VectorSearchIndexStatusArrayOutput + ToVectorSearchIndexStatusArrayOutputWithContext(context.Context) VectorSearchIndexStatusArrayOutput } -func (o GetClusterClusterInfoAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +type VectorSearchIndexStatusArray []VectorSearchIndexStatusInput + +func (VectorSearchIndexStatusArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexStatus)(nil)).Elem() } -func (o GetClusterClusterInfoAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +func (i VectorSearchIndexStatusArray) ToVectorSearchIndexStatusArrayOutput() VectorSearchIndexStatusArrayOutput { + return i.ToVectorSearchIndexStatusArrayOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (i VectorSearchIndexStatusArray) ToVectorSearchIndexStatusArrayOutputWithContext(ctx context.Context) VectorSearchIndexStatusArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexStatusArrayOutput) } -type GetClusterClusterInfoAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type VectorSearchIndexStatusOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAwsAttributes)(nil)).Elem() +func (VectorSearchIndexStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexStatus)(nil)).Elem() } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { +func (o VectorSearchIndexStatusOutput) ToVectorSearchIndexStatusOutput() VectorSearchIndexStatusOutput { return o } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { +func (o VectorSearchIndexStatusOutput) ToVectorSearchIndexStatusOutputWithContext(ctx context.Context) VectorSearchIndexStatusOutput { return o } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) Elem() GetClusterClusterInfoAwsAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) GetClusterClusterInfoAwsAttributes { - if v != nil { - return *v - } - var ret GetClusterClusterInfoAwsAttributes - return ret - }).(GetClusterClusterInfoAwsAttributesOutput) +// 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 GetClusterClusterInfoAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) +// Number of rows indexed +func (o VectorSearchIndexStatusOutput) IndexedRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v VectorSearchIndexStatus) *int { return v.IndexedRowCount }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) +// 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 GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) +// 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 GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { - if v == nil { - return nil - } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) -} +type VectorSearchIndexStatusArrayOutput struct{ *pulumi.OutputState } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) +func (VectorSearchIndexStatusArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexStatus)(nil)).Elem() } -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 VectorSearchIndexStatusArrayOutput) ToVectorSearchIndexStatusArrayOutput() VectorSearchIndexStatusArrayOutput { + return o } -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 VectorSearchIndexStatusArrayOutput) ToVectorSearchIndexStatusArrayOutputWithContext(ctx context.Context) VectorSearchIndexStatusArrayOutput { + return o } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) +func (o VectorSearchIndexStatusArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexStatusOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexStatus { + return vs[0].([]VectorSearchIndexStatus)[vs[1].(int)] + }).(VectorSearchIndexStatusOutput) } -type GetClusterClusterInfoAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type GetCatalogCatalogInfo struct { + BrowseOnly *bool `pulumi:"browseOnly"` + // Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + CatalogType *string `pulumi:"catalogType"` + // Free-form text description + Comment *string `pulumi:"comment"` + // The name of the connection to an external data source. + ConnectionName *string `pulumi:"connectionName"` + // Time at which this catalog was created, in epoch milliseconds. + CreatedAt *int `pulumi:"createdAt"` + // Username of catalog creator. + CreatedBy *string `pulumi:"createdBy"` + // object describing applied predictive optimization flag. + EffectivePredictiveOptimizationFlag *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag `pulumi:"effectivePredictiveOptimizationFlag"` + // Whether predictive optimization should be enabled for this object and objects under it. + EnablePredictiveOptimization *string `pulumi:"enablePredictiveOptimization"` + // The full name of the catalog. Corresponds with the name field. + FullName *string `pulumi:"fullName"` + // Whether the current securable is accessible from all workspaces or a specific set of workspaces. + IsolationMode *string `pulumi:"isolationMode"` + // Unique identifier of parent metastore. + MetastoreId *string `pulumi:"metastoreId"` + // name of the catalog + Name *string `pulumi:"name"` + // A map of key-value properties attached to the securable. + Options map[string]interface{} `pulumi:"options"` + // Current owner of the catalog + Owner *string `pulumi:"owner"` + // A map of key-value properties attached to the securable. + Properties map[string]interface{} `pulumi:"properties"` + // The name of delta sharing provider. + ProviderName *string `pulumi:"providerName"` + ProvisioningInfo *GetCatalogCatalogInfoProvisioningInfo `pulumi:"provisioningInfo"` + // Kind of catalog securable. + SecurableKind *string `pulumi:"securableKind"` + // Securable type. + SecurableType *string `pulumi:"securableType"` + // The name of the share under the share provider. + ShareName *string `pulumi:"shareName"` + // Storage Location URL (full path) for managed tables within catalog. + StorageLocation *string `pulumi:"storageLocation"` + // Storage root URL for managed tables within catalog. + StorageRoot *string `pulumi:"storageRoot"` + // Time at which this catalog was last modified, in epoch milliseconds. + UpdatedAt *int `pulumi:"updatedAt"` + // Username of user who last modified catalog. + UpdatedBy *string `pulumi:"updatedBy"` } -// GetClusterClusterInfoAzureAttributesInput is an input type that accepts GetClusterClusterInfoAzureAttributesArgs and GetClusterClusterInfoAzureAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesInput` via: +// GetCatalogCatalogInfoInput is an input type that accepts GetCatalogCatalogInfoArgs and GetCatalogCatalogInfoOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoInput` via: // -// GetClusterClusterInfoAzureAttributesArgs{...} -type GetClusterClusterInfoAzureAttributesInput interface { +// GetCatalogCatalogInfoArgs{...} +type GetCatalogCatalogInfoInput interface { pulumi.Input - ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput - ToGetClusterClusterInfoAzureAttributesOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesOutput + ToGetCatalogCatalogInfoOutput() GetCatalogCatalogInfoOutput + ToGetCatalogCatalogInfoOutputWithContext(context.Context) GetCatalogCatalogInfoOutput } -type GetClusterClusterInfoAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type GetCatalogCatalogInfoArgs struct { + BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` + // Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + CatalogType pulumi.StringPtrInput `pulumi:"catalogType"` + // Free-form text description + Comment pulumi.StringPtrInput `pulumi:"comment"` + // The name of the connection to an external data source. + ConnectionName pulumi.StringPtrInput `pulumi:"connectionName"` + // Time at which this catalog was created, in epoch milliseconds. + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + // Username of catalog creator. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // object describing applied predictive optimization flag. + EffectivePredictiveOptimizationFlag GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput `pulumi:"effectivePredictiveOptimizationFlag"` + // Whether predictive optimization should be enabled for this object and objects under it. + EnablePredictiveOptimization pulumi.StringPtrInput `pulumi:"enablePredictiveOptimization"` + // The full name of the catalog. Corresponds with the name field. + FullName pulumi.StringPtrInput `pulumi:"fullName"` + // Whether the current securable is accessible from all workspaces or a specific set of workspaces. + IsolationMode pulumi.StringPtrInput `pulumi:"isolationMode"` + // Unique identifier of parent metastore. + MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` + // name of the catalog + Name pulumi.StringPtrInput `pulumi:"name"` + // A map of key-value properties attached to the securable. + Options pulumi.MapInput `pulumi:"options"` + // Current owner of the catalog + Owner pulumi.StringPtrInput `pulumi:"owner"` + // A map of key-value properties attached to the securable. + Properties pulumi.MapInput `pulumi:"properties"` + // The name of delta sharing provider. + ProviderName pulumi.StringPtrInput `pulumi:"providerName"` + ProvisioningInfo GetCatalogCatalogInfoProvisioningInfoPtrInput `pulumi:"provisioningInfo"` + // Kind of catalog securable. + SecurableKind pulumi.StringPtrInput `pulumi:"securableKind"` + // Securable type. + SecurableType pulumi.StringPtrInput `pulumi:"securableType"` + // The name of the share under the share provider. + ShareName pulumi.StringPtrInput `pulumi:"shareName"` + // Storage Location URL (full path) for managed tables within catalog. + StorageLocation pulumi.StringPtrInput `pulumi:"storageLocation"` + // Storage root URL for managed tables within catalog. + StorageRoot pulumi.StringPtrInput `pulumi:"storageRoot"` + // Time at which this catalog was last modified, in epoch milliseconds. + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + // Username of user who last modified catalog. + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` } -func (GetClusterClusterInfoAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAzureAttributes)(nil)).Elem() +func (GetCatalogCatalogInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCatalogCatalogInfo)(nil)).Elem() } -func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput { - return i.ToGetClusterClusterInfoAzureAttributesOutputWithContext(context.Background()) +func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoOutput() GetCatalogCatalogInfoOutput { + return i.ToGetCatalogCatalogInfoOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesOutput) +func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoOutput) } -func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { - return i.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { + return i.ToGetCatalogCatalogInfoPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesOutput).ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx) +func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoOutput).ToGetCatalogCatalogInfoPtrOutputWithContext(ctx) } -// GetClusterClusterInfoAzureAttributesPtrInput is an input type that accepts GetClusterClusterInfoAzureAttributesArgs, GetClusterClusterInfoAzureAttributesPtr and GetClusterClusterInfoAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesPtrInput` via: +// GetCatalogCatalogInfoPtrInput is an input type that accepts GetCatalogCatalogInfoArgs, GetCatalogCatalogInfoPtr and GetCatalogCatalogInfoPtrOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoPtrInput` via: // -// GetClusterClusterInfoAzureAttributesArgs{...} +// GetCatalogCatalogInfoArgs{...} // // or: // // nil -type GetClusterClusterInfoAzureAttributesPtrInput interface { +type GetCatalogCatalogInfoPtrInput interface { pulumi.Input - ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput - ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesPtrOutput + ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput + ToGetCatalogCatalogInfoPtrOutputWithContext(context.Context) GetCatalogCatalogInfoPtrOutput } -type getClusterClusterInfoAzureAttributesPtrType GetClusterClusterInfoAzureAttributesArgs +type getCatalogCatalogInfoPtrType GetCatalogCatalogInfoArgs -func GetClusterClusterInfoAzureAttributesPtr(v *GetClusterClusterInfoAzureAttributesArgs) GetClusterClusterInfoAzureAttributesPtrInput { - return (*getClusterClusterInfoAzureAttributesPtrType)(v) +func GetCatalogCatalogInfoPtr(v *GetCatalogCatalogInfoArgs) GetCatalogCatalogInfoPtrInput { + return (*getCatalogCatalogInfoPtrType)(v) } -func (*getClusterClusterInfoAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAzureAttributes)(nil)).Elem() +func (*getCatalogCatalogInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfo)(nil)).Elem() } -func (i *getClusterClusterInfoAzureAttributesPtrType) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { - return i.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (i *getCatalogCatalogInfoPtrType) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { + return i.ToGetCatalogCatalogInfoPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoAzureAttributesPtrType) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesPtrOutput) +func (i *getCatalogCatalogInfoPtrType) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoPtrOutput) } -type GetClusterClusterInfoAzureAttributesOutput struct{ *pulumi.OutputState } +type GetCatalogCatalogInfoOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAzureAttributes)(nil)).Elem() +func (GetCatalogCatalogInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCatalogCatalogInfo)(nil)).Elem() } -func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput { +func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoOutput() GetCatalogCatalogInfoOutput { return o } -func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesOutput { +func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoOutput { return o } -func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { - return o.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { + return o.ToGetCatalogCatalogInfoPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAzureAttributes) *GetClusterClusterInfoAzureAttributes { +func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCatalogCatalogInfo) *GetCatalogCatalogInfo { return &v - }).(GetClusterClusterInfoAzureAttributesPtrOutput) -} - -func (o GetClusterClusterInfoAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) -} - -type GetClusterClusterInfoAzureAttributesPtrOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAzureAttributes)(nil)).Elem() -} - -func (o GetClusterClusterInfoAzureAttributesPtrOutput) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { - return o -} - -func (o GetClusterClusterInfoAzureAttributesPtrOutput) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { - return o + }).(GetCatalogCatalogInfoPtrOutput) } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) Elem() GetClusterClusterInfoAzureAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) GetClusterClusterInfoAzureAttributes { - if v != nil { - return *v - } - var ret GetClusterClusterInfoAzureAttributes - return ret - }).(GetClusterClusterInfoAzureAttributesOutput) +func (o GetCatalogCatalogInfoOutput) BrowseOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) +// Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, +func (o GetCatalogCatalogInfoOutput) CatalogType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.CatalogType }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) +// Free-form text description +func (o GetCatalogCatalogInfoOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *float64 { - if v == nil { - return nil - } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) +// The name of the connection to an external data source. +func (o GetCatalogCatalogInfoOutput) ConnectionName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.ConnectionName }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoClusterLogConf struct { - Dbfs *GetClusterClusterInfoClusterLogConfDbfs `pulumi:"dbfs"` - S3 *GetClusterClusterInfoClusterLogConfS3 `pulumi:"s3"` +// Time at which this catalog was created, in epoch milliseconds. +func (o GetCatalogCatalogInfoOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) } -// GetClusterClusterInfoClusterLogConfInput is an input type that accepts GetClusterClusterInfoClusterLogConfArgs and GetClusterClusterInfoClusterLogConfOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfInput` via: -// -// GetClusterClusterInfoClusterLogConfArgs{...} -type GetClusterClusterInfoClusterLogConfInput interface { - pulumi.Input - - ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput - ToGetClusterClusterInfoClusterLogConfOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfOutput +// Username of catalog creator. +func (o GetCatalogCatalogInfoOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoClusterLogConfArgs struct { - Dbfs GetClusterClusterInfoClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 GetClusterClusterInfoClusterLogConfS3PtrInput `pulumi:"s3"` +// object describing applied predictive optimization flag. +func (o GetCatalogCatalogInfoOutput) EffectivePredictiveOptimizationFlag() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { + return v.EffectivePredictiveOptimizationFlag + }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) } -func (GetClusterClusterInfoClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConf)(nil)).Elem() +// Whether predictive optimization should be enabled for this object and objects under it. +func (o GetCatalogCatalogInfoOutput) EnablePredictiveOptimization() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.EnablePredictiveOptimization }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput { - return i.ToGetClusterClusterInfoClusterLogConfOutputWithContext(context.Background()) +// The full name of the catalog. Corresponds with the name field. +func (o GetCatalogCatalogInfoOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.FullName }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfOutput) +// Whether the current securable is accessible from all workspaces or a specific set of workspaces. +func (o GetCatalogCatalogInfoOutput) IsolationMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.IsolationMode }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) +// Unique identifier of parent metastore. +func (o GetCatalogCatalogInfoOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfOutput).ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx) +// name of the catalog +func (o GetCatalogCatalogInfoOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.Name }).(pulumi.StringPtrOutput) } -// 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 - - ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput - ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfPtrOutput +// A map of key-value properties attached to the securable. +func (o GetCatalogCatalogInfoOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) map[string]interface{} { return v.Options }).(pulumi.MapOutput) } -type getClusterClusterInfoClusterLogConfPtrType GetClusterClusterInfoClusterLogConfArgs - -func GetClusterClusterInfoClusterLogConfPtr(v *GetClusterClusterInfoClusterLogConfArgs) GetClusterClusterInfoClusterLogConfPtrInput { - return (*getClusterClusterInfoClusterLogConfPtrType)(v) +// Current owner of the catalog +func (o GetCatalogCatalogInfoOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) } -func (*getClusterClusterInfoClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConf)(nil)).Elem() +// A map of key-value properties attached to the securable. +func (o GetCatalogCatalogInfoOutput) Properties() pulumi.MapOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) map[string]interface{} { return v.Properties }).(pulumi.MapOutput) } -func (i *getClusterClusterInfoClusterLogConfPtrType) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) +// The name of delta sharing provider. +func (o GetCatalogCatalogInfoOutput) ProviderName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.ProviderName }).(pulumi.StringPtrOutput) } -func (i *getClusterClusterInfoClusterLogConfPtrType) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfPtrOutput) +func (o GetCatalogCatalogInfoOutput) ProvisioningInfo() GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *GetCatalogCatalogInfoProvisioningInfo { return v.ProvisioningInfo }).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) } -type GetClusterClusterInfoClusterLogConfOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConf)(nil)).Elem() +// Kind of catalog securable. +func (o GetCatalogCatalogInfoOutput) SecurableKind() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.SecurableKind }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput { - return o +// Securable type. +func (o GetCatalogCatalogInfoOutput) SecurableType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.SecurableType }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfOutput { - return o +// The name of the share under the share provider. +func (o GetCatalogCatalogInfoOutput) ShareName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.ShareName }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { - return o.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) +// Storage Location URL (full path) for managed tables within catalog. +func (o GetCatalogCatalogInfoOutput) StorageLocation() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.StorageLocation }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConf { - return &v - }).(GetClusterClusterInfoClusterLogConfPtrOutput) +// Storage root URL for managed tables within catalog. +func (o GetCatalogCatalogInfoOutput) StorageRoot() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.StorageRoot }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfOutput) Dbfs() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfDbfs { return v.Dbfs }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) +// Time at which this catalog was last modified, in epoch milliseconds. +func (o GetCatalogCatalogInfoOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfOutput) S3() GetClusterClusterInfoClusterLogConfS3PtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfS3 { return v.S3 }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) +// Username of user who last modified catalog. +func (o GetCatalogCatalogInfoOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type GetCatalogCatalogInfoPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConf)(nil)).Elem() +func (GetCatalogCatalogInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfo)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogConfPtrOutput) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { +func (o GetCatalogCatalogInfoPtrOutput) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfPtrOutput) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { +func (o GetCatalogCatalogInfoPtrOutput) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfPtrOutput) Elem() GetClusterClusterInfoClusterLogConfOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConf) GetClusterClusterInfoClusterLogConf { +func (o GetCatalogCatalogInfoPtrOutput) Elem() GetCatalogCatalogInfoOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) GetCatalogCatalogInfo { if v != nil { return *v } - var ret GetClusterClusterInfoClusterLogConf + var ret GetCatalogCatalogInfo return ret - }).(GetClusterClusterInfoClusterLogConfOutput) + }).(GetCatalogCatalogInfoOutput) } -func (o GetClusterClusterInfoClusterLogConfPtrOutput) Dbfs() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfDbfs { +func (o GetCatalogCatalogInfoPtrOutput) BrowseOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *bool { if v == nil { return nil } - return v.Dbfs - }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) + return v.BrowseOnly + }).(pulumi.BoolPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfPtrOutput) S3() GetClusterClusterInfoClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfS3 { +// Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, +func (o GetCatalogCatalogInfoPtrOutput) CatalogType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { if v == nil { return nil } - return v.S3 - }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) -} - -type GetClusterClusterInfoClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` -} - -// GetClusterClusterInfoClusterLogConfDbfsInput is an input type that accepts GetClusterClusterInfoClusterLogConfDbfsArgs and GetClusterClusterInfoClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfDbfsInput` via: -// -// GetClusterClusterInfoClusterLogConfDbfsArgs{...} -type GetClusterClusterInfoClusterLogConfDbfsInput interface { - pulumi.Input - - ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput - ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput + return v.CatalogType + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +// Free-form text description +func (o GetCatalogCatalogInfoPtrOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.Comment + }).(pulumi.StringPtrOutput) } -func (GetClusterClusterInfoClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() +// The name of the connection to an external data source. +func (o GetCatalogCatalogInfoPtrOutput) ConnectionName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.ConnectionName + }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput { - return i.ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(context.Background()) +// Time at which this catalog was created, in epoch milliseconds. +func (o GetCatalogCatalogInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *int { + if v == nil { + return nil + } + return v.CreatedAt + }).(pulumi.IntPtrOutput) } -func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsOutput) +// Username of catalog creator. +func (o GetCatalogCatalogInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) +// object describing applied predictive optimization flag. +func (o GetCatalogCatalogInfoPtrOutput) EffectivePredictiveOptimizationFlag() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { + if v == nil { + return nil + } + return v.EffectivePredictiveOptimizationFlag + }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) } -func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsOutput).ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx) +// Whether predictive optimization should be enabled for this object and objects under it. +func (o GetCatalogCatalogInfoPtrOutput) EnablePredictiveOptimization() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.EnablePredictiveOptimization + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoClusterLogConfDbfsPtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfDbfsArgs, GetClusterClusterInfoClusterLogConfDbfsPtr and GetClusterClusterInfoClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfDbfsPtrInput` via: -// -// GetClusterClusterInfoClusterLogConfDbfsArgs{...} -// -// or: -// -// nil -type GetClusterClusterInfoClusterLogConfDbfsPtrInput interface { - pulumi.Input - - ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput - ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput +// The full name of the catalog. Corresponds with the name field. +func (o GetCatalogCatalogInfoPtrOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.FullName + }).(pulumi.StringPtrOutput) } -type getClusterClusterInfoClusterLogConfDbfsPtrType GetClusterClusterInfoClusterLogConfDbfsArgs - -func GetClusterClusterInfoClusterLogConfDbfsPtr(v *GetClusterClusterInfoClusterLogConfDbfsArgs) GetClusterClusterInfoClusterLogConfDbfsPtrInput { - return (*getClusterClusterInfoClusterLogConfDbfsPtrType)(v) +// Whether the current securable is accessible from all workspaces or a specific set of workspaces. +func (o GetCatalogCatalogInfoPtrOutput) IsolationMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.IsolationMode + }).(pulumi.StringPtrOutput) } -func (*getClusterClusterInfoClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() +// Unique identifier of parent metastore. +func (o GetCatalogCatalogInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.MetastoreId + }).(pulumi.StringPtrOutput) } -func (i *getClusterClusterInfoClusterLogConfDbfsPtrType) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) +// name of the catalog +func (o GetCatalogCatalogInfoPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -func (i *getClusterClusterInfoClusterLogConfDbfsPtrType) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) +// A map of key-value properties attached to the securable. +func (o GetCatalogCatalogInfoPtrOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) map[string]interface{} { + if v == nil { + return nil + } + return v.Options + }).(pulumi.MapOutput) } -type GetClusterClusterInfoClusterLogConfDbfsOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() +// Current owner of the catalog +func (o GetCatalogCatalogInfoPtrOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.Owner + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput { - return o +// A map of key-value properties attached to the securable. +func (o GetCatalogCatalogInfoPtrOutput) Properties() pulumi.MapOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) map[string]interface{} { + if v == nil { + return nil + } + return v.Properties + }).(pulumi.MapOutput) } -func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput { - return o +// The name of delta sharing provider. +func (o GetCatalogCatalogInfoPtrOutput) ProviderName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.ProviderName + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return o.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o GetCatalogCatalogInfoPtrOutput) ProvisioningInfo() GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *GetCatalogCatalogInfoProvisioningInfo { + if v == nil { + return nil + } + return v.ProvisioningInfo + }).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConfDbfs) *GetClusterClusterInfoClusterLogConfDbfs { - return &v - }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) +// Kind of catalog securable. +func (o GetCatalogCatalogInfoPtrOutput) SecurableKind() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.SecurableKind + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +// Securable type. +func (o GetCatalogCatalogInfoPtrOutput) SecurableType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.SecurableType + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() +// The name of the share under the share provider. +func (o GetCatalogCatalogInfoPtrOutput) ShareName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.ShareName + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return o +// Storage Location URL (full path) for managed tables within catalog. +func (o GetCatalogCatalogInfoPtrOutput) StorageLocation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.StorageLocation + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return o +// Storage root URL for managed tables within catalog. +func (o GetCatalogCatalogInfoPtrOutput) StorageRoot() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.StorageRoot + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) Elem() GetClusterClusterInfoClusterLogConfDbfsOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfDbfs) GetClusterClusterInfoClusterLogConfDbfs { - if v != nil { - return *v +// Time at which this catalog was last modified, in epoch milliseconds. +func (o GetCatalogCatalogInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *int { + if v == nil { + return nil } - var ret GetClusterClusterInfoClusterLogConfDbfs - return ret - }).(GetClusterClusterInfoClusterLogConfDbfsOutput) + return v.UpdatedAt + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfDbfs) *string { +// Username of user who last modified catalog. +func (o GetCatalogCatalogInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { if v == nil { return nil } - return &v.Destination + return v.UpdatedBy }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag struct { + InheritedFromName *string `pulumi:"inheritedFromName"` + InheritedFromType *string `pulumi:"inheritedFromType"` + Value string `pulumi:"value"` } -// GetClusterClusterInfoClusterLogConfS3Input is an input type that accepts GetClusterClusterInfoClusterLogConfS3Args and GetClusterClusterInfoClusterLogConfS3Output values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfS3Input` via: +// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput is an input type that accepts GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs and GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput` via: // -// GetClusterClusterInfoClusterLogConfS3Args{...} -type GetClusterClusterInfoClusterLogConfS3Input interface { +// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{...} +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output - ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfS3Output + ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput + ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput } -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 GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs struct { + InheritedFromName pulumi.StringPtrInput `pulumi:"inheritedFromName"` + InheritedFromType pulumi.StringPtrInput `pulumi:"inheritedFromType"` + Value pulumi.StringInput `pulumi:"value"` } -func (GetClusterClusterInfoClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() +func (GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output { - return i.ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(context.Background()) +func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { + return i.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3Output) +func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) } -func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return i.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3Output).ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx) +func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput).ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx) } -// GetClusterClusterInfoClusterLogConfS3PtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfS3Args, GetClusterClusterInfoClusterLogConfS3Ptr and GetClusterClusterInfoClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfS3PtrInput` via: +// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput is an input type that accepts GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs, GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtr and GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput` via: // -// GetClusterClusterInfoClusterLogConfS3Args{...} +// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{...} // // or: // // nil -type GetClusterClusterInfoClusterLogConfS3PtrInput interface { +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput - ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput + ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput + ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput } -type getClusterClusterInfoClusterLogConfS3PtrType GetClusterClusterInfoClusterLogConfS3Args +type getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs -func GetClusterClusterInfoClusterLogConfS3Ptr(v *GetClusterClusterInfoClusterLogConfS3Args) GetClusterClusterInfoClusterLogConfS3PtrInput { - return (*getClusterClusterInfoClusterLogConfS3PtrType)(v) +func GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtr(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput { + return (*getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType)(v) } -func (*getClusterClusterInfoClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() +func (*getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (i *getClusterClusterInfoClusterLogConfS3PtrType) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return i.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoClusterLogConfS3PtrType) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3PtrOutput) +func (i *getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) } -type GetClusterClusterInfoClusterLogConfS3Output struct{ *pulumi.OutputState } +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() +func (GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { return o } -func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3Output { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { return o } -func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { - return o.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConfS3) *GetClusterClusterInfoClusterLogConfS3 { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { return &v - }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) -} - -func (o GetClusterClusterInfoClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o GetClusterClusterInfoClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -func (o GetClusterClusterInfoClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) + }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromName }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromType }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) string { return v.Value }).(pulumi.StringOutput) } -type GetClusterClusterInfoClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() +func (GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Elem() GetClusterClusterInfoClusterLogConfS3Output { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) GetClusterClusterInfoClusterLogConfS3 { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) Elem() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { if v != nil { return *v } - var ret GetClusterClusterInfoClusterLogConfS3 + var ret GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag 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) -} - -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) + }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { if v == nil { return nil } - return v.Endpoint + return v.InheritedFromName }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { if v == nil { return nil } - return v.KmsKey + return v.InheritedFromType }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { if v == nil { return nil } - return v.Region + return &v.Value }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoClusterLogStatus struct { - LastAttempted *int `pulumi:"lastAttempted"` - LastException *string `pulumi:"lastException"` +type GetCatalogCatalogInfoProvisioningInfo struct { + State *string `pulumi:"state"` } -// GetClusterClusterInfoClusterLogStatusInput is an input type that accepts GetClusterClusterInfoClusterLogStatusArgs and GetClusterClusterInfoClusterLogStatusOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogStatusInput` via: +// GetCatalogCatalogInfoProvisioningInfoInput is an input type that accepts GetCatalogCatalogInfoProvisioningInfoArgs and GetCatalogCatalogInfoProvisioningInfoOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoProvisioningInfoInput` via: // -// GetClusterClusterInfoClusterLogStatusArgs{...} -type GetClusterClusterInfoClusterLogStatusInput interface { +// GetCatalogCatalogInfoProvisioningInfoArgs{...} +type GetCatalogCatalogInfoProvisioningInfoInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput - ToGetClusterClusterInfoClusterLogStatusOutputWithContext(context.Context) GetClusterClusterInfoClusterLogStatusOutput + ToGetCatalogCatalogInfoProvisioningInfoOutput() GetCatalogCatalogInfoProvisioningInfoOutput + ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(context.Context) GetCatalogCatalogInfoProvisioningInfoOutput } -type GetClusterClusterInfoClusterLogStatusArgs struct { - LastAttempted pulumi.IntPtrInput `pulumi:"lastAttempted"` - LastException pulumi.StringPtrInput `pulumi:"lastException"` +type GetCatalogCatalogInfoProvisioningInfoArgs struct { + State pulumi.StringPtrInput `pulumi:"state"` } -func (GetClusterClusterInfoClusterLogStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogStatus)(nil)).Elem() +func (GetCatalogCatalogInfoProvisioningInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() } - -func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput { - return i.ToGetClusterClusterInfoClusterLogStatusOutputWithContext(context.Background()) + +func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoOutput() GetCatalogCatalogInfoProvisioningInfoOutput { + return i.ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusOutput) +func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoProvisioningInfoOutput) } -func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { - return i.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) +func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return i.ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusOutput).ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx) +func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoProvisioningInfoOutput).ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx) } -// GetClusterClusterInfoClusterLogStatusPtrInput is an input type that accepts GetClusterClusterInfoClusterLogStatusArgs, GetClusterClusterInfoClusterLogStatusPtr and GetClusterClusterInfoClusterLogStatusPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogStatusPtrInput` via: +// GetCatalogCatalogInfoProvisioningInfoPtrInput is an input type that accepts GetCatalogCatalogInfoProvisioningInfoArgs, GetCatalogCatalogInfoProvisioningInfoPtr and GetCatalogCatalogInfoProvisioningInfoPtrOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoProvisioningInfoPtrInput` via: // -// GetClusterClusterInfoClusterLogStatusArgs{...} +// GetCatalogCatalogInfoProvisioningInfoArgs{...} // // or: // // nil -type GetClusterClusterInfoClusterLogStatusPtrInput interface { +type GetCatalogCatalogInfoProvisioningInfoPtrInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput - ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput + ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput + ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput } -type getClusterClusterInfoClusterLogStatusPtrType GetClusterClusterInfoClusterLogStatusArgs +type getCatalogCatalogInfoProvisioningInfoPtrType GetCatalogCatalogInfoProvisioningInfoArgs -func GetClusterClusterInfoClusterLogStatusPtr(v *GetClusterClusterInfoClusterLogStatusArgs) GetClusterClusterInfoClusterLogStatusPtrInput { - return (*getClusterClusterInfoClusterLogStatusPtrType)(v) +func GetCatalogCatalogInfoProvisioningInfoPtr(v *GetCatalogCatalogInfoProvisioningInfoArgs) GetCatalogCatalogInfoProvisioningInfoPtrInput { + return (*getCatalogCatalogInfoProvisioningInfoPtrType)(v) } -func (*getClusterClusterInfoClusterLogStatusPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogStatus)(nil)).Elem() +func (*getCatalogCatalogInfoProvisioningInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() } -func (i *getClusterClusterInfoClusterLogStatusPtrType) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { - return i.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) +func (i *getCatalogCatalogInfoProvisioningInfoPtrType) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return i.ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoClusterLogStatusPtrType) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusPtrOutput) +func (i *getCatalogCatalogInfoProvisioningInfoPtrType) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) } -type GetClusterClusterInfoClusterLogStatusOutput struct{ *pulumi.OutputState } +type GetCatalogCatalogInfoProvisioningInfoOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogStatus)(nil)).Elem() +func (GetCatalogCatalogInfoProvisioningInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput { +func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoOutput() GetCatalogCatalogInfoProvisioningInfoOutput { return o } -func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusOutput { +func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoOutput { return o } -func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { - return o.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) +func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return o.ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogStatus) *GetClusterClusterInfoClusterLogStatus { +func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCatalogCatalogInfoProvisioningInfo) *GetCatalogCatalogInfoProvisioningInfo { return &v - }).(GetClusterClusterInfoClusterLogStatusPtrOutput) -} - -func (o GetClusterClusterInfoClusterLogStatusOutput) LastAttempted() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogStatus) *int { return v.LastAttempted }).(pulumi.IntPtrOutput) + }).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) } -func (o GetClusterClusterInfoClusterLogStatusOutput) LastException() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogStatus) *string { return v.LastException }).(pulumi.StringPtrOutput) +func (o GetCatalogCatalogInfoProvisioningInfoOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfoProvisioningInfo) *string { return v.State }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoClusterLogStatusPtrOutput struct{ *pulumi.OutputState } +type GetCatalogCatalogInfoProvisioningInfoPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogStatusPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogStatus)(nil)).Elem() +func (GetCatalogCatalogInfoProvisioningInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogStatusPtrOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { +func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogStatusPtrOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { +func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogStatusPtrOutput) Elem() GetClusterClusterInfoClusterLogStatusOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) GetClusterClusterInfoClusterLogStatus { +func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) Elem() GetCatalogCatalogInfoProvisioningInfoOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoProvisioningInfo) GetCatalogCatalogInfoProvisioningInfo { if v != nil { return *v } - var ret GetClusterClusterInfoClusterLogStatus + var ret GetCatalogCatalogInfoProvisioningInfo return ret - }).(GetClusterClusterInfoClusterLogStatusOutput) -} - -func (o GetClusterClusterInfoClusterLogStatusPtrOutput) LastAttempted() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) *int { - if v == nil { - return nil - } - return v.LastAttempted - }).(pulumi.IntPtrOutput) + }).(GetCatalogCatalogInfoProvisioningInfoOutput) } -func (o GetClusterClusterInfoClusterLogStatusPtrOutput) LastException() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) *string { +func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoProvisioningInfo) *string { if v == nil { return nil } - return v.LastException + return v.State }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoDockerImage struct { - BasicAuth *GetClusterClusterInfoDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` +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"` } -// GetClusterClusterInfoDockerImageInput is an input type that accepts GetClusterClusterInfoDockerImageArgs and GetClusterClusterInfoDockerImageOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDockerImageInput` via: +// GetClusterClusterInfoInput is an input type that accepts GetClusterClusterInfoArgs and GetClusterClusterInfoOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInput` via: // -// GetClusterClusterInfoDockerImageArgs{...} -type GetClusterClusterInfoDockerImageInput interface { +// GetClusterClusterInfoArgs{...} +type GetClusterClusterInfoInput interface { pulumi.Input - ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput - ToGetClusterClusterInfoDockerImageOutputWithContext(context.Context) GetClusterClusterInfoDockerImageOutput + ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput + ToGetClusterClusterInfoOutputWithContext(context.Context) GetClusterClusterInfoOutput } -type GetClusterClusterInfoDockerImageArgs struct { - BasicAuth GetClusterClusterInfoDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` +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 (GetClusterClusterInfoDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDockerImage)(nil)).Elem() +func (GetClusterClusterInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfo)(nil)).Elem() } -func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput { - return i.ToGetClusterClusterInfoDockerImageOutputWithContext(context.Background()) +func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput { + return i.ToGetClusterClusterInfoOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageOutput) +func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoOutput) } -func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { - return i.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { + return i.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageOutput).ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx) +func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoOutput).ToGetClusterClusterInfoPtrOutputWithContext(ctx) } -// GetClusterClusterInfoDockerImagePtrInput is an input type that accepts GetClusterClusterInfoDockerImageArgs, GetClusterClusterInfoDockerImagePtr and GetClusterClusterInfoDockerImagePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDockerImagePtrInput` via: +// GetClusterClusterInfoPtrInput is an input type that accepts GetClusterClusterInfoArgs, GetClusterClusterInfoPtr and GetClusterClusterInfoPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoPtrInput` via: // -// GetClusterClusterInfoDockerImageArgs{...} +// GetClusterClusterInfoArgs{...} // // or: // // nil -type GetClusterClusterInfoDockerImagePtrInput interface { +type GetClusterClusterInfoPtrInput interface { pulumi.Input - ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput - ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Context) GetClusterClusterInfoDockerImagePtrOutput + ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput + ToGetClusterClusterInfoPtrOutputWithContext(context.Context) GetClusterClusterInfoPtrOutput } -type getClusterClusterInfoDockerImagePtrType GetClusterClusterInfoDockerImageArgs +type getClusterClusterInfoPtrType GetClusterClusterInfoArgs -func GetClusterClusterInfoDockerImagePtr(v *GetClusterClusterInfoDockerImageArgs) GetClusterClusterInfoDockerImagePtrInput { - return (*getClusterClusterInfoDockerImagePtrType)(v) +func GetClusterClusterInfoPtr(v *GetClusterClusterInfoArgs) GetClusterClusterInfoPtrInput { + return (*getClusterClusterInfoPtrType)(v) } -func (*getClusterClusterInfoDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDockerImage)(nil)).Elem() +func (*getClusterClusterInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfo)(nil)).Elem() } -func (i *getClusterClusterInfoDockerImagePtrType) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { - return i.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoPtrType) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { + return i.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoDockerImagePtrType) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImagePtrOutput) +func (i *getClusterClusterInfoPtrType) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoPtrOutput) } -type GetClusterClusterInfoDockerImageOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDockerImage)(nil)).Elem() +func (GetClusterClusterInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfo)(nil)).Elem() } -func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput { +func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput { return o } -func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageOutput { +func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoOutput { return o } -func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { - return o.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { + return o.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImage { +func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfo) *GetClusterClusterInfo { return &v - }).(GetClusterClusterInfoDockerImagePtrOutput) + }).(GetClusterClusterInfoPtrOutput) } -func (o GetClusterClusterInfoDockerImageOutput) BasicAuth() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImageBasicAuth { - return v.BasicAuth - }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) +func (o GetClusterClusterInfoOutput) Autoscale() GetClusterClusterInfoAutoscalePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAutoscale { return v.Autoscale }).(GetClusterClusterInfoAutoscalePtrOutput) } -func (o GetClusterClusterInfoDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoDockerImage) string { return v.Url }).(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 GetClusterClusterInfoDockerImagePtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoOutput) AwsAttributes() GetClusterClusterInfoAwsAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAwsAttributes { return v.AwsAttributes }).(GetClusterClusterInfoAwsAttributesPtrOutput) +} -func (GetClusterClusterInfoDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDockerImage)(nil)).Elem() +func (o GetClusterClusterInfoOutput) AzureAttributes() GetClusterClusterInfoAzureAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAzureAttributes { return v.AzureAttributes }).(GetClusterClusterInfoAzureAttributesPtrOutput) } -func (o GetClusterClusterInfoDockerImagePtrOutput) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { - return o +func (o GetClusterClusterInfoOutput) ClusterCores() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *float64 { return v.ClusterCores }).(pulumi.Float64PtrOutput) } -func (o GetClusterClusterInfoDockerImagePtrOutput) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { - 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 GetClusterClusterInfoDockerImagePtrOutput) Elem() GetClusterClusterInfoDockerImageOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) GetClusterClusterInfoDockerImage { - if v != nil { - return *v - } - var ret GetClusterClusterInfoDockerImage - return ret - }).(GetClusterClusterInfoDockerImageOutput) +func (o GetClusterClusterInfoOutput) ClusterLogConf() GetClusterClusterInfoClusterLogConfPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoClusterLogConf { return v.ClusterLogConf }).(GetClusterClusterInfoClusterLogConfPtrOutput) } -func (o GetClusterClusterInfoDockerImagePtrOutput) BasicAuth() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImageBasicAuth { - if v == nil { - return nil - } - return v.BasicAuth - }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) +func (o GetClusterClusterInfoOutput) ClusterLogStatus() GetClusterClusterInfoClusterLogStatusPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoClusterLogStatus { return v.ClusterLogStatus }).(GetClusterClusterInfoClusterLogStatusPtrOutput) } -func (o GetClusterClusterInfoDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) *string { - if v == nil { - return nil - } - return &v.Url - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoOutput) ClusterMemoryMb() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.ClusterMemoryMb }).(pulumi.IntPtrOutput) } -type GetClusterClusterInfoDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +// 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) } -// GetClusterClusterInfoDockerImageBasicAuthInput is an input type that accepts GetClusterClusterInfoDockerImageBasicAuthArgs and GetClusterClusterInfoDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDockerImageBasicAuthInput` via: -// -// GetClusterClusterInfoDockerImageBasicAuthArgs{...} -type GetClusterClusterInfoDockerImageBasicAuthInput interface { - pulumi.Input +func (o GetClusterClusterInfoOutput) ClusterSource() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfo) string { return v.ClusterSource }).(pulumi.StringOutput) +} - ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput - ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput +func (o GetClusterClusterInfoOutput) CreatorUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.CreatorUserName }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +// 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 (GetClusterClusterInfoDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() +// Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. +func (o GetClusterClusterInfoOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput { - return i.ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(context.Background()) +func (o GetClusterClusterInfoOutput) DefaultTags() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterClusterInfo) map[string]interface{} { return v.DefaultTags }).(pulumi.MapOutput) } -func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthOutput) +func (o GetClusterClusterInfoOutput) DockerImage() GetClusterClusterInfoDockerImagePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoDockerImage { return v.DockerImage }).(GetClusterClusterInfoDockerImagePtrOutput) } -func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return i.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoOutput) Driver() GetClusterClusterInfoDriverPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoDriver { return v.Driver }).(GetClusterClusterInfoDriverPtrOutput) } -func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthOutput).ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx) +// 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) } -// GetClusterClusterInfoDockerImageBasicAuthPtrInput is an input type that accepts GetClusterClusterInfoDockerImageBasicAuthArgs, GetClusterClusterInfoDockerImageBasicAuthPtr and GetClusterClusterInfoDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDockerImageBasicAuthPtrInput` via: -// -// GetClusterClusterInfoDockerImageBasicAuthArgs{...} -// -// or: -// -// nil -type GetClusterClusterInfoDockerImageBasicAuthPtrInput interface { - pulumi.Input +// 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) +} - ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput - ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput +// Use autoscaling local storage. +func (o GetClusterClusterInfoOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) } -type getClusterClusterInfoDockerImageBasicAuthPtrType GetClusterClusterInfoDockerImageBasicAuthArgs +// Enable local disk encryption. +func (o GetClusterClusterInfoOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) +} -func GetClusterClusterInfoDockerImageBasicAuthPtr(v *GetClusterClusterInfoDockerImageBasicAuthArgs) GetClusterClusterInfoDockerImageBasicAuthPtrInput { - return (*getClusterClusterInfoDockerImageBasicAuthPtrType)(v) +func (o GetClusterClusterInfoOutput) Executors() GetClusterClusterInfoExecutorArrayOutput { + return o.ApplyT(func(v GetClusterClusterInfo) []GetClusterClusterInfoExecutor { return v.Executors }).(GetClusterClusterInfoExecutorArrayOutput) } -func (*getClusterClusterInfoDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() +func (o GetClusterClusterInfoOutput) GcpAttributes() GetClusterClusterInfoGcpAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoGcpAttributes { return v.GcpAttributes }).(GetClusterClusterInfoGcpAttributesPtrOutput) } -func (i *getClusterClusterInfoDockerImageBasicAuthPtrType) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return i.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoOutput) InitScripts() GetClusterClusterInfoInitScriptArrayOutput { + return o.ApplyT(func(v GetClusterClusterInfo) []GetClusterClusterInfoInitScript { return v.InitScripts }).(GetClusterClusterInfoInitScriptArrayOutput) } -func (i *getClusterClusterInfoDockerImageBasicAuthPtrType) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) +// 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 GetClusterClusterInfoOutput) JdbcPort() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.JdbcPort }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoOutput) LastActivityTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.LastActivityTime }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoOutput) LastStateLossTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.LastStateLossTime }).(pulumi.IntPtrOutput) +} + +// Any supported getNodeType id. +func (o GetClusterClusterInfoOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) +} + +// 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) +} + +// 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) +} + +// 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) +} + +// 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 GetClusterClusterInfoOutput) SparkContextId() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.SparkContextId }).(pulumi.IntPtrOutput) +} + +// 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 GetClusterClusterInfoDockerImageBasicAuthOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() +// [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 (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput { - return o +// SSH public key contents that will be added to each Spark node in this cluster. +func (o GetClusterClusterInfoOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterClusterInfo) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput { - return o +func (o GetClusterClusterInfoOutput) StartTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.StartTime }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return o.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfo) string { return v.State }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDockerImageBasicAuth) *GetClusterClusterInfoDockerImageBasicAuth { - return &v - }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) +func (o GetClusterClusterInfoOutput) StateMessage() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.StateMessage }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +func (o GetClusterClusterInfoOutput) TerminateTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.TerminateTime }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +func (o GetClusterClusterInfoOutput) TerminationReason() GetClusterClusterInfoTerminationReasonPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoTerminationReason { return v.TerminationReason }).(GetClusterClusterInfoTerminationReasonPtrOutput) } -type GetClusterClusterInfoDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() +func (GetClusterClusterInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfo)(nil)).Elem() } -func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { +func (o GetClusterClusterInfoPtrOutput) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { return o } -func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { +func (o GetClusterClusterInfoPtrOutput) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { return o } -func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Elem() GetClusterClusterInfoDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) GetClusterClusterInfoDockerImageBasicAuth { +func (o GetClusterClusterInfoPtrOutput) Elem() GetClusterClusterInfoOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) GetClusterClusterInfo { if v != nil { return *v } - var ret GetClusterClusterInfoDockerImageBasicAuth + var ret GetClusterClusterInfo return ret - }).(GetClusterClusterInfoDockerImageBasicAuthOutput) + }).(GetClusterClusterInfoOutput) } -func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) *string { +func (o GetClusterClusterInfoPtrOutput) Autoscale() GetClusterClusterInfoAutoscalePtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAutoscale { if v == nil { return nil } - return &v.Password - }).(pulumi.StringPtrOutput) + return v.Autoscale + }).(GetClusterClusterInfoAutoscalePtrOutput) } -func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) *string { +// 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.Username - }).(pulumi.StringPtrOutput) + return v.AutoterminationMinutes + }).(pulumi.IntPtrOutput) } -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 GetClusterClusterInfoPtrOutput) AwsAttributes() GetClusterClusterInfoAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetClusterClusterInfoAwsAttributesPtrOutput) } -// 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 - - ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput - ToGetClusterClusterInfoDriverOutputWithContext(context.Context) GetClusterClusterInfoDriverOutput +func (o GetClusterClusterInfoPtrOutput) AzureAttributes() GetClusterClusterInfoAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetClusterClusterInfoAzureAttributesPtrOutput) } -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 GetClusterClusterInfoPtrOutput) ClusterCores() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *float64 { + if v == nil { + return nil + } + return v.ClusterCores + }).(pulumi.Float64PtrOutput) } -func (GetClusterClusterInfoDriverArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDriver)(nil)).Elem() +// The id of the cluster +func (o GetClusterClusterInfoPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.ClusterId + }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput { - return i.ToGetClusterClusterInfoDriverOutputWithContext(context.Background()) +func (o GetClusterClusterInfoPtrOutput) ClusterLogConf() GetClusterClusterInfoClusterLogConfPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoClusterLogConf { + if v == nil { + return nil + } + return v.ClusterLogConf + }).(GetClusterClusterInfoClusterLogConfPtrOutput) } -func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverOutput) +func (o GetClusterClusterInfoPtrOutput) ClusterLogStatus() GetClusterClusterInfoClusterLogStatusPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoClusterLogStatus { + if v == nil { + return nil + } + return v.ClusterLogStatus + }).(GetClusterClusterInfoClusterLogStatusPtrOutput) } -func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { - return i.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoPtrOutput) ClusterMemoryMb() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil + } + return v.ClusterMemoryMb + }).(pulumi.IntPtrOutput) } -func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverOutput).ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx) +// 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) } -// 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 GetClusterClusterInfoPtrOutput) ClusterSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return &v.ClusterSource + }).(pulumi.StringPtrOutput) +} - ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput - ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Context) GetClusterClusterInfoDriverPtrOutput +func (o GetClusterClusterInfoPtrOutput) CreatorUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.CreatorUserName + }).(pulumi.StringPtrOutput) } -type getClusterClusterInfoDriverPtrType GetClusterClusterInfoDriverArgs +// 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) +} -func GetClusterClusterInfoDriverPtr(v *GetClusterClusterInfoDriverArgs) GetClusterClusterInfoDriverPtrInput { - return (*getClusterClusterInfoDriverPtrType)(v) +// Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. +func (o GetClusterClusterInfoPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) } -func (*getClusterClusterInfoDriverPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDriver)(nil)).Elem() +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 (i *getClusterClusterInfoDriverPtrType) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { - return i.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoPtrOutput) DockerImage() GetClusterClusterInfoDockerImagePtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoDockerImage { + if v == nil { + return nil + } + return v.DockerImage + }).(GetClusterClusterInfoDockerImagePtrOutput) } -func (i *getClusterClusterInfoDriverPtrType) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverPtrOutput) +func (o GetClusterClusterInfoPtrOutput) Driver() GetClusterClusterInfoDriverPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoDriver { + if v == nil { + return nil + } + return v.Driver + }).(GetClusterClusterInfoDriverPtrOutput) } -type GetClusterClusterInfoDriverOutput struct{ *pulumi.OutputState } +// 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 (GetClusterClusterInfoDriverOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDriver)(nil)).Elem() +// 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 (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput { - return o +// Use autoscaling local storage. +func (o GetClusterClusterInfoPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *bool { + if v == nil { + return nil + } + return v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) } -func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverOutput { - return o +// Enable local disk encryption. +func (o GetClusterClusterInfoPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *bool { + if v == nil { + return nil + } + return v.EnableLocalDiskEncryption + }).(pulumi.BoolPtrOutput) } -func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { - return o.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoPtrOutput) Executors() GetClusterClusterInfoExecutorArrayOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) []GetClusterClusterInfoExecutor { + if v == nil { + return nil + } + return v.Executors + }).(GetClusterClusterInfoExecutorArrayOutput) } -func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDriver) *GetClusterClusterInfoDriver { - return &v - }).(GetClusterClusterInfoDriverPtrOutput) +func (o GetClusterClusterInfoPtrOutput) GcpAttributes() GetClusterClusterInfoGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetClusterClusterInfoGcpAttributesPtrOutput) } -func (o GetClusterClusterInfoDriverOutput) HostPrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.HostPrivateIp }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoPtrOutput) InitScripts() GetClusterClusterInfoInitScriptArrayOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) []GetClusterClusterInfoInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(GetClusterClusterInfoInitScriptArrayOutput) } -func (o GetClusterClusterInfoDriverOutput) InstanceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.InstanceId }).(pulumi.StringPtrOutput) +// The pool of idle instances the cluster is attached to. +func (o GetClusterClusterInfoPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.InstancePoolId + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoDriverOutput) NodeAwsAttributes() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *GetClusterClusterInfoDriverNodeAwsAttributes { - return v.NodeAwsAttributes - }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) +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 GetClusterClusterInfoDriverOutput) NodeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.NodeId }).(pulumi.StringPtrOutput) +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 GetClusterClusterInfoDriverOutput) PrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.PrivateIp }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoPtrOutput) LastStateLossTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil + } + return v.LastStateLossTime + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoDriverOutput) PublicDns() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.PublicDns }).(pulumi.StringPtrOutput) +// 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 GetClusterClusterInfoDriverOutput) StartTimestamp() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *int { return v.StartTimestamp }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoPtrOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil + } + return v.NumWorkers + }).(pulumi.IntPtrOutput) } -type GetClusterClusterInfoDriverPtrOutput struct{ *pulumi.OutputState } +// 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 (GetClusterClusterInfoDriverPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDriver)(nil)).Elem() +// 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 GetClusterClusterInfoDriverPtrOutput) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { - 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 GetClusterClusterInfoDriverPtrOutput) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { - return o +// 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 GetClusterClusterInfoDriverPtrOutput) Elem() GetClusterClusterInfoDriverOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) GetClusterClusterInfoDriver { - if v != nil { - return *v +func (o GetClusterClusterInfoPtrOutput) SparkContextId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil } - var ret GetClusterClusterInfoDriver - return ret - }).(GetClusterClusterInfoDriverOutput) + return v.SparkContextId + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoDriverPtrOutput) HostPrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { +// 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.HostPrivateIp - }).(pulumi.StringPtrOutput) + return v.SparkEnvVars + }).(pulumi.MapOutput) } -func (o GetClusterClusterInfoDriverPtrOutput) InstanceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { +// [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.InstanceId + return &v.SparkVersion }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoDriverPtrOutput) NodeAwsAttributes() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *GetClusterClusterInfoDriverNodeAwsAttributes { +// 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.NodeAwsAttributes - }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) + return v.SshPublicKeys + }).(pulumi.StringArrayOutput) } -func (o GetClusterClusterInfoDriverPtrOutput) NodeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { +func (o GetClusterClusterInfoPtrOutput) StartTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { if v == nil { return nil } - return v.NodeId - }).(pulumi.StringPtrOutput) + return v.StartTime + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoDriverPtrOutput) PrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { +func (o GetClusterClusterInfoPtrOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { if v == nil { return nil } - return v.PrivateIp + return &v.State }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoDriverPtrOutput) PublicDns() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { +func (o GetClusterClusterInfoPtrOutput) StateMessage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { if v == nil { return nil } - return v.PublicDns + return v.StateMessage }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoDriverPtrOutput) StartTimestamp() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *int { +func (o GetClusterClusterInfoPtrOutput) TerminateTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { if v == nil { return nil } - return v.StartTimestamp + return v.TerminateTime }).(pulumi.IntPtrOutput) } -type GetClusterClusterInfoDriverNodeAwsAttributes struct { - IsSpot *bool `pulumi:"isSpot"` +func (o GetClusterClusterInfoPtrOutput) TerminationReason() GetClusterClusterInfoTerminationReasonPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoTerminationReason { + if v == nil { + return nil + } + return v.TerminationReason + }).(GetClusterClusterInfoTerminationReasonPtrOutput) } -// GetClusterClusterInfoDriverNodeAwsAttributesInput is an input type that accepts GetClusterClusterInfoDriverNodeAwsAttributesArgs and GetClusterClusterInfoDriverNodeAwsAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDriverNodeAwsAttributesInput` via: +type GetClusterClusterInfoAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` +} + +// GetClusterClusterInfoAutoscaleInput is an input type that accepts GetClusterClusterInfoAutoscaleArgs and GetClusterClusterInfoAutoscaleOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAutoscaleInput` via: // -// GetClusterClusterInfoDriverNodeAwsAttributesArgs{...} -type GetClusterClusterInfoDriverNodeAwsAttributesInput interface { +// GetClusterClusterInfoAutoscaleArgs{...} +type GetClusterClusterInfoAutoscaleInput interface { pulumi.Input - ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput - ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput + ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput + ToGetClusterClusterInfoAutoscaleOutputWithContext(context.Context) GetClusterClusterInfoAutoscaleOutput } -type GetClusterClusterInfoDriverNodeAwsAttributesArgs struct { - IsSpot pulumi.BoolPtrInput `pulumi:"isSpot"` +type GetClusterClusterInfoAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } -func (GetClusterClusterInfoDriverNodeAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() +func (GetClusterClusterInfoAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAutoscale)(nil)).Elem() } -func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput { - return i.ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput { + return i.ToGetClusterClusterInfoAutoscaleOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesOutput) +func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscaleOutput) } -func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { + return i.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesOutput).ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscaleOutput).ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx) } -// GetClusterClusterInfoDriverNodeAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoDriverNodeAwsAttributesArgs, GetClusterClusterInfoDriverNodeAwsAttributesPtr and GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDriverNodeAwsAttributesPtrInput` via: +// GetClusterClusterInfoAutoscalePtrInput is an input type that accepts GetClusterClusterInfoAutoscaleArgs, GetClusterClusterInfoAutoscalePtr and GetClusterClusterInfoAutoscalePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAutoscalePtrInput` via: // -// GetClusterClusterInfoDriverNodeAwsAttributesArgs{...} +// GetClusterClusterInfoAutoscaleArgs{...} // // or: // // nil -type GetClusterClusterInfoDriverNodeAwsAttributesPtrInput interface { +type GetClusterClusterInfoAutoscalePtrInput interface { pulumi.Input - ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput - ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput + ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput + ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Context) GetClusterClusterInfoAutoscalePtrOutput } -type getClusterClusterInfoDriverNodeAwsAttributesPtrType GetClusterClusterInfoDriverNodeAwsAttributesArgs +type getClusterClusterInfoAutoscalePtrType GetClusterClusterInfoAutoscaleArgs -func GetClusterClusterInfoDriverNodeAwsAttributesPtr(v *GetClusterClusterInfoDriverNodeAwsAttributesArgs) GetClusterClusterInfoDriverNodeAwsAttributesPtrInput { - return (*getClusterClusterInfoDriverNodeAwsAttributesPtrType)(v) +func GetClusterClusterInfoAutoscalePtr(v *GetClusterClusterInfoAutoscaleArgs) GetClusterClusterInfoAutoscalePtrInput { + return (*getClusterClusterInfoAutoscalePtrType)(v) } -func (*getClusterClusterInfoDriverNodeAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() +func (*getClusterClusterInfoAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAutoscale)(nil)).Elem() } -func (i *getClusterClusterInfoDriverNodeAwsAttributesPtrType) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoAutoscalePtrType) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { + return i.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoDriverNodeAwsAttributesPtrType) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) +func (i *getClusterClusterInfoAutoscalePtrType) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscalePtrOutput) } -type GetClusterClusterInfoDriverNodeAwsAttributesOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoAutoscaleOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDriverNodeAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() +func (GetClusterClusterInfoAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAutoscale)(nil)).Elem() } -func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput { +func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput { return o } -func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput { +func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscaleOutput { return o } -func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return o.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { + return o.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDriverNodeAwsAttributes) *GetClusterClusterInfoDriverNodeAwsAttributes { +func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAutoscale) *GetClusterClusterInfoAutoscale { return &v - }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) + }).(GetClusterClusterInfoAutoscalePtrOutput) } -func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) IsSpot() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriverNodeAwsAttributes) *bool { return v.IsSpot }).(pulumi.BoolPtrOutput) +func (o GetClusterClusterInfoAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) } -type GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +} -func (GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() +type GetClusterClusterInfoAutoscalePtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAutoscale)(nil)).Elem() } -func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { +func (o GetClusterClusterInfoAutoscalePtrOutput) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { return o } -func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { +func (o GetClusterClusterInfoAutoscalePtrOutput) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { return o } -func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) Elem() GetClusterClusterInfoDriverNodeAwsAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriverNodeAwsAttributes) GetClusterClusterInfoDriverNodeAwsAttributes { +func (o GetClusterClusterInfoAutoscalePtrOutput) Elem() GetClusterClusterInfoAutoscaleOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) GetClusterClusterInfoAutoscale { if v != nil { return *v } - var ret GetClusterClusterInfoDriverNodeAwsAttributes + var ret GetClusterClusterInfoAutoscale return ret - }).(GetClusterClusterInfoDriverNodeAwsAttributesOutput) + }).(GetClusterClusterInfoAutoscaleOutput) } -func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) IsSpot() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriverNodeAwsAttributes) *bool { +func (o GetClusterClusterInfoAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) *int { if v == nil { return nil } - return v.IsSpot - }).(pulumi.BoolPtrOutput) -} - -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"` -} - -// GetClusterClusterInfoExecutorInput is an input type that accepts GetClusterClusterInfoExecutorArgs and GetClusterClusterInfoExecutorOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoExecutorInput` via: -// -// GetClusterClusterInfoExecutorArgs{...} -type GetClusterClusterInfoExecutorInput interface { - pulumi.Input - - ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput - ToGetClusterClusterInfoExecutorOutputWithContext(context.Context) GetClusterClusterInfoExecutorOutput -} - -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 (GetClusterClusterInfoExecutorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoExecutor)(nil)).Elem() + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -func (i GetClusterClusterInfoExecutorArgs) ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput { - return i.ToGetClusterClusterInfoExecutorOutputWithContext(context.Background()) +func (o GetClusterClusterInfoAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) *int { + if v == nil { + return nil + } + return v.MinWorkers + }).(pulumi.IntPtrOutput) } -func (i GetClusterClusterInfoExecutorArgs) ToGetClusterClusterInfoExecutorOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorOutput) +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"` } -// GetClusterClusterInfoExecutorArrayInput is an input type that accepts GetClusterClusterInfoExecutorArray and GetClusterClusterInfoExecutorArrayOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoExecutorArrayInput` via: +// GetClusterClusterInfoAwsAttributesInput is an input type that accepts GetClusterClusterInfoAwsAttributesArgs and GetClusterClusterInfoAwsAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAwsAttributesInput` via: // -// GetClusterClusterInfoExecutorArray{ GetClusterClusterInfoExecutorArgs{...} } -type GetClusterClusterInfoExecutorArrayInput interface { +// GetClusterClusterInfoAwsAttributesArgs{...} +type GetClusterClusterInfoAwsAttributesInput interface { pulumi.Input - ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput - ToGetClusterClusterInfoExecutorArrayOutputWithContext(context.Context) GetClusterClusterInfoExecutorArrayOutput + ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput + ToGetClusterClusterInfoAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoAwsAttributesOutput } -type GetClusterClusterInfoExecutorArray []GetClusterClusterInfoExecutorInput - -func (GetClusterClusterInfoExecutorArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoExecutor)(nil)).Elem() +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 GetClusterClusterInfoExecutorArray) ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput { - return i.ToGetClusterClusterInfoExecutorArrayOutputWithContext(context.Background()) +func (GetClusterClusterInfoAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAwsAttributes)(nil)).Elem() } -func (i GetClusterClusterInfoExecutorArray) ToGetClusterClusterInfoExecutorArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorArrayOutput) +func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput { + return i.ToGetClusterClusterInfoAwsAttributesOutputWithContext(context.Background()) } -type GetClusterClusterInfoExecutorOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoExecutorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoExecutor)(nil)).Elem() +func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesOutput) } -func (o GetClusterClusterInfoExecutorOutput) ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput { - return o +func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoExecutorOutput) ToGetClusterClusterInfoExecutorOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorOutput { - return o +func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesOutput).ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx) } -func (o GetClusterClusterInfoExecutorOutput) HostPrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.HostPrivateIp }).(pulumi.StringPtrOutput) -} +// 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 (o GetClusterClusterInfoExecutorOutput) InstanceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.InstanceId }).(pulumi.StringPtrOutput) + ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput + ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoAwsAttributesPtrOutput } -func (o GetClusterClusterInfoExecutorOutput) NodeAwsAttributes() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *GetClusterClusterInfoExecutorNodeAwsAttributes { - return v.NodeAwsAttributes - }).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) -} +type getClusterClusterInfoAwsAttributesPtrType GetClusterClusterInfoAwsAttributesArgs -func (o GetClusterClusterInfoExecutorOutput) NodeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.NodeId }).(pulumi.StringPtrOutput) +func GetClusterClusterInfoAwsAttributesPtr(v *GetClusterClusterInfoAwsAttributesArgs) GetClusterClusterInfoAwsAttributesPtrInput { + return (*getClusterClusterInfoAwsAttributesPtrType)(v) } -func (o GetClusterClusterInfoExecutorOutput) PrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.PrivateIp }).(pulumi.StringPtrOutput) +func (*getClusterClusterInfoAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAwsAttributes)(nil)).Elem() } -func (o GetClusterClusterInfoExecutorOutput) PublicDns() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.PublicDns }).(pulumi.StringPtrOutput) +func (i *getClusterClusterInfoAwsAttributesPtrType) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoExecutorOutput) StartTimestamp() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *int { return v.StartTimestamp }).(pulumi.IntPtrOutput) +func (i *getClusterClusterInfoAwsAttributesPtrType) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesPtrOutput) } -type GetClusterClusterInfoExecutorArrayOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoAwsAttributesOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoExecutorArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoExecutor)(nil)).Elem() +func (GetClusterClusterInfoAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAwsAttributes)(nil)).Elem() } -func (o GetClusterClusterInfoExecutorArrayOutput) ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput { +func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput { return o } -func (o GetClusterClusterInfoExecutorArrayOutput) ToGetClusterClusterInfoExecutorArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorArrayOutput { +func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesOutput { return o } -func (o GetClusterClusterInfoExecutorArrayOutput) Index(i pulumi.IntInput) GetClusterClusterInfoExecutorOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterClusterInfoExecutor { - return vs[0].([]GetClusterClusterInfoExecutor)[vs[1].(int)] - }).(GetClusterClusterInfoExecutorOutput) -} - -type GetClusterClusterInfoExecutorNodeAwsAttributes struct { - IsSpot *bool `pulumi:"isSpot"` -} - -// GetClusterClusterInfoExecutorNodeAwsAttributesInput is an input type that accepts GetClusterClusterInfoExecutorNodeAwsAttributesArgs and GetClusterClusterInfoExecutorNodeAwsAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoExecutorNodeAwsAttributesInput` via: -// -// GetClusterClusterInfoExecutorNodeAwsAttributesArgs{...} -type GetClusterClusterInfoExecutorNodeAwsAttributesInput interface { - pulumi.Input - - ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput - ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput -} - -type GetClusterClusterInfoExecutorNodeAwsAttributesArgs struct { - IsSpot pulumi.BoolPtrInput `pulumi:"isSpot"` -} - -func (GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() +func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { + return o.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { - return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(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 GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput) +func (o GetClusterClusterInfoAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } -func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput).ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx) +func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) } -// GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoExecutorNodeAwsAttributesArgs, GetClusterClusterInfoExecutorNodeAwsAttributesPtr and GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput` via: -// -// GetClusterClusterInfoExecutorNodeAwsAttributesArgs{...} -// -// or: -// -// nil -type GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput interface { - pulumi.Input - - ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput - ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput +func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -type getClusterClusterInfoExecutorNodeAwsAttributesPtrType GetClusterClusterInfoExecutorNodeAwsAttributesArgs - -func GetClusterClusterInfoExecutorNodeAwsAttributesPtr(v *GetClusterClusterInfoExecutorNodeAwsAttributesArgs) GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput { - return (*getClusterClusterInfoExecutorNodeAwsAttributesPtrType)(v) +func (o GetClusterClusterInfoAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (*getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() +func (o GetClusterClusterInfoAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (i *getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -func (i *getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) +func (o GetClusterClusterInfoAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoExecutorNodeAwsAttributesOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() +func (GetClusterClusterInfoAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAwsAttributes)(nil)).Elem() } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { return o } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { return o } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return o.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) +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 GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoExecutorNodeAwsAttributes) *GetClusterClusterInfoExecutorNodeAwsAttributes { - return &v - }).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) +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 GetClusterClusterInfoExecutorNodeAwsAttributesOutput) IsSpot() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutorNodeAwsAttributes) *bool { return v.IsSpot }).(pulumi.BoolPtrOutput) +func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) } -type GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) +} -func (GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() +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 GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return o +func (o GetClusterClusterInfoAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return o +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 GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) Elem() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoExecutorNodeAwsAttributes) GetClusterClusterInfoExecutorNodeAwsAttributes { - if v != nil { - return *v +func (o GetClusterClusterInfoAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { + if v == nil { + return nil } - var ret GetClusterClusterInfoExecutorNodeAwsAttributes - return ret - }).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput) + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) IsSpot() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoExecutorNodeAwsAttributes) *bool { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { if v == nil { return nil } - return v.IsSpot - }).(pulumi.BoolPtrOutput) + return v.ZoneId + }).(pulumi.StringPtrOutput) } -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 GetClusterClusterInfoAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// GetClusterClusterInfoGcpAttributesInput is an input type that accepts GetClusterClusterInfoGcpAttributesArgs and GetClusterClusterInfoGcpAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoGcpAttributesInput` via: +// GetClusterClusterInfoAzureAttributesInput is an input type that accepts GetClusterClusterInfoAzureAttributesArgs and GetClusterClusterInfoAzureAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesInput` via: // -// GetClusterClusterInfoGcpAttributesArgs{...} -type GetClusterClusterInfoGcpAttributesInput interface { +// GetClusterClusterInfoAzureAttributesArgs{...} +type GetClusterClusterInfoAzureAttributesInput interface { pulumi.Input - ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput - ToGetClusterClusterInfoGcpAttributesOutputWithContext(context.Context) GetClusterClusterInfoGcpAttributesOutput + ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput + ToGetClusterClusterInfoAzureAttributesOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesOutput } -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"` +type GetClusterClusterInfoAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (GetClusterClusterInfoGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoGcpAttributes)(nil)).Elem() +func (GetClusterClusterInfoAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAzureAttributes)(nil)).Elem() } -func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput { - return i.ToGetClusterClusterInfoGcpAttributesOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput { + return i.ToGetClusterClusterInfoAzureAttributesOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesOutput) +func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesOutput) } -func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { - return i.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { + return i.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesOutput).ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesOutput).ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx) } -// GetClusterClusterInfoGcpAttributesPtrInput is an input type that accepts GetClusterClusterInfoGcpAttributesArgs, GetClusterClusterInfoGcpAttributesPtr and GetClusterClusterInfoGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoGcpAttributesPtrInput` via: +// GetClusterClusterInfoAzureAttributesPtrInput is an input type that accepts GetClusterClusterInfoAzureAttributesArgs, GetClusterClusterInfoAzureAttributesPtr and GetClusterClusterInfoAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesPtrInput` via: // -// GetClusterClusterInfoGcpAttributesArgs{...} +// GetClusterClusterInfoAzureAttributesArgs{...} // // or: // // nil -type GetClusterClusterInfoGcpAttributesPtrInput interface { +type GetClusterClusterInfoAzureAttributesPtrInput interface { pulumi.Input - ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput - ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoGcpAttributesPtrOutput -} - -type getClusterClusterInfoGcpAttributesPtrType GetClusterClusterInfoGcpAttributesArgs - -func GetClusterClusterInfoGcpAttributesPtr(v *GetClusterClusterInfoGcpAttributesArgs) GetClusterClusterInfoGcpAttributesPtrInput { - return (*getClusterClusterInfoGcpAttributesPtrType)(v) -} - -func (*getClusterClusterInfoGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoGcpAttributes)(nil)).Elem() + ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput + ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesPtrOutput } -func (i *getClusterClusterInfoGcpAttributesPtrType) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { - return i.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) -} +type getClusterClusterInfoAzureAttributesPtrType GetClusterClusterInfoAzureAttributesArgs -func (i *getClusterClusterInfoGcpAttributesPtrType) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesPtrOutput) +func GetClusterClusterInfoAzureAttributesPtr(v *GetClusterClusterInfoAzureAttributesArgs) GetClusterClusterInfoAzureAttributesPtrInput { + return (*getClusterClusterInfoAzureAttributesPtrType)(v) } -type GetClusterClusterInfoGcpAttributesOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoGcpAttributes)(nil)).Elem() +func (*getClusterClusterInfoAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAzureAttributes)(nil)).Elem() } -func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput { - return o +func (i *getClusterClusterInfoAzureAttributesPtrType) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { + return i.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesOutput { - return o +func (i *getClusterClusterInfoAzureAttributesPtrType) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesPtrOutput) } -func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { - return o.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) +type GetClusterClusterInfoAzureAttributesOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAzureAttributes)(nil)).Elem() } -func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoGcpAttributes) *GetClusterClusterInfoGcpAttributes { - return &v - }).(GetClusterClusterInfoGcpAttributesPtrOutput) +func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput { + return o } -func (o GetClusterClusterInfoGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesOutput { + return o } -func (o GetClusterClusterInfoGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { + return o.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAzureAttributes) *GetClusterClusterInfoAzureAttributes { + return &v + }).(GetClusterClusterInfoAzureAttributesPtrOutput) } -func (o GetClusterClusterInfoGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +func (o GetClusterClusterInfoAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) } -type GetClusterClusterInfoGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoAzureAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoGcpAttributes)(nil)).Elem() +func (GetClusterClusterInfoAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAzureAttributes)(nil)).Elem() } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { +func (o GetClusterClusterInfoAzureAttributesPtrOutput) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { return o } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { +func (o GetClusterClusterInfoAzureAttributesPtrOutput) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { return o } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) Elem() GetClusterClusterInfoGcpAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) GetClusterClusterInfoGcpAttributes { +func (o GetClusterClusterInfoAzureAttributesPtrOutput) Elem() GetClusterClusterInfoAzureAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) GetClusterClusterInfoAzureAttributes { if v != nil { return *v } - var ret GetClusterClusterInfoGcpAttributes + var ret GetClusterClusterInfoAzureAttributes return ret - }).(GetClusterClusterInfoGcpAttributesOutput) + }).(GetClusterClusterInfoAzureAttributesOutput) } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { +func (o GetClusterClusterInfoAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *string { if v == nil { return nil } @@ -71113,307 +71201,298 @@ func (o GetClusterClusterInfoGcpAttributesPtrOutput) Availability() pulumi.Strin }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *int { +func (o GetClusterClusterInfoAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *int { if v == nil { return nil } - return v.BootDiskSize + return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { +func (o GetClusterClusterInfoAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *float64 { if v == nil { return nil } - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *int { - if v == nil { - return nil - } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +type GetClusterClusterInfoClusterLogConf struct { + Dbfs *GetClusterClusterInfoClusterLogConfDbfs `pulumi:"dbfs"` + S3 *GetClusterClusterInfoClusterLogConfS3 `pulumi:"s3"` } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *bool { - if v == nil { - return nil - } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) -} +// GetClusterClusterInfoClusterLogConfInput is an input type that accepts GetClusterClusterInfoClusterLogConfArgs and GetClusterClusterInfoClusterLogConfOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfInput` via: +// +// GetClusterClusterInfoClusterLogConfArgs{...} +type GetClusterClusterInfoClusterLogConfInput interface { + pulumi.Input -func (o GetClusterClusterInfoGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) + ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput + ToGetClusterClusterInfoClusterLogConfOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfOutput } -type GetClusterClusterInfoInitScript struct { - Abfss *GetClusterClusterInfoInitScriptAbfss `pulumi:"abfss"` - Dbfs *GetClusterClusterInfoInitScriptDbfs `pulumi:"dbfs"` - File *GetClusterClusterInfoInitScriptFile `pulumi:"file"` - Gcs *GetClusterClusterInfoInitScriptGcs `pulumi:"gcs"` - S3 *GetClusterClusterInfoInitScriptS3 `pulumi:"s3"` - Volumes *GetClusterClusterInfoInitScriptVolumes `pulumi:"volumes"` - Workspace *GetClusterClusterInfoInitScriptWorkspace `pulumi:"workspace"` +type GetClusterClusterInfoClusterLogConfArgs struct { + Dbfs GetClusterClusterInfoClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 GetClusterClusterInfoClusterLogConfS3PtrInput `pulumi:"s3"` } -// 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 (GetClusterClusterInfoClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConf)(nil)).Elem() } -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 GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput { + return i.ToGetClusterClusterInfoClusterLogConfOutputWithContext(context.Background()) } -func (GetClusterClusterInfoInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScript)(nil)).Elem() +func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfOutput) } -func (i GetClusterClusterInfoInitScriptArgs) ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput { - return i.ToGetClusterClusterInfoInitScriptOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptArgs) ToGetClusterClusterInfoInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptOutput) +func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfOutput).ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx) } -// GetClusterClusterInfoInitScriptArrayInput is an input type that accepts GetClusterClusterInfoInitScriptArray and GetClusterClusterInfoInitScriptArrayOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptArrayInput` via: +// GetClusterClusterInfoClusterLogConfPtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfArgs, GetClusterClusterInfoClusterLogConfPtr and GetClusterClusterInfoClusterLogConfPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfPtrInput` via: // -// GetClusterClusterInfoInitScriptArray{ GetClusterClusterInfoInitScriptArgs{...} } -type GetClusterClusterInfoInitScriptArrayInput interface { +// GetClusterClusterInfoClusterLogConfArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoClusterLogConfPtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput - ToGetClusterClusterInfoInitScriptArrayOutputWithContext(context.Context) GetClusterClusterInfoInitScriptArrayOutput + ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput + ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfPtrOutput } -type GetClusterClusterInfoInitScriptArray []GetClusterClusterInfoInitScriptInput +type getClusterClusterInfoClusterLogConfPtrType GetClusterClusterInfoClusterLogConfArgs -func (GetClusterClusterInfoInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoInitScript)(nil)).Elem() +func GetClusterClusterInfoClusterLogConfPtr(v *GetClusterClusterInfoClusterLogConfArgs) GetClusterClusterInfoClusterLogConfPtrInput { + return (*getClusterClusterInfoClusterLogConfPtrType)(v) } -func (i GetClusterClusterInfoInitScriptArray) ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput { - return i.ToGetClusterClusterInfoInitScriptArrayOutputWithContext(context.Background()) +func (*getClusterClusterInfoClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConf)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptArray) ToGetClusterClusterInfoInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptArrayOutput) +func (i *getClusterClusterInfoClusterLogConfPtrType) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) } -type GetClusterClusterInfoInitScriptOutput struct{ *pulumi.OutputState } +func (i *getClusterClusterInfoClusterLogConfPtrType) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfPtrOutput) +} -func (GetClusterClusterInfoInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScript)(nil)).Elem() +type GetClusterClusterInfoClusterLogConfOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConf)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptOutput) ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput { +func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput { return o } -func (o GetClusterClusterInfoInitScriptOutput) ToGetClusterClusterInfoInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptOutput { +func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfOutput { return o } -func (o GetClusterClusterInfoInitScriptOutput) Abfss() GetClusterClusterInfoInitScriptAbfssPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptAbfss { return v.Abfss }).(GetClusterClusterInfoInitScriptAbfssPtrOutput) +func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { + return o.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptOutput) Dbfs() GetClusterClusterInfoInitScriptDbfsPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptDbfs { return v.Dbfs }).(GetClusterClusterInfoInitScriptDbfsPtrOutput) +func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConf { + return &v + }).(GetClusterClusterInfoClusterLogConfPtrOutput) } -func (o GetClusterClusterInfoInitScriptOutput) File() GetClusterClusterInfoInitScriptFilePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptFile { return v.File }).(GetClusterClusterInfoInitScriptFilePtrOutput) +func (o GetClusterClusterInfoClusterLogConfOutput) Dbfs() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfDbfs { return v.Dbfs }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) } -func (o GetClusterClusterInfoInitScriptOutput) Gcs() GetClusterClusterInfoInitScriptGcsPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptGcs { return v.Gcs }).(GetClusterClusterInfoInitScriptGcsPtrOutput) +func (o GetClusterClusterInfoClusterLogConfOutput) S3() GetClusterClusterInfoClusterLogConfS3PtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfS3 { return v.S3 }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) } -func (o GetClusterClusterInfoInitScriptOutput) S3() GetClusterClusterInfoInitScriptS3PtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptS3 { return v.S3 }).(GetClusterClusterInfoInitScriptS3PtrOutput) -} +type GetClusterClusterInfoClusterLogConfPtrOutput struct{ *pulumi.OutputState } -func (o GetClusterClusterInfoInitScriptOutput) Volumes() GetClusterClusterInfoInitScriptVolumesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptVolumes { return v.Volumes }).(GetClusterClusterInfoInitScriptVolumesPtrOutput) +func (GetClusterClusterInfoClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConf)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptOutput) Workspace() GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptWorkspace { return v.Workspace }).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) +func (o GetClusterClusterInfoClusterLogConfPtrOutput) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { + return o } -type GetClusterClusterInfoInitScriptArrayOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoInitScript)(nil)).Elem() +func (o GetClusterClusterInfoClusterLogConfPtrOutput) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { + return o } -func (o GetClusterClusterInfoInitScriptArrayOutput) ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput { - 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 GetClusterClusterInfoInitScriptArrayOutput) ToGetClusterClusterInfoInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptArrayOutput { - 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 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 GetClusterClusterInfoClusterLogConfPtrOutput) S3() GetClusterClusterInfoClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfS3 { + if v == nil { + return nil + } + return v.S3 + }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) } -type GetClusterClusterInfoInitScriptAbfss struct { +type GetClusterClusterInfoClusterLogConfDbfs struct { Destination string `pulumi:"destination"` } -// GetClusterClusterInfoInitScriptAbfssInput is an input type that accepts GetClusterClusterInfoInitScriptAbfssArgs and GetClusterClusterInfoInitScriptAbfssOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptAbfssInput` via: +// GetClusterClusterInfoClusterLogConfDbfsInput is an input type that accepts GetClusterClusterInfoClusterLogConfDbfsArgs and GetClusterClusterInfoClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfDbfsInput` via: // -// GetClusterClusterInfoInitScriptAbfssArgs{...} -type GetClusterClusterInfoInitScriptAbfssInput interface { +// GetClusterClusterInfoClusterLogConfDbfsArgs{...} +type GetClusterClusterInfoClusterLogConfDbfsInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput - ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(context.Context) GetClusterClusterInfoInitScriptAbfssOutput + ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput + ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput } -type GetClusterClusterInfoInitScriptAbfssArgs struct { +type GetClusterClusterInfoClusterLogConfDbfsArgs struct { Destination pulumi.StringInput `pulumi:"destination"` } -func (GetClusterClusterInfoInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput { - return i.ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput { + return i.ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssOutput) +func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsOutput) } -func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { - return i.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssOutput).ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsOutput).ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx) } -// GetClusterClusterInfoInitScriptAbfssPtrInput is an input type that accepts GetClusterClusterInfoInitScriptAbfssArgs, GetClusterClusterInfoInitScriptAbfssPtr and GetClusterClusterInfoInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptAbfssPtrInput` via: +// GetClusterClusterInfoClusterLogConfDbfsPtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfDbfsArgs, GetClusterClusterInfoClusterLogConfDbfsPtr and GetClusterClusterInfoClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfDbfsPtrInput` via: // -// GetClusterClusterInfoInitScriptAbfssArgs{...} +// GetClusterClusterInfoClusterLogConfDbfsArgs{...} // // or: // // nil -type GetClusterClusterInfoInitScriptAbfssPtrInput interface { +type GetClusterClusterInfoClusterLogConfDbfsPtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput - ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput + ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput + ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput } -type getClusterClusterInfoInitScriptAbfssPtrType GetClusterClusterInfoInitScriptAbfssArgs +type getClusterClusterInfoClusterLogConfDbfsPtrType GetClusterClusterInfoClusterLogConfDbfsArgs -func GetClusterClusterInfoInitScriptAbfssPtr(v *GetClusterClusterInfoInitScriptAbfssArgs) GetClusterClusterInfoInitScriptAbfssPtrInput { - return (*getClusterClusterInfoInitScriptAbfssPtrType)(v) +func GetClusterClusterInfoClusterLogConfDbfsPtr(v *GetClusterClusterInfoClusterLogConfDbfsArgs) GetClusterClusterInfoClusterLogConfDbfsPtrInput { + return (*getClusterClusterInfoClusterLogConfDbfsPtrType)(v) } -func (*getClusterClusterInfoInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() +func (*getClusterClusterInfoClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptAbfssPtrType) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { - return i.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoClusterLogConfDbfsPtrType) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptAbfssPtrType) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssPtrOutput) +func (i *getClusterClusterInfoClusterLogConfDbfsPtrType) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) } -type GetClusterClusterInfoInitScriptAbfssOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput { +func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput { return o } -func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssOutput { +func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput { return o } -func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { - return o.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return o.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptAbfss) *GetClusterClusterInfoInitScriptAbfss { +func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConfDbfs) *GetClusterClusterInfoClusterLogConfDbfs { return &v - }).(GetClusterClusterInfoInitScriptAbfssPtrOutput) + }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) } -func (o GetClusterClusterInfoInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +func (o GetClusterClusterInfoClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetClusterClusterInfoInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { +func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { +func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) Elem() GetClusterClusterInfoInitScriptAbfssOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptAbfss) GetClusterClusterInfoInitScriptAbfss { +func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) Elem() GetClusterClusterInfoClusterLogConfDbfsOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfDbfs) GetClusterClusterInfoClusterLogConfDbfs { if v != nil { return *v } - var ret GetClusterClusterInfoInitScriptAbfss + var ret GetClusterClusterInfoClusterLogConfDbfs return ret - }).(GetClusterClusterInfoInitScriptAbfssOutput) + }).(GetClusterClusterInfoClusterLogConfDbfsOutput) } -func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptAbfss) *string { +func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfDbfs) *string { if v == nil { return nil } @@ -71421,132 +71500,177 @@ func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) Destination() pulumi.Stri }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoInitScriptDbfs struct { - Destination string `pulumi:"destination"` +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"` } -// GetClusterClusterInfoInitScriptDbfsInput is an input type that accepts GetClusterClusterInfoInitScriptDbfsArgs and GetClusterClusterInfoInitScriptDbfsOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptDbfsInput` via: +// GetClusterClusterInfoClusterLogConfS3Input is an input type that accepts GetClusterClusterInfoClusterLogConfS3Args and GetClusterClusterInfoClusterLogConfS3Output values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfS3Input` via: // -// GetClusterClusterInfoInitScriptDbfsArgs{...} -type GetClusterClusterInfoInitScriptDbfsInput interface { +// GetClusterClusterInfoClusterLogConfS3Args{...} +type GetClusterClusterInfoClusterLogConfS3Input interface { pulumi.Input - ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput - ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(context.Context) GetClusterClusterInfoInitScriptDbfsOutput + ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output + ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfS3Output } -type GetClusterClusterInfoInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +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 (GetClusterClusterInfoInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput { - return i.ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output { + return i.ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsOutput) +func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3Output) } -func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { - return i.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsOutput).ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3Output).ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx) } -// GetClusterClusterInfoInitScriptDbfsPtrInput is an input type that accepts GetClusterClusterInfoInitScriptDbfsArgs, GetClusterClusterInfoInitScriptDbfsPtr and GetClusterClusterInfoInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptDbfsPtrInput` via: +// GetClusterClusterInfoClusterLogConfS3PtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfS3Args, GetClusterClusterInfoClusterLogConfS3Ptr and GetClusterClusterInfoClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfS3PtrInput` via: // -// GetClusterClusterInfoInitScriptDbfsArgs{...} +// GetClusterClusterInfoClusterLogConfS3Args{...} // // or: // // nil -type GetClusterClusterInfoInitScriptDbfsPtrInput interface { +type GetClusterClusterInfoClusterLogConfS3PtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput - ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput + ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput + ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput } -type getClusterClusterInfoInitScriptDbfsPtrType GetClusterClusterInfoInitScriptDbfsArgs +type getClusterClusterInfoClusterLogConfS3PtrType GetClusterClusterInfoClusterLogConfS3Args -func GetClusterClusterInfoInitScriptDbfsPtr(v *GetClusterClusterInfoInitScriptDbfsArgs) GetClusterClusterInfoInitScriptDbfsPtrInput { - return (*getClusterClusterInfoInitScriptDbfsPtrType)(v) +func GetClusterClusterInfoClusterLogConfS3Ptr(v *GetClusterClusterInfoClusterLogConfS3Args) GetClusterClusterInfoClusterLogConfS3PtrInput { + return (*getClusterClusterInfoClusterLogConfS3PtrType)(v) } -func (*getClusterClusterInfoInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() +func (*getClusterClusterInfoClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptDbfsPtrType) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { - return i.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoClusterLogConfS3PtrType) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptDbfsPtrType) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsPtrOutput) +func (i *getClusterClusterInfoClusterLogConfS3PtrType) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3PtrOutput) } -type GetClusterClusterInfoInitScriptDbfsOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoClusterLogConfS3Output struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput { +func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output { return o } -func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsOutput { +func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3Output { return o } -func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { - return o.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { + return o.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptDbfs) *GetClusterClusterInfoInitScriptDbfs { +func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConfS3) *GetClusterClusterInfoClusterLogConfS3 { return &v - }).(GetClusterClusterInfoInitScriptDbfsPtrOutput) + }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) } -func (o GetClusterClusterInfoInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetClusterClusterInfoClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) +} -func (GetClusterClusterInfoInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() +func (o GetClusterClusterInfoClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { return o } -func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { return o } -func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) Elem() GetClusterClusterInfoInitScriptDbfsOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptDbfs) GetClusterClusterInfoInitScriptDbfs { +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Elem() GetClusterClusterInfoClusterLogConfS3Output { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) GetClusterClusterInfoClusterLogConfS3 { if v != nil { return *v } - var ret GetClusterClusterInfoInitScriptDbfs + var ret GetClusterClusterInfoClusterLogConfS3 return ret - }).(GetClusterClusterInfoInitScriptDbfsOutput) + }).(GetClusterClusterInfoClusterLogConfS3Output) } -func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptDbfs) *string { +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 } @@ -71554,10404 +71678,10077 @@ func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) Destination() pulumi.Strin }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoInitScriptFile struct { - Destination string `pulumi:"destination"` +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -// GetClusterClusterInfoInitScriptFileInput is an input type that accepts GetClusterClusterInfoInitScriptFileArgs and GetClusterClusterInfoInitScriptFileOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptFileInput` via: +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) +} + +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: // -// GetClusterClusterInfoInitScriptFileArgs{...} -type GetClusterClusterInfoInitScriptFileInput interface { +// GetClusterClusterInfoClusterLogStatusArgs{...} +type GetClusterClusterInfoClusterLogStatusInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput - ToGetClusterClusterInfoInitScriptFileOutputWithContext(context.Context) GetClusterClusterInfoInitScriptFileOutput + ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput + ToGetClusterClusterInfoClusterLogStatusOutputWithContext(context.Context) GetClusterClusterInfoClusterLogStatusOutput } -type GetClusterClusterInfoInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetClusterClusterInfoClusterLogStatusArgs struct { + LastAttempted pulumi.IntPtrInput `pulumi:"lastAttempted"` + LastException pulumi.StringPtrInput `pulumi:"lastException"` } -func (GetClusterClusterInfoInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptFile)(nil)).Elem() +func (GetClusterClusterInfoClusterLogStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogStatus)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput { - return i.ToGetClusterClusterInfoInitScriptFileOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput { + return i.ToGetClusterClusterInfoClusterLogStatusOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFileOutput) +func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusOutput) } -func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { - return i.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { + return i.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFileOutput).ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx) +func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusOutput).ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx) } -// GetClusterClusterInfoInitScriptFilePtrInput is an input type that accepts GetClusterClusterInfoInitScriptFileArgs, GetClusterClusterInfoInitScriptFilePtr and GetClusterClusterInfoInitScriptFilePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptFilePtrInput` via: +// GetClusterClusterInfoClusterLogStatusPtrInput is an input type that accepts GetClusterClusterInfoClusterLogStatusArgs, GetClusterClusterInfoClusterLogStatusPtr and GetClusterClusterInfoClusterLogStatusPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogStatusPtrInput` via: // -// GetClusterClusterInfoInitScriptFileArgs{...} +// GetClusterClusterInfoClusterLogStatusArgs{...} // // or: // // nil -type GetClusterClusterInfoInitScriptFilePtrInput interface { +type GetClusterClusterInfoClusterLogStatusPtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput - ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptFilePtrOutput + ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput + ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput } -type getClusterClusterInfoInitScriptFilePtrType GetClusterClusterInfoInitScriptFileArgs +type getClusterClusterInfoClusterLogStatusPtrType GetClusterClusterInfoClusterLogStatusArgs -func GetClusterClusterInfoInitScriptFilePtr(v *GetClusterClusterInfoInitScriptFileArgs) GetClusterClusterInfoInitScriptFilePtrInput { - return (*getClusterClusterInfoInitScriptFilePtrType)(v) +func GetClusterClusterInfoClusterLogStatusPtr(v *GetClusterClusterInfoClusterLogStatusArgs) GetClusterClusterInfoClusterLogStatusPtrInput { + return (*getClusterClusterInfoClusterLogStatusPtrType)(v) } -func (*getClusterClusterInfoInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptFile)(nil)).Elem() +func (*getClusterClusterInfoClusterLogStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogStatus)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptFilePtrType) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { - return i.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoClusterLogStatusPtrType) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { + return i.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptFilePtrType) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFilePtrOutput) +func (i *getClusterClusterInfoClusterLogStatusPtrType) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusPtrOutput) } -type GetClusterClusterInfoInitScriptFileOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoClusterLogStatusOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptFile)(nil)).Elem() +func (GetClusterClusterInfoClusterLogStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogStatus)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput { +func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput { return o } -func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFileOutput { +func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusOutput { return o } -func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { - return o.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { + return o.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptFile) *GetClusterClusterInfoInitScriptFile { +func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogStatus) *GetClusterClusterInfoClusterLogStatus { return &v - }).(GetClusterClusterInfoInitScriptFilePtrOutput) + }).(GetClusterClusterInfoClusterLogStatusPtrOutput) } -func (o GetClusterClusterInfoInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +func (o GetClusterClusterInfoClusterLogStatusOutput) LastAttempted() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogStatus) *int { return v.LastAttempted }).(pulumi.IntPtrOutput) } -type GetClusterClusterInfoInitScriptFilePtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoClusterLogStatusOutput) LastException() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogStatus) *string { return v.LastException }).(pulumi.StringPtrOutput) +} -func (GetClusterClusterInfoInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptFile)(nil)).Elem() +type GetClusterClusterInfoClusterLogStatusPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoClusterLogStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogStatus)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptFilePtrOutput) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { +func (o GetClusterClusterInfoClusterLogStatusPtrOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptFilePtrOutput) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { +func (o GetClusterClusterInfoClusterLogStatusPtrOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptFilePtrOutput) Elem() GetClusterClusterInfoInitScriptFileOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptFile) GetClusterClusterInfoInitScriptFile { +func (o GetClusterClusterInfoClusterLogStatusPtrOutput) Elem() GetClusterClusterInfoClusterLogStatusOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) GetClusterClusterInfoClusterLogStatus { if v != nil { return *v } - var ret GetClusterClusterInfoInitScriptFile + var ret GetClusterClusterInfoClusterLogStatus return ret - }).(GetClusterClusterInfoInitScriptFileOutput) + }).(GetClusterClusterInfoClusterLogStatusOutput) } -func (o GetClusterClusterInfoInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptFile) *string { +func (o GetClusterClusterInfoClusterLogStatusPtrOutput) LastAttempted() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) *int { if v == nil { return nil } - return &v.Destination + return v.LastAttempted + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoClusterLogStatusPtrOutput) LastException() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) *string { + if v == nil { + return nil + } + return v.LastException }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoInitScriptGcs struct { - Destination string `pulumi:"destination"` +type GetClusterClusterInfoDockerImage struct { + BasicAuth *GetClusterClusterInfoDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` } -// GetClusterClusterInfoInitScriptGcsInput is an input type that accepts GetClusterClusterInfoInitScriptGcsArgs and GetClusterClusterInfoInitScriptGcsOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptGcsInput` via: +// GetClusterClusterInfoDockerImageInput is an input type that accepts GetClusterClusterInfoDockerImageArgs and GetClusterClusterInfoDockerImageOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDockerImageInput` via: // -// GetClusterClusterInfoInitScriptGcsArgs{...} -type GetClusterClusterInfoInitScriptGcsInput interface { +// GetClusterClusterInfoDockerImageArgs{...} +type GetClusterClusterInfoDockerImageInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput - ToGetClusterClusterInfoInitScriptGcsOutputWithContext(context.Context) GetClusterClusterInfoInitScriptGcsOutput + ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput + ToGetClusterClusterInfoDockerImageOutputWithContext(context.Context) GetClusterClusterInfoDockerImageOutput } -type GetClusterClusterInfoInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetClusterClusterInfoDockerImageArgs struct { + BasicAuth GetClusterClusterInfoDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringInput `pulumi:"url"` } -func (GetClusterClusterInfoInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptGcs)(nil)).Elem() +func (GetClusterClusterInfoDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDockerImage)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput { - return i.ToGetClusterClusterInfoInitScriptGcsOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput { + return i.ToGetClusterClusterInfoDockerImageOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsOutput) +func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageOutput) } -func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { - return i.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { + return i.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsOutput).ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageOutput).ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx) } -// GetClusterClusterInfoInitScriptGcsPtrInput is an input type that accepts GetClusterClusterInfoInitScriptGcsArgs, GetClusterClusterInfoInitScriptGcsPtr and GetClusterClusterInfoInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptGcsPtrInput` via: +// GetClusterClusterInfoDockerImagePtrInput is an input type that accepts GetClusterClusterInfoDockerImageArgs, GetClusterClusterInfoDockerImagePtr and GetClusterClusterInfoDockerImagePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDockerImagePtrInput` via: // -// GetClusterClusterInfoInitScriptGcsArgs{...} +// GetClusterClusterInfoDockerImageArgs{...} // // or: // // nil -type GetClusterClusterInfoInitScriptGcsPtrInput interface { +type GetClusterClusterInfoDockerImagePtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput - ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput + ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput + ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Context) GetClusterClusterInfoDockerImagePtrOutput } -type getClusterClusterInfoInitScriptGcsPtrType GetClusterClusterInfoInitScriptGcsArgs +type getClusterClusterInfoDockerImagePtrType GetClusterClusterInfoDockerImageArgs -func GetClusterClusterInfoInitScriptGcsPtr(v *GetClusterClusterInfoInitScriptGcsArgs) GetClusterClusterInfoInitScriptGcsPtrInput { - return (*getClusterClusterInfoInitScriptGcsPtrType)(v) +func GetClusterClusterInfoDockerImagePtr(v *GetClusterClusterInfoDockerImageArgs) GetClusterClusterInfoDockerImagePtrInput { + return (*getClusterClusterInfoDockerImagePtrType)(v) } -func (*getClusterClusterInfoInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptGcs)(nil)).Elem() +func (*getClusterClusterInfoDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDockerImage)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptGcsPtrType) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { - return i.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoDockerImagePtrType) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { + return i.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptGcsPtrType) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsPtrOutput) +func (i *getClusterClusterInfoDockerImagePtrType) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImagePtrOutput) } -type GetClusterClusterInfoInitScriptGcsOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoDockerImageOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptGcs)(nil)).Elem() +func (GetClusterClusterInfoDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDockerImage)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput { +func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput { return o } -func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsOutput { +func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageOutput { return o } -func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { - return o.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { + return o.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptGcs) *GetClusterClusterInfoInitScriptGcs { +func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImage { return &v - }).(GetClusterClusterInfoInitScriptGcsPtrOutput) + }).(GetClusterClusterInfoDockerImagePtrOutput) } -func (o GetClusterClusterInfoInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetClusterClusterInfoDockerImageOutput) BasicAuth() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImageBasicAuth { + return v.BasicAuth + }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) } -type GetClusterClusterInfoInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoDockerImage) string { return v.Url }).(pulumi.StringOutput) +} -func (GetClusterClusterInfoInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptGcs)(nil)).Elem() +type GetClusterClusterInfoDockerImagePtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDockerImage)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptGcsPtrOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { +func (o GetClusterClusterInfoDockerImagePtrOutput) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { return o } -func (o GetClusterClusterInfoInitScriptGcsPtrOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { +func (o GetClusterClusterInfoDockerImagePtrOutput) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { return o } -func (o GetClusterClusterInfoInitScriptGcsPtrOutput) Elem() GetClusterClusterInfoInitScriptGcsOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptGcs) GetClusterClusterInfoInitScriptGcs { +func (o GetClusterClusterInfoDockerImagePtrOutput) Elem() GetClusterClusterInfoDockerImageOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) GetClusterClusterInfoDockerImage { if v != nil { return *v } - var ret GetClusterClusterInfoInitScriptGcs + var ret GetClusterClusterInfoDockerImage return ret - }).(GetClusterClusterInfoInitScriptGcsOutput) + }).(GetClusterClusterInfoDockerImageOutput) } -func (o GetClusterClusterInfoInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptGcs) *string { +func (o GetClusterClusterInfoDockerImagePtrOutput) BasicAuth() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImageBasicAuth { if v == nil { return nil } - return &v.Destination + return v.BasicAuth + }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) +} + +func (o GetClusterClusterInfoDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) *string { + if v == nil { + return nil + } + return &v.Url }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type GetClusterClusterInfoDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// GetClusterClusterInfoInitScriptS3Input is an input type that accepts GetClusterClusterInfoInitScriptS3Args and GetClusterClusterInfoInitScriptS3Output values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptS3Input` via: +// GetClusterClusterInfoDockerImageBasicAuthInput is an input type that accepts GetClusterClusterInfoDockerImageBasicAuthArgs and GetClusterClusterInfoDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDockerImageBasicAuthInput` via: // -// GetClusterClusterInfoInitScriptS3Args{...} -type GetClusterClusterInfoInitScriptS3Input interface { +// GetClusterClusterInfoDockerImageBasicAuthArgs{...} +type GetClusterClusterInfoDockerImageBasicAuthInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output - ToGetClusterClusterInfoInitScriptS3OutputWithContext(context.Context) GetClusterClusterInfoInitScriptS3Output + ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput + ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput } -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 GetClusterClusterInfoDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (GetClusterClusterInfoInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptS3)(nil)).Elem() +func (GetClusterClusterInfoDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output { - return i.ToGetClusterClusterInfoInitScriptS3OutputWithContext(context.Background()) +func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput { + return i.ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3Output) +func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthOutput) } -func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { - return i.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return i.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3Output).ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx) +func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthOutput).ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx) } -// GetClusterClusterInfoInitScriptS3PtrInput is an input type that accepts GetClusterClusterInfoInitScriptS3Args, GetClusterClusterInfoInitScriptS3Ptr and GetClusterClusterInfoInitScriptS3PtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptS3PtrInput` via: +// GetClusterClusterInfoDockerImageBasicAuthPtrInput is an input type that accepts GetClusterClusterInfoDockerImageBasicAuthArgs, GetClusterClusterInfoDockerImageBasicAuthPtr and GetClusterClusterInfoDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDockerImageBasicAuthPtrInput` via: // -// GetClusterClusterInfoInitScriptS3Args{...} +// GetClusterClusterInfoDockerImageBasicAuthArgs{...} // // or: // // nil -type GetClusterClusterInfoInitScriptS3PtrInput interface { +type GetClusterClusterInfoDockerImageBasicAuthPtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput - ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptS3PtrOutput + ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput + ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput } -type getClusterClusterInfoInitScriptS3PtrType GetClusterClusterInfoInitScriptS3Args +type getClusterClusterInfoDockerImageBasicAuthPtrType GetClusterClusterInfoDockerImageBasicAuthArgs -func GetClusterClusterInfoInitScriptS3Ptr(v *GetClusterClusterInfoInitScriptS3Args) GetClusterClusterInfoInitScriptS3PtrInput { - return (*getClusterClusterInfoInitScriptS3PtrType)(v) +func GetClusterClusterInfoDockerImageBasicAuthPtr(v *GetClusterClusterInfoDockerImageBasicAuthArgs) GetClusterClusterInfoDockerImageBasicAuthPtrInput { + return (*getClusterClusterInfoDockerImageBasicAuthPtrType)(v) } -func (*getClusterClusterInfoInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptS3)(nil)).Elem() +func (*getClusterClusterInfoDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptS3PtrType) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { - return i.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoDockerImageBasicAuthPtrType) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return i.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptS3PtrType) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3PtrOutput) +func (i *getClusterClusterInfoDockerImageBasicAuthPtrType) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) } -type GetClusterClusterInfoInitScriptS3Output struct{ *pulumi.OutputState } +type GetClusterClusterInfoDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptS3)(nil)).Elem() +func (GetClusterClusterInfoDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output { +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput { return o } -func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3Output { +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput { return o } -func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { - return o.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptS3) *GetClusterClusterInfoInitScriptS3 { +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDockerImageBasicAuth) *GetClusterClusterInfoDockerImageBasicAuth { return &v - }).(GetClusterClusterInfoInitScriptS3PtrOutput) -} - -func (o GetClusterClusterInfoInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o GetClusterClusterInfoInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -func (o GetClusterClusterInfoInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) -} - -type GetClusterClusterInfoInitScriptS3PtrOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptS3)(nil)).Elem() -} - -func (o GetClusterClusterInfoInitScriptS3PtrOutput) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { - return o -} - -func (o GetClusterClusterInfoInitScriptS3PtrOutput) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { - return o + }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) Elem() GetClusterClusterInfoInitScriptS3Output { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) GetClusterClusterInfoInitScriptS3 { - if v != nil { - return *v - } - var ret GetClusterClusterInfoInitScriptS3 - return ret - }).(GetClusterClusterInfoInitScriptS3Output) +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) } - -func (o GetClusterClusterInfoInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) + +type GetClusterClusterInfoDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) +func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { - if v == nil { - return nil +func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Elem() GetClusterClusterInfoDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) GetClusterClusterInfoDockerImageBasicAuth { + if v != nil { + return *v } - return v.Endpoint - }).(pulumi.StringPtrOutput) + var ret GetClusterClusterInfoDockerImageBasicAuth + return ret + }).(GetClusterClusterInfoDockerImageBasicAuthOutput) } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { +func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) *string { if v == nil { return nil } - return v.KmsKey + return &v.Password }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { +func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) *string { if v == nil { return nil } - return v.Region + return &v.Username }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoInitScriptVolumes struct { - Destination string `pulumi:"destination"` +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"` } -// GetClusterClusterInfoInitScriptVolumesInput is an input type that accepts GetClusterClusterInfoInitScriptVolumesArgs and GetClusterClusterInfoInitScriptVolumesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptVolumesInput` via: +// GetClusterClusterInfoDriverInput is an input type that accepts GetClusterClusterInfoDriverArgs and GetClusterClusterInfoDriverOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDriverInput` via: // -// GetClusterClusterInfoInitScriptVolumesArgs{...} -type GetClusterClusterInfoInitScriptVolumesInput interface { +// GetClusterClusterInfoDriverArgs{...} +type GetClusterClusterInfoDriverInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput - ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(context.Context) GetClusterClusterInfoInitScriptVolumesOutput + ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput + ToGetClusterClusterInfoDriverOutputWithContext(context.Context) GetClusterClusterInfoDriverOutput } -type GetClusterClusterInfoInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +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 (GetClusterClusterInfoInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() +func (GetClusterClusterInfoDriverArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDriver)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput { - return i.ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput { + return i.ToGetClusterClusterInfoDriverOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesOutput) +func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverOutput) } -func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { - return i.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { + return i.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesOutput).ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverOutput).ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx) } -// GetClusterClusterInfoInitScriptVolumesPtrInput is an input type that accepts GetClusterClusterInfoInitScriptVolumesArgs, GetClusterClusterInfoInitScriptVolumesPtr and GetClusterClusterInfoInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptVolumesPtrInput` via: +// GetClusterClusterInfoDriverPtrInput is an input type that accepts GetClusterClusterInfoDriverArgs, GetClusterClusterInfoDriverPtr and GetClusterClusterInfoDriverPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDriverPtrInput` via: // -// GetClusterClusterInfoInitScriptVolumesArgs{...} +// GetClusterClusterInfoDriverArgs{...} // // or: // // nil -type GetClusterClusterInfoInitScriptVolumesPtrInput interface { +type GetClusterClusterInfoDriverPtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput - ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput + ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput + ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Context) GetClusterClusterInfoDriverPtrOutput } -type getClusterClusterInfoInitScriptVolumesPtrType GetClusterClusterInfoInitScriptVolumesArgs +type getClusterClusterInfoDriverPtrType GetClusterClusterInfoDriverArgs -func GetClusterClusterInfoInitScriptVolumesPtr(v *GetClusterClusterInfoInitScriptVolumesArgs) GetClusterClusterInfoInitScriptVolumesPtrInput { - return (*getClusterClusterInfoInitScriptVolumesPtrType)(v) +func GetClusterClusterInfoDriverPtr(v *GetClusterClusterInfoDriverArgs) GetClusterClusterInfoDriverPtrInput { + return (*getClusterClusterInfoDriverPtrType)(v) } -func (*getClusterClusterInfoInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() +func (*getClusterClusterInfoDriverPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDriver)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptVolumesPtrType) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { - return i.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoDriverPtrType) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { + return i.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptVolumesPtrType) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesPtrOutput) +func (i *getClusterClusterInfoDriverPtrType) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverPtrOutput) } -type GetClusterClusterInfoInitScriptVolumesOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoDriverOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() +func (GetClusterClusterInfoDriverOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDriver)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput { +func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput { return o } -func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesOutput { +func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverOutput { return o } -func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { - return o.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { + return o.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptVolumes) *GetClusterClusterInfoInitScriptVolumes { +func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDriver) *GetClusterClusterInfoDriver { return &v - }).(GetClusterClusterInfoInitScriptVolumesPtrOutput) + }).(GetClusterClusterInfoDriverPtrOutput) } -func (o GetClusterClusterInfoInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +func (o GetClusterClusterInfoDriverOutput) HostPrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.HostPrivateIp }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoDriverOutput) InstanceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.InstanceId }).(pulumi.StringPtrOutput) +} -func (GetClusterClusterInfoInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() +func (o GetClusterClusterInfoDriverOutput) NodeAwsAttributes() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *GetClusterClusterInfoDriverNodeAwsAttributes { + return v.NodeAwsAttributes + }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) } -func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { +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) +} + +func (o GetClusterClusterInfoDriverOutput) PublicDns() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.PublicDns }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoDriverOutput) StartTimestamp() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *int { return v.StartTimestamp }).(pulumi.IntPtrOutput) +} + +type GetClusterClusterInfoDriverPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoDriverPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDriver)(nil)).Elem() +} + +func (o GetClusterClusterInfoDriverPtrOutput) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { +func (o GetClusterClusterInfoDriverPtrOutput) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) Elem() GetClusterClusterInfoInitScriptVolumesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptVolumes) GetClusterClusterInfoInitScriptVolumes { +func (o GetClusterClusterInfoDriverPtrOutput) Elem() GetClusterClusterInfoDriverOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) GetClusterClusterInfoDriver { if v != nil { return *v } - var ret GetClusterClusterInfoInitScriptVolumes + var ret GetClusterClusterInfoDriver return ret - }).(GetClusterClusterInfoInitScriptVolumesOutput) + }).(GetClusterClusterInfoDriverOutput) } -func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptVolumes) *string { +func (o GetClusterClusterInfoDriverPtrOutput) HostPrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { if v == nil { return nil } - return &v.Destination + return v.HostPrivateIp }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +func (o GetClusterClusterInfoDriverPtrOutput) InstanceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { + if v == nil { + return nil + } + return v.InstanceId + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoInitScriptWorkspaceInput is an input type that accepts GetClusterClusterInfoInitScriptWorkspaceArgs and GetClusterClusterInfoInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptWorkspaceInput` via: +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) +} + +func (o GetClusterClusterInfoDriverPtrOutput) PrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { + if v == nil { + return nil + } + return v.PrivateIp + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoDriverPtrOutput) PublicDns() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { + if v == nil { + return nil + } + return v.PublicDns + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoDriverPtrOutput) StartTimestamp() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *int { + if v == nil { + return nil + } + return v.StartTimestamp + }).(pulumi.IntPtrOutput) +} + +type GetClusterClusterInfoDriverNodeAwsAttributes struct { + IsSpot *bool `pulumi:"isSpot"` +} + +// GetClusterClusterInfoDriverNodeAwsAttributesInput is an input type that accepts GetClusterClusterInfoDriverNodeAwsAttributesArgs and GetClusterClusterInfoDriverNodeAwsAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDriverNodeAwsAttributesInput` via: // -// GetClusterClusterInfoInitScriptWorkspaceArgs{...} -type GetClusterClusterInfoInitScriptWorkspaceInput interface { +// GetClusterClusterInfoDriverNodeAwsAttributesArgs{...} +type GetClusterClusterInfoDriverNodeAwsAttributesInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput - ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput + ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput + ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput } -type GetClusterClusterInfoInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetClusterClusterInfoDriverNodeAwsAttributesArgs struct { + IsSpot pulumi.BoolPtrInput `pulumi:"isSpot"` } -func (GetClusterClusterInfoInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() +func (GetClusterClusterInfoDriverNodeAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput { - return i.ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput { + return i.ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspaceOutput) +func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesOutput) } -func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return i.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspaceOutput).ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx) +func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesOutput).ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx) } -// GetClusterClusterInfoInitScriptWorkspacePtrInput is an input type that accepts GetClusterClusterInfoInitScriptWorkspaceArgs, GetClusterClusterInfoInitScriptWorkspacePtr and GetClusterClusterInfoInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptWorkspacePtrInput` via: +// GetClusterClusterInfoDriverNodeAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoDriverNodeAwsAttributesArgs, GetClusterClusterInfoDriverNodeAwsAttributesPtr and GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDriverNodeAwsAttributesPtrInput` via: // -// GetClusterClusterInfoInitScriptWorkspaceArgs{...} +// GetClusterClusterInfoDriverNodeAwsAttributesArgs{...} // // or: // // nil -type GetClusterClusterInfoInitScriptWorkspacePtrInput interface { +type GetClusterClusterInfoDriverNodeAwsAttributesPtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput - ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput + ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput + ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput } -type getClusterClusterInfoInitScriptWorkspacePtrType GetClusterClusterInfoInitScriptWorkspaceArgs +type getClusterClusterInfoDriverNodeAwsAttributesPtrType GetClusterClusterInfoDriverNodeAwsAttributesArgs -func GetClusterClusterInfoInitScriptWorkspacePtr(v *GetClusterClusterInfoInitScriptWorkspaceArgs) GetClusterClusterInfoInitScriptWorkspacePtrInput { - return (*getClusterClusterInfoInitScriptWorkspacePtrType)(v) +func GetClusterClusterInfoDriverNodeAwsAttributesPtr(v *GetClusterClusterInfoDriverNodeAwsAttributesArgs) GetClusterClusterInfoDriverNodeAwsAttributesPtrInput { + return (*getClusterClusterInfoDriverNodeAwsAttributesPtrType)(v) } -func (*getClusterClusterInfoInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() +func (*getClusterClusterInfoDriverNodeAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptWorkspacePtrType) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return i.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoDriverNodeAwsAttributesPtrType) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptWorkspacePtrType) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) +func (i *getClusterClusterInfoDriverNodeAwsAttributesPtrType) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) } -type GetClusterClusterInfoInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoDriverNodeAwsAttributesOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() +func (GetClusterClusterInfoDriverNodeAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput { +func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput { return o } -func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput { +func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput { return o } -func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return o.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return o.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptWorkspace) *GetClusterClusterInfoInitScriptWorkspace { +func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDriverNodeAwsAttributes) *GetClusterClusterInfoDriverNodeAwsAttributes { return &v - }).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) + }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) } -func (o GetClusterClusterInfoInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) IsSpot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriverNodeAwsAttributes) *bool { return v.IsSpot }).(pulumi.BoolPtrOutput) } -type GetClusterClusterInfoInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() +func (GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { +func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { +func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) Elem() GetClusterClusterInfoInitScriptWorkspaceOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptWorkspace) GetClusterClusterInfoInitScriptWorkspace { +func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) Elem() GetClusterClusterInfoDriverNodeAwsAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriverNodeAwsAttributes) GetClusterClusterInfoDriverNodeAwsAttributes { if v != nil { return *v } - var ret GetClusterClusterInfoInitScriptWorkspace + var ret GetClusterClusterInfoDriverNodeAwsAttributes return ret - }).(GetClusterClusterInfoInitScriptWorkspaceOutput) + }).(GetClusterClusterInfoDriverNodeAwsAttributesOutput) } -func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptWorkspace) *string { +func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) IsSpot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriverNodeAwsAttributes) *bool { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.IsSpot + }).(pulumi.BoolPtrOutput) } -type GetClusterClusterInfoTerminationReason struct { - Code *string `pulumi:"code"` - Parameters map[string]interface{} `pulumi:"parameters"` - Type *string `pulumi:"type"` +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"` } -// GetClusterClusterInfoTerminationReasonInput is an input type that accepts GetClusterClusterInfoTerminationReasonArgs and GetClusterClusterInfoTerminationReasonOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoTerminationReasonInput` via: +// GetClusterClusterInfoExecutorInput is an input type that accepts GetClusterClusterInfoExecutorArgs and GetClusterClusterInfoExecutorOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoExecutorInput` via: // -// GetClusterClusterInfoTerminationReasonArgs{...} -type GetClusterClusterInfoTerminationReasonInput interface { +// GetClusterClusterInfoExecutorArgs{...} +type GetClusterClusterInfoExecutorInput interface { pulumi.Input - ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput - ToGetClusterClusterInfoTerminationReasonOutputWithContext(context.Context) GetClusterClusterInfoTerminationReasonOutput -} - -type GetClusterClusterInfoTerminationReasonArgs struct { - Code pulumi.StringPtrInput `pulumi:"code"` - Parameters pulumi.MapInput `pulumi:"parameters"` - Type pulumi.StringPtrInput `pulumi:"type"` -} - -func (GetClusterClusterInfoTerminationReasonArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoTerminationReason)(nil)).Elem() + ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput + ToGetClusterClusterInfoExecutorOutputWithContext(context.Context) GetClusterClusterInfoExecutorOutput } -func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput { - return i.ToGetClusterClusterInfoTerminationReasonOutputWithContext(context.Background()) +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 (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonOutput) +func (GetClusterClusterInfoExecutorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoExecutor)(nil)).Elem() } -func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { - return i.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoExecutorArgs) ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput { + return i.ToGetClusterClusterInfoExecutorOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonOutput).ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoExecutorArgs) ToGetClusterClusterInfoExecutorOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorOutput) } -// GetClusterClusterInfoTerminationReasonPtrInput is an input type that accepts GetClusterClusterInfoTerminationReasonArgs, GetClusterClusterInfoTerminationReasonPtr and GetClusterClusterInfoTerminationReasonPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoTerminationReasonPtrInput` via: -// -// GetClusterClusterInfoTerminationReasonArgs{...} -// -// or: +// GetClusterClusterInfoExecutorArrayInput is an input type that accepts GetClusterClusterInfoExecutorArray and GetClusterClusterInfoExecutorArrayOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoExecutorArrayInput` via: // -// nil -type GetClusterClusterInfoTerminationReasonPtrInput interface { +// GetClusterClusterInfoExecutorArray{ GetClusterClusterInfoExecutorArgs{...} } +type GetClusterClusterInfoExecutorArrayInput interface { pulumi.Input - ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput - ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Context) GetClusterClusterInfoTerminationReasonPtrOutput + ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput + ToGetClusterClusterInfoExecutorArrayOutputWithContext(context.Context) GetClusterClusterInfoExecutorArrayOutput } -type getClusterClusterInfoTerminationReasonPtrType GetClusterClusterInfoTerminationReasonArgs - -func GetClusterClusterInfoTerminationReasonPtr(v *GetClusterClusterInfoTerminationReasonArgs) GetClusterClusterInfoTerminationReasonPtrInput { - return (*getClusterClusterInfoTerminationReasonPtrType)(v) -} +type GetClusterClusterInfoExecutorArray []GetClusterClusterInfoExecutorInput -func (*getClusterClusterInfoTerminationReasonPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoTerminationReason)(nil)).Elem() +func (GetClusterClusterInfoExecutorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoExecutor)(nil)).Elem() } -func (i *getClusterClusterInfoTerminationReasonPtrType) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { - return i.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoExecutorArray) ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput { + return i.ToGetClusterClusterInfoExecutorArrayOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoTerminationReasonPtrType) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonPtrOutput) +func (i GetClusterClusterInfoExecutorArray) ToGetClusterClusterInfoExecutorArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorArrayOutput) } -type GetClusterClusterInfoTerminationReasonOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoExecutorOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoTerminationReasonOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoTerminationReason)(nil)).Elem() +func (GetClusterClusterInfoExecutorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoExecutor)(nil)).Elem() } -func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput { +func (o GetClusterClusterInfoExecutorOutput) ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput { return o } -func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonOutput { +func (o GetClusterClusterInfoExecutorOutput) ToGetClusterClusterInfoExecutorOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorOutput { return o } -func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { - return o.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoExecutorOutput) HostPrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.HostPrivateIp }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoTerminationReason) *GetClusterClusterInfoTerminationReason { - return &v - }).(GetClusterClusterInfoTerminationReasonPtrOutput) +func (o GetClusterClusterInfoExecutorOutput) InstanceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.InstanceId }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoTerminationReasonOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) *string { return v.Code }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoExecutorOutput) NodeAwsAttributes() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *GetClusterClusterInfoExecutorNodeAwsAttributes { + return v.NodeAwsAttributes + }).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) } -func (o GetClusterClusterInfoTerminationReasonOutput) Parameters() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) map[string]interface{} { return v.Parameters }).(pulumi.MapOutput) +func (o GetClusterClusterInfoExecutorOutput) NodeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.NodeId }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoTerminationReasonOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoExecutorOutput) PrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.PrivateIp }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoTerminationReasonPtrOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoTerminationReasonPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoTerminationReason)(nil)).Elem() +func (o GetClusterClusterInfoExecutorOutput) PublicDns() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.PublicDns }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { - return o +func (o GetClusterClusterInfoExecutorOutput) StartTimestamp() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *int { return v.StartTimestamp }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { - return o -} +type GetClusterClusterInfoExecutorArrayOutput struct{ *pulumi.OutputState } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) Elem() GetClusterClusterInfoTerminationReasonOutput { - return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) GetClusterClusterInfoTerminationReason { - if v != nil { - return *v - } - var ret GetClusterClusterInfoTerminationReason - return ret - }).(GetClusterClusterInfoTerminationReasonOutput) +func (GetClusterClusterInfoExecutorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoExecutor)(nil)).Elem() } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) *string { - if v == nil { - return nil - } - return v.Code - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoExecutorArrayOutput) ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput { + return o } -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 (o GetClusterClusterInfoExecutorArrayOutput) ToGetClusterClusterInfoExecutorArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorArrayOutput { + return o } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) +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 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 GetClusterClusterInfoExecutorNodeAwsAttributes struct { + IsSpot *bool `pulumi:"isSpot"` } -// GetCurrentMetastoreMetastoreInfoInput is an input type that accepts GetCurrentMetastoreMetastoreInfoArgs and GetCurrentMetastoreMetastoreInfoOutput values. -// You can construct a concrete instance of `GetCurrentMetastoreMetastoreInfoInput` via: +// GetClusterClusterInfoExecutorNodeAwsAttributesInput is an input type that accepts GetClusterClusterInfoExecutorNodeAwsAttributesArgs and GetClusterClusterInfoExecutorNodeAwsAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoExecutorNodeAwsAttributesInput` via: // -// GetCurrentMetastoreMetastoreInfoArgs{...} -type GetCurrentMetastoreMetastoreInfoInput interface { +// GetClusterClusterInfoExecutorNodeAwsAttributesArgs{...} +type GetClusterClusterInfoExecutorNodeAwsAttributesInput interface { pulumi.Input - ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput - ToGetCurrentMetastoreMetastoreInfoOutputWithContext(context.Context) GetCurrentMetastoreMetastoreInfoOutput + ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput + ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput } -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"` +type GetClusterClusterInfoExecutorNodeAwsAttributesArgs struct { + IsSpot pulumi.BoolPtrInput `pulumi:"isSpot"` } -func (GetCurrentMetastoreMetastoreInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetCurrentMetastoreMetastoreInfo)(nil)).Elem() +func (GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() } -func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput { - return i.ToGetCurrentMetastoreMetastoreInfoOutputWithContext(context.Background()) +func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { + return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(context.Background()) } -func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoOutput) +func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput) } -func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { - return i.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoOutput).ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput).ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx) } -// GetCurrentMetastoreMetastoreInfoPtrInput is an input type that accepts GetCurrentMetastoreMetastoreInfoArgs, GetCurrentMetastoreMetastoreInfoPtr and GetCurrentMetastoreMetastoreInfoPtrOutput values. -// You can construct a concrete instance of `GetCurrentMetastoreMetastoreInfoPtrInput` via: +// GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoExecutorNodeAwsAttributesArgs, GetClusterClusterInfoExecutorNodeAwsAttributesPtr and GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput` via: // -// GetCurrentMetastoreMetastoreInfoArgs{...} +// GetClusterClusterInfoExecutorNodeAwsAttributesArgs{...} // // or: // // nil -type GetCurrentMetastoreMetastoreInfoPtrInput interface { +type GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput interface { pulumi.Input - ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput - ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput + ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput + ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput } -type getCurrentMetastoreMetastoreInfoPtrType GetCurrentMetastoreMetastoreInfoArgs +type getClusterClusterInfoExecutorNodeAwsAttributesPtrType GetClusterClusterInfoExecutorNodeAwsAttributesArgs -func GetCurrentMetastoreMetastoreInfoPtr(v *GetCurrentMetastoreMetastoreInfoArgs) GetCurrentMetastoreMetastoreInfoPtrInput { - return (*getCurrentMetastoreMetastoreInfoPtrType)(v) +func GetClusterClusterInfoExecutorNodeAwsAttributesPtr(v *GetClusterClusterInfoExecutorNodeAwsAttributesArgs) GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput { + return (*getClusterClusterInfoExecutorNodeAwsAttributesPtrType)(v) } -func (*getCurrentMetastoreMetastoreInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetCurrentMetastoreMetastoreInfo)(nil)).Elem() +func (*getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() } -func (i *getCurrentMetastoreMetastoreInfoPtrType) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { - return i.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *getCurrentMetastoreMetastoreInfoPtrType) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoPtrOutput) +func (i *getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) } -type GetCurrentMetastoreMetastoreInfoOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoExecutorNodeAwsAttributesOutput struct{ *pulumi.OutputState } -func (GetCurrentMetastoreMetastoreInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetCurrentMetastoreMetastoreInfo)(nil)).Elem() +func (GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() } -func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { return o } -func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoOutput { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput { return o } -func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { - return o.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return o.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCurrentMetastoreMetastoreInfo) *GetCurrentMetastoreMetastoreInfo { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoExecutorNodeAwsAttributes) *GetClusterClusterInfoExecutorNodeAwsAttributes { return &v - }).(GetCurrentMetastoreMetastoreInfoPtrOutput) + }).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) } -func (o GetCurrentMetastoreMetastoreInfoOutput) Cloud() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Cloud }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) IsSpot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutorNodeAwsAttributes) *bool { return v.IsSpot }).(pulumi.BoolPtrOutput) } -// 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) +type GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() } -// 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 GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return o } -// 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 GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return o } -// 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 GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) Elem() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoExecutorNodeAwsAttributes) GetClusterClusterInfoExecutorNodeAwsAttributes { + if v != nil { + return *v + } + var ret GetClusterClusterInfoExecutorNodeAwsAttributes + return ret + }).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput) } -// 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 GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) IsSpot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoExecutorNodeAwsAttributes) *bool { + if v == nil { + return nil + } + return v.IsSpot + }).(pulumi.BoolPtrOutput) } -// Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. -func (o GetCurrentMetastoreMetastoreInfoOutput) DeltaSharingScope() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.DeltaSharingScope }).(pulumi.StringPtrOutput) +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"` } -// 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) +// GetClusterClusterInfoGcpAttributesInput is an input type that accepts GetClusterClusterInfoGcpAttributesArgs and GetClusterClusterInfoGcpAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoGcpAttributesInput` via: +// +// GetClusterClusterInfoGcpAttributesArgs{...} +type GetClusterClusterInfoGcpAttributesInput interface { + pulumi.Input + + ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput + ToGetClusterClusterInfoGcpAttributesOutputWithContext(context.Context) GetClusterClusterInfoGcpAttributesOutput } -// Metastore ID. -func (o GetCurrentMetastoreMetastoreInfoOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +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"` } -// Name of metastore. -func (o GetCurrentMetastoreMetastoreInfoOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Name }).(pulumi.StringPtrOutput) +func (GetClusterClusterInfoGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoGcpAttributes)(nil)).Elem() } -// 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 (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput { + return i.ToGetClusterClusterInfoGcpAttributesOutputWithContext(context.Background()) } -// 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 GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesOutput) } -// (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 GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { + return i.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) } -// 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 (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesOutput).ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx) } -// 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) +// GetClusterClusterInfoGcpAttributesPtrInput is an input type that accepts GetClusterClusterInfoGcpAttributesArgs, GetClusterClusterInfoGcpAttributesPtr and GetClusterClusterInfoGcpAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoGcpAttributesPtrInput` via: +// +// GetClusterClusterInfoGcpAttributesArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoGcpAttributesPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput + ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoGcpAttributesPtrOutput } -// 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) +type getClusterClusterInfoGcpAttributesPtrType GetClusterClusterInfoGcpAttributesArgs + +func GetClusterClusterInfoGcpAttributesPtr(v *GetClusterClusterInfoGcpAttributesArgs) GetClusterClusterInfoGcpAttributesPtrInput { + return (*getClusterClusterInfoGcpAttributesPtrType)(v) } -// Timestamp (in milliseconds) when the current metastore was updated. -func (o GetCurrentMetastoreMetastoreInfoOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +func (*getClusterClusterInfoGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoGcpAttributes)(nil)).Elem() } -// the ID of the identity that updated the current metastore. -func (o GetCurrentMetastoreMetastoreInfoOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +func (i *getClusterClusterInfoGcpAttributesPtrType) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { + return i.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) } -type GetCurrentMetastoreMetastoreInfoPtrOutput struct{ *pulumi.OutputState } +func (i *getClusterClusterInfoGcpAttributesPtrType) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesPtrOutput) +} -func (GetCurrentMetastoreMetastoreInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetCurrentMetastoreMetastoreInfo)(nil)).Elem() +type GetClusterClusterInfoGcpAttributesOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoGcpAttributes)(nil)).Elem() } -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { +func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput { return o } -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { +func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesOutput { 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 GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { + return o.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Cloud() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.Cloud - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoGcpAttributes) *GetClusterClusterInfoGcpAttributes { + return &v + }).(GetClusterClusterInfoGcpAttributesPtrOutput) } -// 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) +func (o GetClusterClusterInfoGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -// the ID of the identity that created the current metastore. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.CreatedBy - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) } -// the ID of the default data access configuration. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DefaultDataAccessConfigId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.DefaultDataAccessConfigId - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -// The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DeltaSharingOrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.DeltaSharingOrganizationName - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -// the expiration duration in seconds on recipient data access tokens. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DeltaSharingRecipientTokenLifetimeInSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *int { - if v == nil { - return nil - } - return v.DeltaSharingRecipientTokenLifetimeInSeconds - }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) } -// Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DeltaSharingScope() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.DeltaSharingScope - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -// 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) -} +type GetClusterClusterInfoGcpAttributesPtrOutput struct{ *pulumi.OutputState } -// Metastore ID. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.MetastoreId - }).(pulumi.StringPtrOutput) +func (GetClusterClusterInfoGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoGcpAttributes)(nil)).Elem() } -// 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) +func (o GetClusterClusterInfoGcpAttributesPtrOutput) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { + return o } -// 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 (o GetClusterClusterInfoGcpAttributesPtrOutput) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { + return o } -// 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 +func (o GetClusterClusterInfoGcpAttributesPtrOutput) Elem() GetClusterClusterInfoGcpAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) GetClusterClusterInfoGcpAttributes { + if v != nil { + return *v } - return v.PrivilegeModelVersion - }).(pulumi.StringPtrOutput) + var ret GetClusterClusterInfoGcpAttributes + return ret + }).(GetClusterClusterInfoGcpAttributesOutput) } -// (Mandatory for account-level) The region of the metastore. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { +func (o GetClusterClusterInfoGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { if v == nil { return nil } - return v.Region + return v.Availability }).(pulumi.StringPtrOutput) } -// Path on cloud storage account, where managed `Table` are stored. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) StorageRoot() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { +func (o GetClusterClusterInfoGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *int { if v == nil { return nil } - return v.StorageRoot - }).(pulumi.StringPtrOutput) + return v.BootDiskSize + }).(pulumi.IntPtrOutput) } -// ID of a storage credential used for the `storageRoot`. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) StorageRootCredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { +func (o GetClusterClusterInfoGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { if v == nil { return nil } - return v.StorageRootCredentialId + return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -// Name of a storage credential used for the `storageRoot`. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) StorageRootCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { +func (o GetClusterClusterInfoGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *int { if v == nil { return nil } - return v.StorageRootCredentialName - }).(pulumi.StringPtrOutput) + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) } -// Timestamp (in milliseconds) when the current metastore was updated. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *int { +func (o GetClusterClusterInfoGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *bool { if v == nil { return nil } - return v.UpdatedAt - }).(pulumi.IntPtrOutput) + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) } -// the ID of the identity that updated the current metastore. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { +func (o GetClusterClusterInfoGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { if v == nil { return nil } - return v.UpdatedBy + return v.ZoneId }).(pulumi.StringPtrOutput) } -type GetDbfsFilePathsPathList struct { - FileSize *int `pulumi:"fileSize"` - // Path on DBFS for the file to perform listing - Path *string `pulumi:"path"` +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"` } -// GetDbfsFilePathsPathListInput is an input type that accepts GetDbfsFilePathsPathListArgs and GetDbfsFilePathsPathListOutput values. -// You can construct a concrete instance of `GetDbfsFilePathsPathListInput` via: +// GetClusterClusterInfoInitScriptInput is an input type that accepts GetClusterClusterInfoInitScriptArgs and GetClusterClusterInfoInitScriptOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptInput` via: // -// GetDbfsFilePathsPathListArgs{...} -type GetDbfsFilePathsPathListInput interface { +// GetClusterClusterInfoInitScriptArgs{...} +type GetClusterClusterInfoInitScriptInput interface { pulumi.Input - ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput - ToGetDbfsFilePathsPathListOutputWithContext(context.Context) GetDbfsFilePathsPathListOutput + ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput + ToGetClusterClusterInfoInitScriptOutputWithContext(context.Context) GetClusterClusterInfoInitScriptOutput } -type GetDbfsFilePathsPathListArgs struct { - FileSize pulumi.IntPtrInput `pulumi:"fileSize"` - // Path on DBFS for the file to perform listing - Path pulumi.StringPtrInput `pulumi:"path"` +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 (GetDbfsFilePathsPathListArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbfsFilePathsPathList)(nil)).Elem() +func (GetClusterClusterInfoInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScript)(nil)).Elem() } -func (i GetDbfsFilePathsPathListArgs) ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput { - return i.ToGetDbfsFilePathsPathListOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptArgs) ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput { + return i.ToGetClusterClusterInfoInitScriptOutputWithContext(context.Background()) } -func (i GetDbfsFilePathsPathListArgs) ToGetDbfsFilePathsPathListOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbfsFilePathsPathListOutput) +func (i GetClusterClusterInfoInitScriptArgs) ToGetClusterClusterInfoInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptOutput) } -// GetDbfsFilePathsPathListArrayInput is an input type that accepts GetDbfsFilePathsPathListArray and GetDbfsFilePathsPathListArrayOutput values. -// You can construct a concrete instance of `GetDbfsFilePathsPathListArrayInput` via: +// GetClusterClusterInfoInitScriptArrayInput is an input type that accepts GetClusterClusterInfoInitScriptArray and GetClusterClusterInfoInitScriptArrayOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptArrayInput` via: // -// GetDbfsFilePathsPathListArray{ GetDbfsFilePathsPathListArgs{...} } -type GetDbfsFilePathsPathListArrayInput interface { +// GetClusterClusterInfoInitScriptArray{ GetClusterClusterInfoInitScriptArgs{...} } +type GetClusterClusterInfoInitScriptArrayInput interface { pulumi.Input - ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput - ToGetDbfsFilePathsPathListArrayOutputWithContext(context.Context) GetDbfsFilePathsPathListArrayOutput + ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput + ToGetClusterClusterInfoInitScriptArrayOutputWithContext(context.Context) GetClusterClusterInfoInitScriptArrayOutput } -type GetDbfsFilePathsPathListArray []GetDbfsFilePathsPathListInput +type GetClusterClusterInfoInitScriptArray []GetClusterClusterInfoInitScriptInput -func (GetDbfsFilePathsPathListArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbfsFilePathsPathList)(nil)).Elem() +func (GetClusterClusterInfoInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoInitScript)(nil)).Elem() } -func (i GetDbfsFilePathsPathListArray) ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput { - return i.ToGetDbfsFilePathsPathListArrayOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptArray) ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput { + return i.ToGetClusterClusterInfoInitScriptArrayOutputWithContext(context.Background()) } -func (i GetDbfsFilePathsPathListArray) ToGetDbfsFilePathsPathListArrayOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbfsFilePathsPathListArrayOutput) +func (i GetClusterClusterInfoInitScriptArray) ToGetClusterClusterInfoInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptArrayOutput) } -type GetDbfsFilePathsPathListOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptOutput struct{ *pulumi.OutputState } -func (GetDbfsFilePathsPathListOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbfsFilePathsPathList)(nil)).Elem() +func (GetClusterClusterInfoInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScript)(nil)).Elem() } -func (o GetDbfsFilePathsPathListOutput) ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput { +func (o GetClusterClusterInfoInitScriptOutput) ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput { return o } -func (o GetDbfsFilePathsPathListOutput) ToGetDbfsFilePathsPathListOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListOutput { +func (o GetClusterClusterInfoInitScriptOutput) ToGetClusterClusterInfoInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptOutput { return o } -func (o GetDbfsFilePathsPathListOutput) FileSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetDbfsFilePathsPathList) *int { return v.FileSize }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoInitScriptOutput) Abfss() GetClusterClusterInfoInitScriptAbfssPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptAbfss { return v.Abfss }).(GetClusterClusterInfoInitScriptAbfssPtrOutput) } -// Path on DBFS for the file to perform listing -func (o GetDbfsFilePathsPathListOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetDbfsFilePathsPathList) *string { return v.Path }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptOutput) Dbfs() GetClusterClusterInfoInitScriptDbfsPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptDbfs { return v.Dbfs }).(GetClusterClusterInfoInitScriptDbfsPtrOutput) } -type GetDbfsFilePathsPathListArrayOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoInitScriptOutput) File() GetClusterClusterInfoInitScriptFilePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptFile { return v.File }).(GetClusterClusterInfoInitScriptFilePtrOutput) +} -func (GetDbfsFilePathsPathListArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbfsFilePathsPathList)(nil)).Elem() +func (o GetClusterClusterInfoInitScriptOutput) Gcs() GetClusterClusterInfoInitScriptGcsPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptGcs { return v.Gcs }).(GetClusterClusterInfoInitScriptGcsPtrOutput) } -func (o GetDbfsFilePathsPathListArrayOutput) ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput { +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 GetDbfsFilePathsPathListArrayOutput) ToGetDbfsFilePathsPathListArrayOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListArrayOutput { +func (o GetClusterClusterInfoInitScriptArrayOutput) ToGetClusterClusterInfoInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptArrayOutput { 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 GetClusterClusterInfoInitScriptArrayOutput) Index(i pulumi.IntInput) GetClusterClusterInfoInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterClusterInfoInitScript { + return vs[0].([]GetClusterClusterInfoInitScript)[vs[1].(int)] + }).(GetClusterClusterInfoInitScriptOutput) } -type GetExternalLocationExternalLocationInfo struct { - // The ARN of the s3 access point to use with the external location (AWS). - AccessPoint *string `pulumi:"accessPoint"` - BrowseOnly *bool `pulumi:"browseOnly"` - // User-supplied comment. - Comment *string `pulumi:"comment"` - CreatedAt *int `pulumi:"createdAt"` - CreatedBy *string `pulumi:"createdBy"` - CredentialId *string `pulumi:"credentialId"` - // Name of the StorageCredential to use with this external location. - CredentialName *string `pulumi:"credentialName"` - // The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). - EncryptionDetails *GetExternalLocationExternalLocationInfoEncryptionDetails `pulumi:"encryptionDetails"` - MetastoreId *string `pulumi:"metastoreId"` - // The name of the storage credential - Name *string `pulumi:"name"` - // Username/groupname/sp applicationId of the external location owner. - Owner *string `pulumi:"owner"` - // Indicates whether the external location is read-only. - ReadOnly *bool `pulumi:"readOnly"` - UpdatedAt *int `pulumi:"updatedAt"` - UpdatedBy *string `pulumi:"updatedBy"` - // Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). - Url *string `pulumi:"url"` +type GetClusterClusterInfoInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -// GetExternalLocationExternalLocationInfoInput is an input type that accepts GetExternalLocationExternalLocationInfoArgs and GetExternalLocationExternalLocationInfoOutput values. -// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoInput` via: +// GetClusterClusterInfoInitScriptAbfssInput is an input type that accepts GetClusterClusterInfoInitScriptAbfssArgs and GetClusterClusterInfoInitScriptAbfssOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptAbfssInput` via: // -// GetExternalLocationExternalLocationInfoArgs{...} -type GetExternalLocationExternalLocationInfoInput interface { +// GetClusterClusterInfoInitScriptAbfssArgs{...} +type GetClusterClusterInfoInitScriptAbfssInput interface { pulumi.Input - ToGetExternalLocationExternalLocationInfoOutput() GetExternalLocationExternalLocationInfoOutput - ToGetExternalLocationExternalLocationInfoOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoOutput + ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput + ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(context.Context) GetClusterClusterInfoInitScriptAbfssOutput } -type GetExternalLocationExternalLocationInfoArgs struct { - // The ARN of the s3 access point to use with the external location (AWS). - AccessPoint pulumi.StringPtrInput `pulumi:"accessPoint"` - BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` - // User-supplied comment. - Comment pulumi.StringPtrInput `pulumi:"comment"` - CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` - CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` - // Name of the StorageCredential to use with this external location. - CredentialName pulumi.StringPtrInput `pulumi:"credentialName"` - // The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). - EncryptionDetails GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput `pulumi:"encryptionDetails"` - MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` - // The name of the storage credential - Name pulumi.StringPtrInput `pulumi:"name"` - // Username/groupname/sp applicationId of the external location owner. - Owner pulumi.StringPtrInput `pulumi:"owner"` - // Indicates whether the external location is read-only. - ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` - UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` - // Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). - Url pulumi.StringPtrInput `pulumi:"url"` +type GetClusterClusterInfoInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetExternalLocationExternalLocationInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetExternalLocationExternalLocationInfo)(nil)).Elem() +func (GetClusterClusterInfoInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() } -func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoOutput() GetExternalLocationExternalLocationInfoOutput { - return i.ToGetExternalLocationExternalLocationInfoOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput { + return i.ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(context.Background()) } -func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoOutput) +func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssOutput) } -func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { - return i.ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { + return i.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoOutput).ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssOutput).ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx) } -// GetExternalLocationExternalLocationInfoPtrInput is an input type that accepts GetExternalLocationExternalLocationInfoArgs, GetExternalLocationExternalLocationInfoPtr and GetExternalLocationExternalLocationInfoPtrOutput values. -// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoPtrInput` via: +// GetClusterClusterInfoInitScriptAbfssPtrInput is an input type that accepts GetClusterClusterInfoInitScriptAbfssArgs, GetClusterClusterInfoInitScriptAbfssPtr and GetClusterClusterInfoInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptAbfssPtrInput` via: // -// GetExternalLocationExternalLocationInfoArgs{...} +// GetClusterClusterInfoInitScriptAbfssArgs{...} // // or: // // nil -type GetExternalLocationExternalLocationInfoPtrInput interface { +type GetClusterClusterInfoInitScriptAbfssPtrInput interface { pulumi.Input - ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput - ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoPtrOutput + ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput + ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput } -type getExternalLocationExternalLocationInfoPtrType GetExternalLocationExternalLocationInfoArgs +type getClusterClusterInfoInitScriptAbfssPtrType GetClusterClusterInfoInitScriptAbfssArgs -func GetExternalLocationExternalLocationInfoPtr(v *GetExternalLocationExternalLocationInfoArgs) GetExternalLocationExternalLocationInfoPtrInput { - return (*getExternalLocationExternalLocationInfoPtrType)(v) +func GetClusterClusterInfoInitScriptAbfssPtr(v *GetClusterClusterInfoInitScriptAbfssArgs) GetClusterClusterInfoInitScriptAbfssPtrInput { + return (*getClusterClusterInfoInitScriptAbfssPtrType)(v) } -func (*getExternalLocationExternalLocationInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetExternalLocationExternalLocationInfo)(nil)).Elem() +func (*getClusterClusterInfoInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() } -func (i *getExternalLocationExternalLocationInfoPtrType) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { - return i.ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoInitScriptAbfssPtrType) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { + return i.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i *getExternalLocationExternalLocationInfoPtrType) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoPtrOutput) +func (i *getClusterClusterInfoInitScriptAbfssPtrType) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssPtrOutput) } -type GetExternalLocationExternalLocationInfoOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptAbfssOutput struct{ *pulumi.OutputState } -func (GetExternalLocationExternalLocationInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetExternalLocationExternalLocationInfo)(nil)).Elem() +func (GetClusterClusterInfoInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() } -func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoOutput() GetExternalLocationExternalLocationInfoOutput { +func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput { return o } -func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoOutput { +func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssOutput { return o } -func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { - return o.ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { + return o.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetExternalLocationExternalLocationInfo) *GetExternalLocationExternalLocationInfo { +func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptAbfss) *GetClusterClusterInfoInitScriptAbfss { return &v - }).(GetExternalLocationExternalLocationInfoPtrOutput) + }).(GetClusterClusterInfoInitScriptAbfssPtrOutput) } -// The ARN of the s3 access point to use with the external location (AWS). -func (o GetExternalLocationExternalLocationInfoOutput) AccessPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.AccessPoint }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetExternalLocationExternalLocationInfoOutput) BrowseOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) -} +type GetClusterClusterInfoInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } -// User-supplied comment. -func (o GetExternalLocationExternalLocationInfoOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (GetClusterClusterInfoInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() } -func (o GetExternalLocationExternalLocationInfoOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { + return o } -func (o GetExternalLocationExternalLocationInfoOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { + return o } -func (o GetExternalLocationExternalLocationInfoOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.CredentialId }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) Elem() GetClusterClusterInfoInitScriptAbfssOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptAbfss) GetClusterClusterInfoInitScriptAbfss { + if v != nil { + return *v + } + var ret GetClusterClusterInfoInitScriptAbfss + return ret + }).(GetClusterClusterInfoInitScriptAbfssOutput) } -// Name of the StorageCredential to use with this external location. -func (o GetExternalLocationExternalLocationInfoOutput) CredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.CredentialName }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptAbfss) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). -func (o GetExternalLocationExternalLocationInfoOutput) EncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *GetExternalLocationExternalLocationInfoEncryptionDetails { - return v.EncryptionDetails - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) +type GetClusterClusterInfoInitScriptDbfs struct { + Destination string `pulumi:"destination"` } -func (o GetExternalLocationExternalLocationInfoOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) -} +// GetClusterClusterInfoInitScriptDbfsInput is an input type that accepts GetClusterClusterInfoInitScriptDbfsArgs and GetClusterClusterInfoInitScriptDbfsOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptDbfsInput` via: +// +// GetClusterClusterInfoInitScriptDbfsArgs{...} +type GetClusterClusterInfoInitScriptDbfsInput interface { + pulumi.Input -// The name of the storage credential -func (o GetExternalLocationExternalLocationInfoOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Name }).(pulumi.StringPtrOutput) + ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput + ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(context.Context) GetClusterClusterInfoInitScriptDbfsOutput } -// Username/groupname/sp applicationId of the external location owner. -func (o GetExternalLocationExternalLocationInfoOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) +type GetClusterClusterInfoInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -// Indicates whether the external location is read-only. -func (o GetExternalLocationExternalLocationInfoOutput) ReadOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *bool { return v.ReadOnly }).(pulumi.BoolPtrOutput) +func (GetClusterClusterInfoInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() } -func (o GetExternalLocationExternalLocationInfoOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput { + return i.ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(context.Background()) } -func (o GetExternalLocationExternalLocationInfoOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsOutput) } -// Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). -func (o GetExternalLocationExternalLocationInfoOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Url }).(pulumi.StringPtrOutput) +func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { + return i.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) } -type GetExternalLocationExternalLocationInfoPtrOutput struct{ *pulumi.OutputState } - -func (GetExternalLocationExternalLocationInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetExternalLocationExternalLocationInfo)(nil)).Elem() +func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsOutput).ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx) } -func (o GetExternalLocationExternalLocationInfoPtrOutput) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { - return o -} +// GetClusterClusterInfoInitScriptDbfsPtrInput is an input type that accepts GetClusterClusterInfoInitScriptDbfsArgs, GetClusterClusterInfoInitScriptDbfsPtr and GetClusterClusterInfoInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptDbfsPtrInput` via: +// +// GetClusterClusterInfoInitScriptDbfsArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoInitScriptDbfsPtrInput interface { + pulumi.Input -func (o GetExternalLocationExternalLocationInfoPtrOutput) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { - return o + ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput + ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput } -func (o GetExternalLocationExternalLocationInfoPtrOutput) Elem() GetExternalLocationExternalLocationInfoOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) GetExternalLocationExternalLocationInfo { - if v != nil { - return *v - } - var ret GetExternalLocationExternalLocationInfo - return ret - }).(GetExternalLocationExternalLocationInfoOutput) -} +type getClusterClusterInfoInitScriptDbfsPtrType GetClusterClusterInfoInitScriptDbfsArgs -// The ARN of the s3 access point to use with the external location (AWS). -func (o GetExternalLocationExternalLocationInfoPtrOutput) AccessPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil - } - return v.AccessPoint - }).(pulumi.StringPtrOutput) +func GetClusterClusterInfoInitScriptDbfsPtr(v *GetClusterClusterInfoInitScriptDbfsArgs) GetClusterClusterInfoInitScriptDbfsPtrInput { + return (*getClusterClusterInfoInitScriptDbfsPtrType)(v) } -func (o GetExternalLocationExternalLocationInfoPtrOutput) BrowseOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *bool { - if v == nil { - return nil - } - return v.BrowseOnly - }).(pulumi.BoolPtrOutput) +func (*getClusterClusterInfoInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() } -// User-supplied comment. -func (o GetExternalLocationExternalLocationInfoPtrOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil - } - return v.Comment - }).(pulumi.StringPtrOutput) +func (i *getClusterClusterInfoInitScriptDbfsPtrType) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { + return i.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o GetExternalLocationExternalLocationInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *int { - if v == nil { - return nil - } - return v.CreatedAt - }).(pulumi.IntPtrOutput) +func (i *getClusterClusterInfoInitScriptDbfsPtrType) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsPtrOutput) } -func (o GetExternalLocationExternalLocationInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil - } - return v.CreatedBy - }).(pulumi.StringPtrOutput) -} +type GetClusterClusterInfoInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (o GetExternalLocationExternalLocationInfoPtrOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil - } - return v.CredentialId - }).(pulumi.StringPtrOutput) +func (GetClusterClusterInfoInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() } -// Name of the StorageCredential to use with this external location. -func (o GetExternalLocationExternalLocationInfoPtrOutput) CredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil - } - return v.CredentialName - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput { + return o } -// The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). -func (o GetExternalLocationExternalLocationInfoPtrOutput) EncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *GetExternalLocationExternalLocationInfoEncryptionDetails { - if v == nil { - return nil - } - return v.EncryptionDetails - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) +func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsOutput { + return o } -func (o GetExternalLocationExternalLocationInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil - } - return v.MetastoreId - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { + return o.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) } -// The name of the storage credential -func (o GetExternalLocationExternalLocationInfoPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptDbfs) *GetClusterClusterInfoInitScriptDbfs { + return &v + }).(GetClusterClusterInfoInitScriptDbfsPtrOutput) } -// Username/groupname/sp applicationId of the external location owner. -func (o GetExternalLocationExternalLocationInfoPtrOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil - } - return v.Owner - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -// Indicates whether the external location is read-only. -func (o GetExternalLocationExternalLocationInfoPtrOutput) ReadOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *bool { - if v == nil { - return nil - } - return v.ReadOnly - }).(pulumi.BoolPtrOutput) -} +type GetClusterClusterInfoInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (o GetExternalLocationExternalLocationInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *int { - if v == nil { - return nil - } - return v.UpdatedAt - }).(pulumi.IntPtrOutput) +func (GetClusterClusterInfoInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() } -func (o GetExternalLocationExternalLocationInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil +func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { + return o +} + +func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { + return o +} + +func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) Elem() GetClusterClusterInfoInitScriptDbfsOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptDbfs) GetClusterClusterInfoInitScriptDbfs { + if v != nil { + return *v } - return v.UpdatedBy - }).(pulumi.StringPtrOutput) + var ret GetClusterClusterInfoInitScriptDbfs + return ret + }).(GetClusterClusterInfoInitScriptDbfsOutput) } -// Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). -func (o GetExternalLocationExternalLocationInfoPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { +func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptDbfs) *string { if v == nil { return nil } - return v.Url + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetExternalLocationExternalLocationInfoEncryptionDetails struct { - SseEncryptionDetails *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails `pulumi:"sseEncryptionDetails"` +type GetClusterClusterInfoInitScriptFile struct { + Destination string `pulumi:"destination"` } -// GetExternalLocationExternalLocationInfoEncryptionDetailsInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsArgs and GetExternalLocationExternalLocationInfoEncryptionDetailsOutput values. -// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsInput` via: +// GetClusterClusterInfoInitScriptFileInput is an input type that accepts GetClusterClusterInfoInitScriptFileArgs and GetClusterClusterInfoInitScriptFileOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptFileInput` via: // -// GetExternalLocationExternalLocationInfoEncryptionDetailsArgs{...} -type GetExternalLocationExternalLocationInfoEncryptionDetailsInput interface { +// GetClusterClusterInfoInitScriptFileArgs{...} +type GetClusterClusterInfoInitScriptFileInput interface { pulumi.Input - ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput - ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsOutput + ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput + ToGetClusterClusterInfoInitScriptFileOutputWithContext(context.Context) GetClusterClusterInfoInitScriptFileOutput } -type GetExternalLocationExternalLocationInfoEncryptionDetailsArgs struct { - SseEncryptionDetails GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput `pulumi:"sseEncryptionDetails"` +type GetClusterClusterInfoInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() +func (GetClusterClusterInfoInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptFile)(nil)).Elem() } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { - return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput { + return i.ToGetClusterClusterInfoInitScriptFileOutputWithContext(context.Background()) } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) +func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFileOutput) } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { + return i.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsOutput).ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFileOutput).ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx) } -// GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsArgs, GetExternalLocationExternalLocationInfoEncryptionDetailsPtr and GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput values. -// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput` via: +// GetClusterClusterInfoInitScriptFilePtrInput is an input type that accepts GetClusterClusterInfoInitScriptFileArgs, GetClusterClusterInfoInitScriptFilePtr and GetClusterClusterInfoInitScriptFilePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptFilePtrInput` via: // -// GetExternalLocationExternalLocationInfoEncryptionDetailsArgs{...} +// GetClusterClusterInfoInitScriptFileArgs{...} // // or: // // nil -type GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput interface { +type GetClusterClusterInfoInitScriptFilePtrInput interface { pulumi.Input - ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput - ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput + ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput + ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptFilePtrOutput } -type getExternalLocationExternalLocationInfoEncryptionDetailsPtrType GetExternalLocationExternalLocationInfoEncryptionDetailsArgs +type getClusterClusterInfoInitScriptFilePtrType GetClusterClusterInfoInitScriptFileArgs -func GetExternalLocationExternalLocationInfoEncryptionDetailsPtr(v *GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput { - return (*getExternalLocationExternalLocationInfoEncryptionDetailsPtrType)(v) +func GetClusterClusterInfoInitScriptFilePtr(v *GetClusterClusterInfoInitScriptFileArgs) GetClusterClusterInfoInitScriptFilePtrInput { + return (*getClusterClusterInfoInitScriptFilePtrType)(v) } -func (*getExternalLocationExternalLocationInfoEncryptionDetailsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() +func (*getClusterClusterInfoInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptFile)(nil)).Elem() } -func (i *getExternalLocationExternalLocationInfoEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoInitScriptFilePtrType) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { + return i.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *getExternalLocationExternalLocationInfoEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) +func (i *getClusterClusterInfoInitScriptFilePtrType) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFilePtrOutput) } -type GetExternalLocationExternalLocationInfoEncryptionDetailsOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptFileOutput struct{ *pulumi.OutputState } -func (GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() +func (GetClusterClusterInfoInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptFile)(nil)).Elem() } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { +func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { +func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFileOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return o.ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { + return o.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetExternalLocationExternalLocationInfoEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetails { +func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptFile) *GetClusterClusterInfoInitScriptFile { return &v - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) + }).(GetClusterClusterInfoInitScriptFilePtrOutput) } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) SseEncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfoEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { - return v.SseEncryptionDetails - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) +func (o GetClusterClusterInfoInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -type GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() +func (GetClusterClusterInfoInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptFile)(nil)).Elem() } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { +func (o GetClusterClusterInfoInitScriptFilePtrOutput) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { +func (o GetClusterClusterInfoInitScriptFilePtrOutput) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) Elem() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetails) GetExternalLocationExternalLocationInfoEncryptionDetails { +func (o GetClusterClusterInfoInitScriptFilePtrOutput) Elem() GetClusterClusterInfoInitScriptFileOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptFile) GetClusterClusterInfoInitScriptFile { if v != nil { return *v } - var ret GetExternalLocationExternalLocationInfoEncryptionDetails + var ret GetClusterClusterInfoInitScriptFile return ret - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) + }).(GetClusterClusterInfoInitScriptFileOutput) } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) SseEncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { +func (o GetClusterClusterInfoInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptFile) *string { if v == nil { return nil } - return v.SseEncryptionDetails - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails struct { - Algorithm *string `pulumi:"algorithm"` - AwsKmsKeyArn *string `pulumi:"awsKmsKeyArn"` +type GetClusterClusterInfoInitScriptGcs struct { + Destination string `pulumi:"destination"` } -// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs and GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput values. -// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsInput` via: +// GetClusterClusterInfoInitScriptGcsInput is an input type that accepts GetClusterClusterInfoInitScriptGcsArgs and GetClusterClusterInfoInitScriptGcsOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptGcsInput` via: // -// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs{...} -type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsInput interface { +// GetClusterClusterInfoInitScriptGcsArgs{...} +type GetClusterClusterInfoInitScriptGcsInput interface { pulumi.Input - ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput - ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput + ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput + ToGetClusterClusterInfoInitScriptGcsOutputWithContext(context.Context) GetClusterClusterInfoInitScriptGcsOutput } -type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs struct { - Algorithm pulumi.StringPtrInput `pulumi:"algorithm"` - AwsKmsKeyArn pulumi.StringPtrInput `pulumi:"awsKmsKeyArn"` +type GetClusterClusterInfoInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +func (GetClusterClusterInfoInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptGcs)(nil)).Elem() } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { - return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput { + return i.ToGetClusterClusterInfoInitScriptGcsOutputWithContext(context.Background()) } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) +func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsOutput) } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { + return i.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput).ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsOutput).ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx) } -// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs, GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtr and GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput values. -// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput` via: +// GetClusterClusterInfoInitScriptGcsPtrInput is an input type that accepts GetClusterClusterInfoInitScriptGcsArgs, GetClusterClusterInfoInitScriptGcsPtr and GetClusterClusterInfoInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptGcsPtrInput` via: // -// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs{...} +// GetClusterClusterInfoInitScriptGcsArgs{...} // // or: // // nil -type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput interface { +type GetClusterClusterInfoInitScriptGcsPtrInput interface { pulumi.Input - ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput - ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput + ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput + ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput } -type getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs +type getClusterClusterInfoInitScriptGcsPtrType GetClusterClusterInfoInitScriptGcsArgs -func GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtr(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput { - return (*getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType)(v) +func GetClusterClusterInfoInitScriptGcsPtr(v *GetClusterClusterInfoInitScriptGcsArgs) GetClusterClusterInfoInitScriptGcsPtrInput { + return (*getClusterClusterInfoInitScriptGcsPtrType)(v) } -func (*getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +func (*getClusterClusterInfoInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptGcs)(nil)).Elem() } -func (i *getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoInitScriptGcsPtrType) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { + return i.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i *getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) +func (i *getClusterClusterInfoInitScriptGcsPtrType) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsPtrOutput) } -type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptGcsOutput struct{ *pulumi.OutputState } -func (GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +func (GetClusterClusterInfoInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptGcs)(nil)).Elem() } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { +func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { +func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return o.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { + return o.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { +func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptGcs) *GetClusterClusterInfoInitScriptGcs { return &v - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) -} - -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) Algorithm() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { - return v.Algorithm - }).(pulumi.StringPtrOutput) + }).(GetClusterClusterInfoInitScriptGcsPtrOutput) } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) AwsKmsKeyArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { - return v.AwsKmsKeyArn - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +func (GetClusterClusterInfoInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptGcs)(nil)).Elem() } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { +func (o GetClusterClusterInfoInitScriptGcsPtrOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { +func (o GetClusterClusterInfoInitScriptGcsPtrOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) Elem() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { +func (o GetClusterClusterInfoInitScriptGcsPtrOutput) Elem() GetClusterClusterInfoInitScriptGcsOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptGcs) GetClusterClusterInfoInitScriptGcs { if v != nil { return *v } - var ret GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails + var ret GetClusterClusterInfoInitScriptGcs return ret - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) -} - -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) Algorithm() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { - if v == nil { - return nil - } - return v.Algorithm - }).(pulumi.StringPtrOutput) + }).(GetClusterClusterInfoInitScriptGcsOutput) } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) AwsKmsKeyArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { +func (o GetClusterClusterInfoInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptGcs) *string { if v == nil { return nil } - return v.AwsKmsKeyArn + return &v.Destination }).(pulumi.StringPtrOutput) } -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 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"` } -// GetInstancePoolPoolInfoInput is an input type that accepts GetInstancePoolPoolInfoArgs and GetInstancePoolPoolInfoOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInput` via: +// GetClusterClusterInfoInitScriptS3Input is an input type that accepts GetClusterClusterInfoInitScriptS3Args and GetClusterClusterInfoInitScriptS3Output values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptS3Input` via: // -// GetInstancePoolPoolInfoArgs{...} -type GetInstancePoolPoolInfoInput interface { +// GetClusterClusterInfoInitScriptS3Args{...} +type GetClusterClusterInfoInitScriptS3Input interface { pulumi.Input - ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput - ToGetInstancePoolPoolInfoOutputWithContext(context.Context) GetInstancePoolPoolInfoOutput + ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output + ToGetClusterClusterInfoInitScriptS3OutputWithContext(context.Context) GetClusterClusterInfoInitScriptS3Output } -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"` +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 (GetInstancePoolPoolInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfo)(nil)).Elem() +func (GetClusterClusterInfoInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptS3)(nil)).Elem() } -func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput { - return i.ToGetInstancePoolPoolInfoOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output { + return i.ToGetClusterClusterInfoInitScriptS3OutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoOutput) +func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3Output) } -func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { - return i.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { + return i.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoOutput).ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3Output).ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoPtrInput is an input type that accepts GetInstancePoolPoolInfoArgs, GetInstancePoolPoolInfoPtr and GetInstancePoolPoolInfoPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoPtrInput` via: +// GetClusterClusterInfoInitScriptS3PtrInput is an input type that accepts GetClusterClusterInfoInitScriptS3Args, GetClusterClusterInfoInitScriptS3Ptr and GetClusterClusterInfoInitScriptS3PtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptS3PtrInput` via: // -// GetInstancePoolPoolInfoArgs{...} +// GetClusterClusterInfoInitScriptS3Args{...} // // or: // // nil -type GetInstancePoolPoolInfoPtrInput interface { +type GetClusterClusterInfoInitScriptS3PtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput - ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoPtrOutput + ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput + ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptS3PtrOutput } -type getInstancePoolPoolInfoPtrType GetInstancePoolPoolInfoArgs +type getClusterClusterInfoInitScriptS3PtrType GetClusterClusterInfoInitScriptS3Args -func GetInstancePoolPoolInfoPtr(v *GetInstancePoolPoolInfoArgs) GetInstancePoolPoolInfoPtrInput { - return (*getInstancePoolPoolInfoPtrType)(v) +func GetClusterClusterInfoInitScriptS3Ptr(v *GetClusterClusterInfoInitScriptS3Args) GetClusterClusterInfoInitScriptS3PtrInput { + return (*getClusterClusterInfoInitScriptS3PtrType)(v) } -func (*getInstancePoolPoolInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfo)(nil)).Elem() +func (*getClusterClusterInfoInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptS3)(nil)).Elem() } -func (i *getInstancePoolPoolInfoPtrType) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { - return i.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoInitScriptS3PtrType) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { + return i.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoPtrType) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPtrOutput) +func (i *getClusterClusterInfoInitScriptS3PtrType) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3PtrOutput) } -type GetInstancePoolPoolInfoOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptS3Output struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfo)(nil)).Elem() +func (GetClusterClusterInfoInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptS3)(nil)).Elem() } -func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput { +func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output { return o } -func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoOutput { +func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3Output { return o } -func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { - return o.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { + return o.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfo { +func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptS3) *GetClusterClusterInfoInitScriptS3 { return &v - }).(GetInstancePoolPoolInfoPtrOutput) -} - -func (o GetInstancePoolPoolInfoOutput) AwsAttributes() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAwsAttributes { return v.AwsAttributes }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) -} - -func (o GetInstancePoolPoolInfoOutput) AzureAttributes() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAzureAttributes { return v.AzureAttributes }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) -} - -func (o GetInstancePoolPoolInfoOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) -} - -func (o GetInstancePoolPoolInfoOutput) DefaultTags() pulumi.MapOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) map[string]interface{} { return v.DefaultTags }).(pulumi.MapOutput) -} - -func (o GetInstancePoolPoolInfoOutput) DiskSpec() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoDiskSpec { return v.DiskSpec }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) -} - -func (o GetInstancePoolPoolInfoOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) -} - -func (o GetInstancePoolPoolInfoOutput) GcpAttributes() GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoGcpAttributes { return v.GcpAttributes }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) -} - -func (o GetInstancePoolPoolInfoOutput) IdleInstanceAutoterminationMinutes() pulumi.IntOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) int { return v.IdleInstanceAutoterminationMinutes }).(pulumi.IntOutput) -} - -func (o GetInstancePoolPoolInfoOutput) InstancePoolFleetAttributes() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoInstancePoolFleetAttribute { - return v.InstancePoolFleetAttributes - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) -} - -func (o GetInstancePoolPoolInfoOutput) InstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) string { return v.InstancePoolId }).(pulumi.StringOutput) -} - -func (o GetInstancePoolPoolInfoOutput) InstancePoolName() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) string { return v.InstancePoolName }).(pulumi.StringOutput) + }).(GetClusterClusterInfoInitScriptS3PtrOutput) } -func (o GetInstancePoolPoolInfoOutput) MaxCapacity() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *int { return v.MaxCapacity }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoOutput) MinIdleInstances() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *int { return v.MinIdleInstances }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetInstancePoolPoolInfoOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o GetInstancePoolPoolInfoOutput) PreloadedDockerImages() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoPreloadedDockerImage { - return v.PreloadedDockerImages - }).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) +func (o GetClusterClusterInfoInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoOutput) PreloadedSparkVersions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) []string { return v.PreloadedSparkVersions }).(pulumi.StringArrayOutput) +func (o GetClusterClusterInfoInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *string { return v.State }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoOutput) Stats() GetInstancePoolPoolInfoStatsPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoStats { return v.Stats }).(GetInstancePoolPoolInfoStatsPtrOutput) +func (o GetClusterClusterInfoInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptS3PtrOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfo)(nil)).Elem() +func (GetClusterClusterInfoInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptS3)(nil)).Elem() } -func (o GetInstancePoolPoolInfoPtrOutput) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { return o } -func (o GetInstancePoolPoolInfoPtrOutput) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { return o } -func (o GetInstancePoolPoolInfoPtrOutput) Elem() GetInstancePoolPoolInfoOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) GetInstancePoolPoolInfo { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) Elem() GetClusterClusterInfoInitScriptS3Output { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) GetClusterClusterInfoInitScriptS3 { if v != nil { return *v } - var ret GetInstancePoolPoolInfo + var ret GetClusterClusterInfoInitScriptS3 return ret - }).(GetInstancePoolPoolInfoOutput) + }).(GetClusterClusterInfoInitScriptS3Output) } -func (o GetInstancePoolPoolInfoPtrOutput) AwsAttributes() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAwsAttributes { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { if v == nil { return nil } - return v.AwsAttributes - }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoPtrOutput) AzureAttributes() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAzureAttributes { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { if v == nil { return nil } - return v.AzureAttributes - }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoPtrOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) map[string]interface{} { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *bool { if v == nil { return nil } - return v.CustomTags - }).(pulumi.MapOutput) + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -func (o GetInstancePoolPoolInfoPtrOutput) DefaultTags() pulumi.MapOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) map[string]interface{} { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { if v == nil { return nil } - return v.DefaultTags - }).(pulumi.MapOutput) + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoPtrOutput) DiskSpec() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoDiskSpec { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { if v == nil { return nil } - return v.DiskSpec - }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *bool { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { if v == nil { return nil } - return v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoPtrOutput) GcpAttributes() GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoGcpAttributes { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { if v == nil { return nil } - return v.GcpAttributes - }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) + return v.Region + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoPtrOutput) IdleInstanceAutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *int { - if v == nil { - return nil - } - return &v.IdleInstanceAutoterminationMinutes - }).(pulumi.IntPtrOutput) +type GetClusterClusterInfoInitScriptVolumes struct { + Destination string `pulumi:"destination"` } -func (o GetInstancePoolPoolInfoPtrOutput) InstancePoolFleetAttributes() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoInstancePoolFleetAttribute { - if v == nil { - return nil - } - return v.InstancePoolFleetAttributes - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) +// GetClusterClusterInfoInitScriptVolumesInput is an input type that accepts GetClusterClusterInfoInitScriptVolumesArgs and GetClusterClusterInfoInitScriptVolumesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptVolumesInput` via: +// +// GetClusterClusterInfoInitScriptVolumesArgs{...} +type GetClusterClusterInfoInitScriptVolumesInput interface { + pulumi.Input + + ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput + ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(context.Context) GetClusterClusterInfoInitScriptVolumesOutput } -func (o GetInstancePoolPoolInfoPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { - if v == nil { - return nil - } - return &v.InstancePoolId - }).(pulumi.StringPtrOutput) +type GetClusterClusterInfoInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (o GetInstancePoolPoolInfoPtrOutput) InstancePoolName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { - if v == nil { - return nil - } - return &v.InstancePoolName - }).(pulumi.StringPtrOutput) +func (GetClusterClusterInfoInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() } -func (o GetInstancePoolPoolInfoPtrOutput) MaxCapacity() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *int { - if v == nil { - return nil - } - return v.MaxCapacity - }).(pulumi.IntPtrOutput) +func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput { + return i.ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoPtrOutput) MinIdleInstances() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *int { - if v == nil { - return nil - } - return v.MinIdleInstances - }).(pulumi.IntPtrOutput) +func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesOutput) } -func (o GetInstancePoolPoolInfoPtrOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { - if v == nil { - return nil - } - return v.NodeTypeId - }).(pulumi.StringPtrOutput) +func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { + return i.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoPtrOutput) PreloadedDockerImages() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoPreloadedDockerImage { - if v == nil { - return nil - } - return v.PreloadedDockerImages - }).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) +func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesOutput).ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx) } -func (o GetInstancePoolPoolInfoPtrOutput) PreloadedSparkVersions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) []string { - if v == nil { - return nil - } - return v.PreloadedSparkVersions - }).(pulumi.StringArrayOutput) +// 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 GetInstancePoolPoolInfoPtrOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { - if v == nil { - return nil +type getClusterClusterInfoInitScriptVolumesPtrType GetClusterClusterInfoInitScriptVolumesArgs + +func GetClusterClusterInfoInitScriptVolumesPtr(v *GetClusterClusterInfoInitScriptVolumesArgs) GetClusterClusterInfoInitScriptVolumesPtrInput { + return (*getClusterClusterInfoInitScriptVolumesPtrType)(v) +} + +func (*getClusterClusterInfoInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() +} + +func (i *getClusterClusterInfoInitScriptVolumesPtrType) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { + return i.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoInitScriptVolumesPtrType) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesPtrOutput) +} + +type GetClusterClusterInfoInitScriptVolumesOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() +} + +func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput { + return o +} + +func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesOutput { + return o +} + +func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { + return o.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptVolumes) *GetClusterClusterInfoInitScriptVolumes { + return &v + }).(GetClusterClusterInfoInitScriptVolumesPtrOutput) +} + +func (o GetClusterClusterInfoInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +} + +type GetClusterClusterInfoInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() +} + +func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { + return o +} + +func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { + return o +} + +func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) Elem() GetClusterClusterInfoInitScriptVolumesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptVolumes) GetClusterClusterInfoInitScriptVolumes { + if v != nil { + return *v } - return v.State - }).(pulumi.StringPtrOutput) + var ret GetClusterClusterInfoInitScriptVolumes + return ret + }).(GetClusterClusterInfoInitScriptVolumesOutput) } -func (o GetInstancePoolPoolInfoPtrOutput) Stats() GetInstancePoolPoolInfoStatsPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoStats { +func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptVolumes) *string { if v == nil { return nil } - return v.Stats - }).(GetInstancePoolPoolInfoStatsPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoAwsAttributes struct { - Availability *string `pulumi:"availability"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - ZoneId string `pulumi:"zoneId"` +type GetClusterClusterInfoInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -// GetInstancePoolPoolInfoAwsAttributesInput is an input type that accepts GetInstancePoolPoolInfoAwsAttributesArgs and GetInstancePoolPoolInfoAwsAttributesOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoAwsAttributesInput` via: +// GetClusterClusterInfoInitScriptWorkspaceInput is an input type that accepts GetClusterClusterInfoInitScriptWorkspaceArgs and GetClusterClusterInfoInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptWorkspaceInput` via: // -// GetInstancePoolPoolInfoAwsAttributesArgs{...} -type GetInstancePoolPoolInfoAwsAttributesInput interface { +// GetClusterClusterInfoInitScriptWorkspaceArgs{...} +type GetClusterClusterInfoInitScriptWorkspaceInput interface { pulumi.Input - ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput - ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoAwsAttributesOutput + ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput + ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput } -type GetInstancePoolPoolInfoAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringInput `pulumi:"zoneId"` +type GetClusterClusterInfoInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetInstancePoolPoolInfoAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +func (GetClusterClusterInfoInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() } -func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput { - return i.ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput { + return i.ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesOutput) +func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspaceOutput) } -func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return i.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesOutput).ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspaceOutput).ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoAwsAttributesPtrInput is an input type that accepts GetInstancePoolPoolInfoAwsAttributesArgs, GetInstancePoolPoolInfoAwsAttributesPtr and GetInstancePoolPoolInfoAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoAwsAttributesPtrInput` via: +// GetClusterClusterInfoInitScriptWorkspacePtrInput is an input type that accepts GetClusterClusterInfoInitScriptWorkspaceArgs, GetClusterClusterInfoInitScriptWorkspacePtr and GetClusterClusterInfoInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptWorkspacePtrInput` via: // -// GetInstancePoolPoolInfoAwsAttributesArgs{...} +// GetClusterClusterInfoInitScriptWorkspaceArgs{...} // // or: // // nil -type GetInstancePoolPoolInfoAwsAttributesPtrInput interface { +type GetClusterClusterInfoInitScriptWorkspacePtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput - ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput + ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput + ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput } -type getInstancePoolPoolInfoAwsAttributesPtrType GetInstancePoolPoolInfoAwsAttributesArgs +type getClusterClusterInfoInitScriptWorkspacePtrType GetClusterClusterInfoInitScriptWorkspaceArgs -func GetInstancePoolPoolInfoAwsAttributesPtr(v *GetInstancePoolPoolInfoAwsAttributesArgs) GetInstancePoolPoolInfoAwsAttributesPtrInput { - return (*getInstancePoolPoolInfoAwsAttributesPtrType)(v) +func GetClusterClusterInfoInitScriptWorkspacePtr(v *GetClusterClusterInfoInitScriptWorkspaceArgs) GetClusterClusterInfoInitScriptWorkspacePtrInput { + return (*getClusterClusterInfoInitScriptWorkspacePtrType)(v) } -func (*getInstancePoolPoolInfoAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +func (*getClusterClusterInfoInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() } -func (i *getInstancePoolPoolInfoAwsAttributesPtrType) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoInitScriptWorkspacePtrType) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return i.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoAwsAttributesPtrType) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) +func (i *getClusterClusterInfoInitScriptWorkspacePtrType) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) } -type GetInstancePoolPoolInfoAwsAttributesOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptWorkspaceOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +func (GetClusterClusterInfoInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput { +func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput { return o } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesOutput { +func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput { return o } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return o.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoAwsAttributes) *GetInstancePoolPoolInfoAwsAttributes { +func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptWorkspace) *GetClusterClusterInfoInitScriptWorkspace { return &v - }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) -} - -func (o GetInstancePoolPoolInfoAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetInstancePoolPoolInfoAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) + }).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) ZoneId() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) string { return v.ZoneId }).(pulumi.StringOutput) +func (o GetClusterClusterInfoInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -type GetInstancePoolPoolInfoAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +func (GetClusterClusterInfoInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() } -func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { +func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { return o } -func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { +func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { return o } -func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) Elem() GetInstancePoolPoolInfoAwsAttributesOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) GetInstancePoolPoolInfoAwsAttributes { +func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) Elem() GetClusterClusterInfoInitScriptWorkspaceOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptWorkspace) GetClusterClusterInfoInitScriptWorkspace { if v != nil { return *v } - var ret GetInstancePoolPoolInfoAwsAttributes + var ret GetClusterClusterInfoInitScriptWorkspace return ret - }).(GetInstancePoolPoolInfoAwsAttributesOutput) -} - -func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) *int { - if v == nil { - return nil - } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) + }).(GetClusterClusterInfoInitScriptWorkspaceOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) *string { +func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptWorkspace) *string { if v == nil { return nil } - return &v.ZoneId + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoAzureAttributes struct { - Availability *string `pulumi:"availability"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type GetClusterClusterInfoTerminationReason struct { + Code *string `pulumi:"code"` + Parameters map[string]interface{} `pulumi:"parameters"` + Type *string `pulumi:"type"` } -// GetInstancePoolPoolInfoAzureAttributesInput is an input type that accepts GetInstancePoolPoolInfoAzureAttributesArgs and GetInstancePoolPoolInfoAzureAttributesOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoAzureAttributesInput` via: +// GetClusterClusterInfoTerminationReasonInput is an input type that accepts GetClusterClusterInfoTerminationReasonArgs and GetClusterClusterInfoTerminationReasonOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoTerminationReasonInput` via: // -// GetInstancePoolPoolInfoAzureAttributesArgs{...} -type GetInstancePoolPoolInfoAzureAttributesInput interface { +// GetClusterClusterInfoTerminationReasonArgs{...} +type GetClusterClusterInfoTerminationReasonInput interface { pulumi.Input - ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput - ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoAzureAttributesOutput + ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput + ToGetClusterClusterInfoTerminationReasonOutputWithContext(context.Context) GetClusterClusterInfoTerminationReasonOutput } -type GetInstancePoolPoolInfoAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type GetClusterClusterInfoTerminationReasonArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Parameters pulumi.MapInput `pulumi:"parameters"` + Type pulumi.StringPtrInput `pulumi:"type"` } -func (GetInstancePoolPoolInfoAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +func (GetClusterClusterInfoTerminationReasonArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoTerminationReason)(nil)).Elem() } -func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput { - return i.ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(context.Background()) +func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput { + return i.ToGetClusterClusterInfoTerminationReasonOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesOutput) +func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonOutput) } -func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { + return i.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesOutput).ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonOutput).ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoAzureAttributesPtrInput is an input type that accepts GetInstancePoolPoolInfoAzureAttributesArgs, GetInstancePoolPoolInfoAzureAttributesPtr and GetInstancePoolPoolInfoAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoAzureAttributesPtrInput` via: +// GetClusterClusterInfoTerminationReasonPtrInput is an input type that accepts GetClusterClusterInfoTerminationReasonArgs, GetClusterClusterInfoTerminationReasonPtr and GetClusterClusterInfoTerminationReasonPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoTerminationReasonPtrInput` via: // -// GetInstancePoolPoolInfoAzureAttributesArgs{...} +// GetClusterClusterInfoTerminationReasonArgs{...} // // or: // // nil -type GetInstancePoolPoolInfoAzureAttributesPtrInput interface { +type GetClusterClusterInfoTerminationReasonPtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput - ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput + ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput + ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Context) GetClusterClusterInfoTerminationReasonPtrOutput } -type getInstancePoolPoolInfoAzureAttributesPtrType GetInstancePoolPoolInfoAzureAttributesArgs +type getClusterClusterInfoTerminationReasonPtrType GetClusterClusterInfoTerminationReasonArgs -func GetInstancePoolPoolInfoAzureAttributesPtr(v *GetInstancePoolPoolInfoAzureAttributesArgs) GetInstancePoolPoolInfoAzureAttributesPtrInput { - return (*getInstancePoolPoolInfoAzureAttributesPtrType)(v) +func GetClusterClusterInfoTerminationReasonPtr(v *GetClusterClusterInfoTerminationReasonArgs) GetClusterClusterInfoTerminationReasonPtrInput { + return (*getClusterClusterInfoTerminationReasonPtrType)(v) } -func (*getInstancePoolPoolInfoAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +func (*getClusterClusterInfoTerminationReasonPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoTerminationReason)(nil)).Elem() } -func (i *getInstancePoolPoolInfoAzureAttributesPtrType) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoTerminationReasonPtrType) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { + return i.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoAzureAttributesPtrType) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) +func (i *getClusterClusterInfoTerminationReasonPtrType) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonPtrOutput) } -type GetInstancePoolPoolInfoAzureAttributesOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoTerminationReasonOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +func (GetClusterClusterInfoTerminationReasonOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoTerminationReason)(nil)).Elem() } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput { +func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput { return o } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesOutput { +func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonOutput { return o } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return o.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { + return o.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoAzureAttributes) *GetInstancePoolPoolInfoAzureAttributes { +func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoTerminationReason) *GetClusterClusterInfoTerminationReason { return &v - }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) + }).(GetClusterClusterInfoTerminationReasonPtrOutput) } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoTerminationReasonOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) *string { return v.Code }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +func (o GetClusterClusterInfoTerminationReasonOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) map[string]interface{} { return v.Parameters }).(pulumi.MapOutput) } -type GetInstancePoolPoolInfoAzureAttributesPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoTerminationReasonOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) *string { return v.Type }).(pulumi.StringPtrOutput) +} -func (GetInstancePoolPoolInfoAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +type GetClusterClusterInfoTerminationReasonPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoTerminationReasonPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoTerminationReason)(nil)).Elem() } -func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { +func (o GetClusterClusterInfoTerminationReasonPtrOutput) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { return o } -func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { +func (o GetClusterClusterInfoTerminationReasonPtrOutput) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { return o } -func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) Elem() GetInstancePoolPoolInfoAzureAttributesOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) GetInstancePoolPoolInfoAzureAttributes { +func (o GetClusterClusterInfoTerminationReasonPtrOutput) Elem() GetClusterClusterInfoTerminationReasonOutput { + return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) GetClusterClusterInfoTerminationReason { if v != nil { return *v } - var ret GetInstancePoolPoolInfoAzureAttributes + var ret GetClusterClusterInfoTerminationReason return ret - }).(GetInstancePoolPoolInfoAzureAttributesOutput) + }).(GetClusterClusterInfoTerminationReasonOutput) } -func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) *string { +func (o GetClusterClusterInfoTerminationReasonPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) *string { if v == nil { return nil } - return v.Availability + return v.Code }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) *float64 { +func (o GetClusterClusterInfoTerminationReasonPtrOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) map[string]interface{} { if v == nil { return nil } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) + return v.Parameters + }).(pulumi.MapOutput) } -type GetInstancePoolPoolInfoDiskSpec struct { - DiskCount *int `pulumi:"diskCount"` - DiskSize *int `pulumi:"diskSize"` - DiskType *GetInstancePoolPoolInfoDiskSpecDiskType `pulumi:"diskType"` +func (o GetClusterClusterInfoTerminationReasonPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) } -// GetInstancePoolPoolInfoDiskSpecInput is an input type that accepts GetInstancePoolPoolInfoDiskSpecArgs and GetInstancePoolPoolInfoDiskSpecOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoDiskSpecInput` via: +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"` +} + +// GetCurrentMetastoreMetastoreInfoInput is an input type that accepts GetCurrentMetastoreMetastoreInfoArgs and GetCurrentMetastoreMetastoreInfoOutput values. +// You can construct a concrete instance of `GetCurrentMetastoreMetastoreInfoInput` via: // -// GetInstancePoolPoolInfoDiskSpecArgs{...} -type GetInstancePoolPoolInfoDiskSpecInput interface { +// GetCurrentMetastoreMetastoreInfoArgs{...} +type GetCurrentMetastoreMetastoreInfoInput interface { pulumi.Input - ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput - ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecOutput + ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput + ToGetCurrentMetastoreMetastoreInfoOutputWithContext(context.Context) GetCurrentMetastoreMetastoreInfoOutput } -type GetInstancePoolPoolInfoDiskSpecArgs struct { - DiskCount pulumi.IntPtrInput `pulumi:"diskCount"` - DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` - DiskType GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput `pulumi:"diskType"` +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 (GetInstancePoolPoolInfoDiskSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +func (GetCurrentMetastoreMetastoreInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCurrentMetastoreMetastoreInfo)(nil)).Elem() } -func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(context.Background()) +func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput { + return i.ToGetCurrentMetastoreMetastoreInfoOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecOutput) +func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoOutput) } -func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) +func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { + return i.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecOutput).ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx) +func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoOutput).ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoDiskSpecPtrInput is an input type that accepts GetInstancePoolPoolInfoDiskSpecArgs, GetInstancePoolPoolInfoDiskSpecPtr and GetInstancePoolPoolInfoDiskSpecPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoDiskSpecPtrInput` via: +// GetCurrentMetastoreMetastoreInfoPtrInput is an input type that accepts GetCurrentMetastoreMetastoreInfoArgs, GetCurrentMetastoreMetastoreInfoPtr and GetCurrentMetastoreMetastoreInfoPtrOutput values. +// You can construct a concrete instance of `GetCurrentMetastoreMetastoreInfoPtrInput` via: // -// GetInstancePoolPoolInfoDiskSpecArgs{...} +// GetCurrentMetastoreMetastoreInfoArgs{...} // // or: // // nil -type GetInstancePoolPoolInfoDiskSpecPtrInput interface { +type GetCurrentMetastoreMetastoreInfoPtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput - ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput + ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput + ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput } -type getInstancePoolPoolInfoDiskSpecPtrType GetInstancePoolPoolInfoDiskSpecArgs +type getCurrentMetastoreMetastoreInfoPtrType GetCurrentMetastoreMetastoreInfoArgs -func GetInstancePoolPoolInfoDiskSpecPtr(v *GetInstancePoolPoolInfoDiskSpecArgs) GetInstancePoolPoolInfoDiskSpecPtrInput { - return (*getInstancePoolPoolInfoDiskSpecPtrType)(v) +func GetCurrentMetastoreMetastoreInfoPtr(v *GetCurrentMetastoreMetastoreInfoArgs) GetCurrentMetastoreMetastoreInfoPtrInput { + return (*getCurrentMetastoreMetastoreInfoPtrType)(v) } -func (*getInstancePoolPoolInfoDiskSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +func (*getCurrentMetastoreMetastoreInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCurrentMetastoreMetastoreInfo)(nil)).Elem() } -func (i *getInstancePoolPoolInfoDiskSpecPtrType) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) +func (i *getCurrentMetastoreMetastoreInfoPtrType) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { + return i.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoDiskSpecPtrType) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecPtrOutput) +func (i *getCurrentMetastoreMetastoreInfoPtrType) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoPtrOutput) } -type GetInstancePoolPoolInfoDiskSpecOutput struct{ *pulumi.OutputState } +type GetCurrentMetastoreMetastoreInfoOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoDiskSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +func (GetCurrentMetastoreMetastoreInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCurrentMetastoreMetastoreInfo)(nil)).Elem() } -func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput { +func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput { return o } -func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecOutput { +func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoOutput { return o } -func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) +func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { + return o.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpec { +func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCurrentMetastoreMetastoreInfo) *GetCurrentMetastoreMetastoreInfo { return &v - }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) + }).(GetCurrentMetastoreMetastoreInfoPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *int { return v.DiskCount }).(pulumi.IntPtrOutput) +func (o GetCurrentMetastoreMetastoreInfoOutput) Cloud() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Cloud }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *int { return v.DiskSize }).(pulumi.IntPtrOutput) +// 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 GetInstancePoolPoolInfoDiskSpecOutput) DiskType() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpecDiskType { return v.DiskType }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) +// 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) } -type GetInstancePoolPoolInfoDiskSpecPtrOutput struct{ *pulumi.OutputState } - -func (GetInstancePoolPoolInfoDiskSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +// 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 GetInstancePoolPoolInfoDiskSpecPtrOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o +// 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 GetInstancePoolPoolInfoDiskSpecPtrOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o +// 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 GetInstancePoolPoolInfoDiskSpecPtrOutput) Elem() GetInstancePoolPoolInfoDiskSpecOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) GetInstancePoolPoolInfoDiskSpec { - if v != nil { - return *v - } - var ret GetInstancePoolPoolInfoDiskSpec - return ret - }).(GetInstancePoolPoolInfoDiskSpecOutput) +// 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 GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *int { - if v == nil { - return nil - } - return v.DiskCount - }).(pulumi.IntPtrOutput) +// 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 GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *int { - if v == nil { - return nil - } - return v.DiskSize - }).(pulumi.IntPtrOutput) +// Metastore ID. +func (o GetCurrentMetastoreMetastoreInfoOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskType() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpecDiskType { - if v == nil { - return nil - } - return v.DiskType - }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) +// Name of metastore. +func (o GetCurrentMetastoreMetastoreInfoOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Name }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoDiskSpecDiskType struct { - AzureDiskVolumeType *string `pulumi:"azureDiskVolumeType"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` +// 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) } -// 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 +// 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) } -type GetInstancePoolPoolInfoDiskSpecDiskTypeArgs struct { - AzureDiskVolumeType pulumi.StringPtrInput `pulumi:"azureDiskVolumeType"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` +// (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 (GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() +// 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 (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(context.Background()) +// ID of a storage credential used for the `storageRoot`. +func (o GetCurrentMetastoreMetastoreInfoOutput) StorageRootCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.StorageRootCredentialId }).(pulumi.StringPtrOutput) } -func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) +// Name of a storage credential used for the `storageRoot`. +func (o GetCurrentMetastoreMetastoreInfoOutput) StorageRootCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.StorageRootCredentialName }).(pulumi.StringPtrOutput) } -func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) +// Timestamp (in milliseconds) when the current metastore was updated. +func (o GetCurrentMetastoreMetastoreInfoOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) } -func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput).ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx) +// 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) } -// 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 +type GetCurrentMetastoreMetastoreInfoPtrOutput struct{ *pulumi.OutputState } - ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput - ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput +func (GetCurrentMetastoreMetastoreInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCurrentMetastoreMetastoreInfo)(nil)).Elem() } -type getInstancePoolPoolInfoDiskSpecDiskTypePtrType GetInstancePoolPoolInfoDiskSpecDiskTypeArgs +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { + return o +} -func GetInstancePoolPoolInfoDiskSpecDiskTypePtr(v *GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput { - return (*getInstancePoolPoolInfoDiskSpecDiskTypePtrType)(v) +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { + return o } -func (*getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Elem() GetCurrentMetastoreMetastoreInfoOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) GetCurrentMetastoreMetastoreInfo { + if v != nil { + return *v + } + var ret GetCurrentMetastoreMetastoreInfo + return ret + }).(GetCurrentMetastoreMetastoreInfoOutput) } -func (i *getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Cloud() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.Cloud + }).(pulumi.StringPtrOutput) } -func (i *getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) +// Timestamp (in milliseconds) when the current metastore was created. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *int { + if v == nil { + return nil + } + return v.CreatedAt + }).(pulumi.IntPtrOutput) } -type GetInstancePoolPoolInfoDiskSpecDiskTypeOutput struct{ *pulumi.OutputState } +// the ID of the identity that created the current metastore. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) +} -func (GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() +// the ID of the default data access configuration. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DefaultDataAccessConfigId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.DefaultDataAccessConfigId + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { - return o +// The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DeltaSharingOrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.DeltaSharingOrganizationName + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { - return o +// the expiration duration in seconds on recipient data access tokens. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DeltaSharingRecipientTokenLifetimeInSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *int { + if v == nil { + return nil + } + return v.DeltaSharingRecipientTokenLifetimeInSeconds + }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) +// Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DeltaSharingScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.DeltaSharingScope + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoDiskSpecDiskType) *GetInstancePoolPoolInfoDiskSpecDiskType { - return &v - }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) +// Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) GlobalMetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.GlobalMetastoreId + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpecDiskType) *string { return v.AzureDiskVolumeType }).(pulumi.StringPtrOutput) +// Metastore ID. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.MetastoreId + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpecDiskType) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +// Name of metastore. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput struct{ *pulumi.OutputState } +// 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 (GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpecDiskType)(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 (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o +// (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 (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o +// 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) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) Elem() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) GetInstancePoolPoolInfoDiskSpecDiskType { - if v != nil { - return *v +// 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 } - var ret GetInstancePoolPoolInfoDiskSpecDiskType - return ret - }).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) + return v.StorageRootCredentialId + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) *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.AzureDiskVolumeType + return v.StorageRootCredentialName }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) *string { +// Timestamp (in milliseconds) when the current metastore was updated. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *int { + if v == nil { + return nil + } + return v.UpdatedAt + }).(pulumi.IntPtrOutput) +} + +// the ID of the identity that updated the current metastore. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { if v == nil { return nil } - return v.EbsVolumeType + return v.UpdatedBy }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoGcpAttributes struct { - GcpAvailability *string `pulumi:"gcpAvailability"` - LocalSsdCount int `pulumi:"localSsdCount"` - ZoneId string `pulumi:"zoneId"` +type GetDbfsFilePathsPathList struct { + FileSize *int `pulumi:"fileSize"` + // Path on DBFS for the file to perform listing + Path *string `pulumi:"path"` } -// GetInstancePoolPoolInfoGcpAttributesInput is an input type that accepts GetInstancePoolPoolInfoGcpAttributesArgs and GetInstancePoolPoolInfoGcpAttributesOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoGcpAttributesInput` via: +// GetDbfsFilePathsPathListInput is an input type that accepts GetDbfsFilePathsPathListArgs and GetDbfsFilePathsPathListOutput values. +// You can construct a concrete instance of `GetDbfsFilePathsPathListInput` via: // -// GetInstancePoolPoolInfoGcpAttributesArgs{...} -type GetInstancePoolPoolInfoGcpAttributesInput interface { +// GetDbfsFilePathsPathListArgs{...} +type GetDbfsFilePathsPathListInput interface { pulumi.Input - ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput - ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoGcpAttributesOutput -} - -type GetInstancePoolPoolInfoGcpAttributesArgs struct { - GcpAvailability pulumi.StringPtrInput `pulumi:"gcpAvailability"` - LocalSsdCount pulumi.IntInput `pulumi:"localSsdCount"` - ZoneId pulumi.StringInput `pulumi:"zoneId"` -} - -func (GetInstancePoolPoolInfoGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() + ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput + ToGetDbfsFilePathsPathListOutputWithContext(context.Context) GetDbfsFilePathsPathListOutput } -func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput { - return i.ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(context.Background()) +type GetDbfsFilePathsPathListArgs struct { + FileSize pulumi.IntPtrInput `pulumi:"fileSize"` + // Path on DBFS for the file to perform listing + Path pulumi.StringPtrInput `pulumi:"path"` } -func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesOutput) +func (GetDbfsFilePathsPathListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbfsFilePathsPathList)(nil)).Elem() } -func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) +func (i GetDbfsFilePathsPathListArgs) ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput { + return i.ToGetDbfsFilePathsPathListOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesOutput).ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx) +func (i GetDbfsFilePathsPathListArgs) ToGetDbfsFilePathsPathListOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbfsFilePathsPathListOutput) } -// GetInstancePoolPoolInfoGcpAttributesPtrInput is an input type that accepts GetInstancePoolPoolInfoGcpAttributesArgs, GetInstancePoolPoolInfoGcpAttributesPtr and GetInstancePoolPoolInfoGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoGcpAttributesPtrInput` via: -// -// GetInstancePoolPoolInfoGcpAttributesArgs{...} -// -// or: +// GetDbfsFilePathsPathListArrayInput is an input type that accepts GetDbfsFilePathsPathListArray and GetDbfsFilePathsPathListArrayOutput values. +// You can construct a concrete instance of `GetDbfsFilePathsPathListArrayInput` via: // -// nil -type GetInstancePoolPoolInfoGcpAttributesPtrInput interface { +// GetDbfsFilePathsPathListArray{ GetDbfsFilePathsPathListArgs{...} } +type GetDbfsFilePathsPathListArrayInput interface { pulumi.Input - ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput - ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput + ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput + ToGetDbfsFilePathsPathListArrayOutputWithContext(context.Context) GetDbfsFilePathsPathListArrayOutput } -type getInstancePoolPoolInfoGcpAttributesPtrType GetInstancePoolPoolInfoGcpAttributesArgs - -func GetInstancePoolPoolInfoGcpAttributesPtr(v *GetInstancePoolPoolInfoGcpAttributesArgs) GetInstancePoolPoolInfoGcpAttributesPtrInput { - return (*getInstancePoolPoolInfoGcpAttributesPtrType)(v) -} +type GetDbfsFilePathsPathListArray []GetDbfsFilePathsPathListInput -func (*getInstancePoolPoolInfoGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() +func (GetDbfsFilePathsPathListArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbfsFilePathsPathList)(nil)).Elem() } -func (i *getInstancePoolPoolInfoGcpAttributesPtrType) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) +func (i GetDbfsFilePathsPathListArray) ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput { + return i.ToGetDbfsFilePathsPathListArrayOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoGcpAttributesPtrType) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) +func (i GetDbfsFilePathsPathListArray) ToGetDbfsFilePathsPathListArrayOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbfsFilePathsPathListArrayOutput) } -type GetInstancePoolPoolInfoGcpAttributesOutput struct{ *pulumi.OutputState } +type GetDbfsFilePathsPathListOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() +func (GetDbfsFilePathsPathListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbfsFilePathsPathList)(nil)).Elem() } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput { +func (o GetDbfsFilePathsPathListOutput) ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput { return o } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesOutput { +func (o GetDbfsFilePathsPathListOutput) ToGetDbfsFilePathsPathListOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListOutput { return o } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return o.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) -} - -func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoGcpAttributes) *GetInstancePoolPoolInfoGcpAttributes { - return &v - }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) -} - -func (o GetInstancePoolPoolInfoGcpAttributesOutput) GcpAvailability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) *string { return v.GcpAvailability }).(pulumi.StringPtrOutput) -} - -func (o GetInstancePoolPoolInfoGcpAttributesOutput) LocalSsdCount() pulumi.IntOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) int { return v.LocalSsdCount }).(pulumi.IntOutput) +func (o GetDbfsFilePathsPathListOutput) FileSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetDbfsFilePathsPathList) *int { return v.FileSize }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) ZoneId() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) string { return v.ZoneId }).(pulumi.StringOutput) +// Path on DBFS for the file to perform listing +func (o GetDbfsFilePathsPathListOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDbfsFilePathsPathList) *string { return v.Path }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type GetDbfsFilePathsPathListArrayOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() +func (GetDbfsFilePathsPathListArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbfsFilePathsPathList)(nil)).Elem() } -func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { +func (o GetDbfsFilePathsPathListArrayOutput) ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput { return o } -func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { +func (o GetDbfsFilePathsPathListArrayOutput) ToGetDbfsFilePathsPathListArrayOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListArrayOutput { 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 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 GetInstancePoolPoolInfoGcpAttributesPtrOutput) GcpAvailability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) *string { - if v == nil { - return nil - } - return v.GcpAvailability - }).(pulumi.StringPtrOutput) +type GetExternalLocationExternalLocationInfo struct { + // The ARN of the s3 access point to use with the external location (AWS). + AccessPoint *string `pulumi:"accessPoint"` + BrowseOnly *bool `pulumi:"browseOnly"` + // User-supplied comment. + Comment *string `pulumi:"comment"` + // Time at which this catalog was created, in epoch milliseconds. + CreatedAt *int `pulumi:"createdAt"` + // Username of catalog creator. + CreatedBy *string `pulumi:"createdBy"` + // Unique ID of storage credential. + CredentialId *string `pulumi:"credentialId"` + // Name of the StorageCredential to use with this external location. + CredentialName *string `pulumi:"credentialName"` + // The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). + EncryptionDetails *GetExternalLocationExternalLocationInfoEncryptionDetails `pulumi:"encryptionDetails"` + // Unique identifier of the parent Metastore. + MetastoreId *string `pulumi:"metastoreId"` + // The name of the external location + Name *string `pulumi:"name"` + // Username/groupname/sp applicationId of the external location owner. + Owner *string `pulumi:"owner"` + // Indicates whether the external location is read-only. + ReadOnly *bool `pulumi:"readOnly"` + // Time at which this catalog was last modified, in epoch milliseconds. + UpdatedAt *int `pulumi:"updatedAt"` + // Username of user who last modified catalog. + UpdatedBy *string `pulumi:"updatedBy"` + // Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). + Url *string `pulumi:"url"` } -func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) *int { - if v == nil { - return nil - } - return &v.LocalSsdCount - }).(pulumi.IntPtrOutput) -} +// GetExternalLocationExternalLocationInfoInput is an input type that accepts GetExternalLocationExternalLocationInfoArgs and GetExternalLocationExternalLocationInfoOutput values. +// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoInput` via: +// +// GetExternalLocationExternalLocationInfoArgs{...} +type GetExternalLocationExternalLocationInfoInput interface { + pulumi.Input -func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) *string { - if v == nil { - return nil - } - return &v.ZoneId - }).(pulumi.StringPtrOutput) + ToGetExternalLocationExternalLocationInfoOutput() GetExternalLocationExternalLocationInfoOutput + ToGetExternalLocationExternalLocationInfoOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoOutput } -type GetInstancePoolPoolInfoInstancePoolFleetAttribute struct { - FleetOnDemandOption *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption `pulumi:"fleetOnDemandOption"` - FleetSpotOption *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption `pulumi:"fleetSpotOption"` - LaunchTemplateOverrides []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride `pulumi:"launchTemplateOverrides"` +type GetExternalLocationExternalLocationInfoArgs struct { + // The ARN of the s3 access point to use with the external location (AWS). + AccessPoint pulumi.StringPtrInput `pulumi:"accessPoint"` + BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` + // User-supplied comment. + Comment pulumi.StringPtrInput `pulumi:"comment"` + // Time at which this catalog was created, in epoch milliseconds. + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + // Username of catalog creator. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // Unique ID of storage credential. + CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` + // Name of the StorageCredential to use with this external location. + CredentialName pulumi.StringPtrInput `pulumi:"credentialName"` + // The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). + EncryptionDetails GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput `pulumi:"encryptionDetails"` + // Unique identifier of the parent Metastore. + MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` + // The name of the external location + Name pulumi.StringPtrInput `pulumi:"name"` + // Username/groupname/sp applicationId of the external location owner. + Owner pulumi.StringPtrInput `pulumi:"owner"` + // Indicates whether the external location is read-only. + ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` + // Time at which this catalog was last modified, in epoch milliseconds. + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + // Username of user who last modified catalog. + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` + // Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). + Url pulumi.StringPtrInput `pulumi:"url"` } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeInput` via: -// -// GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs{...} -type GetInstancePoolPoolInfoInstancePoolFleetAttributeInput interface { - pulumi.Input - - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput +func (GetExternalLocationExternalLocationInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalLocationExternalLocationInfo)(nil)).Elem() } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs struct { - FleetOnDemandOption GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput `pulumi:"fleetOnDemandOption"` - FleetSpotOption GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput `pulumi:"fleetSpotOption"` - LaunchTemplateOverrides GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput `pulumi:"launchTemplateOverrides"` +func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoOutput() GetExternalLocationExternalLocationInfoOutput { + return i.ToGetExternalLocationExternalLocationInfoOutputWithContext(context.Background()) } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() +func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoOutput) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(context.Background()) +func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { + return i.ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) +func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoOutput).ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeArray and GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput` via: +// GetExternalLocationExternalLocationInfoPtrInput is an input type that accepts GetExternalLocationExternalLocationInfoArgs, GetExternalLocationExternalLocationInfoPtr and GetExternalLocationExternalLocationInfoPtrOutput values. +// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoPtrInput` via: // -// GetInstancePoolPoolInfoInstancePoolFleetAttributeArray{ GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs{...} } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput interface { +// GetExternalLocationExternalLocationInfoArgs{...} +// +// or: +// +// nil +type GetExternalLocationExternalLocationInfoPtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput + ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput + ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoPtrOutput } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeArray []GetInstancePoolPoolInfoInstancePoolFleetAttributeInput +type getExternalLocationExternalLocationInfoPtrType GetExternalLocationExternalLocationInfoArgs -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() +func GetExternalLocationExternalLocationInfoPtr(v *GetExternalLocationExternalLocationInfoArgs) GetExternalLocationExternalLocationInfoPtrInput { + return (*getExternalLocationExternalLocationInfoPtrType)(v) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(context.Background()) +func (*getExternalLocationExternalLocationInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetExternalLocationExternalLocationInfo)(nil)).Elem() } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) +func (i *getExternalLocationExternalLocationInfoPtrType) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { + return i.ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Background()) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput struct{ *pulumi.OutputState } +func (i *getExternalLocationExternalLocationInfoPtrType) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoPtrOutput) +} -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() +type GetExternalLocationExternalLocationInfoOutput struct{ *pulumi.OutputState } + +func (GetExternalLocationExternalLocationInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalLocationExternalLocationInfo)(nil)).Elem() } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { +func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoOutput() GetExternalLocationExternalLocationInfoOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { +func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) FleetOnDemandOption() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { - return v.FleetOnDemandOption - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) +func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { + return o.ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) FleetSpotOption() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { - return v.FleetSpotOption - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) +func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetExternalLocationExternalLocationInfo) *GetExternalLocationExternalLocationInfo { + return &v + }).(GetExternalLocationExternalLocationInfoPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) LaunchTemplateOverrides() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride { - return v.LaunchTemplateOverrides - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) +// The ARN of the s3 access point to use with the external location (AWS). +func (o GetExternalLocationExternalLocationInfoOutput) AccessPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.AccessPoint }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput struct{ *pulumi.OutputState } - -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() +func (o GetExternalLocationExternalLocationInfoOutput) BrowseOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { - return o +// User-supplied comment. +func (o GetExternalLocationExternalLocationInfoOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { - return o +// Time at which this catalog was created, in epoch milliseconds. +func (o GetExternalLocationExternalLocationInfoOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) Index(i pulumi.IntInput) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancePoolPoolInfoInstancePoolFleetAttribute { - return vs[0].([]GetInstancePoolPoolInfoInstancePoolFleetAttribute)[vs[1].(int)] - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) +// Username of catalog creator. +func (o GetExternalLocationExternalLocationInfoOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption struct { - AllocationStrategy string `pulumi:"allocationStrategy"` - InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"` +// Unique ID of storage credential. +func (o GetExternalLocationExternalLocationInfoOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.CredentialId }).(pulumi.StringPtrOutput) } -// 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 +// Name of the StorageCredential to use with this external location. +func (o GetExternalLocationExternalLocationInfoOutput) CredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.CredentialName }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs struct { - AllocationStrategy pulumi.StringInput `pulumi:"allocationStrategy"` - InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"` +// The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). +func (o GetExternalLocationExternalLocationInfoOutput) EncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *GetExternalLocationExternalLocationInfoEncryptionDetails { + return v.EncryptionDetails + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() +// Unique identifier of the parent Metastore. +func (o GetExternalLocationExternalLocationInfoOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(context.Background()) +// The name of the external location +func (o GetExternalLocationExternalLocationInfoOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) +// Username/groupname/sp applicationId of the external location owner. +func (o GetExternalLocationExternalLocationInfoOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) +// Indicates whether the external location is read-only. +func (o GetExternalLocationExternalLocationInfoOutput) ReadOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *bool { return v.ReadOnly }).(pulumi.BoolPtrOutput) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput).ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx) +// Time at which this catalog was last modified, in epoch milliseconds. +func (o GetExternalLocationExternalLocationInfoOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) } -// 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 +// Username of user who last modified catalog. +func (o GetExternalLocationExternalLocationInfoOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +} - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput +// Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). +func (o GetExternalLocationExternalLocationInfoOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Url }).(pulumi.StringPtrOutput) } -type getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs +type GetExternalLocationExternalLocationInfoPtrOutput struct{ *pulumi.OutputState } -func GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtr(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput { - return (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType)(v) +func (GetExternalLocationExternalLocationInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetExternalLocationExternalLocationInfo)(nil)).Elem() } -func (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() +func (o GetExternalLocationExternalLocationInfoPtrOutput) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { + return o } -func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) +func (o GetExternalLocationExternalLocationInfoPtrOutput) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { + return o } -func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) +func (o GetExternalLocationExternalLocationInfoPtrOutput) Elem() GetExternalLocationExternalLocationInfoOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) GetExternalLocationExternalLocationInfo { + if v != nil { + return *v + } + var ret GetExternalLocationExternalLocationInfo + return ret + }).(GetExternalLocationExternalLocationInfoOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput struct{ *pulumi.OutputState } +// The ARN of the s3 access point to use with the external location (AWS). +func (o GetExternalLocationExternalLocationInfoPtrOutput) AccessPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.AccessPoint + }).(pulumi.StringPtrOutput) +} -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() +func (o GetExternalLocationExternalLocationInfoPtrOutput) BrowseOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *bool { + if v == nil { + return nil + } + return v.BrowseOnly + }).(pulumi.BoolPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { - return o +// User-supplied comment. +func (o GetExternalLocationExternalLocationInfoPtrOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.Comment + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { - return o +// Time at which this catalog was created, in epoch milliseconds. +func (o GetExternalLocationExternalLocationInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *int { + if v == nil { + return nil + } + return v.CreatedAt + }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return o.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) +// Username of catalog creator. +func (o GetExternalLocationExternalLocationInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { - return &v - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) +// Unique ID of storage credential. +func (o GetExternalLocationExternalLocationInfoPtrOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.CredentialId + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) AllocationStrategy() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) string { - return v.AllocationStrategy - }).(pulumi.StringOutput) +// Name of the StorageCredential to use with this external location. +func (o GetExternalLocationExternalLocationInfoPtrOutput) CredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.CredentialName + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *int { - return v.InstancePoolsToUseCount - }).(pulumi.IntPtrOutput) +// The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). +func (o GetExternalLocationExternalLocationInfoPtrOutput) EncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *GetExternalLocationExternalLocationInfoEncryptionDetails { + if v == nil { + return nil + } + return v.EncryptionDetails + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput struct{ *pulumi.OutputState } +// Unique identifier of the parent Metastore. +func (o GetExternalLocationExternalLocationInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.MetastoreId + }).(pulumi.StringPtrOutput) +} -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() +// The name of the external location +func (o GetExternalLocationExternalLocationInfoPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return o +// Username/groupname/sp applicationId of the external location owner. +func (o GetExternalLocationExternalLocationInfoPtrOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.Owner + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return o +// Indicates whether the external location is read-only. +func (o GetExternalLocationExternalLocationInfoPtrOutput) ReadOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *bool { + if v == nil { + return nil + } + return v.ReadOnly + }).(pulumi.BoolPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) Elem() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { - if v != nil { - return *v +// Time at which this catalog was last modified, in epoch milliseconds. +func (o GetExternalLocationExternalLocationInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *int { + if v == nil { + return nil } - var ret GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption - return ret - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) + return v.UpdatedAt + }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *string { +// Username of user who last modified catalog. +func (o GetExternalLocationExternalLocationInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { if v == nil { return nil } - return &v.AllocationStrategy + return v.UpdatedBy }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *int { +// Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). +func (o GetExternalLocationExternalLocationInfoPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { if v == nil { return nil } - return v.InstancePoolsToUseCount - }).(pulumi.IntPtrOutput) + return v.Url + }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption struct { - AllocationStrategy string `pulumi:"allocationStrategy"` - InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"` +type GetExternalLocationExternalLocationInfoEncryptionDetails struct { + SseEncryptionDetails *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails `pulumi:"sseEncryptionDetails"` } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput` via: +// GetExternalLocationExternalLocationInfoEncryptionDetailsInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsArgs and GetExternalLocationExternalLocationInfoEncryptionDetailsOutput values. +// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsInput` via: // -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs{...} -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput interface { +// GetExternalLocationExternalLocationInfoEncryptionDetailsArgs{...} +type GetExternalLocationExternalLocationInfoEncryptionDetailsInput interface { pulumi.Input - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput + ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput + ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsOutput } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs struct { - AllocationStrategy pulumi.StringInput `pulumi:"allocationStrategy"` - InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"` +type GetExternalLocationExternalLocationInfoEncryptionDetailsArgs struct { + SseEncryptionDetails GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput `pulumi:"sseEncryptionDetails"` } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +func (GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(context.Background()) +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { + return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput).ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx) +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsOutput).ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs, GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtr and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput` via: +// GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsArgs, GetExternalLocationExternalLocationInfoEncryptionDetailsPtr and GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput values. +// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput` via: // -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs{...} +// GetExternalLocationExternalLocationInfoEncryptionDetailsArgs{...} // // or: // // nil -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput interface { +type GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput + ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput + ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput } -type getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs +type getExternalLocationExternalLocationInfoEncryptionDetailsPtrType GetExternalLocationExternalLocationInfoEncryptionDetailsArgs -func GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtr(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput { - return (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType)(v) +func GetExternalLocationExternalLocationInfoEncryptionDetailsPtr(v *GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput { + return (*getExternalLocationExternalLocationInfoEncryptionDetailsPtrType)(v) } -func (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +func (*getExternalLocationExternalLocationInfoEncryptionDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() } -func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) +func (i *getExternalLocationExternalLocationInfoEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) +func (i *getExternalLocationExternalLocationInfoEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput struct{ *pulumi.OutputState } +type GetExternalLocationExternalLocationInfoEncryptionDetailsOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +func (GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return o.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return o.ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetExternalLocationExternalLocationInfoEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetails { return &v - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) -} - -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) AllocationStrategy() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) string { - return v.AllocationStrategy - }).(pulumi.StringOutput) + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *int { - return v.InstancePoolsToUseCount - }).(pulumi.IntPtrOutput) +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) SseEncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfoEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { + return v.SseEncryptionDetails + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput struct{ *pulumi.OutputState } +type GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +func (GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) Elem() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) Elem() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetails) GetExternalLocationExternalLocationInfoEncryptionDetails { if v != nil { return *v } - var ret GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption + var ret GetExternalLocationExternalLocationInfoEncryptionDetails return ret - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) -} - -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *string { - if v == nil { - return nil - } - return &v.AllocationStrategy - }).(pulumi.StringPtrOutput) + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *int { +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) SseEncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { if v == nil { return nil } - return v.InstancePoolsToUseCount - }).(pulumi.IntPtrOutput) + return v.SseEncryptionDetails + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride struct { - AvailabilityZone string `pulumi:"availabilityZone"` - InstanceType string `pulumi:"instanceType"` +type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails struct { + Algorithm *string `pulumi:"algorithm"` + AwsKmsKeyArn *string `pulumi:"awsKmsKeyArn"` } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput` via: +// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs and GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput values. +// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsInput` via: // -// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs{...} -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput interface { +// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs{...} +type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsInput interface { pulumi.Input - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput + ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput + ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs struct { - AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` - InstanceType pulumi.StringInput `pulumi:"instanceType"` +type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs struct { + Algorithm pulumi.StringPtrInput `pulumi:"algorithm"` + AwsKmsKeyArn pulumi.StringPtrInput `pulumi:"awsKmsKeyArn"` } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() +func (GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(context.Background()) +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { + return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray and GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput` via: -// -// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray{ GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs{...} } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput interface { - pulumi.Input - - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput - -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput).ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(context.Background()) -} +// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs, GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtr and GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput values. +// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput` via: +// +// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs{...} +// +// or: +// +// nil +type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput interface { + pulumi.Input -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) + ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput + ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput struct{ *pulumi.OutputState } - -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() -} +type getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { - return o +func GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtr(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput { + return (*getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType)(v) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { - return o +func (*getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) AvailabilityZone() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride) string { - return v.AvailabilityZone - }).(pulumi.StringOutput) +func (i *getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) InstanceType() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride) string { - return v.InstanceType - }).(pulumi.StringOutput) +func (i *getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput struct{ *pulumi.OutputState } +type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() +func (GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) Index(i pulumi.IntInput) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride { - return vs[0].([]GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)[vs[1].(int)] - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) -} - -type GetInstancePoolPoolInfoPreloadedDockerImage struct { - BasicAuth *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` -} - -// GetInstancePoolPoolInfoPreloadedDockerImageInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageArgs and GetInstancePoolPoolInfoPreloadedDockerImageOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageInput` via: -// -// GetInstancePoolPoolInfoPreloadedDockerImageArgs{...} -type GetInstancePoolPoolInfoPreloadedDockerImageInput interface { - pulumi.Input - - ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput - ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput -} - -type GetInstancePoolPoolInfoPreloadedDockerImageArgs struct { - BasicAuth GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` -} - -func (GetInstancePoolPoolInfoPreloadedDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() -} - -func (i GetInstancePoolPoolInfoPreloadedDockerImageArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput { - return i.ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(context.Background()) -} - -func (i GetInstancePoolPoolInfoPreloadedDockerImageArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageOutput) -} - -// GetInstancePoolPoolInfoPreloadedDockerImageArrayInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageArray and GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageArrayInput` via: -// -// GetInstancePoolPoolInfoPreloadedDockerImageArray{ GetInstancePoolPoolInfoPreloadedDockerImageArgs{...} } -type GetInstancePoolPoolInfoPreloadedDockerImageArrayInput interface { - pulumi.Input - - ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutput() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput - ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) } -type GetInstancePoolPoolInfoPreloadedDockerImageArray []GetInstancePoolPoolInfoPreloadedDockerImageInput - -func (GetInstancePoolPoolInfoPreloadedDockerImageArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { + return &v + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageArray) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutput() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { - return i.ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(context.Background()) +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) Algorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { + return v.Algorithm + }).(pulumi.StringPtrOutput) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageArray) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) AwsKmsKeyArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { + return v.AwsKmsKeyArn + }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoPreloadedDockerImageOutput struct{ *pulumi.OutputState } +type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoPreloadedDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() +func (GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() } -func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput { +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput { +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { 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 GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) Elem() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { + if v != nil { + return *v + } + var ret GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails + return ret + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { - return o +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) Algorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { + if v == nil { + return nil + } + return v.Algorithm + }).(pulumi.StringPtrOutput) } -func (o 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 GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) AwsKmsKeyArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { + if v == nil { + return nil + } + return v.AwsKmsKeyArn + }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +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"` } -// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs and GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput` via: +// GetInstancePoolPoolInfoInput is an input type that accepts GetInstancePoolPoolInfoArgs and GetInstancePoolPoolInfoOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInput` via: // -// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs{...} -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput interface { +// GetInstancePoolPoolInfoArgs{...} +type GetInstancePoolPoolInfoInput interface { pulumi.Input - ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput - ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput + ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput + ToGetInstancePoolPoolInfoOutputWithContext(context.Context) GetInstancePoolPoolInfoOutput } -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +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 (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() + +func (GetInstancePoolPoolInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfo)(nil)).Elem() } -func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { - return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput { + return i.ToGetInstancePoolPoolInfoOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) +func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoOutput) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { + return i.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput).ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoOutput).ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs, GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtr and GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput` via: +// GetInstancePoolPoolInfoPtrInput is an input type that accepts GetInstancePoolPoolInfoArgs, GetInstancePoolPoolInfoPtr and GetInstancePoolPoolInfoPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoPtrInput` via: // -// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs{...} +// GetInstancePoolPoolInfoArgs{...} // // or: // // nil -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput interface { +type GetInstancePoolPoolInfoPtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput - ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput + ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput + ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoPtrOutput } -type getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs +type getInstancePoolPoolInfoPtrType GetInstancePoolPoolInfoArgs -func GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtr(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput { - return (*getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType)(v) +func GetInstancePoolPoolInfoPtr(v *GetInstancePoolPoolInfoArgs) GetInstancePoolPoolInfoPtrInput { + return (*getInstancePoolPoolInfoPtrType)(v) } -func (*getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() +func (*getInstancePoolPoolInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfo)(nil)).Elem() } -func (i *getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *getInstancePoolPoolInfoPtrType) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { + return i.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) +func (i *getInstancePoolPoolInfoPtrType) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPtrOutput) } -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() +func (GetInstancePoolPoolInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfo)(nil)).Elem() } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { +func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { +func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return o.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { + return o.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { +func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfo { return &v - }).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) + }).(GetInstancePoolPoolInfoPtrOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoOutput) AwsAttributes() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAwsAttributes { return v.AwsAttributes }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoOutput) AzureAttributes() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAzureAttributes { return v.AzureAttributes }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) } -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } - -func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() +func (o GetInstancePoolPoolInfoOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return o +func (o GetInstancePoolPoolInfoOutput) DefaultTags() pulumi.MapOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) map[string]interface{} { return v.DefaultTags }).(pulumi.MapOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return o +func (o GetInstancePoolPoolInfoOutput) DiskSpec() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoDiskSpec { return v.DiskSpec }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Elem() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { - if v != nil { - return *v - } - var ret GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth - return ret - }).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) +func (o GetInstancePoolPoolInfoOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Password - }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoOutput) GcpAttributes() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoGcpAttributes { return v.GcpAttributes }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Username - }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoOutput) IdleInstanceAutoterminationMinutes() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) int { return v.IdleInstanceAutoterminationMinutes }).(pulumi.IntOutput) } -type GetInstancePoolPoolInfoStats struct { - IdleCount *int `pulumi:"idleCount"` - PendingIdleCount *int `pulumi:"pendingIdleCount"` - PendingUsedCount *int `pulumi:"pendingUsedCount"` - UsedCount *int `pulumi:"usedCount"` +func (o GetInstancePoolPoolInfoOutput) InstancePoolFleetAttributes() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoInstancePoolFleetAttribute { + return v.InstancePoolFleetAttributes + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) } -// GetInstancePoolPoolInfoStatsInput is an input type that accepts GetInstancePoolPoolInfoStatsArgs and GetInstancePoolPoolInfoStatsOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoStatsInput` via: -// -// GetInstancePoolPoolInfoStatsArgs{...} -type GetInstancePoolPoolInfoStatsInput interface { - pulumi.Input - - ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput - ToGetInstancePoolPoolInfoStatsOutputWithContext(context.Context) GetInstancePoolPoolInfoStatsOutput +func (o GetInstancePoolPoolInfoOutput) InstancePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) string { return v.InstancePoolId }).(pulumi.StringOutput) } -type GetInstancePoolPoolInfoStatsArgs struct { - IdleCount pulumi.IntPtrInput `pulumi:"idleCount"` - PendingIdleCount pulumi.IntPtrInput `pulumi:"pendingIdleCount"` - PendingUsedCount pulumi.IntPtrInput `pulumi:"pendingUsedCount"` - UsedCount pulumi.IntPtrInput `pulumi:"usedCount"` +func (o GetInstancePoolPoolInfoOutput) InstancePoolName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) string { return v.InstancePoolName }).(pulumi.StringOutput) } -func (GetInstancePoolPoolInfoStatsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoStats)(nil)).Elem() +func (o GetInstancePoolPoolInfoOutput) MaxCapacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *int { return v.MaxCapacity }).(pulumi.IntPtrOutput) } -func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput { - return i.ToGetInstancePoolPoolInfoStatsOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoOutput) MinIdleInstances() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *int { return v.MinIdleInstances }).(pulumi.IntPtrOutput) } -func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsOutput) +func (o GetInstancePoolPoolInfoOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) } -func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { - return i.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoOutput) PreloadedDockerImages() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoPreloadedDockerImage { + return v.PreloadedDockerImages + }).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) } -func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsOutput).ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx) +func (o GetInstancePoolPoolInfoOutput) PreloadedSparkVersions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) []string { return v.PreloadedSparkVersions }).(pulumi.StringArrayOutput) } -// GetInstancePoolPoolInfoStatsPtrInput is an input type that accepts GetInstancePoolPoolInfoStatsArgs, GetInstancePoolPoolInfoStatsPtr and GetInstancePoolPoolInfoStatsPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoStatsPtrInput` via: -// -// GetInstancePoolPoolInfoStatsArgs{...} -// -// or: -// -// nil -type GetInstancePoolPoolInfoStatsPtrInput interface { - pulumi.Input +func (o GetInstancePoolPoolInfoOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *string { return v.State }).(pulumi.StringPtrOutput) +} - ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput - ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoStatsPtrOutput +func (o GetInstancePoolPoolInfoOutput) Stats() GetInstancePoolPoolInfoStatsPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoStats { return v.Stats }).(GetInstancePoolPoolInfoStatsPtrOutput) } -type getInstancePoolPoolInfoStatsPtrType GetInstancePoolPoolInfoStatsArgs +type GetInstancePoolPoolInfoPtrOutput struct{ *pulumi.OutputState } -func GetInstancePoolPoolInfoStatsPtr(v *GetInstancePoolPoolInfoStatsArgs) GetInstancePoolPoolInfoStatsPtrInput { - return (*getInstancePoolPoolInfoStatsPtrType)(v) +func (GetInstancePoolPoolInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfo)(nil)).Elem() } -func (*getInstancePoolPoolInfoStatsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoStats)(nil)).Elem() +func (o GetInstancePoolPoolInfoPtrOutput) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { + return o } -func (i *getInstancePoolPoolInfoStatsPtrType) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { - return i.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoPtrOutput) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { + return o } -func (i *getInstancePoolPoolInfoStatsPtrType) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsPtrOutput) +func (o GetInstancePoolPoolInfoPtrOutput) Elem() GetInstancePoolPoolInfoOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) GetInstancePoolPoolInfo { + if v != nil { + return *v + } + var ret GetInstancePoolPoolInfo + return ret + }).(GetInstancePoolPoolInfoOutput) } -type GetInstancePoolPoolInfoStatsOutput struct{ *pulumi.OutputState } - -func (GetInstancePoolPoolInfoStatsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoStats)(nil)).Elem() +func (o GetInstancePoolPoolInfoPtrOutput) AwsAttributes() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) } -func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput { - return o +func (o GetInstancePoolPoolInfoPtrOutput) AzureAttributes() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) } -func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsOutput { - return o +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 GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { - return o.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) +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 GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoStats) *GetInstancePoolPoolInfoStats { - return &v - }).(GetInstancePoolPoolInfoStatsPtrOutput) +func (o GetInstancePoolPoolInfoPtrOutput) DiskSpec() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoDiskSpec { + if v == nil { + return nil + } + return v.DiskSpec + }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) } -func (o GetInstancePoolPoolInfoStatsOutput) IdleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.IdleCount }).(pulumi.IntPtrOutput) +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 GetInstancePoolPoolInfoStatsOutput) PendingIdleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.PendingIdleCount }).(pulumi.IntPtrOutput) +func (o GetInstancePoolPoolInfoPtrOutput) GcpAttributes() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) } -func (o GetInstancePoolPoolInfoStatsOutput) PendingUsedCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.PendingUsedCount }).(pulumi.IntPtrOutput) +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 GetInstancePoolPoolInfoStatsOutput) UsedCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.UsedCount }).(pulumi.IntPtrOutput) +func (o GetInstancePoolPoolInfoPtrOutput) InstancePoolFleetAttributes() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoInstancePoolFleetAttribute { + if v == nil { + return nil + } + return v.InstancePoolFleetAttributes + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) } -type GetInstancePoolPoolInfoStatsPtrOutput struct{ *pulumi.OutputState } +func (o GetInstancePoolPoolInfoPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { + if v == nil { + return nil + } + return &v.InstancePoolId + }).(pulumi.StringPtrOutput) +} -func (GetInstancePoolPoolInfoStatsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoStats)(nil)).Elem() +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 GetInstancePoolPoolInfoStatsPtrOutput) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { - return o +func (o GetInstancePoolPoolInfoPtrOutput) MaxCapacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *int { + if v == nil { + return nil + } + return v.MaxCapacity + }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoStatsPtrOutput) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { - return o +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 GetInstancePoolPoolInfoStatsPtrOutput) Elem() GetInstancePoolPoolInfoStatsOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) GetInstancePoolPoolInfoStats { - if v != nil { - return *v +func (o GetInstancePoolPoolInfoPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { + if v == nil { + return nil } - var ret GetInstancePoolPoolInfoStats - return ret - }).(GetInstancePoolPoolInfoStatsOutput) + return v.NodeTypeId + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoStatsPtrOutput) IdleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { +func (o GetInstancePoolPoolInfoPtrOutput) PreloadedDockerImages() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoPreloadedDockerImage { if v == nil { return nil } - return v.IdleCount - }).(pulumi.IntPtrOutput) + return v.PreloadedDockerImages + }).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) } -func (o GetInstancePoolPoolInfoStatsPtrOutput) PendingIdleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { +func (o GetInstancePoolPoolInfoPtrOutput) PreloadedSparkVersions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) []string { if v == nil { return nil } - return v.PendingIdleCount - }).(pulumi.IntPtrOutput) + return v.PreloadedSparkVersions + }).(pulumi.StringArrayOutput) } -func (o GetInstancePoolPoolInfoStatsPtrOutput) PendingUsedCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { +func (o GetInstancePoolPoolInfoPtrOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { if v == nil { return nil } - return v.PendingUsedCount - }).(pulumi.IntPtrOutput) + return v.State + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoStatsPtrOutput) UsedCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { +func (o GetInstancePoolPoolInfoPtrOutput) Stats() GetInstancePoolPoolInfoStatsPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoStats { if v == nil { return nil } - return v.UsedCount - }).(pulumi.IntPtrOutput) + return v.Stats + }).(GetInstancePoolPoolInfoStatsPtrOutput) } -type GetInstanceProfilesInstanceProfile struct { - // ARN of the instance profile. - Arn string `pulumi:"arn"` - // Whether the instance profile is a meta instance profile or not. - IsMeta bool `pulumi:"isMeta"` - // Name of the instance profile. - Name string `pulumi:"name"` - // ARN of the role attached to the instance profile. - RoleArn string `pulumi:"roleArn"` +type GetInstancePoolPoolInfoAwsAttributes struct { + Availability *string `pulumi:"availability"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId string `pulumi:"zoneId"` } -// GetInstanceProfilesInstanceProfileInput is an input type that accepts GetInstanceProfilesInstanceProfileArgs and GetInstanceProfilesInstanceProfileOutput values. -// You can construct a concrete instance of `GetInstanceProfilesInstanceProfileInput` via: +// GetInstancePoolPoolInfoAwsAttributesInput is an input type that accepts GetInstancePoolPoolInfoAwsAttributesArgs and GetInstancePoolPoolInfoAwsAttributesOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoAwsAttributesInput` via: // -// GetInstanceProfilesInstanceProfileArgs{...} -type GetInstanceProfilesInstanceProfileInput interface { +// GetInstancePoolPoolInfoAwsAttributesArgs{...} +type GetInstancePoolPoolInfoAwsAttributesInput interface { pulumi.Input - ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput - ToGetInstanceProfilesInstanceProfileOutputWithContext(context.Context) GetInstanceProfilesInstanceProfileOutput + ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput + ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoAwsAttributesOutput } -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 GetInstancePoolPoolInfoAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringInput `pulumi:"zoneId"` } -func (GetInstanceProfilesInstanceProfileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstanceProfilesInstanceProfile)(nil)).Elem() +func (GetInstancePoolPoolInfoAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() } -func (i GetInstanceProfilesInstanceProfileArgs) ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput { - return i.ToGetInstanceProfilesInstanceProfileOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput { + return i.ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(context.Background()) } -func (i GetInstanceProfilesInstanceProfileArgs) ToGetInstanceProfilesInstanceProfileOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstanceProfilesInstanceProfileOutput) +func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesOutput) } -// GetInstanceProfilesInstanceProfileArrayInput is an input type that accepts GetInstanceProfilesInstanceProfileArray and GetInstanceProfilesInstanceProfileArrayOutput values. -// You can construct a concrete instance of `GetInstanceProfilesInstanceProfileArrayInput` via: +func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesOutput).ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx) +} + +// GetInstancePoolPoolInfoAwsAttributesPtrInput is an input type that accepts GetInstancePoolPoolInfoAwsAttributesArgs, GetInstancePoolPoolInfoAwsAttributesPtr and GetInstancePoolPoolInfoAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoAwsAttributesPtrInput` via: // -// GetInstanceProfilesInstanceProfileArray{ GetInstanceProfilesInstanceProfileArgs{...} } -type GetInstanceProfilesInstanceProfileArrayInput interface { +// GetInstancePoolPoolInfoAwsAttributesArgs{...} +// +// or: +// +// nil +type GetInstancePoolPoolInfoAwsAttributesPtrInput interface { pulumi.Input - ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput - ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(context.Context) GetInstanceProfilesInstanceProfileArrayOutput + ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput + ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput } -type GetInstanceProfilesInstanceProfileArray []GetInstanceProfilesInstanceProfileInput +type getInstancePoolPoolInfoAwsAttributesPtrType GetInstancePoolPoolInfoAwsAttributesArgs -func (GetInstanceProfilesInstanceProfileArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstanceProfilesInstanceProfile)(nil)).Elem() +func GetInstancePoolPoolInfoAwsAttributesPtr(v *GetInstancePoolPoolInfoAwsAttributesArgs) GetInstancePoolPoolInfoAwsAttributesPtrInput { + return (*getInstancePoolPoolInfoAwsAttributesPtrType)(v) } -func (i GetInstanceProfilesInstanceProfileArray) ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput { - return i.ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(context.Background()) +func (*getInstancePoolPoolInfoAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() } -func (i GetInstanceProfilesInstanceProfileArray) ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstanceProfilesInstanceProfileArrayOutput) +func (i *getInstancePoolPoolInfoAwsAttributesPtrType) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) } -type GetInstanceProfilesInstanceProfileOutput struct{ *pulumi.OutputState } +func (i *getInstancePoolPoolInfoAwsAttributesPtrType) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) +} -func (GetInstanceProfilesInstanceProfileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstanceProfilesInstanceProfile)(nil)).Elem() +type GetInstancePoolPoolInfoAwsAttributesOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() } -func (o GetInstanceProfilesInstanceProfileOutput) ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput { +func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput { return o } -func (o GetInstanceProfilesInstanceProfileOutput) ToGetInstanceProfilesInstanceProfileOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileOutput { +func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesOutput { 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 GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(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 GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoAwsAttributes) *GetInstancePoolPoolInfoAwsAttributes { + return &v + }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) } -// 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 GetInstancePoolPoolInfoAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -// 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 GetInstancePoolPoolInfoAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoAwsAttributesOutput) ZoneId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) string { return v.ZoneId }).(pulumi.StringOutput) +} + +type GetInstancePoolPoolInfoAwsAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o } -type GetInstanceProfilesInstanceProfileArrayOutput struct{ *pulumi.OutputState } +func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o +} -func (GetInstanceProfilesInstanceProfileArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstanceProfilesInstanceProfile)(nil)).Elem() +func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) Elem() GetInstancePoolPoolInfoAwsAttributesOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) GetInstancePoolPoolInfoAwsAttributes { + if v != nil { + return *v + } + var ret GetInstancePoolPoolInfoAwsAttributes + return ret + }).(GetInstancePoolPoolInfoAwsAttributesOutput) } -func (o GetInstanceProfilesInstanceProfileArrayOutput) ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput { - return o +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 GetInstanceProfilesInstanceProfileArrayOutput) ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileArrayOutput { - return o +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 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 GetInstancePoolPoolInfoAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) *string { + if v == nil { + return nil + } + return &v.ZoneId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettings struct { - CreatedTime *int `pulumi:"createdTime"` - CreatorUserName *string `pulumi:"creatorUserName"` - JobId *int `pulumi:"jobId"` - RunAsUserName string `pulumi:"runAsUserName"` - Settings *GetJobJobSettingsSettings `pulumi:"settings"` +type GetInstancePoolPoolInfoAzureAttributes struct { + Availability *string `pulumi:"availability"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// GetJobJobSettingsInput is an input type that accepts GetJobJobSettingsArgs and GetJobJobSettingsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsInput` via: +// GetInstancePoolPoolInfoAzureAttributesInput is an input type that accepts GetInstancePoolPoolInfoAzureAttributesArgs and GetInstancePoolPoolInfoAzureAttributesOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoAzureAttributesInput` via: // -// GetJobJobSettingsArgs{...} -type GetJobJobSettingsInput interface { +// GetInstancePoolPoolInfoAzureAttributesArgs{...} +type GetInstancePoolPoolInfoAzureAttributesInput interface { pulumi.Input - ToGetJobJobSettingsOutput() GetJobJobSettingsOutput - ToGetJobJobSettingsOutputWithContext(context.Context) GetJobJobSettingsOutput + ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput + ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoAzureAttributesOutput } -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 GetInstancePoolPoolInfoAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (GetJobJobSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettings)(nil)).Elem() +func (GetInstancePoolPoolInfoAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() } -func (i GetJobJobSettingsArgs) ToGetJobJobSettingsOutput() GetJobJobSettingsOutput { - return i.ToGetJobJobSettingsOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput { + return i.ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsArgs) ToGetJobJobSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsOutput) +func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesOutput) } -func (i GetJobJobSettingsArgs) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { - return i.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsArgs) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsOutput).ToGetJobJobSettingsPtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesOutput).ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsPtrInput is an input type that accepts GetJobJobSettingsArgs, GetJobJobSettingsPtr and GetJobJobSettingsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsPtrInput` via: +// GetInstancePoolPoolInfoAzureAttributesPtrInput is an input type that accepts GetInstancePoolPoolInfoAzureAttributesArgs, GetInstancePoolPoolInfoAzureAttributesPtr and GetInstancePoolPoolInfoAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoAzureAttributesPtrInput` via: // -// GetJobJobSettingsArgs{...} +// GetInstancePoolPoolInfoAzureAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsPtrInput interface { +type GetInstancePoolPoolInfoAzureAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput - ToGetJobJobSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsPtrOutput + ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput + ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput } -type getJobJobSettingsPtrType GetJobJobSettingsArgs +type getInstancePoolPoolInfoAzureAttributesPtrType GetInstancePoolPoolInfoAzureAttributesArgs -func GetJobJobSettingsPtr(v *GetJobJobSettingsArgs) GetJobJobSettingsPtrInput { - return (*getJobJobSettingsPtrType)(v) +func GetInstancePoolPoolInfoAzureAttributesPtr(v *GetInstancePoolPoolInfoAzureAttributesArgs) GetInstancePoolPoolInfoAzureAttributesPtrInput { + return (*getInstancePoolPoolInfoAzureAttributesPtrType)(v) } -func (*getJobJobSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettings)(nil)).Elem() +func (*getInstancePoolPoolInfoAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() } -func (i *getJobJobSettingsPtrType) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { - return i.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) +func (i *getInstancePoolPoolInfoAzureAttributesPtrType) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsPtrType) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsPtrOutput) +func (i *getInstancePoolPoolInfoAzureAttributesPtrType) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) } -type GetJobJobSettingsOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoAzureAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettings)(nil)).Elem() +func (GetInstancePoolPoolInfoAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsOutput) ToGetJobJobSettingsOutput() GetJobJobSettingsOutput { +func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput { return o } -func (o GetJobJobSettingsOutput) ToGetJobJobSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsOutput { +func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesOutput { return o } -func (o GetJobJobSettingsOutput) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { - return o.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return o.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsOutput) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettings) *GetJobJobSettings { +func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoAzureAttributes) *GetInstancePoolPoolInfoAzureAttributes { 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) + }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) } -func (o GetJobJobSettingsOutput) RunAsUserName() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettings) string { return v.RunAsUserName }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsOutput) Settings() GetJobJobSettingsSettingsPtrOutput { - return o.ApplyT(func(v GetJobJobSettings) *GetJobJobSettingsSettings { return v.Settings }).(GetJobJobSettingsSettingsPtrOutput) +func (o GetInstancePoolPoolInfoAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) } -type GetJobJobSettingsPtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoAzureAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettings)(nil)).Elem() +func (GetInstancePoolPoolInfoAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsPtrOutput) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { +func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsPtrOutput) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { +func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsPtrOutput) Elem() GetJobJobSettingsOutput { - return o.ApplyT(func(v *GetJobJobSettings) GetJobJobSettings { +func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) Elem() GetInstancePoolPoolInfoAzureAttributesOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) GetInstancePoolPoolInfoAzureAttributes { if v != nil { return *v } - var ret GetJobJobSettings + var ret GetInstancePoolPoolInfoAzureAttributes return ret - }).(GetJobJobSettingsOutput) -} - -func (o GetJobJobSettingsPtrOutput) CreatedTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettings) *int { - if v == nil { - return nil - } - return v.CreatedTime - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsPtrOutput) CreatorUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettings) *string { - if v == nil { - return nil - } - return v.CreatorUserName - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsPtrOutput) JobId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettings) *int { - if v == nil { - return nil - } - return v.JobId - }).(pulumi.IntPtrOutput) + }).(GetInstancePoolPoolInfoAzureAttributesOutput) } -func (o GetJobJobSettingsPtrOutput) RunAsUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettings) *string { +func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) *string { if v == nil { return nil } - return &v.RunAsUserName + return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsPtrOutput) Settings() GetJobJobSettingsSettingsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettings) *GetJobJobSettingsSettings { +func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) *float64 { if v == nil { return nil } - return v.Settings - }).(GetJobJobSettingsSettingsPtrOutput) + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -type GetJobJobSettingsSettings struct { - Continuous *GetJobJobSettingsSettingsContinuous `pulumi:"continuous"` - DbtTask *GetJobJobSettingsSettingsDbtTask `pulumi:"dbtTask"` - Deployment *GetJobJobSettingsSettingsDeployment `pulumi:"deployment"` - Description *string `pulumi:"description"` - EditMode *string `pulumi:"editMode"` - EmailNotifications *GetJobJobSettingsSettingsEmailNotifications `pulumi:"emailNotifications"` - Environments []GetJobJobSettingsSettingsEnvironment `pulumi:"environments"` - ExistingClusterId *string `pulumi:"existingClusterId"` - Format string `pulumi:"format"` - GitSource *GetJobJobSettingsSettingsGitSource `pulumi:"gitSource"` - Health *GetJobJobSettingsSettingsHealth `pulumi:"health"` - JobClusters []GetJobJobSettingsSettingsJobCluster `pulumi:"jobClusters"` - Libraries []GetJobJobSettingsSettingsLibrary `pulumi:"libraries"` - MaxConcurrentRuns *int `pulumi:"maxConcurrentRuns"` - MaxRetries *int `pulumi:"maxRetries"` - MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` - // the job name of Job if the resource was matched by id. - Name *string `pulumi:"name"` - NewCluster *GetJobJobSettingsSettingsNewCluster `pulumi:"newCluster"` - NotebookTask *GetJobJobSettingsSettingsNotebookTask `pulumi:"notebookTask"` - NotificationSettings *GetJobJobSettingsSettingsNotificationSettings `pulumi:"notificationSettings"` - Parameters []GetJobJobSettingsSettingsParameter `pulumi:"parameters"` - PipelineTask *GetJobJobSettingsSettingsPipelineTask `pulumi:"pipelineTask"` - PythonWheelTask *GetJobJobSettingsSettingsPythonWheelTask `pulumi:"pythonWheelTask"` - Queue *GetJobJobSettingsSettingsQueue `pulumi:"queue"` - RetryOnTimeout *bool `pulumi:"retryOnTimeout"` - RunAs GetJobJobSettingsSettingsRunAs `pulumi:"runAs"` - RunJobTask *GetJobJobSettingsSettingsRunJobTask `pulumi:"runJobTask"` - Schedule *GetJobJobSettingsSettingsSchedule `pulumi:"schedule"` - SparkJarTask *GetJobJobSettingsSettingsSparkJarTask `pulumi:"sparkJarTask"` - SparkPythonTask *GetJobJobSettingsSettingsSparkPythonTask `pulumi:"sparkPythonTask"` - SparkSubmitTask *GetJobJobSettingsSettingsSparkSubmitTask `pulumi:"sparkSubmitTask"` - Tags map[string]interface{} `pulumi:"tags"` - Tasks []GetJobJobSettingsSettingsTask `pulumi:"tasks"` - TimeoutSeconds *int `pulumi:"timeoutSeconds"` - Trigger *GetJobJobSettingsSettingsTrigger `pulumi:"trigger"` - WebhookNotifications *GetJobJobSettingsSettingsWebhookNotifications `pulumi:"webhookNotifications"` +type GetInstancePoolPoolInfoDiskSpec struct { + DiskCount *int `pulumi:"diskCount"` + DiskSize *int `pulumi:"diskSize"` + DiskType *GetInstancePoolPoolInfoDiskSpecDiskType `pulumi:"diskType"` } -// GetJobJobSettingsSettingsInput is an input type that accepts GetJobJobSettingsSettingsArgs and GetJobJobSettingsSettingsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsInput` via: +// GetInstancePoolPoolInfoDiskSpecInput is an input type that accepts GetInstancePoolPoolInfoDiskSpecArgs and GetInstancePoolPoolInfoDiskSpecOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoDiskSpecInput` via: // -// GetJobJobSettingsSettingsArgs{...} -type GetJobJobSettingsSettingsInput interface { +// GetInstancePoolPoolInfoDiskSpecArgs{...} +type GetInstancePoolPoolInfoDiskSpecInput interface { pulumi.Input - ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput - ToGetJobJobSettingsSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsOutput + ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput + ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecOutput } -type GetJobJobSettingsSettingsArgs struct { - Continuous GetJobJobSettingsSettingsContinuousPtrInput `pulumi:"continuous"` - DbtTask GetJobJobSettingsSettingsDbtTaskPtrInput `pulumi:"dbtTask"` - Deployment GetJobJobSettingsSettingsDeploymentPtrInput `pulumi:"deployment"` - Description pulumi.StringPtrInput `pulumi:"description"` - EditMode pulumi.StringPtrInput `pulumi:"editMode"` - EmailNotifications GetJobJobSettingsSettingsEmailNotificationsPtrInput `pulumi:"emailNotifications"` - Environments GetJobJobSettingsSettingsEnvironmentArrayInput `pulumi:"environments"` - ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` - Format pulumi.StringInput `pulumi:"format"` - GitSource GetJobJobSettingsSettingsGitSourcePtrInput `pulumi:"gitSource"` - Health GetJobJobSettingsSettingsHealthPtrInput `pulumi:"health"` - JobClusters GetJobJobSettingsSettingsJobClusterArrayInput `pulumi:"jobClusters"` - Libraries GetJobJobSettingsSettingsLibraryArrayInput `pulumi:"libraries"` - MaxConcurrentRuns pulumi.IntPtrInput `pulumi:"maxConcurrentRuns"` - MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` - MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` - // the job name of Job if the resource was matched by id. - Name pulumi.StringPtrInput `pulumi:"name"` - NewCluster GetJobJobSettingsSettingsNewClusterPtrInput `pulumi:"newCluster"` - NotebookTask GetJobJobSettingsSettingsNotebookTaskPtrInput `pulumi:"notebookTask"` - NotificationSettings GetJobJobSettingsSettingsNotificationSettingsPtrInput `pulumi:"notificationSettings"` - Parameters GetJobJobSettingsSettingsParameterArrayInput `pulumi:"parameters"` - PipelineTask GetJobJobSettingsSettingsPipelineTaskPtrInput `pulumi:"pipelineTask"` - PythonWheelTask GetJobJobSettingsSettingsPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` - Queue GetJobJobSettingsSettingsQueuePtrInput `pulumi:"queue"` - RetryOnTimeout pulumi.BoolPtrInput `pulumi:"retryOnTimeout"` - RunAs GetJobJobSettingsSettingsRunAsInput `pulumi:"runAs"` - RunJobTask GetJobJobSettingsSettingsRunJobTaskPtrInput `pulumi:"runJobTask"` - Schedule GetJobJobSettingsSettingsSchedulePtrInput `pulumi:"schedule"` - SparkJarTask GetJobJobSettingsSettingsSparkJarTaskPtrInput `pulumi:"sparkJarTask"` - SparkPythonTask GetJobJobSettingsSettingsSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` - SparkSubmitTask GetJobJobSettingsSettingsSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` - Tags pulumi.MapInput `pulumi:"tags"` - Tasks GetJobJobSettingsSettingsTaskArrayInput `pulumi:"tasks"` - TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` - Trigger GetJobJobSettingsSettingsTriggerPtrInput `pulumi:"trigger"` - WebhookNotifications GetJobJobSettingsSettingsWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` +type GetInstancePoolPoolInfoDiskSpecArgs struct { + DiskCount pulumi.IntPtrInput `pulumi:"diskCount"` + DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` + DiskType GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput `pulumi:"diskType"` } -func (GetJobJobSettingsSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettings)(nil)).Elem() +func (GetInstancePoolPoolInfoDiskSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() } -func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput { - return i.ToGetJobJobSettingsSettingsOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsOutput) +func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecOutput) } -func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsOutput).ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecOutput).ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsArgs, GetJobJobSettingsSettingsPtr and GetJobJobSettingsSettingsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsPtrInput` via: +// GetInstancePoolPoolInfoDiskSpecPtrInput is an input type that accepts GetInstancePoolPoolInfoDiskSpecArgs, GetInstancePoolPoolInfoDiskSpecPtr and GetInstancePoolPoolInfoDiskSpecPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoDiskSpecPtrInput` via: // -// GetJobJobSettingsSettingsArgs{...} +// GetInstancePoolPoolInfoDiskSpecArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsPtrInput interface { +type GetInstancePoolPoolInfoDiskSpecPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput - ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPtrOutput + ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput + ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput } -type getJobJobSettingsSettingsPtrType GetJobJobSettingsSettingsArgs +type getInstancePoolPoolInfoDiskSpecPtrType GetInstancePoolPoolInfoDiskSpecArgs -func GetJobJobSettingsSettingsPtr(v *GetJobJobSettingsSettingsArgs) GetJobJobSettingsSettingsPtrInput { - return (*getJobJobSettingsSettingsPtrType)(v) +func GetInstancePoolPoolInfoDiskSpecPtr(v *GetInstancePoolPoolInfoDiskSpecArgs) GetInstancePoolPoolInfoDiskSpecPtrInput { + return (*getInstancePoolPoolInfoDiskSpecPtrType)(v) } -func (*getJobJobSettingsSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettings)(nil)).Elem() +func (*getInstancePoolPoolInfoDiskSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() } -func (i *getJobJobSettingsSettingsPtrType) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) +func (i *getInstancePoolPoolInfoDiskSpecPtrType) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsPtrType) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPtrOutput) +func (i *getInstancePoolPoolInfoDiskSpecPtrType) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecPtrOutput) } -type GetJobJobSettingsSettingsOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoDiskSpecOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettings)(nil)).Elem() +func (GetInstancePoolPoolInfoDiskSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() } -func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput { +func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput { return o } -func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsOutput { +func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecOutput { return o } -func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { - return o.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettings) *GetJobJobSettingsSettings { +func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpec { return &v - }).(GetJobJobSettingsSettingsPtrOutput) -} - -func (o GetJobJobSettingsSettingsOutput) Continuous() GetJobJobSettingsSettingsContinuousPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsContinuous { return v.Continuous }).(GetJobJobSettingsSettingsContinuousPtrOutput) + }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) DbtTask() GetJobJobSettingsSettingsDbtTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDbtTask { return v.DbtTask }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) +func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *int { return v.DiskCount }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) Deployment() GetJobJobSettingsSettingsDeploymentPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDeployment { return v.Deployment }).(GetJobJobSettingsSettingsDeploymentPtrOutput) +func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *int { return v.DiskSize }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.Description }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskType() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpecDiskType { return v.DiskType }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) } -func (o GetJobJobSettingsSettingsOutput) EditMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.EditMode }).(pulumi.StringPtrOutput) -} +type GetInstancePoolPoolInfoDiskSpecPtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsOutput) EmailNotifications() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsEmailNotifications { - return v.EmailNotifications - }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) +func (GetInstancePoolPoolInfoDiskSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() } -func (o GetJobJobSettingsSettingsOutput) Environments() GetJobJobSettingsSettingsEnvironmentArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsEnvironment { return v.Environments }).(GetJobJobSettingsSettingsEnvironmentArrayOutput) +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o } -func (o GetJobJobSettingsSettingsOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o } -func (o GetJobJobSettingsSettingsOutput) Format() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) string { return v.Format }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) Elem() GetInstancePoolPoolInfoDiskSpecOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) GetInstancePoolPoolInfoDiskSpec { + if v != nil { + return *v + } + var ret GetInstancePoolPoolInfoDiskSpec + return ret + }).(GetInstancePoolPoolInfoDiskSpecOutput) } -func (o GetJobJobSettingsSettingsOutput) GitSource() GetJobJobSettingsSettingsGitSourcePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsGitSource { return v.GitSource }).(GetJobJobSettingsSettingsGitSourcePtrOutput) +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *int { + if v == nil { + return nil + } + return v.DiskCount + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) Health() GetJobJobSettingsSettingsHealthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsHealth { return v.Health }).(GetJobJobSettingsSettingsHealthPtrOutput) +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *int { + if v == nil { + return nil + } + return v.DiskSize + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) JobClusters() GetJobJobSettingsSettingsJobClusterArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsJobCluster { return v.JobClusters }).(GetJobJobSettingsSettingsJobClusterArrayOutput) +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskType() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpecDiskType { + if v == nil { + return nil + } + return v.DiskType + }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) } -func (o GetJobJobSettingsSettingsOutput) Libraries() GetJobJobSettingsSettingsLibraryArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsLibrary { return v.Libraries }).(GetJobJobSettingsSettingsLibraryArrayOutput) +type GetInstancePoolPoolInfoDiskSpecDiskType struct { + AzureDiskVolumeType *string `pulumi:"azureDiskVolumeType"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` } -func (o GetJobJobSettingsSettingsOutput) MaxConcurrentRuns() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MaxConcurrentRuns }).(pulumi.IntPtrOutput) -} +// 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 -func (o GetJobJobSettingsSettingsOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) + ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput + ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput } -func (o GetJobJobSettingsSettingsOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) +type GetInstancePoolPoolInfoDiskSpecDiskTypeArgs struct { + AzureDiskVolumeType pulumi.StringPtrInput `pulumi:"azureDiskVolumeType"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` } -// 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 (GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsOutput) NewCluster() GetJobJobSettingsSettingsNewClusterPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNewCluster { return v.NewCluster }).(GetJobJobSettingsSettingsNewClusterPtrOutput) +func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsOutput) NotebookTask() GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotebookTask { return v.NotebookTask }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) +func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) } -func (o GetJobJobSettingsSettingsOutput) NotificationSettings() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotificationSettings { - return v.NotificationSettings - }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) +func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsOutput) Parameters() GetJobJobSettingsSettingsParameterArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsParameter { return v.Parameters }).(GetJobJobSettingsSettingsParameterArrayOutput) +func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput).ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsOutput) PipelineTask() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPipelineTask { return v.PipelineTask }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) -} +// 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 -func (o GetJobJobSettingsSettingsOutput) PythonWheelTask() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPythonWheelTask { return v.PythonWheelTask }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) + ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput + ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput } -func (o GetJobJobSettingsSettingsOutput) Queue() GetJobJobSettingsSettingsQueuePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsQueue { return v.Queue }).(GetJobJobSettingsSettingsQueuePtrOutput) -} +type getInstancePoolPoolInfoDiskSpecDiskTypePtrType GetInstancePoolPoolInfoDiskSpecDiskTypeArgs -func (o GetJobJobSettingsSettingsOutput) RetryOnTimeout() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *bool { return v.RetryOnTimeout }).(pulumi.BoolPtrOutput) +func GetInstancePoolPoolInfoDiskSpecDiskTypePtr(v *GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput { + return (*getInstancePoolPoolInfoDiskSpecDiskTypePtrType)(v) } -func (o GetJobJobSettingsSettingsOutput) RunAs() GetJobJobSettingsSettingsRunAsOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) GetJobJobSettingsSettingsRunAs { return v.RunAs }).(GetJobJobSettingsSettingsRunAsOutput) +func (*getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsOutput) RunJobTask() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunJobTask { return v.RunJobTask }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) +func (i *getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsOutput) Schedule() GetJobJobSettingsSettingsSchedulePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSchedule { return v.Schedule }).(GetJobJobSettingsSettingsSchedulePtrOutput) +func (i *getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) } -func (o GetJobJobSettingsSettingsOutput) SparkJarTask() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkJarTask { return v.SparkJarTask }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) -} +type GetInstancePoolPoolInfoDiskSpecDiskTypeOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsOutput) SparkPythonTask() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkPythonTask { return v.SparkPythonTask }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) +func (GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsOutput) SparkSubmitTask() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkSubmitTask { return v.SparkSubmitTask }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { + return o } -func (o GetJobJobSettingsSettingsOutput) Tags() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) map[string]interface{} { return v.Tags }).(pulumi.MapOutput) +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { + return o } -func (o GetJobJobSettingsSettingsOutput) Tasks() GetJobJobSettingsSettingsTaskArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsTask { return v.Tasks }).(GetJobJobSettingsSettingsTaskArrayOutput) +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return o.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoDiskSpecDiskType) *GetInstancePoolPoolInfoDiskSpecDiskType { + return &v + }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) } -func (o GetJobJobSettingsSettingsOutput) Trigger() GetJobJobSettingsSettingsTriggerPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsTrigger { return v.Trigger }).(GetJobJobSettingsSettingsTriggerPtrOutput) +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpecDiskType) *string { return v.AzureDiskVolumeType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) WebhookNotifications() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsWebhookNotifications { - return v.WebhookNotifications - }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpecDiskType) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsPtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettings)(nil)).Elem() +func (GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPtrOutput) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { +func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsPtrOutput) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { +func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsPtrOutput) Elem() GetJobJobSettingsSettingsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) GetJobJobSettingsSettings { +func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) Elem() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) GetInstancePoolPoolInfoDiskSpecDiskType { if v != nil { return *v } - var ret GetJobJobSettingsSettings + var ret GetInstancePoolPoolInfoDiskSpecDiskType return ret - }).(GetJobJobSettingsSettingsOutput) + }).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Continuous() GetJobJobSettingsSettingsContinuousPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsContinuous { +func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) *string { if v == nil { return nil } - return v.Continuous - }).(GetJobJobSettingsSettingsContinuousPtrOutput) + return v.AzureDiskVolumeType + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) DbtTask() GetJobJobSettingsSettingsDbtTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDbtTask { +func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) *string { if v == nil { return nil } - return v.DbtTask - }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Deployment() GetJobJobSettingsSettingsDeploymentPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDeployment { - if v == nil { - return nil - } - return v.Deployment - }).(GetJobJobSettingsSettingsDeploymentPtrOutput) +type GetInstancePoolPoolInfoGcpAttributes struct { + GcpAvailability *string `pulumi:"gcpAvailability"` + LocalSsdCount int `pulumi:"localSsdCount"` + ZoneId string `pulumi:"zoneId"` } -func (o GetJobJobSettingsSettingsPtrOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { - if v == nil { - return nil - } - return v.Description - }).(pulumi.StringPtrOutput) -} +// GetInstancePoolPoolInfoGcpAttributesInput is an input type that accepts GetInstancePoolPoolInfoGcpAttributesArgs and GetInstancePoolPoolInfoGcpAttributesOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoGcpAttributesInput` via: +// +// GetInstancePoolPoolInfoGcpAttributesArgs{...} +type GetInstancePoolPoolInfoGcpAttributesInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsPtrOutput) EditMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { - if v == nil { - return nil - } - return v.EditMode - }).(pulumi.StringPtrOutput) + ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput + ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoGcpAttributesOutput } -func (o GetJobJobSettingsSettingsPtrOutput) EmailNotifications() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsEmailNotifications { - if v == nil { - return nil - } - return v.EmailNotifications - }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) +type GetInstancePoolPoolInfoGcpAttributesArgs struct { + GcpAvailability pulumi.StringPtrInput `pulumi:"gcpAvailability"` + LocalSsdCount pulumi.IntInput `pulumi:"localSsdCount"` + ZoneId pulumi.StringInput `pulumi:"zoneId"` } -func (o GetJobJobSettingsSettingsPtrOutput) Environments() GetJobJobSettingsSettingsEnvironmentArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsEnvironment { - if v == nil { - return nil - } - return v.Environments - }).(GetJobJobSettingsSettingsEnvironmentArrayOutput) +func (GetInstancePoolPoolInfoGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPtrOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { - if v == nil { - return nil - } - return v.ExistingClusterId - }).(pulumi.StringPtrOutput) +func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput { + return i.ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPtrOutput) Format() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { - if v == nil { - return nil - } - return &v.Format - }).(pulumi.StringPtrOutput) +func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) GitSource() GetJobJobSettingsSettingsGitSourcePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsGitSource { - if v == nil { - return nil - } - return v.GitSource - }).(GetJobJobSettingsSettingsGitSourcePtrOutput) +func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPtrOutput) Health() GetJobJobSettingsSettingsHealthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsHealth { - if v == nil { - return nil - } - return v.Health - }).(GetJobJobSettingsSettingsHealthPtrOutput) +func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesOutput).ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsPtrOutput) JobClusters() GetJobJobSettingsSettingsJobClusterArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsJobCluster { - if v == nil { - return nil - } - return v.JobClusters - }).(GetJobJobSettingsSettingsJobClusterArrayOutput) -} +// 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 -func (o GetJobJobSettingsSettingsPtrOutput) Libraries() GetJobJobSettingsSettingsLibraryArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsLibrary { - if v == nil { - return nil - } - return v.Libraries - }).(GetJobJobSettingsSettingsLibraryArrayOutput) + ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput + ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput } -func (o GetJobJobSettingsSettingsPtrOutput) MaxConcurrentRuns() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { - if v == nil { - return nil - } - return v.MaxConcurrentRuns - }).(pulumi.IntPtrOutput) -} +type getInstancePoolPoolInfoGcpAttributesPtrType GetInstancePoolPoolInfoGcpAttributesArgs -func (o GetJobJobSettingsSettingsPtrOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { - if v == nil { - return nil - } - return v.MaxRetries - }).(pulumi.IntPtrOutput) +func GetInstancePoolPoolInfoGcpAttributesPtr(v *GetInstancePoolPoolInfoGcpAttributesArgs) GetInstancePoolPoolInfoGcpAttributesPtrInput { + return (*getInstancePoolPoolInfoGcpAttributesPtrType)(v) } -func (o GetJobJobSettingsSettingsPtrOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { - if v == nil { - return nil - } - return v.MinRetryIntervalMillis - }).(pulumi.IntPtrOutput) +func (*getInstancePoolPoolInfoGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() } -// 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 *getInstancePoolPoolInfoGcpAttributesPtrType) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPtrOutput) NewCluster() GetJobJobSettingsSettingsNewClusterPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNewCluster { - if v == nil { - return nil - } - return v.NewCluster - }).(GetJobJobSettingsSettingsNewClusterPtrOutput) +func (i *getInstancePoolPoolInfoGcpAttributesPtrType) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) NotebookTask() GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotebookTask { - if v == nil { - return nil - } - return v.NotebookTask - }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) -} +type GetInstancePoolPoolInfoGcpAttributesOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsPtrOutput) NotificationSettings() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotificationSettings { - if v == nil { - return nil - } - return v.NotificationSettings - }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) +func (GetInstancePoolPoolInfoGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPtrOutput) Parameters() GetJobJobSettingsSettingsParameterArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsParameter { - if v == nil { - return nil - } - return v.Parameters - }).(GetJobJobSettingsSettingsParameterArrayOutput) +func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput { + return o } -func (o GetJobJobSettingsSettingsPtrOutput) PipelineTask() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPipelineTask { - if v == nil { - return nil - } - return v.PipelineTask - }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) +func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesOutput { + return o } -func (o GetJobJobSettingsSettingsPtrOutput) PythonWheelTask() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPythonWheelTask { - if v == nil { - return nil - } - return v.PythonWheelTask - }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) +func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPtrOutput) Queue() GetJobJobSettingsSettingsQueuePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsQueue { - if v == nil { - return nil - } - return v.Queue - }).(GetJobJobSettingsSettingsQueuePtrOutput) +func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoGcpAttributes) *GetInstancePoolPoolInfoGcpAttributes { + return &v + }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) } -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 GetInstancePoolPoolInfoGcpAttributesOutput) GcpAvailability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) *string { return v.GcpAvailability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) RunAs() GetJobJobSettingsSettingsRunAsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunAs { - if v == nil { - return nil - } - return &v.RunAs - }).(GetJobJobSettingsSettingsRunAsPtrOutput) +func (o GetInstancePoolPoolInfoGcpAttributesOutput) LocalSsdCount() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) int { return v.LocalSsdCount }).(pulumi.IntOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) RunJobTask() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunJobTask { - if v == nil { - return nil - } - return v.RunJobTask - }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) +func (o GetInstancePoolPoolInfoGcpAttributesOutput) ZoneId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) string { return v.ZoneId }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Schedule() GetJobJobSettingsSettingsSchedulePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSchedule { - if v == nil { - return nil - } - return v.Schedule - }).(GetJobJobSettingsSettingsSchedulePtrOutput) -} +type GetInstancePoolPoolInfoGcpAttributesPtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsPtrOutput) SparkJarTask() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkJarTask { - if v == nil { - return nil - } - return v.SparkJarTask - }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) +func (GetInstancePoolPoolInfoGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPtrOutput) SparkPythonTask() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkPythonTask { - if v == nil { - return nil - } - return v.SparkPythonTask - }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) +func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o } -func (o GetJobJobSettingsSettingsPtrOutput) SparkSubmitTask() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkSubmitTask { - if v == nil { - return nil - } - return v.SparkSubmitTask - }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) +func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o } -func (o GetJobJobSettingsSettingsPtrOutput) Tags() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) map[string]interface{} { - if v == nil { - return nil +func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) Elem() GetInstancePoolPoolInfoGcpAttributesOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) GetInstancePoolPoolInfoGcpAttributes { + if v != nil { + return *v } - return v.Tags - }).(pulumi.MapOutput) + var ret GetInstancePoolPoolInfoGcpAttributes + return ret + }).(GetInstancePoolPoolInfoGcpAttributesOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Tasks() GetJobJobSettingsSettingsTaskArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsTask { +func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) GcpAvailability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) *string { if v == nil { return nil } - return v.Tasks - }).(GetJobJobSettingsSettingsTaskArrayOutput) + return v.GcpAvailability + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { +func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) *int { if v == nil { return nil } - return v.TimeoutSeconds + return &v.LocalSsdCount }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Trigger() GetJobJobSettingsSettingsTriggerPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsTrigger { - if v == nil { - return nil - } - return v.Trigger - }).(GetJobJobSettingsSettingsTriggerPtrOutput) -} - -func (o GetJobJobSettingsSettingsPtrOutput) WebhookNotifications() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsWebhookNotifications { +func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) *string { if v == nil { return nil } - return v.WebhookNotifications - }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) + return &v.ZoneId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsContinuous struct { - PauseStatus *string `pulumi:"pauseStatus"` +type GetInstancePoolPoolInfoInstancePoolFleetAttribute struct { + FleetOnDemandOption *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption `pulumi:"fleetOnDemandOption"` + FleetSpotOption *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption `pulumi:"fleetSpotOption"` + LaunchTemplateOverrides []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride `pulumi:"launchTemplateOverrides"` } -// GetJobJobSettingsSettingsContinuousInput is an input type that accepts GetJobJobSettingsSettingsContinuousArgs and GetJobJobSettingsSettingsContinuousOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsContinuousInput` via: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeInput` via: // -// GetJobJobSettingsSettingsContinuousArgs{...} -type GetJobJobSettingsSettingsContinuousInput interface { +// GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs{...} +type GetInstancePoolPoolInfoInstancePoolFleetAttributeInput interface { pulumi.Input - ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput - ToGetJobJobSettingsSettingsContinuousOutputWithContext(context.Context) GetJobJobSettingsSettingsContinuousOutput -} - -type GetJobJobSettingsSettingsContinuousArgs struct { - PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` -} - -func (GetJobJobSettingsSettingsContinuousArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsContinuous)(nil)).Elem() + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput } -func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput { - return i.ToGetJobJobSettingsSettingsContinuousOutputWithContext(context.Background()) +type GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs struct { + FleetOnDemandOption GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput `pulumi:"fleetOnDemandOption"` + FleetSpotOption GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput `pulumi:"fleetSpotOption"` + LaunchTemplateOverrides GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput `pulumi:"launchTemplateOverrides"` } -func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousOutput) +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() } -func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { - return i.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousOutput).ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) } -// GetJobJobSettingsSettingsContinuousPtrInput is an input type that accepts GetJobJobSettingsSettingsContinuousArgs, GetJobJobSettingsSettingsContinuousPtr and GetJobJobSettingsSettingsContinuousPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsContinuousPtrInput` via: -// -// GetJobJobSettingsSettingsContinuousArgs{...} -// -// or: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeArray and GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput` via: // -// nil -type GetJobJobSettingsSettingsContinuousPtrInput interface { +// GetInstancePoolPoolInfoInstancePoolFleetAttributeArray{ GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs{...} } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput - ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsContinuousPtrOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput } -type getJobJobSettingsSettingsContinuousPtrType GetJobJobSettingsSettingsContinuousArgs - -func GetJobJobSettingsSettingsContinuousPtr(v *GetJobJobSettingsSettingsContinuousArgs) GetJobJobSettingsSettingsContinuousPtrInput { - return (*getJobJobSettingsSettingsContinuousPtrType)(v) -} +type GetInstancePoolPoolInfoInstancePoolFleetAttributeArray []GetInstancePoolPoolInfoInstancePoolFleetAttributeInput -func (*getJobJobSettingsSettingsContinuousPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsContinuous)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() } -func (i *getJobJobSettingsSettingsContinuousPtrType) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { - return i.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsContinuousPtrType) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousPtrOutput) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) } -type GetJobJobSettingsSettingsContinuousOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsContinuousOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsContinuous)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() } -func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { return o } -func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { return o } -func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { - return o.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) FleetOnDemandOption() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { + return v.FleetOnDemandOption + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) } -func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsContinuous) *GetJobJobSettingsSettingsContinuous { - return &v - }).(GetJobJobSettingsSettingsContinuousPtrOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) FleetSpotOption() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { + return v.FleetSpotOption + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) } -func (o GetJobJobSettingsSettingsContinuousOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsContinuous) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) LaunchTemplateOverrides() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride { + return v.LaunchTemplateOverrides + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) } -type GetJobJobSettingsSettingsContinuousPtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsContinuousPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsContinuous)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() } -func (o GetJobJobSettingsSettingsContinuousPtrOutput) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { return o } -func (o GetJobJobSettingsSettingsContinuousPtrOutput) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { return o } -func (o GetJobJobSettingsSettingsContinuousPtrOutput) Elem() GetJobJobSettingsSettingsContinuousOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsContinuous) GetJobJobSettingsSettingsContinuous { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsContinuous - return ret - }).(GetJobJobSettingsSettingsContinuousOutput) -} - -func (o GetJobJobSettingsSettingsContinuousPtrOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsContinuous) *string { - if v == nil { - return nil - } - return v.PauseStatus - }).(pulumi.StringPtrOutput) +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 GetJobJobSettingsSettingsDbtTask struct { - Catalog *string `pulumi:"catalog"` - Commands []string `pulumi:"commands"` - ProfilesDirectory *string `pulumi:"profilesDirectory"` - ProjectDirectory *string `pulumi:"projectDirectory"` - Schema *string `pulumi:"schema"` - Source *string `pulumi:"source"` - WarehouseId *string `pulumi:"warehouseId"` +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption struct { + AllocationStrategy string `pulumi:"allocationStrategy"` + InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"` } -// GetJobJobSettingsSettingsDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsDbtTaskArgs and GetJobJobSettingsSettingsDbtTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsDbtTaskInput` via: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionInput` via: // -// GetJobJobSettingsSettingsDbtTaskArgs{...} -type GetJobJobSettingsSettingsDbtTaskInput interface { +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs{...} +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionInput interface { pulumi.Input - ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput - ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsDbtTaskOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput } -type GetJobJobSettingsSettingsDbtTaskArgs struct { - Catalog pulumi.StringPtrInput `pulumi:"catalog"` - Commands pulumi.StringArrayInput `pulumi:"commands"` - ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` - ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` - Schema pulumi.StringPtrInput `pulumi:"schema"` - Source pulumi.StringPtrInput `pulumi:"source"` - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs struct { + AllocationStrategy pulumi.StringInput `pulumi:"allocationStrategy"` + InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"` } -func (GetJobJobSettingsSettingsDbtTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsDbtTask)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() } -func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput { - return i.ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskOutput) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) } -func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskOutput).ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput).ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsDbtTaskArgs, GetJobJobSettingsSettingsDbtTaskPtr and GetJobJobSettingsSettingsDbtTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsDbtTaskPtrInput` via: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs, GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtr and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput` via: // -// GetJobJobSettingsSettingsDbtTaskArgs{...} +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsDbtTaskPtrInput interface { +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput - ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput } -type getJobJobSettingsSettingsDbtTaskPtrType GetJobJobSettingsSettingsDbtTaskArgs +type getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs -func GetJobJobSettingsSettingsDbtTaskPtr(v *GetJobJobSettingsSettingsDbtTaskArgs) GetJobJobSettingsSettingsDbtTaskPtrInput { - return (*getJobJobSettingsSettingsDbtTaskPtrType)(v) +func GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtr(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput { + return (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType)(v) } -func (*getJobJobSettingsSettingsDbtTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsDbtTask)(nil)).Elem() +func (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() } -func (i *getJobJobSettingsSettingsDbtTaskPtrType) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) +func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsDbtTaskPtrType) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskPtrOutput) +func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) } -type GetJobJobSettingsSettingsDbtTaskOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsDbtTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsDbtTask)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() } -func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { return o } -func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { return o } -func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return o.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsDbtTask) *GetJobJobSettingsSettingsDbtTask { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { return &v - }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsDbtTaskOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsDbtTaskOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsDbtTaskOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) } -func (o GetJobJobSettingsSettingsDbtTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) AllocationStrategy() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) string { + return v.AllocationStrategy + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *int { + return v.InstancePoolsToUseCount + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsDbtTaskPtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsDbtTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsDbtTask)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { return o } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { return o } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsDbtTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) GetJobJobSettingsSettingsDbtTask { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) Elem() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { if v != nil { return *v } - var ret GetJobJobSettingsSettingsDbtTask + var ret GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption return ret - }).(GetJobJobSettingsSettingsDbtTaskOutput) -} - -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 GetJobJobSettingsSettingsDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) []string { - if v == nil { - return nil - } - 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) -} - -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 GetJobJobSettingsSettingsDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { - if v == nil { - return nil - } - return v.Schema - }).(pulumi.StringPtrOutput) + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *string { if v == nil { return nil } - return v.Source + return &v.AllocationStrategy }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *int { if v == nil { return nil } - return v.WarehouseId - }).(pulumi.StringPtrOutput) + return v.InstancePoolsToUseCount + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsDeployment struct { - Kind string `pulumi:"kind"` - MetadataFilePath *string `pulumi:"metadataFilePath"` +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption struct { + AllocationStrategy string `pulumi:"allocationStrategy"` + InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"` } -// GetJobJobSettingsSettingsDeploymentInput is an input type that accepts GetJobJobSettingsSettingsDeploymentArgs and GetJobJobSettingsSettingsDeploymentOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsDeploymentInput` via: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput` via: // -// GetJobJobSettingsSettingsDeploymentArgs{...} -type GetJobJobSettingsSettingsDeploymentInput interface { +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs{...} +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput interface { pulumi.Input - ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput - ToGetJobJobSettingsSettingsDeploymentOutputWithContext(context.Context) GetJobJobSettingsSettingsDeploymentOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput } -type GetJobJobSettingsSettingsDeploymentArgs struct { - Kind pulumi.StringInput `pulumi:"kind"` - MetadataFilePath pulumi.StringPtrInput `pulumi:"metadataFilePath"` +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs struct { + AllocationStrategy pulumi.StringInput `pulumi:"allocationStrategy"` + InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"` } -func (GetJobJobSettingsSettingsDeploymentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsDeployment)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() } -func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput { - return i.ToGetJobJobSettingsSettingsDeploymentOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentOutput) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) } -func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { - return i.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentOutput).ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput).ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsDeploymentPtrInput is an input type that accepts GetJobJobSettingsSettingsDeploymentArgs, GetJobJobSettingsSettingsDeploymentPtr and GetJobJobSettingsSettingsDeploymentPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsDeploymentPtrInput` via: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs, GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtr and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput` via: // -// GetJobJobSettingsSettingsDeploymentArgs{...} +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsDeploymentPtrInput interface { +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput - ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput } -type getJobJobSettingsSettingsDeploymentPtrType GetJobJobSettingsSettingsDeploymentArgs +type getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs -func GetJobJobSettingsSettingsDeploymentPtr(v *GetJobJobSettingsSettingsDeploymentArgs) GetJobJobSettingsSettingsDeploymentPtrInput { - return (*getJobJobSettingsSettingsDeploymentPtrType)(v) +func GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtr(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput { + return (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType)(v) } -func (*getJobJobSettingsSettingsDeploymentPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsDeployment)(nil)).Elem() +func (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() } -func (i *getJobJobSettingsSettingsDeploymentPtrType) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { - return i.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) +func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsDeploymentPtrType) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentPtrOutput) +func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) } -type GetJobJobSettingsSettingsDeploymentOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsDeploymentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsDeployment)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() } -func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { return o } -func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { return o } -func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { - return o.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return o.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsDeployment) *GetJobJobSettingsSettingsDeployment { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { return &v - }).(GetJobJobSettingsSettingsDeploymentPtrOutput) + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) } -func (o GetJobJobSettingsSettingsDeploymentOutput) Kind() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDeployment) string { return v.Kind }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) AllocationStrategy() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) string { + return v.AllocationStrategy + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsDeploymentOutput) MetadataFilePath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDeployment) *string { return v.MetadataFilePath }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *int { + return v.InstancePoolsToUseCount + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsDeploymentPtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsDeploymentPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsDeployment)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() } -func (o GetJobJobSettingsSettingsDeploymentPtrOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { return o } -func (o GetJobJobSettingsSettingsDeploymentPtrOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { return o } -func (o GetJobJobSettingsSettingsDeploymentPtrOutput) Elem() GetJobJobSettingsSettingsDeploymentOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) GetJobJobSettingsSettingsDeployment { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) Elem() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { if v != nil { return *v } - var ret GetJobJobSettingsSettingsDeployment + var ret GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption return ret - }).(GetJobJobSettingsSettingsDeploymentOutput) + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) } -func (o GetJobJobSettingsSettingsDeploymentPtrOutput) Kind() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) *string { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *string { if v == nil { return nil } - return &v.Kind + return &v.AllocationStrategy }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsDeploymentPtrOutput) MetadataFilePath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) *string { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *int { if v == nil { return nil } - return v.MetadataFilePath - }).(pulumi.StringPtrOutput) + return v.InstancePoolsToUseCount + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsEmailNotifications struct { - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` - OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures []string `pulumi:"onFailures"` - OnStarts []string `pulumi:"onStarts"` - OnSuccesses []string `pulumi:"onSuccesses"` +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride struct { + AvailabilityZone string `pulumi:"availabilityZone"` + InstanceType string `pulumi:"instanceType"` } -// GetJobJobSettingsSettingsEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsEmailNotificationsArgs and GetJobJobSettingsSettingsEmailNotificationsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsEmailNotificationsInput` via: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput` via: // -// GetJobJobSettingsSettingsEmailNotificationsArgs{...} -type GetJobJobSettingsSettingsEmailNotificationsInput interface { +// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs{...} +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput interface { pulumi.Input - ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput - ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput -} - -type GetJobJobSettingsSettingsEmailNotificationsArgs struct { - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` - OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` - OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` - OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` -} - -func (GetJobJobSettingsSettingsEmailNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput } -func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput { - return i.ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(context.Background()) +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs struct { + AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` + InstanceType pulumi.StringInput `pulumi:"instanceType"` } -func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsOutput) +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() } -func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsOutput).ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) } -// GetJobJobSettingsSettingsEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsEmailNotificationsArgs, GetJobJobSettingsSettingsEmailNotificationsPtr and GetJobJobSettingsSettingsEmailNotificationsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsEmailNotificationsPtrInput` via: -// -// GetJobJobSettingsSettingsEmailNotificationsArgs{...} -// -// or: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray and GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput` via: // -// nil -type GetJobJobSettingsSettingsEmailNotificationsPtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput - ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput -} - -type getJobJobSettingsSettingsEmailNotificationsPtrType GetJobJobSettingsSettingsEmailNotificationsArgs - -func GetJobJobSettingsSettingsEmailNotificationsPtr(v *GetJobJobSettingsSettingsEmailNotificationsArgs) GetJobJobSettingsSettingsEmailNotificationsPtrInput { - return (*getJobJobSettingsSettingsEmailNotificationsPtrType)(v) -} - -func (*getJobJobSettingsSettingsEmailNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() -} - -func (i *getJobJobSettingsSettingsEmailNotificationsPtrType) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) -} - -func (i *getJobJobSettingsSettingsEmailNotificationsPtrType) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) -} - -type GetJobJobSettingsSettingsEmailNotificationsOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsEmailNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput { - return o -} - -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput { - return o -} - -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return o.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsEmailNotifications) *GetJobJobSettingsSettingsEmailNotifications { - return &v - }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) -} +// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray{ GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs{...} } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) -} +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) } -type GetJobJobSettingsSettingsEmailNotificationsPtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { return o } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { return o } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsEmailNotificationsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) GetJobJobSettingsSettingsEmailNotifications { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsEmailNotifications - return ret - }).(GetJobJobSettingsSettingsEmailNotificationsOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) AvailabilityZone() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride) string { + return v.AvailabilityZone + }).(pulumi.StringOutput) } -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 GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) InstanceType() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride) string { + return v.InstanceType + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() } -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 GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { + return o } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnStarts - }).(pulumi.StringArrayOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { + return o } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnSuccesses - }).(pulumi.StringArrayOutput) +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 GetJobJobSettingsSettingsEnvironment struct { - EnvironmentKey string `pulumi:"environmentKey"` - Spec *GetJobJobSettingsSettingsEnvironmentSpec `pulumi:"spec"` +type GetInstancePoolPoolInfoPreloadedDockerImage struct { + BasicAuth *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` } -// GetJobJobSettingsSettingsEnvironmentInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentArgs and GetJobJobSettingsSettingsEnvironmentOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentInput` via: +// GetInstancePoolPoolInfoPreloadedDockerImageInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageArgs and GetInstancePoolPoolInfoPreloadedDockerImageOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageInput` via: // -// GetJobJobSettingsSettingsEnvironmentArgs{...} -type GetJobJobSettingsSettingsEnvironmentInput interface { +// GetInstancePoolPoolInfoPreloadedDockerImageArgs{...} +type GetInstancePoolPoolInfoPreloadedDockerImageInput interface { pulumi.Input - ToGetJobJobSettingsSettingsEnvironmentOutput() GetJobJobSettingsSettingsEnvironmentOutput - ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput } -type GetJobJobSettingsSettingsEnvironmentArgs struct { - EnvironmentKey pulumi.StringInput `pulumi:"environmentKey"` - Spec GetJobJobSettingsSettingsEnvironmentSpecPtrInput `pulumi:"spec"` +type GetInstancePoolPoolInfoPreloadedDockerImageArgs struct { + BasicAuth GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringInput `pulumi:"url"` } -func (GetJobJobSettingsSettingsEnvironmentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironment)(nil)).Elem() +func (GetInstancePoolPoolInfoPreloadedDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() } -func (i GetJobJobSettingsSettingsEnvironmentArgs) ToGetJobJobSettingsSettingsEnvironmentOutput() GetJobJobSettingsSettingsEnvironmentOutput { - return i.ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoPreloadedDockerImageArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput { + return i.ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsEnvironmentArgs) ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentOutput) +func (i GetInstancePoolPoolInfoPreloadedDockerImageArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageOutput) } -// GetJobJobSettingsSettingsEnvironmentArrayInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentArray and GetJobJobSettingsSettingsEnvironmentArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentArrayInput` via: +// GetInstancePoolPoolInfoPreloadedDockerImageArrayInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageArray and GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageArrayInput` via: // -// GetJobJobSettingsSettingsEnvironmentArray{ GetJobJobSettingsSettingsEnvironmentArgs{...} } -type GetJobJobSettingsSettingsEnvironmentArrayInput interface { +// GetInstancePoolPoolInfoPreloadedDockerImageArray{ GetInstancePoolPoolInfoPreloadedDockerImageArgs{...} } +type GetInstancePoolPoolInfoPreloadedDockerImageArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsEnvironmentArrayOutput() GetJobJobSettingsSettingsEnvironmentArrayOutput - ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentArrayOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutput() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput } -type GetJobJobSettingsSettingsEnvironmentArray []GetJobJobSettingsSettingsEnvironmentInput +type GetInstancePoolPoolInfoPreloadedDockerImageArray []GetInstancePoolPoolInfoPreloadedDockerImageInput -func (GetJobJobSettingsSettingsEnvironmentArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsEnvironment)(nil)).Elem() +func (GetInstancePoolPoolInfoPreloadedDockerImageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() } -func (i GetJobJobSettingsSettingsEnvironmentArray) ToGetJobJobSettingsSettingsEnvironmentArrayOutput() GetJobJobSettingsSettingsEnvironmentArrayOutput { - return i.ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoPreloadedDockerImageArray) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutput() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { + return i.ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsEnvironmentArray) ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentArrayOutput) +func (i GetInstancePoolPoolInfoPreloadedDockerImageArray) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) } -type GetJobJobSettingsSettingsEnvironmentOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoPreloadedDockerImageOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsEnvironmentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironment)(nil)).Elem() +func (GetInstancePoolPoolInfoPreloadedDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsEnvironmentOutput) ToGetJobJobSettingsSettingsEnvironmentOutput() GetJobJobSettingsSettingsEnvironmentOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsEnvironmentOutput) ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsEnvironmentOutput) EnvironmentKey() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironment) string { return v.EnvironmentKey }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) BasicAuth() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImage) *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { + return v.BasicAuth + }).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsEnvironmentOutput) Spec() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironment) *GetJobJobSettingsSettingsEnvironmentSpec { return v.Spec }).(GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) +func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImage) string { return v.Url }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsEnvironmentArrayOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsEnvironmentArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsEnvironment)(nil)).Elem() +func (GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsEnvironmentArrayOutput) ToGetJobJobSettingsSettingsEnvironmentArrayOutput() GetJobJobSettingsSettingsEnvironmentArrayOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutput() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { return o } -func (o GetJobJobSettingsSettingsEnvironmentArrayOutput) ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentArrayOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { return o } -func (o GetJobJobSettingsSettingsEnvironmentArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsEnvironmentOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsEnvironment { - return vs[0].([]GetJobJobSettingsSettingsEnvironment)[vs[1].(int)] - }).(GetJobJobSettingsSettingsEnvironmentOutput) +func (o 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 GetJobJobSettingsSettingsEnvironmentSpec struct { - Client string `pulumi:"client"` - Dependencies []string `pulumi:"dependencies"` +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// GetJobJobSettingsSettingsEnvironmentSpecInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentSpecArgs and GetJobJobSettingsSettingsEnvironmentSpecOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentSpecInput` via: +// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs and GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput` via: // -// GetJobJobSettingsSettingsEnvironmentSpecArgs{...} -type GetJobJobSettingsSettingsEnvironmentSpecInput interface { +// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs{...} +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsEnvironmentSpecOutput() GetJobJobSettingsSettingsEnvironmentSpecOutput - ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentSpecOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput } -type GetJobJobSettingsSettingsEnvironmentSpecArgs struct { - Client pulumi.StringInput `pulumi:"client"` - Dependencies pulumi.StringArrayInput `pulumi:"dependencies"` +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (GetJobJobSettingsSettingsEnvironmentSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() +func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecOutput() GetJobJobSettingsSettingsEnvironmentSpecOutput { - return i.ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { + return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentSpecOutput) +func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) } -func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { - return i.ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentSpecOutput).ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput).ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsEnvironmentSpecPtrInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentSpecArgs, GetJobJobSettingsSettingsEnvironmentSpecPtr and GetJobJobSettingsSettingsEnvironmentSpecPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentSpecPtrInput` via: +// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs, GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtr and GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput` via: // -// GetJobJobSettingsSettingsEnvironmentSpecArgs{...} +// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsEnvironmentSpecPtrInput interface { +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput - ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput } -type getJobJobSettingsSettingsEnvironmentSpecPtrType GetJobJobSettingsSettingsEnvironmentSpecArgs +type getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs -func GetJobJobSettingsSettingsEnvironmentSpecPtr(v *GetJobJobSettingsSettingsEnvironmentSpecArgs) GetJobJobSettingsSettingsEnvironmentSpecPtrInput { - return (*getJobJobSettingsSettingsEnvironmentSpecPtrType)(v) +func GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtr(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput { + return (*getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType)(v) } -func (*getJobJobSettingsSettingsEnvironmentSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() +func (*getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() } -func (i *getJobJobSettingsSettingsEnvironmentSpecPtrType) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { - return i.ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Background()) +func (i *getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsEnvironmentSpecPtrType) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) +func (i *getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) } -type GetJobJobSettingsSettingsEnvironmentSpecOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsEnvironmentSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() +func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecOutput() GetJobJobSettingsSettingsEnvironmentSpecOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { - return o.ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return o.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsEnvironmentSpec) *GetJobJobSettingsSettingsEnvironmentSpec { +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { return &v - }).(GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) + }).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) Client() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironmentSpec) string { return v.Client }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) Dependencies() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironmentSpec) []string { return v.Dependencies }).(pulumi.StringArrayOutput) +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsEnvironmentSpecPtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() +func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) Elem() GetJobJobSettingsSettingsEnvironmentSpecOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEnvironmentSpec) GetJobJobSettingsSettingsEnvironmentSpec { +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Elem() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { if v != nil { return *v } - var ret GetJobJobSettingsSettingsEnvironmentSpec + var ret GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth return ret - }).(GetJobJobSettingsSettingsEnvironmentSpecOutput) + }).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) } -func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) Client() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEnvironmentSpec) *string { +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *string { if v == nil { return nil } - return &v.Client + return &v.Password }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) Dependencies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEnvironmentSpec) []string { +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *string { if v == nil { return nil } - return v.Dependencies - }).(pulumi.StringArrayOutput) + return &v.Username + }).(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 GetInstancePoolPoolInfoStats struct { + IdleCount *int `pulumi:"idleCount"` + PendingIdleCount *int `pulumi:"pendingIdleCount"` + PendingUsedCount *int `pulumi:"pendingUsedCount"` + UsedCount *int `pulumi:"usedCount"` } -// GetJobJobSettingsSettingsGitSourceInput is an input type that accepts GetJobJobSettingsSettingsGitSourceArgs and GetJobJobSettingsSettingsGitSourceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceInput` via: +// GetInstancePoolPoolInfoStatsInput is an input type that accepts GetInstancePoolPoolInfoStatsArgs and GetInstancePoolPoolInfoStatsOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoStatsInput` via: // -// GetJobJobSettingsSettingsGitSourceArgs{...} -type GetJobJobSettingsSettingsGitSourceInput interface { +// GetInstancePoolPoolInfoStatsArgs{...} +type GetInstancePoolPoolInfoStatsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput - ToGetJobJobSettingsSettingsGitSourceOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceOutput + ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput + ToGetInstancePoolPoolInfoStatsOutputWithContext(context.Context) GetInstancePoolPoolInfoStatsOutput } -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 GetInstancePoolPoolInfoStatsArgs struct { + IdleCount pulumi.IntPtrInput `pulumi:"idleCount"` + PendingIdleCount pulumi.IntPtrInput `pulumi:"pendingIdleCount"` + PendingUsedCount pulumi.IntPtrInput `pulumi:"pendingUsedCount"` + UsedCount pulumi.IntPtrInput `pulumi:"usedCount"` } -func (GetJobJobSettingsSettingsGitSourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsGitSource)(nil)).Elem() +func (GetInstancePoolPoolInfoStatsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoStats)(nil)).Elem() } -func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput { - return i.ToGetJobJobSettingsSettingsGitSourceOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput { + return i.ToGetInstancePoolPoolInfoStatsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceOutput) +func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsOutput) } -func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { - return i.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { + return i.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceOutput).ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsOutput).ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsGitSourcePtrInput is an input type that accepts GetJobJobSettingsSettingsGitSourceArgs, GetJobJobSettingsSettingsGitSourcePtr and GetJobJobSettingsSettingsGitSourcePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourcePtrInput` via: +// GetInstancePoolPoolInfoStatsPtrInput is an input type that accepts GetInstancePoolPoolInfoStatsArgs, GetInstancePoolPoolInfoStatsPtr and GetInstancePoolPoolInfoStatsPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoStatsPtrInput` via: // -// GetJobJobSettingsSettingsGitSourceArgs{...} +// GetInstancePoolPoolInfoStatsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsGitSourcePtrInput interface { +type GetInstancePoolPoolInfoStatsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput - ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput + ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput + ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoStatsPtrOutput } -type getJobJobSettingsSettingsGitSourcePtrType GetJobJobSettingsSettingsGitSourceArgs +type getInstancePoolPoolInfoStatsPtrType GetInstancePoolPoolInfoStatsArgs -func GetJobJobSettingsSettingsGitSourcePtr(v *GetJobJobSettingsSettingsGitSourceArgs) GetJobJobSettingsSettingsGitSourcePtrInput { - return (*getJobJobSettingsSettingsGitSourcePtrType)(v) +func GetInstancePoolPoolInfoStatsPtr(v *GetInstancePoolPoolInfoStatsArgs) GetInstancePoolPoolInfoStatsPtrInput { + return (*getInstancePoolPoolInfoStatsPtrType)(v) } -func (*getJobJobSettingsSettingsGitSourcePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsGitSource)(nil)).Elem() +func (*getInstancePoolPoolInfoStatsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoStats)(nil)).Elem() } -func (i *getJobJobSettingsSettingsGitSourcePtrType) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { - return i.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) +func (i *getInstancePoolPoolInfoStatsPtrType) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { + return i.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsGitSourcePtrType) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourcePtrOutput) +func (i *getInstancePoolPoolInfoStatsPtrType) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsPtrOutput) } -type GetJobJobSettingsSettingsGitSourceOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoStatsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsGitSourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsGitSource)(nil)).Elem() +func (GetInstancePoolPoolInfoStatsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoStats)(nil)).Elem() } -func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput { +func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput { return o } -func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceOutput { +func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsOutput { return o } -func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { - return o.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { + return o.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSource { +func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoStats) *GetInstancePoolPoolInfoStats { 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) + }).(GetInstancePoolPoolInfoStatsPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceOutput) JobSource() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSourceJobSource { - return v.JobSource - }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) +func (o GetInstancePoolPoolInfoStatsOutput) IdleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.IdleCount }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Provider }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoStatsOutput) PendingIdleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.PendingIdleCount }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceOutput) Tag() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Tag }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoStatsOutput) PendingUsedCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.PendingUsedCount }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) string { return v.Url }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoStatsOutput) UsedCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.UsedCount }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsGitSourcePtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoStatsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsGitSourcePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsGitSource)(nil)).Elem() +func (GetInstancePoolPoolInfoStatsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoStats)(nil)).Elem() } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { +func (o GetInstancePoolPoolInfoStatsPtrOutput) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { return o } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { +func (o GetInstancePoolPoolInfoStatsPtrOutput) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { return o } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Elem() GetJobJobSettingsSettingsGitSourceOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) GetJobJobSettingsSettingsGitSource { +func (o GetInstancePoolPoolInfoStatsPtrOutput) Elem() GetInstancePoolPoolInfoStatsOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) GetInstancePoolPoolInfoStats { if v != nil { return *v } - var ret GetJobJobSettingsSettingsGitSource + var ret GetInstancePoolPoolInfoStats return ret - }).(GetJobJobSettingsSettingsGitSourceOutput) -} - -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Branch() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { - if v == nil { - return nil - } - return v.Branch - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Commit() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { - if v == nil { - return nil - } - return v.Commit - }).(pulumi.StringPtrOutput) + }).(GetInstancePoolPoolInfoStatsOutput) } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) JobSource() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSourceJobSource { +func (o GetInstancePoolPoolInfoStatsPtrOutput) IdleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { if v == nil { return nil } - return v.JobSource - }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) + return v.IdleCount + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { +func (o GetInstancePoolPoolInfoStatsPtrOutput) PendingIdleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { if v == nil { return nil } - return v.Provider - }).(pulumi.StringPtrOutput) + return v.PendingIdleCount + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Tag() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { +func (o GetInstancePoolPoolInfoStatsPtrOutput) PendingUsedCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { if v == nil { return nil } - return v.Tag - }).(pulumi.StringPtrOutput) + return v.PendingUsedCount + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { +func (o GetInstancePoolPoolInfoStatsPtrOutput) UsedCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { if v == nil { return nil } - return &v.Url - }).(pulumi.StringPtrOutput) + return v.UsedCount + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsGitSourceJobSource struct { - DirtyState *string `pulumi:"dirtyState"` - ImportFromGitBranch string `pulumi:"importFromGitBranch"` - JobConfigPath string `pulumi:"jobConfigPath"` +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"` } -// GetJobJobSettingsSettingsGitSourceJobSourceInput is an input type that accepts GetJobJobSettingsSettingsGitSourceJobSourceArgs and GetJobJobSettingsSettingsGitSourceJobSourceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceJobSourceInput` via: +// GetInstanceProfilesInstanceProfileInput is an input type that accepts GetInstanceProfilesInstanceProfileArgs and GetInstanceProfilesInstanceProfileOutput values. +// You can construct a concrete instance of `GetInstanceProfilesInstanceProfileInput` via: // -// GetJobJobSettingsSettingsGitSourceJobSourceArgs{...} -type GetJobJobSettingsSettingsGitSourceJobSourceInput interface { +// GetInstanceProfilesInstanceProfileArgs{...} +type GetInstanceProfilesInstanceProfileInput interface { pulumi.Input - ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput - ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput -} - -type GetJobJobSettingsSettingsGitSourceJobSourceArgs struct { - DirtyState pulumi.StringPtrInput `pulumi:"dirtyState"` - ImportFromGitBranch pulumi.StringInput `pulumi:"importFromGitBranch"` - JobConfigPath pulumi.StringInput `pulumi:"jobConfigPath"` -} - -func (GetJobJobSettingsSettingsGitSourceJobSourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() + ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput + ToGetInstanceProfilesInstanceProfileOutputWithContext(context.Context) GetInstanceProfilesInstanceProfileOutput } -func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput { - return i.ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(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 GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourceOutput) +func (GetInstanceProfilesInstanceProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstanceProfilesInstanceProfile)(nil)).Elem() } -func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return i.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) +func (i GetInstanceProfilesInstanceProfileArgs) ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput { + return i.ToGetInstanceProfilesInstanceProfileOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourceOutput).ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx) +func (i GetInstanceProfilesInstanceProfileArgs) ToGetInstanceProfilesInstanceProfileOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstanceProfilesInstanceProfileOutput) } -// GetJobJobSettingsSettingsGitSourceJobSourcePtrInput is an input type that accepts GetJobJobSettingsSettingsGitSourceJobSourceArgs, GetJobJobSettingsSettingsGitSourceJobSourcePtr and GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceJobSourcePtrInput` via: -// -// GetJobJobSettingsSettingsGitSourceJobSourceArgs{...} -// -// or: +// GetInstanceProfilesInstanceProfileArrayInput is an input type that accepts GetInstanceProfilesInstanceProfileArray and GetInstanceProfilesInstanceProfileArrayOutput values. +// You can construct a concrete instance of `GetInstanceProfilesInstanceProfileArrayInput` via: // -// nil -type GetJobJobSettingsSettingsGitSourceJobSourcePtrInput interface { +// GetInstanceProfilesInstanceProfileArray{ GetInstanceProfilesInstanceProfileArgs{...} } +type GetInstanceProfilesInstanceProfileArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput - ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput + ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput + ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(context.Context) GetInstanceProfilesInstanceProfileArrayOutput } -type getJobJobSettingsSettingsGitSourceJobSourcePtrType GetJobJobSettingsSettingsGitSourceJobSourceArgs - -func GetJobJobSettingsSettingsGitSourceJobSourcePtr(v *GetJobJobSettingsSettingsGitSourceJobSourceArgs) GetJobJobSettingsSettingsGitSourceJobSourcePtrInput { - return (*getJobJobSettingsSettingsGitSourceJobSourcePtrType)(v) -} +type GetInstanceProfilesInstanceProfileArray []GetInstanceProfilesInstanceProfileInput -func (*getJobJobSettingsSettingsGitSourceJobSourcePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() +func (GetInstanceProfilesInstanceProfileArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstanceProfilesInstanceProfile)(nil)).Elem() } -func (i *getJobJobSettingsSettingsGitSourceJobSourcePtrType) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return i.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) +func (i GetInstanceProfilesInstanceProfileArray) ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput { + return i.ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsGitSourceJobSourcePtrType) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) +func (i GetInstanceProfilesInstanceProfileArray) ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstanceProfilesInstanceProfileArrayOutput) } -type GetJobJobSettingsSettingsGitSourceJobSourceOutput struct{ *pulumi.OutputState } +type GetInstanceProfilesInstanceProfileOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsGitSourceJobSourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() +func (GetInstanceProfilesInstanceProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstanceProfilesInstanceProfile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput { +func (o GetInstanceProfilesInstanceProfileOutput) ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput { return o } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput { +func (o GetInstanceProfilesInstanceProfileOutput) ToGetInstanceProfilesInstanceProfileOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileOutput { return o } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return o.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsGitSourceJobSource) *GetJobJobSettingsSettingsGitSourceJobSource { - return &v - }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) +// 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 GetJobJobSettingsSettingsGitSourceJobSourceOutput) DirtyState() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) *string { return v.DirtyState }).(pulumi.StringPtrOutput) +// 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 GetJobJobSettingsSettingsGitSourceJobSourceOutput) ImportFromGitBranch() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) string { return v.ImportFromGitBranch }).(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) } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) JobConfigPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) string { return v.JobConfigPath }).(pulumi.StringOutput) +// ARN of the role attached to the instance profile. +func (o GetInstanceProfilesInstanceProfileOutput) RoleArn() pulumi.StringOutput { + return o.ApplyT(func(v GetInstanceProfilesInstanceProfile) string { return v.RoleArn }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput struct{ *pulumi.OutputState } +type GetInstanceProfilesInstanceProfileArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() +func (GetInstanceProfilesInstanceProfileArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstanceProfilesInstanceProfile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { +func (o GetInstanceProfilesInstanceProfileArrayOutput) ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput { return o } -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { +func (o GetInstanceProfilesInstanceProfileArrayOutput) ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileArrayOutput { return o } -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) Elem() GetJobJobSettingsSettingsGitSourceJobSourceOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) GetJobJobSettingsSettingsGitSourceJobSource { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsGitSourceJobSource - return ret - }).(GetJobJobSettingsSettingsGitSourceJobSourceOutput) -} - -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) DirtyState() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { - if v == nil { - return nil - } - return v.DirtyState - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ImportFromGitBranch() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { - if v == nil { - return nil - } - return &v.ImportFromGitBranch - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) JobConfigPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { - if v == nil { - return nil - } - return &v.JobConfigPath - }).(pulumi.StringPtrOutput) +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 GetJobJobSettingsSettingsHealth struct { - Rules []GetJobJobSettingsSettingsHealthRule `pulumi:"rules"` +type GetJobJobSettings struct { + CreatedTime *int `pulumi:"createdTime"` + CreatorUserName *string `pulumi:"creatorUserName"` + JobId *int `pulumi:"jobId"` + RunAsUserName string `pulumi:"runAsUserName"` + Settings *GetJobJobSettingsSettings `pulumi:"settings"` } -// GetJobJobSettingsSettingsHealthInput is an input type that accepts GetJobJobSettingsSettingsHealthArgs and GetJobJobSettingsSettingsHealthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthInput` via: +// GetJobJobSettingsInput is an input type that accepts GetJobJobSettingsArgs and GetJobJobSettingsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsInput` via: // -// GetJobJobSettingsSettingsHealthArgs{...} -type GetJobJobSettingsSettingsHealthInput interface { +// GetJobJobSettingsArgs{...} +type GetJobJobSettingsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput - ToGetJobJobSettingsSettingsHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthOutput + ToGetJobJobSettingsOutput() GetJobJobSettingsOutput + ToGetJobJobSettingsOutputWithContext(context.Context) GetJobJobSettingsOutput } -type GetJobJobSettingsSettingsHealthArgs struct { - Rules GetJobJobSettingsSettingsHealthRuleArrayInput `pulumi:"rules"` +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 (GetJobJobSettingsSettingsHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsHealth)(nil)).Elem() +func (GetJobJobSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettings)(nil)).Elem() } -func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput { - return i.ToGetJobJobSettingsSettingsHealthOutputWithContext(context.Background()) +func (i GetJobJobSettingsArgs) ToGetJobJobSettingsOutput() GetJobJobSettingsOutput { + return i.ToGetJobJobSettingsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthOutput) +func (i GetJobJobSettingsArgs) ToGetJobJobSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsOutput) } -func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsArgs) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { + return i.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthOutput).ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsArgs) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsOutput).ToGetJobJobSettingsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsHealthArgs, GetJobJobSettingsSettingsHealthPtr and GetJobJobSettingsSettingsHealthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthPtrInput` via: +// GetJobJobSettingsPtrInput is an input type that accepts GetJobJobSettingsArgs, GetJobJobSettingsPtr and GetJobJobSettingsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsPtrInput` via: // -// GetJobJobSettingsSettingsHealthArgs{...} +// GetJobJobSettingsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsHealthPtrInput interface { +type GetJobJobSettingsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput - ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthPtrOutput + ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput + ToGetJobJobSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsPtrOutput } -type getJobJobSettingsSettingsHealthPtrType GetJobJobSettingsSettingsHealthArgs +type getJobJobSettingsPtrType GetJobJobSettingsArgs -func GetJobJobSettingsSettingsHealthPtr(v *GetJobJobSettingsSettingsHealthArgs) GetJobJobSettingsSettingsHealthPtrInput { - return (*getJobJobSettingsSettingsHealthPtrType)(v) +func GetJobJobSettingsPtr(v *GetJobJobSettingsArgs) GetJobJobSettingsPtrInput { + return (*getJobJobSettingsPtrType)(v) } -func (*getJobJobSettingsSettingsHealthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsHealth)(nil)).Elem() +func (*getJobJobSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettings)(nil)).Elem() } -func (i *getJobJobSettingsSettingsHealthPtrType) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsPtrType) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { + return i.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsHealthPtrType) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthPtrOutput) +func (i *getJobJobSettingsPtrType) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsPtrOutput) } -type GetJobJobSettingsSettingsHealthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsHealth)(nil)).Elem() +func (GetJobJobSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput { +func (o GetJobJobSettingsOutput) ToGetJobJobSettingsOutput() GetJobJobSettingsOutput { return o } -func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthOutput { +func (o GetJobJobSettingsOutput) ToGetJobJobSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsOutput { return o } -func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { - return o.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsOutput) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { + return o.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsHealth) *GetJobJobSettingsSettingsHealth { +func (o GetJobJobSettingsOutput) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettings) *GetJobJobSettings { return &v - }).(GetJobJobSettingsSettingsHealthPtrOutput) + }).(GetJobJobSettingsPtrOutput) } -func (o GetJobJobSettingsSettingsHealthOutput) Rules() GetJobJobSettingsSettingsHealthRuleArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsHealth) []GetJobJobSettingsSettingsHealthRule { return v.Rules }).(GetJobJobSettingsSettingsHealthRuleArrayOutput) +func (o GetJobJobSettingsOutput) CreatedTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettings) *int { return v.CreatedTime }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsHealthPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsOutput) CreatorUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettings) *string { return v.CreatorUserName }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsHealthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsHealth)(nil)).Elem() +func (o GetJobJobSettingsOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettings) *int { return v.JobId }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsHealthPtrOutput) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { +func (o GetJobJobSettingsOutput) RunAsUserName() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettings) string { return v.RunAsUserName }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsOutput) Settings() GetJobJobSettingsSettingsPtrOutput { + return o.ApplyT(func(v GetJobJobSettings) *GetJobJobSettingsSettings { return v.Settings }).(GetJobJobSettingsSettingsPtrOutput) +} + +type GetJobJobSettingsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettings)(nil)).Elem() +} + +func (o GetJobJobSettingsPtrOutput) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsHealthPtrOutput) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { +func (o GetJobJobSettingsPtrOutput) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsHealthPtrOutput) Elem() GetJobJobSettingsSettingsHealthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsHealth) GetJobJobSettingsSettingsHealth { +func (o GetJobJobSettingsPtrOutput) Elem() GetJobJobSettingsOutput { + return o.ApplyT(func(v *GetJobJobSettings) GetJobJobSettings { if v != nil { return *v } - var ret GetJobJobSettingsSettingsHealth + var ret GetJobJobSettings return ret - }).(GetJobJobSettingsSettingsHealthOutput) + }).(GetJobJobSettingsOutput) } -func (o GetJobJobSettingsSettingsHealthPtrOutput) Rules() GetJobJobSettingsSettingsHealthRuleArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsHealth) []GetJobJobSettingsSettingsHealthRule { +func (o GetJobJobSettingsPtrOutput) CreatedTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettings) *int { if v == nil { return nil } - return v.Rules - }).(GetJobJobSettingsSettingsHealthRuleArrayOutput) -} - -type GetJobJobSettingsSettingsHealthRule struct { - Metric *string `pulumi:"metric"` - Op *string `pulumi:"op"` - Value *int `pulumi:"value"` + return v.CreatedTime + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsHealthRuleInput is an input type that accepts GetJobJobSettingsSettingsHealthRuleArgs and GetJobJobSettingsSettingsHealthRuleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthRuleInput` via: -// -// GetJobJobSettingsSettingsHealthRuleArgs{...} -type GetJobJobSettingsSettingsHealthRuleInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput - ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthRuleOutput +func (o GetJobJobSettingsPtrOutput) CreatorUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettings) *string { + if v == nil { + return nil + } + return v.CreatorUserName + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsHealthRuleArgs struct { - Metric pulumi.StringPtrInput `pulumi:"metric"` - Op pulumi.StringPtrInput `pulumi:"op"` - Value pulumi.IntPtrInput `pulumi:"value"` +func (o GetJobJobSettingsPtrOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettings) *int { + if v == nil { + return nil + } + return v.JobId + }).(pulumi.IntPtrOutput) } -func (GetJobJobSettingsSettingsHealthRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsHealthRule)(nil)).Elem() +func (o GetJobJobSettingsPtrOutput) RunAsUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettings) *string { + if v == nil { + return nil + } + return &v.RunAsUserName + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsHealthRuleArgs) ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput { - return i.ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(context.Background()) +func (o GetJobJobSettingsPtrOutput) Settings() GetJobJobSettingsSettingsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettings) *GetJobJobSettingsSettings { + if v == nil { + return nil + } + return v.Settings + }).(GetJobJobSettingsSettingsPtrOutput) } -func (i GetJobJobSettingsSettingsHealthRuleArgs) ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthRuleOutput) +type GetJobJobSettingsSettings struct { + Continuous *GetJobJobSettingsSettingsContinuous `pulumi:"continuous"` + DbtTask *GetJobJobSettingsSettingsDbtTask `pulumi:"dbtTask"` + Deployment *GetJobJobSettingsSettingsDeployment `pulumi:"deployment"` + Description *string `pulumi:"description"` + EditMode *string `pulumi:"editMode"` + EmailNotifications *GetJobJobSettingsSettingsEmailNotifications `pulumi:"emailNotifications"` + Environments []GetJobJobSettingsSettingsEnvironment `pulumi:"environments"` + ExistingClusterId *string `pulumi:"existingClusterId"` + Format string `pulumi:"format"` + GitSource *GetJobJobSettingsSettingsGitSource `pulumi:"gitSource"` + Health *GetJobJobSettingsSettingsHealth `pulumi:"health"` + JobClusters []GetJobJobSettingsSettingsJobCluster `pulumi:"jobClusters"` + Libraries []GetJobJobSettingsSettingsLibrary `pulumi:"libraries"` + MaxConcurrentRuns *int `pulumi:"maxConcurrentRuns"` + MaxRetries *int `pulumi:"maxRetries"` + MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` + // the job name of Job if the resource was matched by id. + Name *string `pulumi:"name"` + NewCluster *GetJobJobSettingsSettingsNewCluster `pulumi:"newCluster"` + NotebookTask *GetJobJobSettingsSettingsNotebookTask `pulumi:"notebookTask"` + NotificationSettings *GetJobJobSettingsSettingsNotificationSettings `pulumi:"notificationSettings"` + Parameters []GetJobJobSettingsSettingsParameter `pulumi:"parameters"` + PipelineTask *GetJobJobSettingsSettingsPipelineTask `pulumi:"pipelineTask"` + PythonWheelTask *GetJobJobSettingsSettingsPythonWheelTask `pulumi:"pythonWheelTask"` + Queue *GetJobJobSettingsSettingsQueue `pulumi:"queue"` + RetryOnTimeout *bool `pulumi:"retryOnTimeout"` + RunAs GetJobJobSettingsSettingsRunAs `pulumi:"runAs"` + RunJobTask *GetJobJobSettingsSettingsRunJobTask `pulumi:"runJobTask"` + Schedule *GetJobJobSettingsSettingsSchedule `pulumi:"schedule"` + SparkJarTask *GetJobJobSettingsSettingsSparkJarTask `pulumi:"sparkJarTask"` + SparkPythonTask *GetJobJobSettingsSettingsSparkPythonTask `pulumi:"sparkPythonTask"` + SparkSubmitTask *GetJobJobSettingsSettingsSparkSubmitTask `pulumi:"sparkSubmitTask"` + Tags map[string]interface{} `pulumi:"tags"` + Tasks []GetJobJobSettingsSettingsTask `pulumi:"tasks"` + TimeoutSeconds *int `pulumi:"timeoutSeconds"` + Trigger *GetJobJobSettingsSettingsTrigger `pulumi:"trigger"` + WebhookNotifications *GetJobJobSettingsSettingsWebhookNotifications `pulumi:"webhookNotifications"` } -// GetJobJobSettingsSettingsHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsHealthRuleArray and GetJobJobSettingsSettingsHealthRuleArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthRuleArrayInput` via: +// GetJobJobSettingsSettingsInput is an input type that accepts GetJobJobSettingsSettingsArgs and GetJobJobSettingsSettingsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsInput` via: // -// GetJobJobSettingsSettingsHealthRuleArray{ GetJobJobSettingsSettingsHealthRuleArgs{...} } -type GetJobJobSettingsSettingsHealthRuleArrayInput interface { +// GetJobJobSettingsSettingsArgs{...} +type GetJobJobSettingsSettingsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput - ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput -} - -type GetJobJobSettingsSettingsHealthRuleArray []GetJobJobSettingsSettingsHealthRuleInput - -func (GetJobJobSettingsSettingsHealthRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsHealthRule)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsHealthRuleArray) ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput { - return i.ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsHealthRuleArray) ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthRuleArrayOutput) -} - -type GetJobJobSettingsSettingsHealthRuleOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsHealthRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsHealthRule)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsHealthRuleOutput) ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput { - return o -} - -func (o GetJobJobSettingsSettingsHealthRuleOutput) ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleOutput { - return o -} - -func (o GetJobJobSettingsSettingsHealthRuleOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsHealthRuleOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) *string { return v.Op }).(pulumi.StringPtrOutput) + ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput + ToGetJobJobSettingsSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsOutput } -func (o GetJobJobSettingsSettingsHealthRuleOutput) Value() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) *int { return v.Value }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsArgs struct { + Continuous GetJobJobSettingsSettingsContinuousPtrInput `pulumi:"continuous"` + DbtTask GetJobJobSettingsSettingsDbtTaskPtrInput `pulumi:"dbtTask"` + Deployment GetJobJobSettingsSettingsDeploymentPtrInput `pulumi:"deployment"` + Description pulumi.StringPtrInput `pulumi:"description"` + EditMode pulumi.StringPtrInput `pulumi:"editMode"` + EmailNotifications GetJobJobSettingsSettingsEmailNotificationsPtrInput `pulumi:"emailNotifications"` + Environments GetJobJobSettingsSettingsEnvironmentArrayInput `pulumi:"environments"` + ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` + Format pulumi.StringInput `pulumi:"format"` + GitSource GetJobJobSettingsSettingsGitSourcePtrInput `pulumi:"gitSource"` + Health GetJobJobSettingsSettingsHealthPtrInput `pulumi:"health"` + JobClusters GetJobJobSettingsSettingsJobClusterArrayInput `pulumi:"jobClusters"` + Libraries GetJobJobSettingsSettingsLibraryArrayInput `pulumi:"libraries"` + MaxConcurrentRuns pulumi.IntPtrInput `pulumi:"maxConcurrentRuns"` + MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` + MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` + // the job name of Job if the resource was matched by id. + Name pulumi.StringPtrInput `pulumi:"name"` + NewCluster GetJobJobSettingsSettingsNewClusterPtrInput `pulumi:"newCluster"` + NotebookTask GetJobJobSettingsSettingsNotebookTaskPtrInput `pulumi:"notebookTask"` + NotificationSettings GetJobJobSettingsSettingsNotificationSettingsPtrInput `pulumi:"notificationSettings"` + Parameters GetJobJobSettingsSettingsParameterArrayInput `pulumi:"parameters"` + PipelineTask GetJobJobSettingsSettingsPipelineTaskPtrInput `pulumi:"pipelineTask"` + PythonWheelTask GetJobJobSettingsSettingsPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` + Queue GetJobJobSettingsSettingsQueuePtrInput `pulumi:"queue"` + RetryOnTimeout pulumi.BoolPtrInput `pulumi:"retryOnTimeout"` + RunAs GetJobJobSettingsSettingsRunAsInput `pulumi:"runAs"` + RunJobTask GetJobJobSettingsSettingsRunJobTaskPtrInput `pulumi:"runJobTask"` + Schedule GetJobJobSettingsSettingsSchedulePtrInput `pulumi:"schedule"` + SparkJarTask GetJobJobSettingsSettingsSparkJarTaskPtrInput `pulumi:"sparkJarTask"` + SparkPythonTask GetJobJobSettingsSettingsSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` + SparkSubmitTask GetJobJobSettingsSettingsSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` + Tags pulumi.MapInput `pulumi:"tags"` + Tasks GetJobJobSettingsSettingsTaskArrayInput `pulumi:"tasks"` + TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` + Trigger GetJobJobSettingsSettingsTriggerPtrInput `pulumi:"trigger"` + WebhookNotifications GetJobJobSettingsSettingsWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` } -type GetJobJobSettingsSettingsHealthRuleArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsHealthRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsHealthRule)(nil)).Elem() +func (GetJobJobSettingsSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsHealthRuleArrayOutput) ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput { - return o +func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput { + return i.ToGetJobJobSettingsSettingsOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsHealthRuleArrayOutput) ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput { - return o +func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsOutput) } -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 (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsJobCluster struct { - JobClusterKey *string `pulumi:"jobClusterKey"` - NewCluster *GetJobJobSettingsSettingsJobClusterNewCluster `pulumi:"newCluster"` +func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsOutput).ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterInput is an input type that accepts GetJobJobSettingsSettingsJobClusterArgs and GetJobJobSettingsSettingsJobClusterOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterInput` via: +// GetJobJobSettingsSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsArgs, GetJobJobSettingsSettingsPtr and GetJobJobSettingsSettingsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterArgs{...} -type GetJobJobSettingsSettingsJobClusterInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput - ToGetJobJobSettingsSettingsJobClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterOutput -} - -type GetJobJobSettingsSettingsJobClusterArgs struct { - JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` - NewCluster GetJobJobSettingsSettingsJobClusterNewClusterPtrInput `pulumi:"newCluster"` -} - -func (GetJobJobSettingsSettingsJobClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobCluster)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsJobClusterArgs) ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput { - return i.ToGetJobJobSettingsSettingsJobClusterOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsJobClusterArgs) ToGetJobJobSettingsSettingsJobClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterOutput) -} - -// GetJobJobSettingsSettingsJobClusterArrayInput is an input type that accepts GetJobJobSettingsSettingsJobClusterArray and GetJobJobSettingsSettingsJobClusterArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterArrayInput` via: +// GetJobJobSettingsSettingsArgs{...} // -// GetJobJobSettingsSettingsJobClusterArray{ GetJobJobSettingsSettingsJobClusterArgs{...} } -type GetJobJobSettingsSettingsJobClusterArrayInput interface { +// or: +// +// nil +type GetJobJobSettingsSettingsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput - ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput -} - -type GetJobJobSettingsSettingsJobClusterArray []GetJobJobSettingsSettingsJobClusterInput - -func (GetJobJobSettingsSettingsJobClusterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobCluster)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsJobClusterArray) ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput { - return i.ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsJobClusterArray) ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterArrayOutput) + ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput + ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPtrOutput } -type GetJobJobSettingsSettingsJobClusterOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobCluster)(nil)).Elem() -} +type getJobJobSettingsSettingsPtrType GetJobJobSettingsSettingsArgs -func (o GetJobJobSettingsSettingsJobClusterOutput) ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput { - return o +func GetJobJobSettingsSettingsPtr(v *GetJobJobSettingsSettingsArgs) GetJobJobSettingsSettingsPtrInput { + return (*getJobJobSettingsSettingsPtrType)(v) } -func (o GetJobJobSettingsSettingsJobClusterOutput) ToGetJobJobSettingsSettingsJobClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterOutput { - return o +func (*getJobJobSettingsSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterOutput) JobClusterKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobCluster) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsPtrType) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterOutput) NewCluster() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobCluster) *GetJobJobSettingsSettingsJobClusterNewCluster { - return v.NewCluster - }).(GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) +func (i *getJobJobSettingsSettingsPtrType) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterArrayOutput) ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput { +func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterArrayOutput) ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput { +func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsOutput { 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) -} - -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"` -} - -// 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 GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { + return o.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) } -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 GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettings) *GetJobJobSettingsSettings { + return &v + }).(GetJobJobSettingsSettingsPtrOutput) } -func (GetJobJobSettingsSettingsJobClusterNewClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() +func (o GetJobJobSettingsSettingsOutput) Continuous() GetJobJobSettingsSettingsContinuousPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsContinuous { return v.Continuous }).(GetJobJobSettingsSettingsContinuousPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsOutput) DbtTask() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDbtTask { return v.DbtTask }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterOutput) +func (o GetJobJobSettingsSettingsOutput) Deployment() GetJobJobSettingsSettingsDeploymentPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDeployment { return v.Deployment }).(GetJobJobSettingsSettingsDeploymentPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.Description }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsOutput) EditMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.EditMode }).(pulumi.StringPtrOutput) } -// 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 GetJobJobSettingsSettingsOutput) EmailNotifications() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsEmailNotifications { + return v.EmailNotifications + }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) } -type getJobJobSettingsSettingsJobClusterNewClusterPtrType GetJobJobSettingsSettingsJobClusterNewClusterArgs - -func GetJobJobSettingsSettingsJobClusterNewClusterPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterArgs) GetJobJobSettingsSettingsJobClusterNewClusterPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterPtrType)(v) +func (o GetJobJobSettingsSettingsOutput) Environments() GetJobJobSettingsSettingsEnvironmentArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsEnvironment { return v.Environments }).(GetJobJobSettingsSettingsEnvironmentArrayOutput) } -func (*getJobJobSettingsSettingsJobClusterNewClusterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() +func (o GetJobJobSettingsSettingsOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsOutput) Format() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) string { return v.Format }).(pulumi.StringOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) +func (o GetJobJobSettingsSettingsOutput) GitSource() GetJobJobSettingsSettingsGitSourcePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsGitSource { return v.GitSource }).(GetJobJobSettingsSettingsGitSourcePtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() +func (o GetJobJobSettingsSettingsOutput) Health() GetJobJobSettingsSettingsHealthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsHealth { return v.Health }).(GetJobJobSettingsSettingsHealthPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput { - return o +func (o GetJobJobSettingsSettingsOutput) JobClusters() GetJobJobSettingsSettingsJobClusterArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsJobCluster { return v.JobClusters }).(GetJobJobSettingsSettingsJobClusterArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput { - return o +func (o GetJobJobSettingsSettingsOutput) Libraries() GetJobJobSettingsSettingsLibraryArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsLibrary { return v.Libraries }).(GetJobJobSettingsSettingsLibraryArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsOutput) MaxConcurrentRuns() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MaxConcurrentRuns }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewCluster { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) +func (o GetJobJobSettingsSettingsOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) Autoscale() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { - return v.Autoscale - }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) +// 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 GetJobJobSettingsSettingsJobClusterNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsOutput) NewCluster() GetJobJobSettingsSettingsNewClusterPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNewCluster { return v.NewCluster }).(GetJobJobSettingsSettingsNewClusterPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { - return v.AwsAttributes - }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) +func (o GetJobJobSettingsSettingsOutput) NotebookTask() GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotebookTask { return v.NotebookTask }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { - return v.AzureAttributes - }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) +func (o GetJobJobSettingsSettingsOutput) NotificationSettings() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotificationSettings { + return v.NotificationSettings + }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsOutput) Parameters() GetJobJobSettingsSettingsParameterArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsParameter { return v.Parameters }).(GetJobJobSettingsSettingsParameterArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) +func (o GetJobJobSettingsSettingsOutput) PipelineTask() GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPipelineTask { return v.PipelineTask }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo { - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) +func (o GetJobJobSettingsSettingsOutput) PythonWheelTask() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPythonWheelTask { return v.PythonWheelTask }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsOutput) Queue() GetJobJobSettingsSettingsQueuePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsQueue { return v.Queue }).(GetJobJobSettingsSettingsQueuePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsOutput) RetryOnTimeout() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *bool { return v.RetryOnTimeout }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsOutput) RunAs() GetJobJobSettingsSettingsRunAsOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) GetJobJobSettingsSettingsRunAs { return v.RunAs }).(GetJobJobSettingsSettingsRunAsOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DockerImage() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { - return v.DockerImage - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) +func (o GetJobJobSettingsSettingsOutput) RunJobTask() GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunJobTask { return v.RunJobTask }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsOutput) Schedule() GetJobJobSettingsSettingsSchedulePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSchedule { return v.Schedule }).(GetJobJobSettingsSettingsSchedulePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsOutput) SparkJarTask() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkJarTask { return v.SparkJarTask }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) +func (o GetJobJobSettingsSettingsOutput) SparkPythonTask() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkPythonTask { return v.SparkPythonTask }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) +func (o GetJobJobSettingsSettingsOutput) SparkSubmitTask() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkSubmitTask { return v.SparkSubmitTask }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { - return v.GcpAttributes - }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) +func (o GetJobJobSettingsSettingsOutput) Tags() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) map[string]interface{} { return v.Tags }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsOutput) Tasks() GetJobJobSettingsSettingsTaskArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsTask { return v.Tasks }).(GetJobJobSettingsSettingsTaskArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) InitScripts() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterInitScript { - return v.InitScripts - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) +func (o GetJobJobSettingsSettingsOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsOutput) Trigger() GetJobJobSettingsSettingsTriggerPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsTrigger { return v.Trigger }).(GetJobJobSettingsSettingsTriggerPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) NodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsOutput) WebhookNotifications() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsWebhookNotifications { + return v.WebhookNotifications + }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) NumWorkers() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) -} +type GetJobJobSettingsSettingsPtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsPtrOutput) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsPtrOutput) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { return v.SparkConf }).(pulumi.MapOutput) +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 GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { return v.SparkEnvVars }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsPtrOutput) Continuous() GetJobJobSettingsSettingsContinuousPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsContinuous { + if v == nil { + return nil + } + return v.Continuous + }).(GetJobJobSettingsSettingsContinuousPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsPtrOutput) DbtTask() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDbtTask { + if v == nil { + return nil + } + return v.DbtTask + }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsPtrOutput) Deployment() GetJobJobSettingsSettingsDeploymentPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDeployment { + if v == nil { + return nil + } + return v.Deployment + }).(GetJobJobSettingsSettingsDeploymentPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { - return v.WorkloadType - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) +func (o GetJobJobSettingsSettingsPtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { + if v == nil { + return nil + } + return v.Description + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewCluster)(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 GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - 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 GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - return o +func (o GetJobJobSettingsSettingsPtrOutput) Environments() GetJobJobSettingsSettingsEnvironmentArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsEnvironment { + if v == nil { + return nil + } + return v.Environments + }).(GetJobJobSettingsSettingsEnvironmentArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) GetJobJobSettingsSettingsJobClusterNewCluster { - if v != nil { - return *v +func (o GetJobJobSettingsSettingsPtrOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsJobClusterNewCluster - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterOutput) + return v.ExistingClusterId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *bool { +func (o GetJobJobSettingsSettingsPtrOutput) Format() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { if v == nil { return nil } - return v.ApplyPolicyDefaultValues - }).(pulumi.BoolPtrOutput) + return &v.Format + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { +func (o GetJobJobSettingsSettingsPtrOutput) GitSource() GetJobJobSettingsSettingsGitSourcePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsGitSource { if v == nil { return nil } - return v.Autoscale - }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) + return v.GitSource + }).(GetJobJobSettingsSettingsGitSourcePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *int { +func (o GetJobJobSettingsSettingsPtrOutput) Health() GetJobJobSettingsSettingsHealthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsHealth { if v == nil { return nil } - return v.AutoterminationMinutes - }).(pulumi.IntPtrOutput) + return v.Health + }).(GetJobJobSettingsSettingsHealthPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsPtrOutput) JobClusters() GetJobJobSettingsSettingsJobClusterArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsJobCluster { if v == nil { return nil } - return v.AwsAttributes - }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) + return v.JobClusters + }).(GetJobJobSettingsSettingsJobClusterArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsPtrOutput) Libraries() GetJobJobSettingsSettingsLibraryArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsLibrary { if v == nil { return nil } - return v.AzureAttributes - }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) + return v.Libraries + }).(GetJobJobSettingsSettingsLibraryArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +func (o GetJobJobSettingsSettingsPtrOutput) MaxConcurrentRuns() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { if v == nil { return nil } - return v.ClusterId - }).(pulumi.StringPtrOutput) + return v.MaxConcurrentRuns + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { +func (o GetJobJobSettingsSettingsPtrOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { if v == nil { return nil } - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) + return v.MaxRetries + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo { +func (o GetJobJobSettingsSettingsPtrOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { if v == nil { return nil } - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) + return v.MinRetryIntervalMillis + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +// 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.ClusterName + return v.Name }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { +func (o GetJobJobSettingsSettingsPtrOutput) NewCluster() GetJobJobSettingsSettingsNewClusterPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNewCluster { if v == nil { return nil } - return v.CustomTags - }).(pulumi.MapOutput) + return v.NewCluster + }).(GetJobJobSettingsSettingsNewClusterPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +func (o GetJobJobSettingsSettingsPtrOutput) NotebookTask() GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotebookTask { if v == nil { return nil } - return v.DataSecurityMode - }).(pulumi.StringPtrOutput) + return v.NotebookTask + }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { +func (o GetJobJobSettingsSettingsPtrOutput) NotificationSettings() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotificationSettings { if v == nil { return nil } - return v.DockerImage - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) + return v.NotificationSettings + }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +func (o GetJobJobSettingsSettingsPtrOutput) Parameters() GetJobJobSettingsSettingsParameterArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsParameter { if v == nil { return nil } - return &v.DriverInstancePoolId - }).(pulumi.StringPtrOutput) + return v.Parameters + }).(GetJobJobSettingsSettingsParameterArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +func (o GetJobJobSettingsSettingsPtrOutput) PipelineTask() GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPipelineTask { if v == nil { return nil } - return &v.DriverNodeTypeId - }).(pulumi.StringPtrOutput) + return v.PipelineTask + }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *bool { +func (o GetJobJobSettingsSettingsPtrOutput) PythonWheelTask() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPythonWheelTask { if v == nil { return nil } - return &v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) + return v.PythonWheelTask + }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *bool { +func (o GetJobJobSettingsSettingsPtrOutput) Queue() GetJobJobSettingsSettingsQueuePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsQueue { if v == nil { return nil } - return &v.EnableLocalDiskEncryption - }).(pulumi.BoolPtrOutput) + return v.Queue + }).(GetJobJobSettingsSettingsQueuePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { +func (o GetJobJobSettingsSettingsPtrOutput) RetryOnTimeout() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *bool { if v == nil { return nil } - return v.GcpAttributes - }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) + return v.RetryOnTimeout + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +func (o GetJobJobSettingsSettingsPtrOutput) RunAs() GetJobJobSettingsSettingsRunAsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunAs { if v == nil { return nil } - return v.IdempotencyToken - }).(pulumi.StringPtrOutput) + return &v.RunAs + }).(GetJobJobSettingsSettingsRunAsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterInitScript { +func (o GetJobJobSettingsSettingsPtrOutput) RunJobTask() GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunJobTask { if v == nil { return nil } - return v.InitScripts - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) + return v.RunJobTask + }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +func (o GetJobJobSettingsSettingsPtrOutput) Schedule() GetJobJobSettingsSettingsSchedulePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSchedule { if v == nil { return nil } - return v.InstancePoolId - }).(pulumi.StringPtrOutput) + return v.Schedule + }).(GetJobJobSettingsSettingsSchedulePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +func (o GetJobJobSettingsSettingsPtrOutput) SparkJarTask() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkJarTask { if v == nil { return nil } - return &v.NodeTypeId - }).(pulumi.StringPtrOutput) + return v.SparkJarTask + }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *int { +func (o GetJobJobSettingsSettingsPtrOutput) SparkPythonTask() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkPythonTask { if v == nil { return nil } - return &v.NumWorkers - }).(pulumi.IntPtrOutput) + return v.SparkPythonTask + }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +func (o GetJobJobSettingsSettingsPtrOutput) SparkSubmitTask() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkSubmitTask { if v == nil { return nil } - return v.PolicyId - }).(pulumi.StringPtrOutput) + return v.SparkSubmitTask + }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +func (o GetJobJobSettingsSettingsPtrOutput) Tags() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) map[string]interface{} { if v == nil { return nil } - return v.RuntimeEngine - }).(pulumi.StringPtrOutput) + return v.Tags + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +func (o GetJobJobSettingsSettingsPtrOutput) Tasks() GetJobJobSettingsSettingsTaskArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsTask { if v == nil { return nil } - return v.SingleUserName - }).(pulumi.StringPtrOutput) + return v.Tasks + }).(GetJobJobSettingsSettingsTaskArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { +func (o GetJobJobSettingsSettingsPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { if v == nil { return nil } - return v.SparkConf - }).(pulumi.MapOutput) + return v.TimeoutSeconds + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { +func (o GetJobJobSettingsSettingsPtrOutput) Trigger() GetJobJobSettingsSettingsTriggerPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsTrigger { if v == nil { return nil } - return v.SparkEnvVars - }).(pulumi.MapOutput) + return v.Trigger + }).(GetJobJobSettingsSettingsTriggerPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +func (o GetJobJobSettingsSettingsPtrOutput) WebhookNotifications() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsWebhookNotifications { if v == nil { return nil } - return &v.SparkVersion - }).(pulumi.StringPtrOutput) + return v.WebhookNotifications + }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) []string { - if v == nil { - return nil +type GetJobJobSettingsSettingsContinuous struct { + PauseStatus *string `pulumi:"pauseStatus"` +} + +// GetJobJobSettingsSettingsContinuousInput is an input type that accepts GetJobJobSettingsSettingsContinuousArgs and GetJobJobSettingsSettingsContinuousOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsContinuousInput` via: +// +// GetJobJobSettingsSettingsContinuousArgs{...} +type GetJobJobSettingsSettingsContinuousInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput + ToGetJobJobSettingsSettingsContinuousOutputWithContext(context.Context) GetJobJobSettingsSettingsContinuousOutput +} + +type GetJobJobSettingsSettingsContinuousArgs struct { + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` +} + +func (GetJobJobSettingsSettingsContinuousArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsContinuous)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput { + return i.ToGetJobJobSettingsSettingsContinuousOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousOutput) +} + +func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { + return i.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousOutput).ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsContinuousPtrInput is an input type that accepts GetJobJobSettingsSettingsContinuousArgs, GetJobJobSettingsSettingsContinuousPtr and GetJobJobSettingsSettingsContinuousPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsContinuousPtrInput` via: +// +// GetJobJobSettingsSettingsContinuousArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsContinuousPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput + ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsContinuousPtrOutput +} + +type getJobJobSettingsSettingsContinuousPtrType GetJobJobSettingsSettingsContinuousArgs + +func GetJobJobSettingsSettingsContinuousPtr(v *GetJobJobSettingsSettingsContinuousArgs) GetJobJobSettingsSettingsContinuousPtrInput { + return (*getJobJobSettingsSettingsContinuousPtrType)(v) +} + +func (*getJobJobSettingsSettingsContinuousPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsContinuous)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsContinuousPtrType) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { + return i.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsContinuousPtrType) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousPtrOutput) +} + +type GetJobJobSettingsSettingsContinuousOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsContinuousOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsContinuous)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput { + return o +} + +func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousOutput { + return o +} + +func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { + return o.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsContinuous) *GetJobJobSettingsSettingsContinuous { + return &v + }).(GetJobJobSettingsSettingsContinuousPtrOutput) +} + +func (o GetJobJobSettingsSettingsContinuousOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsContinuous) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsContinuousPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsContinuousPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsContinuous)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsContinuousPtrOutput) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsContinuousPtrOutput) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsContinuousPtrOutput) Elem() GetJobJobSettingsSettingsContinuousOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsContinuous) GetJobJobSettingsSettingsContinuous { + if v != nil { + return *v } - return v.SshPublicKeys - }).(pulumi.StringArrayOutput) + var ret GetJobJobSettingsSettingsContinuous + return ret + }).(GetJobJobSettingsSettingsContinuousOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsContinuousPtrOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsContinuous) *string { if v == nil { return nil } - return v.WorkloadType - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) + return v.PauseStatus + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +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"` } -// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs and GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput` via: +// GetJobJobSettingsSettingsDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsDbtTaskArgs and GetJobJobSettingsSettingsDbtTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsDbtTaskInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput interface { +// GetJobJobSettingsSettingsDbtTaskArgs{...} +type GetJobJobSettingsSettingsDbtTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput + ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsDbtTaskOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +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 (GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsDbtTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsDbtTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput { + return i.ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) +func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskOutput).ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs, GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtr and GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput` via: +// GetJobJobSettingsSettingsDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsDbtTaskArgs, GetJobJobSettingsSettingsDbtTaskPtr and GetJobJobSettingsSettingsDbtTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsDbtTaskPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs{...} +// GetJobJobSettingsSettingsDbtTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput interface { +type GetJobJobSettingsSettingsDbtTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput + ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs +type getJobJobSettingsSettingsDbtTaskPtrType GetJobJobSettingsSettingsDbtTaskArgs -func GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType)(v) +func GetJobJobSettingsSettingsDbtTaskPtr(v *GetJobJobSettingsSettingsDbtTaskArgs) GetJobJobSettingsSettingsDbtTaskPtrInput { + return (*getJobJobSettingsSettingsDbtTaskPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() +func (*getJobJobSettingsSettingsDbtTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsDbtTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsDbtTaskPtrType) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) +func (i *getJobJobSettingsSettingsDbtTaskPtrType) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsDbtTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsDbtTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsDbtTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { +func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsDbtTask) *GetJobJobSettingsSettingsDbtTask { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) + }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() +func (o GetJobJobSettingsSettingsDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) +} + +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 GetJobJobSettingsSettingsDbtTaskPtrOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { + 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 GetJobJobSettingsSettingsDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { + if v == nil { + return nil + } + return v.Catalog + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) []string { + if v == nil { + return nil + } + return v.Commands + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return o +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { + if v == nil { + return nil + } + return v.ProfilesDirectory + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return o +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 GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { - if v != nil { - return *v +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsJobClusterNewClusterAutoscale - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) + return v.Schema + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { if v == nil { return nil } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) + return v.Source + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { if v == nil { return nil } - return v.MinWorkers - }).(pulumi.IntPtrOutput) + return v.WarehouseId + }).(pulumi.StringPtrOutput) } -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"` +type GetJobJobSettingsSettingsDeployment struct { + Kind string `pulumi:"kind"` + MetadataFilePath *string `pulumi:"metadataFilePath"` } -// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput` via: +// GetJobJobSettingsSettingsDeploymentInput is an input type that accepts GetJobJobSettingsSettingsDeploymentArgs and GetJobJobSettingsSettingsDeploymentOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsDeploymentInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput interface { +// GetJobJobSettingsSettingsDeploymentArgs{...} +type GetJobJobSettingsSettingsDeploymentInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput + ToGetJobJobSettingsSettingsDeploymentOutputWithContext(context.Context) GetJobJobSettingsSettingsDeploymentOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` - EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type GetJobJobSettingsSettingsDeploymentArgs struct { + Kind pulumi.StringInput `pulumi:"kind"` + MetadataFilePath pulumi.StringPtrInput `pulumi:"metadataFilePath"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsDeploymentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsDeployment)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput { + return i.ToGetJobJobSettingsSettingsDeploymentOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) +func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { + return i.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentOutput).ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput` via: +// GetJobJobSettingsSettingsDeploymentPtrInput is an input type that accepts GetJobJobSettingsSettingsDeploymentArgs, GetJobJobSettingsSettingsDeploymentPtr and GetJobJobSettingsSettingsDeploymentPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsDeploymentPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs{...} +// GetJobJobSettingsSettingsDeploymentArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput interface { +type GetJobJobSettingsSettingsDeploymentPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput + ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs +type getJobJobSettingsSettingsDeploymentPtrType GetJobJobSettingsSettingsDeploymentArgs -func GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType)(v) +func GetJobJobSettingsSettingsDeploymentPtr(v *GetJobJobSettingsSettingsDeploymentArgs) GetJobJobSettingsSettingsDeploymentPtrInput { + return (*getJobJobSettingsSettingsDeploymentPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsDeploymentPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsDeployment)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsDeploymentPtrType) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { + return i.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) +func (i *getJobJobSettingsSettingsDeploymentPtrType) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsDeploymentOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsDeploymentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsDeployment)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { + return o.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsDeployment) *GetJobJobSettingsSettingsDeployment { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsDeploymentPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsDeploymentOutput) Kind() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDeployment) string { return v.Kind }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsDeploymentOutput) MetadataFilePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDeployment) *string { return v.MetadataFilePath }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsDeploymentPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsDeploymentPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsDeployment)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsDeploymentPtrOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsDeploymentPtrOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsDeploymentPtrOutput) Elem() GetJobJobSettingsSettingsDeploymentOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) GetJobJobSettingsSettingsDeployment { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes + var ret GetJobJobSettingsSettingsDeployment return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsDeploymentOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsDeploymentPtrOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) *string { if v == nil { return nil } - return v.InstanceProfileArn + return &v.Kind }).(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 { +func (o GetJobJobSettingsSettingsDeploymentPtrOutput) MetadataFilePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) *string { if v == nil { return nil } - return v.ZoneId + return v.MetadataFilePath }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsEmailNotifications struct { + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures []string `pulumi:"onFailures"` + OnStarts []string `pulumi:"onStarts"` + OnSuccesses []string `pulumi:"onSuccesses"` } -// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput` via: +// GetJobJobSettingsSettingsEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsEmailNotificationsArgs and GetJobJobSettingsSettingsEmailNotificationsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsEmailNotificationsInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput interface { +// GetJobJobSettingsSettingsEmailNotificationsArgs{...} +type GetJobJobSettingsSettingsEmailNotificationsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput + ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +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 (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsEmailNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput { + return i.ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) +func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsOutput).ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput` via: +// GetJobJobSettingsSettingsEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsEmailNotificationsArgs, GetJobJobSettingsSettingsEmailNotificationsPtr and GetJobJobSettingsSettingsEmailNotificationsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsEmailNotificationsPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs{...} +// GetJobJobSettingsSettingsEmailNotificationsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput interface { +type GetJobJobSettingsSettingsEmailNotificationsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput + ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs +type getJobJobSettingsSettingsEmailNotificationsPtrType GetJobJobSettingsSettingsEmailNotificationsArgs -func GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType)(v) +func GetJobJobSettingsSettingsEmailNotificationsPtr(v *GetJobJobSettingsSettingsEmailNotificationsArgs) GetJobJobSettingsSettingsEmailNotificationsPtrInput { + return (*getJobJobSettingsSettingsEmailNotificationsPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsEmailNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsEmailNotificationsPtrType) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) +func (i *getJobJobSettingsSettingsEmailNotificationsPtrType) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsEmailNotificationsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsEmailNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return o.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsEmailNotifications) *GetJobJobSettingsSettingsEmailNotifications { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) + }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *float64 { - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { +type GetJobJobSettingsSettingsEmailNotificationsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsEmailNotificationsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) GetJobJobSettingsSettingsEmailNotifications { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes + var ret GetJobJobSettingsSettingsEmailNotifications return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) + }).(GetJobJobSettingsSettingsEmailNotificationsOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *string { +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) *bool { if v == nil { return nil } - return v.Availability - }).(pulumi.StringPtrOutput) + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *int { +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { if v == nil { return nil } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *float64 { +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { if v == nil { return nil } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) + return v.OnFailures + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf struct { - Dbfs *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 `pulumi:"s3"` +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnStarts + }).(pulumi.StringArrayOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnSuccesses + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs struct { - Dbfs GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` +type GetJobJobSettingsSettingsEnvironment struct { + EnvironmentKey string `pulumi:"environmentKey"` + Spec *GetJobJobSettingsSettingsEnvironmentSpec `pulumi:"spec"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() +// GetJobJobSettingsSettingsEnvironmentInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentArgs and GetJobJobSettingsSettingsEnvironmentOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentInput` via: +// +// GetJobJobSettingsSettingsEnvironmentArgs{...} +type GetJobJobSettingsSettingsEnvironmentInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsEnvironmentOutput() GetJobJobSettingsSettingsEnvironmentOutput + ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentOutput } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsEnvironmentArgs struct { + EnvironmentKey pulumi.StringInput `pulumi:"environmentKey"` + Spec GetJobJobSettingsSettingsEnvironmentSpecPtrInput `pulumi:"spec"` } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) +func (GetJobJobSettingsSettingsEnvironmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironment)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsEnvironmentArgs) ToGetJobJobSettingsSettingsEnvironmentOutput() GetJobJobSettingsSettingsEnvironmentOutput { + return i.ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsEnvironmentArgs) ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs{...} -// -// or: +// GetJobJobSettingsSettingsEnvironmentArrayInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentArray and GetJobJobSettingsSettingsEnvironmentArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentArrayInput` via: // -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput interface { +// GetJobJobSettingsSettingsEnvironmentArray{ GetJobJobSettingsSettingsEnvironmentArgs{...} } +type GetJobJobSettingsSettingsEnvironmentArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsEnvironmentArrayOutput() GetJobJobSettingsSettingsEnvironmentArrayOutput + ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentArrayOutput } -type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs - -func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType)(v) -} +type GetJobJobSettingsSettingsEnvironmentArray []GetJobJobSettingsSettingsEnvironmentInput -func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsEnvironmentArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsEnvironment)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsEnvironmentArray) ToGetJobJobSettingsSettingsEnvironmentArrayOutput() GetJobJobSettingsSettingsEnvironmentArrayOutput { + return i.ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) +func (i GetJobJobSettingsSettingsEnvironmentArray) ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsEnvironmentOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsEnvironmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironment)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsEnvironmentOutput) ToGetJobJobSettingsSettingsEnvironmentOutput() GetJobJobSettingsSettingsEnvironmentOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsEnvironmentOutput) ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) +func (o GetJobJobSettingsSettingsEnvironmentOutput) EnvironmentKey() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironment) string { return v.EnvironmentKey }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { - return v.S3 - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) +func (o GetJobJobSettingsSettingsEnvironmentOutput) Spec() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironment) *GetJobJobSettingsSettingsEnvironmentSpec { return v.Spec }).(GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsEnvironmentArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsEnvironmentArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsEnvironment)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsEnvironmentArrayOutput) ToGetJobJobSettingsSettingsEnvironmentArrayOutput() GetJobJobSettingsSettingsEnvironmentArrayOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsEnvironmentArrayOutput) ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentArrayOutput { 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 GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { - if v == nil { - return nil - } - return v.Dbfs - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { - if v == nil { - return nil - } - return v.S3 - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) +func (o GetJobJobSettingsSettingsEnvironmentArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsEnvironmentOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsEnvironment { + return vs[0].([]GetJobJobSettingsSettingsEnvironment)[vs[1].(int)] + }).(GetJobJobSettingsSettingsEnvironmentOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsEnvironmentSpec struct { + Client string `pulumi:"client"` + Dependencies []string `pulumi:"dependencies"` } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput` via: +// GetJobJobSettingsSettingsEnvironmentSpecInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentSpecArgs and GetJobJobSettingsSettingsEnvironmentSpecOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentSpecInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput interface { +// GetJobJobSettingsSettingsEnvironmentSpecArgs{...} +type GetJobJobSettingsSettingsEnvironmentSpecInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsEnvironmentSpecOutput() GetJobJobSettingsSettingsEnvironmentSpecOutput + ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentSpecOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsEnvironmentSpecArgs struct { + Client pulumi.StringInput `pulumi:"client"` + Dependencies pulumi.StringArrayInput `pulumi:"dependencies"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsEnvironmentSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecOutput() GetJobJobSettingsSettingsEnvironmentSpecOutput { + return i.ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) +func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentSpecOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return i.ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentSpecOutput).ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput` via: +// GetJobJobSettingsSettingsEnvironmentSpecPtrInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentSpecArgs, GetJobJobSettingsSettingsEnvironmentSpecPtr and GetJobJobSettingsSettingsEnvironmentSpecPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentSpecPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs{...} +// GetJobJobSettingsSettingsEnvironmentSpecArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput interface { +type GetJobJobSettingsSettingsEnvironmentSpecPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput + ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs +type getJobJobSettingsSettingsEnvironmentSpecPtrType GetJobJobSettingsSettingsEnvironmentSpecArgs -func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType)(v) +func GetJobJobSettingsSettingsEnvironmentSpecPtr(v *GetJobJobSettingsSettingsEnvironmentSpecArgs) GetJobJobSettingsSettingsEnvironmentSpecPtrInput { + return (*getJobJobSettingsSettingsEnvironmentSpecPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsEnvironmentSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsEnvironmentSpecPtrType) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return i.ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) +func (i *getJobJobSettingsSettingsEnvironmentSpecPtrType) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsEnvironmentSpecOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsEnvironmentSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecOutput() GetJobJobSettingsSettingsEnvironmentSpecOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return o.ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsEnvironmentSpec) *GetJobJobSettingsSettingsEnvironmentSpec { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) + }).(GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) Client() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironmentSpec) string { return v.Client }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) Dependencies() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironmentSpec) []string { return v.Dependencies }).(pulumi.StringArrayOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +type GetJobJobSettingsSettingsEnvironmentSpecPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { +func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { +func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) Elem() GetJobJobSettingsSettingsEnvironmentSpecOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEnvironmentSpec) GetJobJobSettingsSettingsEnvironmentSpec { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs + var ret GetJobJobSettingsSettingsEnvironmentSpec return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) + }).(GetJobJobSettingsSettingsEnvironmentSpecOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) *string { +func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) Client() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEnvironmentSpec) *string { if v == nil { return nil } - return &v.Destination + return &v.Client }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) Dependencies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEnvironmentSpec) []string { + if v == nil { + return nil + } + return v.Dependencies + }).(pulumi.StringArrayOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input` via: +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"` +} + +// GetJobJobSettingsSettingsGitSourceInput is an input type that accepts GetJobJobSettingsSettingsGitSourceArgs and GetJobJobSettingsSettingsGitSourceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args{...} -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input interface { +// GetJobJobSettingsSettingsGitSourceArgs{...} +type GetJobJobSettingsSettingsGitSourceInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput + ToGetJobJobSettingsSettingsGitSourceOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceOutput } -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 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 (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsGitSourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsGitSource)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput { + return i.ToGetJobJobSettingsSettingsGitSourceOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) +func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { + return i.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceOutput).ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput` via: +// GetJobJobSettingsSettingsGitSourcePtrInput is an input type that accepts GetJobJobSettingsSettingsGitSourceArgs, GetJobJobSettingsSettingsGitSourcePtr and GetJobJobSettingsSettingsGitSourcePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourcePtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args{...} +// GetJobJobSettingsSettingsGitSourceArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput interface { +type GetJobJobSettingsSettingsGitSourcePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput + ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args +type getJobJobSettingsSettingsGitSourcePtrType GetJobJobSettingsSettingsGitSourceArgs -func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType)(v) +func GetJobJobSettingsSettingsGitSourcePtr(v *GetJobJobSettingsSettingsGitSourceArgs) GetJobJobSettingsSettingsGitSourcePtrInput { + return (*getJobJobSettingsSettingsGitSourcePtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +func (*getJobJobSettingsSettingsGitSourcePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsGitSource)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsGitSourcePtrType) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { + return i.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) +func (i *getJobJobSettingsSettingsGitSourcePtrType) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourcePtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsGitSourceOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsGitSourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsGitSource)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { +func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { +func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { + return o.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSource { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsGitSourcePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsGitSourceOutput) Branch() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Branch }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsGitSourceOutput) Commit() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Commit }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsGitSourceOutput) JobSource() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSourceJobSource { + return v.JobSource + }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsGitSourceOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Provider }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsGitSourceOutput) Tag() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Tag }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsGitSourceOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) string { return v.Url }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsGitSourcePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsGitSourcePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsGitSource)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Elem() GetJobJobSettingsSettingsGitSourceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) GetJobJobSettingsSettingsGitSource { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 + var ret GetJobJobSettingsSettingsGitSource return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) + }).(GetJobJobSettingsSettingsGitSourceOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Branch() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { if v == nil { return nil } - return v.CannedAcl + return v.Branch }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Commit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { if v == nil { return nil } - return &v.Destination + return v.Commit }).(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 { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) JobSource() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSourceJobSource { if v == nil { return nil } - return v.EncryptionType - }).(pulumi.StringPtrOutput) + return v.JobSource + }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { if v == nil { return nil } - return v.Endpoint + return v.Provider }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Tag() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { if v == nil { return nil } - return v.KmsKey + return v.Tag }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { if v == nil { return nil } - return v.Region + return &v.Url }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` +type GetJobJobSettingsSettingsGitSourceJobSource struct { + DirtyState *string `pulumi:"dirtyState"` + ImportFromGitBranch string `pulumi:"importFromGitBranch"` + JobConfigPath string `pulumi:"jobConfigPath"` } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput` via: +// GetJobJobSettingsSettingsGitSourceJobSourceInput is an input type that accepts GetJobJobSettingsSettingsGitSourceJobSourceArgs and GetJobJobSettingsSettingsGitSourceJobSourceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceJobSourceInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput interface { +// GetJobJobSettingsSettingsGitSourceJobSourceArgs{...} +type GetJobJobSettingsSettingsGitSourceJobSourceInput 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() + ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput + ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsGitSourceJobSourceArgs struct { + DirtyState pulumi.StringPtrInput `pulumi:"dirtyState"` + ImportFromGitBranch pulumi.StringInput `pulumi:"importFromGitBranch"` + JobConfigPath pulumi.StringInput `pulumi:"jobConfigPath"` } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) +func (GetJobJobSettingsSettingsGitSourceJobSourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs{...} } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput +func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput { + return i.ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput - -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() +func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourceOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return i.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) +func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourceOutput).ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } +// GetJobJobSettingsSettingsGitSourceJobSourcePtrInput is an input type that accepts GetJobJobSettingsSettingsGitSourceJobSourceArgs, GetJobJobSettingsSettingsGitSourceJobSourcePtr and GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceJobSourcePtrInput` via: +// +// GetJobJobSettingsSettingsGitSourceJobSourceArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsGitSourceJobSourcePtrInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() + ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput + ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { - return o -} +type getJobJobSettingsSettingsGitSourceJobSourcePtrType GetJobJobSettingsSettingsGitSourceJobSourceArgs -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { - return o +func GetJobJobSettingsSettingsGitSourceJobSourcePtr(v *GetJobJobSettingsSettingsGitSourceJobSourceArgs) GetJobJobSettingsSettingsGitSourceJobSourcePtrInput { + return (*getJobJobSettingsSettingsGitSourceJobSourcePtrType)(v) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) string { - return v.LocalMountDirPath - }).(pulumi.StringOutput) +func (*getJobJobSettingsSettingsGitSourceJobSourcePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (i *getJobJobSettingsSettingsGitSourceJobSourcePtrType) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return i.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) *string { - return v.RemoteMountDirPath - }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsGitSourceJobSourcePtrType) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsGitSourceJobSourceOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsGitSourceJobSourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput { 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) +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return o.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo struct { - MountOptions *string `pulumi:"mountOptions"` - ServerAddress string `pulumi:"serverAddress"` +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsGitSourceJobSource) *GetJobJobSettingsSettingsGitSourceJobSource { + return &v + }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) } -// 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 GetJobJobSettingsSettingsGitSourceJobSourceOutput) DirtyState() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) *string { return v.DirtyState }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ImportFromGitBranch() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) string { return v.ImportFromGitBranch }).(pulumi.StringOutput) } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) JobConfigPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) string { return v.JobConfigPath }).(pulumi.StringOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) -} +type GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput struct{ *pulumi.OutputState } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) Elem() GetJobJobSettingsSettingsGitSourceJobSourceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) GetJobJobSettingsSettingsGitSourceJobSource { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsGitSourceJobSource + return ret + }).(GetJobJobSettingsSettingsGitSourceJobSourceOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) *string { - return v.MountOptions +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) DirtyState() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { + if v == nil { + return nil + } + return v.DirtyState }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) string { - return v.ServerAddress - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ImportFromGitBranch() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { + if v == nil { + return nil + } + return &v.ImportFromGitBranch + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImage struct { - BasicAuth *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) JobConfigPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { + if v == nil { + return nil + } + return &v.JobConfigPath + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput` 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: // -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput interface { +// GetJobJobSettingsSettingsHealthArgs{...} +type GetJobJobSettingsSettingsHealthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput + ToGetJobJobSettingsSettingsHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs struct { - BasicAuth GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` +type GetJobJobSettingsSettingsHealthArgs struct { + Rules GetJobJobSettingsSettingsHealthRuleArrayInput `pulumi:"rules"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsHealth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput { + return i.ToGetJobJobSettingsSettingsHealthOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) +func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthOutput).ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs, GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtr and GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput` via: +// GetJobJobSettingsSettingsHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsHealthArgs, GetJobJobSettingsSettingsHealthPtr and GetJobJobSettingsSettingsHealthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs{...} +// GetJobJobSettingsSettingsHealthArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput interface { +type GetJobJobSettingsSettingsHealthPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput + ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs +type getJobJobSettingsSettingsHealthPtrType GetJobJobSettingsSettingsHealthArgs -func GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType)(v) +func GetJobJobSettingsSettingsHealthPtr(v *GetJobJobSettingsSettingsHealthArgs) GetJobJobSettingsSettingsHealthPtrInput { + return (*getJobJobSettingsSettingsHealthPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() +func (*getJobJobSettingsSettingsHealthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsHealth)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsHealthPtrType) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) +func (i *getJobJobSettingsSettingsHealthPtrType) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsHealthOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { + return o.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { +func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsHealth) *GetJobJobSettingsSettingsHealth { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { - return v.BasicAuth - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) + }).(GetJobJobSettingsSettingsHealthPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsHealthOutput) Rules() GetJobJobSettingsSettingsHealthRuleArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsHealth) []GetJobJobSettingsSettingsHealthRule { return v.Rules }).(GetJobJobSettingsSettingsHealthRuleArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsHealthPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsHealthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsHealthPtrOutput) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsHealthPtrOutput) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { +func (o GetJobJobSettingsSettingsHealthPtrOutput) Elem() GetJobJobSettingsSettingsHealthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsHealth) GetJobJobSettingsSettingsHealth { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterDockerImage + var ret GetJobJobSettingsSettingsHealth return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { - if v == nil { - return nil - } - return v.BasicAuth - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) + }).(GetJobJobSettingsSettingsHealthOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *string { +func (o GetJobJobSettingsSettingsHealthPtrOutput) Rules() GetJobJobSettingsSettingsHealthRuleArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsHealth) []GetJobJobSettingsSettingsHealthRule { if v == nil { return nil } - return &v.Url - }).(pulumi.StringPtrOutput) + return v.Rules + }).(GetJobJobSettingsSettingsHealthRuleArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +type GetJobJobSettingsSettingsHealthRule struct { + Metric *string `pulumi:"metric"` + Op *string `pulumi:"op"` + Value *int `pulumi:"value"` } -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput` via: +// GetJobJobSettingsSettingsHealthRuleInput is an input type that accepts GetJobJobSettingsSettingsHealthRuleArgs and GetJobJobSettingsSettingsHealthRuleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthRuleInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput interface { +// GetJobJobSettingsSettingsHealthRuleArgs{...} +type GetJobJobSettingsSettingsHealthRuleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput + ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthRuleOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type GetJobJobSettingsSettingsHealthRuleArgs struct { + Metric pulumi.StringPtrInput `pulumi:"metric"` + Op pulumi.StringPtrInput `pulumi:"op"` + Value pulumi.IntPtrInput `pulumi:"value"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsHealthRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsHealthRule)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsHealthRuleArgs) ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput { + return i.ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) +func (i GetJobJobSettingsSettingsHealthRuleArgs) ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthRuleOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +// GetJobJobSettingsSettingsHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsHealthRuleArray and GetJobJobSettingsSettingsHealthRuleArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthRuleArrayInput` via: +// +// GetJobJobSettingsSettingsHealthRuleArray{ GetJobJobSettingsSettingsHealthRuleArgs{...} } +type GetJobJobSettingsSettingsHealthRuleArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput + ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +type GetJobJobSettingsSettingsHealthRuleArray []GetJobJobSettingsSettingsHealthRuleInput + +func (GetJobJobSettingsSettingsHealthRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsHealthRule)(nil)).Elem() } -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput interface { - pulumi.Input +func (i GetJobJobSettingsSettingsHealthRuleArray) ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput { + return i.ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(context.Background()) +} - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput +func (i GetJobJobSettingsSettingsHealthRuleArray) ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthRuleArrayOutput) } -type getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs +type GetJobJobSettingsSettingsHealthRuleOutput struct{ *pulumi.OutputState } -func GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType)(v) +func (GetJobJobSettingsSettingsHealthRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsHealthRule)(nil)).Elem() } -func (*getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +func (o GetJobJobSettingsSettingsHealthRuleOutput) ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput { + return o } -func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsHealthRuleOutput) ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleOutput { + return o } -func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) +func (o GetJobJobSettingsSettingsHealthRuleOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) *string { return v.Metric }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsHealthRuleOutput) Op() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) *string { return v.Op }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +func (o GetJobJobSettingsSettingsHealthRuleOutput) Value() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) *int { return v.Value }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { +type GetJobJobSettingsSettingsHealthRuleArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsHealthRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsHealthRule)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsHealthRuleArrayOutput) ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsHealthRuleArrayOutput) ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +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 GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) +type GetJobJobSettingsSettingsJobCluster struct { + JobClusterKey *string `pulumi:"jobClusterKey"` + NewCluster *GetJobJobSettingsSettingsJobClusterNewCluster `pulumi:"newCluster"` } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +// GetJobJobSettingsSettingsJobClusterInput is an input type that accepts GetJobJobSettingsSettingsJobClusterArgs and GetJobJobSettingsSettingsJobClusterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterInput` via: +// +// GetJobJobSettingsSettingsJobClusterArgs{...} +type GetJobJobSettingsSettingsJobClusterInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput + ToGetJobJobSettingsSettingsJobClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterOutput } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +type GetJobJobSettingsSettingsJobClusterArgs struct { + JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` + NewCluster GetJobJobSettingsSettingsJobClusterNewClusterPtrInput `pulumi:"newCluster"` } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +func (GetJobJobSettingsSettingsJobClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobCluster)(nil)).Elem() +} -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +func (i GetJobJobSettingsSettingsJobClusterArgs) ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput { + return i.ToGetJobJobSettingsSettingsJobClusterOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { +func (i GetJobJobSettingsSettingsJobClusterArgs) ToGetJobJobSettingsSettingsJobClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterOutput) +} + +// 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 +} + +type GetJobJobSettingsSettingsJobClusterArray []GetJobJobSettingsSettingsJobClusterInput + +func (GetJobJobSettingsSettingsJobClusterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobCluster)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsJobClusterArray) ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput { + return i.ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterArray) ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterArrayOutput) +} + +type GetJobJobSettingsSettingsJobClusterOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobCluster)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsJobClusterOutput) ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterOutput) ToGetJobJobSettingsSettingsJobClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) +func (o GetJobJobSettingsSettingsJobClusterOutput) JobClusterKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobCluster) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Password - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterOutput) NewCluster() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobCluster) *GetJobJobSettingsSettingsJobClusterNewCluster { + return v.NewCluster + }).(GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Username - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsJobClusterArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobCluster)(nil)).Elem() } -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"` +func (o GetJobJobSettingsSettingsJobClusterArrayOutput) ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput { + return o +} + +func (o GetJobJobSettingsSettingsJobClusterArrayOutput) ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput { + 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) +} + +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"` } -// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterArgs and GetJobJobSettingsSettingsJobClusterNewClusterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput } -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 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 (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterArgs, GetJobJobSettingsSettingsJobClusterNewClusterPtr and GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs +type getJobJobSettingsSettingsJobClusterNewClusterPtrType GetJobJobSettingsSettingsJobClusterNewClusterArgs -func GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterArgs) GetJobJobSettingsSettingsJobClusterNewClusterPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewCluster { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) Autoscale() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { + return v.Autoscale + }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { + return v.AwsAttributes + }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *bool { - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { + return v.AzureAttributes + }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo { + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) } -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 GetJobJobSettingsSettingsJobClusterNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.DataSecurityMode }).(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) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DockerImage() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { + return v.DockerImage + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) } -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 GetJobJobSettingsSettingsJobClusterNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) } -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 (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { + return v.GcpAttributes + }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) } -// 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 (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) } -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 (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) InitScripts() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterInitScript { + return v.InitScripts + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) NodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) NumWorkers() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) } -// 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 - - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray []GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput - -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkConf() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { return v.SparkConf }).(pulumi.MapOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkEnvVars() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { return v.SparkEnvVars }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { - return v.Abfss - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { + return v.WorkloadType + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) -} +type GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { - return v.File - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { - return v.Gcs - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { - return v.S3 - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { - return v.Volumes - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) GetJobJobSettingsSettingsJobClusterNewCluster { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsJobClusterNewCluster + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { - return v.Workspace - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *bool { + if v == nil { + return nil + } + return v.ApplyPolicyDefaultValues + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { + if v == nil { + return nil + } + return v.Autoscale + }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *int { + if v == nil { + return nil + } + return v.AutoterminationMinutes + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) } -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 GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterId + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { + if v == nil { + return nil + } + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo { + if v == nil { + return nil + } + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterName + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(context.Background()) +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 (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { + if v == nil { + return nil + } + return v.DockerImage + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverInstancePoolId + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverNodeTypeId + }).(pulumi.StringPtrOutput) } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs - -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType)(v) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(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 (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return v.IdempotencyToken + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return v.InstancePoolId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return &v.NodeTypeId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *int { + if v == nil { + return nil + } + return &v.NumWorkers + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return v.PolicyId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return v.RuntimeEngine + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return v.SingleUserName + }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - 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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - 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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { - if v != nil { - return *v +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) []string { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) + return v.SshPublicKeys + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.WorkloadType + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs and GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs, GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtr and GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs +type getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs + var ret GetJobJobSettingsSettingsJobClusterNewClusterAutoscale return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { + if v == nil { + return nil + } + return v.MinWorkers + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput` via: +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"` +} + +// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +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 (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs +type getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) -} - -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return o -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return o -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs struct { - Destination string `pulumi:"destination"` -} - -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput -} - -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } - -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput + +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +} -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType)(v) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return o +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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { - if v != nil { - return *v +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { if v == nil { return nil } - return &v.Destination + return v.ZoneId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Input` via: +// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Input interface { +// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput } -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 GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args{...} +// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args +type getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *float64 { + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 + var ret GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes 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) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *string { if v == nil { return nil } - return v.Endpoint + return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *int { if v == nil { return nil } - return v.KmsKey - }).(pulumi.StringPtrOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *float64 { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf struct { + Dbfs *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 `pulumi:"s3"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs struct { + Dbfs GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs +type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { + return v.S3 + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes + var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.Dbfs + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace 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"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs struct { +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs struct { Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs +type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) 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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace + var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) *string { if v == nil { return nil } @@ -81959,2163 +81756,2073 @@ func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutpu }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType struct { - Clients GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients `pulumi:"clients"` +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"` } -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args{...} +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs struct { - Clients GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +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 (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs +type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args -func GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { - return v.Clients - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) +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) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } +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 (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType + var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return &v.Clients - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// 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 +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) +} - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +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 GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo struct { + LocalMountDirPath string `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs{...} -// -// or: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput` via: // -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs{...} } +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput +} + +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput + +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) } -type getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { + return o +} -func GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType)(v) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { + return o } -func (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) string { + return v.LocalMountDirPath + }).(pulumi.StringOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) *string { + return v.RemoteMountDirPath + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(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) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo struct { + MountOptions *string `pulumi:"mountOptions"` + ServerAddress string `pulumi:"serverAddress"` } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) +// 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 GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Jobs - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) *string { + return v.MountOptions + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Notebooks - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) string { + return v.ServerAddress + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsLibrary struct { - Cran *GetJobJobSettingsSettingsLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *GetJobJobSettingsSettingsLibraryMaven `pulumi:"maven"` - Pypi *GetJobJobSettingsSettingsLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImage struct { + BasicAuth *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` } -// GetJobJobSettingsSettingsLibraryInput is an input type that accepts GetJobJobSettingsSettingsLibraryArgs and GetJobJobSettingsSettingsLibraryOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput` via: // -// GetJobJobSettingsSettingsLibraryArgs{...} -type GetJobJobSettingsSettingsLibraryInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput - ToGetJobJobSettingsSettingsLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryOutput + 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() } -type GetJobJobSettingsSettingsLibraryArgs struct { - Cran GetJobJobSettingsSettingsLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven GetJobJobSettingsSettingsLibraryMavenPtrInput `pulumi:"maven"` - Pypi GetJobJobSettingsSettingsLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(context.Background()) } -func (GetJobJobSettingsSettingsLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibrary)(nil)).Elem() +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) } -func (i GetJobJobSettingsSettingsLibraryArgs) ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput { - return i.ToGetJobJobSettingsSettingsLibraryOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryArgs) ToGetJobJobSettingsSettingsLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsLibraryArray and GetJobJobSettingsSettingsLibraryArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryArrayInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs, GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtr and GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs{...} +// +// or: // -// GetJobJobSettingsSettingsLibraryArray{ GetJobJobSettingsSettingsLibraryArgs{...} } -type GetJobJobSettingsSettingsLibraryArrayInput interface { +// nil +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput - ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryArrayOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput } -type GetJobJobSettingsSettingsLibraryArray []GetJobJobSettingsSettingsLibraryInput +type getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs + +func GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType)(v) +} -func (GetJobJobSettingsSettingsLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsLibrary)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() } -func (i GetJobJobSettingsSettingsLibraryArray) ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput { - return i.ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryArray) ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryArrayOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) } -type GetJobJobSettingsSettingsLibraryOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryOutput) ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsLibraryOutput) ToGetJobJobSettingsSettingsLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsLibraryOutput) Cran() GetJobJobSettingsSettingsLibraryCranPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *GetJobJobSettingsSettingsLibraryCran { return v.Cran }).(GetJobJobSettingsSettingsLibraryCranPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { + return &v + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) } -func (o GetJobJobSettingsSettingsLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { + return v.BasicAuth + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryOutput) Maven() GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *GetJobJobSettingsSettingsLibraryMaven { return v.Maven }).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsLibraryOutput) Pypi() GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *GetJobJobSettingsSettingsLibraryPypi { return v.Pypi }).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) -} +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return o } -type GetJobJobSettingsSettingsLibraryArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsLibrary)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return o } -func (o GetJobJobSettingsSettingsLibraryArrayOutput) ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput { - 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 GetJobJobSettingsSettingsLibraryArrayOutput) ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryArrayOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { + if v == nil { + return nil + } + return v.BasicAuth + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) } -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 GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *string { + if v == nil { + return nil + } + return &v.Url + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// GetJobJobSettingsSettingsLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsLibraryCranArgs and GetJobJobSettingsSettingsLibraryCranOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryCranInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput` via: // -// GetJobJobSettingsSettingsLibraryCranArgs{...} -type GetJobJobSettingsSettingsLibraryCranInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput - ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryCranOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput } -type GetJobJobSettingsSettingsLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (GetJobJobSettingsSettingsLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput { - return i.ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) } -func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranOutput).ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryCranArgs, GetJobJobSettingsSettingsLibraryCranPtr and GetJobJobSettingsSettingsLibraryCranPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryCranPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput` via: // -// GetJobJobSettingsSettingsLibraryCranArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsLibraryCranPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput - ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput } -type getJobJobSettingsSettingsLibraryCranPtrType GetJobJobSettingsSettingsLibraryCranArgs +type getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs -func GetJobJobSettingsSettingsLibraryCranPtr(v *GetJobJobSettingsSettingsLibraryCranArgs) GetJobJobSettingsSettingsLibraryCranPtrInput { - return (*getJobJobSettingsSettingsLibraryCranPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType)(v) } -func (*getJobJobSettingsSettingsLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i *getJobJobSettingsSettingsLibraryCranPtrType) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsLibraryCranPtrType) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) } -type GetJobJobSettingsSettingsLibraryCranOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { - return o.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryCran) *GetJobJobSettingsSettingsLibraryCran { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { return &v - }).(GetJobJobSettingsSettingsLibraryCranPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryCran) string { return v.Package }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsLibraryCranPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsLibraryCranOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) GetJobJobSettingsSettingsLibraryCran { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { if v != nil { return *v } - var ret GetJobJobSettingsSettingsLibraryCran + var ret GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth return ret - }).(GetJobJobSettingsSettingsLibraryCranOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) } -func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *string { if v == nil { return nil } - return &v.Package + return &v.Password }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *string { if v == nil { return nil } - return v.Repo + return &v.Username }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +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"` } -// GetJobJobSettingsSettingsLibraryMavenInput is an input type that accepts GetJobJobSettingsSettingsLibraryMavenArgs and GetJobJobSettingsSettingsLibraryMavenOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryMavenInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput` via: // -// GetJobJobSettingsSettingsLibraryMavenArgs{...} -type GetJobJobSettingsSettingsLibraryMavenInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput - ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryMavenOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput } -type GetJobJobSettingsSettingsLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +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 (GetJobJobSettingsSettingsLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput { - return i.ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) } -func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenOutput).ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryMavenArgs, GetJobJobSettingsSettingsLibraryMavenPtr and GetJobJobSettingsSettingsLibraryMavenPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryMavenPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput` via: // -// GetJobJobSettingsSettingsLibraryMavenArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsLibraryMavenPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput - ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput } -type getJobJobSettingsSettingsLibraryMavenPtrType GetJobJobSettingsSettingsLibraryMavenArgs +type getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs -func GetJobJobSettingsSettingsLibraryMavenPtr(v *GetJobJobSettingsSettingsLibraryMavenArgs) GetJobJobSettingsSettingsLibraryMavenPtrInput { - return (*getJobJobSettingsSettingsLibraryMavenPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsLibraryMavenPtrType) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsLibraryMavenPtrType) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) } -type GetJobJobSettingsSettingsLibraryMavenOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return o.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryMaven) *GetJobJobSettingsSettingsLibraryMaven { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { return &v - }).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) + }).(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 GetJobJobSettingsSettingsLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *bool { + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsLibraryMavenPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsLibraryMavenOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) GetJobJobSettingsSettingsLibraryMaven { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsLibraryMaven + var ret GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes return ret - }).(GetJobJobSettingsSettingsLibraryMavenOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { if v == nil { return nil } - return &v.Coordinates + return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) []string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { if v == nil { return nil } - return v.Exclusions - }).(pulumi.StringArrayOutput) + return v.BootDiskSize + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { if v == nil { return nil } - return v.Repo + return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsLibraryPypiInput is an input type that accepts GetJobJobSettingsSettingsLibraryPypiArgs and GetJobJobSettingsSettingsLibraryPypiOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryPypiInput` via: -// -// GetJobJobSettingsSettingsLibraryPypiArgs{...} -type GetJobJobSettingsSettingsLibraryPypiInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) +} - ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput - ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryPypiOutput +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +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 (GetJobJobSettingsSettingsLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput } -func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput { - return i.ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(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 GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() } -func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiOutput).ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) } -// GetJobJobSettingsSettingsLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryPypiArgs, GetJobJobSettingsSettingsLibraryPypiPtr and GetJobJobSettingsSettingsLibraryPypiPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryPypiPtrInput` via: -// -// GetJobJobSettingsSettingsLibraryPypiArgs{...} -// -// or: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput` via: // -// nil -type GetJobJobSettingsSettingsLibraryPypiPtrInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray{ GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs{...} } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput - ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput } -type getJobJobSettingsSettingsLibraryPypiPtrType GetJobJobSettingsSettingsLibraryPypiArgs - -func GetJobJobSettingsSettingsLibraryPypiPtr(v *GetJobJobSettingsSettingsLibraryPypiArgs) GetJobJobSettingsSettingsLibraryPypiPtrInput { - return (*getJobJobSettingsSettingsLibraryPypiPtrType)(v) -} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray []GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput -func (*getJobJobSettingsSettingsLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() } -func (i *getJobJobSettingsSettingsLibraryPypiPtrType) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsLibraryPypiPtrType) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) } -type GetJobJobSettingsSettingsLibraryPypiOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return o.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) +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 GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryPypi) *GetJobJobSettingsSettingsLibraryPypi { - return &v - }).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) +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 GetJobJobSettingsSettingsLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { + return v.Volumes + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { + return v.Workspace + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) } -type GetJobJobSettingsSettingsLibraryPypiPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { return o } -func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { return o } -func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsLibraryPypiOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) GetJobJobSettingsSettingsLibraryPypi { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsLibraryPypi - return ret - }).(GetJobJobSettingsSettingsLibraryPypiOutput) +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 GetJobJobSettingsSettingsLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) *string { - if v == nil { - return nil - } - return v.Repo - }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput interface { + pulumi.Input + + 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() +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx) } -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"` -} - -// 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 - - ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput - ToGetJobJobSettingsSettingsNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterOutput -} - -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 (GetJobJobSettingsSettingsNewClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewCluster)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput { - return i.ToGetJobJobSettingsSettingsNewClusterOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterOutput) -} - -func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterOutput).ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx) -} - -// GetJobJobSettingsSettingsNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterArgs, GetJobJobSettingsSettingsNewClusterPtr and GetJobJobSettingsSettingsNewClusterPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterPtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput - ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput } -type getJobJobSettingsSettingsNewClusterPtrType GetJobJobSettingsSettingsNewClusterArgs +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs -func GetJobJobSettingsSettingsNewClusterPtr(v *GetJobJobSettingsSettingsNewClusterArgs) GetJobJobSettingsSettingsNewClusterPtrInput { - return (*getJobJobSettingsSettingsNewClusterPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewCluster)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterPtrType) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterPtrType) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) } -type GetJobJobSettingsSettingsNewClusterOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewCluster { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { return &v - }).(GetJobJobSettingsSettingsNewClusterPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) Autoscale() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAutoscale { - return v.Autoscale - }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) -} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAwsAttributes { - return v.AwsAttributes - }).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAzureAttributes { - return v.AzureAttributes - }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +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 GetJobJobSettingsSettingsNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterClusterLogConf { - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) +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 GetJobJobSettingsSettingsNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterClusterMountInfo { - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) -} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsNewClusterOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput } -func (o GetJobJobSettingsSettingsNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsNewClusterOutput) DockerImage() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterDockerImage { - return v.DockerImage - }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterGcpAttributes { - return v.GcpAttributes - }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) -} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput } -func (o GetJobJobSettingsSettingsNewClusterOutput) InitScripts() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterInitScript { - return v.InitScripts - }).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) -} +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs -func (o GetJobJobSettingsSettingsNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType)(v) } -func (o GetJobJobSettingsSettingsNewClusterOutput) NodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterOutput) NumWorkers() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) -} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]interface{} { return v.SparkConf }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]interface{} { return v.SparkEnvVars }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { + return &v + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterWorkloadType { - return v.WorkloadType - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) GetJobJobSettingsSettingsNewCluster { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewCluster + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs return ret - }).(GetJobJobSettingsSettingsNewClusterOutput) -} - -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 GetJobJobSettingsSettingsNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAutoscale { - if v == nil { - return nil - } - return v.Autoscale - }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *int { - if v == nil { - return nil - } - return v.AutoterminationMinutes - }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) *string { if v == nil { return nil } - return v.AwsAttributes - }).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAzureAttributes { - if v == nil { - return nil - } - return v.AzureAttributes - }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile struct { + Destination string `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterId - }).(pulumi.StringPtrOutput) -} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterClusterLogConf { - if v == nil { - return nil - } - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterClusterMountInfo { - if v == nil { - return nil - } - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterName - }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterDockerImage { - if v == nil { - return nil - } - return v.DockerImage - }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return &v.DriverNodeTypeId - }).(pulumi.StringPtrOutput) -} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableLocalDiskEncryption - }).(pulumi.BoolPtrOutput) +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs + +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType)(v) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return v.IdempotencyToken - }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterInitScript { - if v == nil { - return nil - } - return v.InitScripts - }).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return v.InstancePoolId - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() } -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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *int { - if v == nil { - return nil - } - return &v.NumWorkers - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { + 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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { + return &v + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) } -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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + 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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []string { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { + if v != nil { + return *v } - return v.SshPublicKeys - }).(pulumi.StringArrayOutput) + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) *string { if v == nil { return nil } - return v.WorkloadType - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAutoscaleArgs and GetJobJobSettingsSettingsNewClusterAutoscaleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAutoscaleInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsInput` via: // -// GetJobJobSettingsSettingsNewClusterAutoscaleArgs{...} -type GetJobJobSettingsSettingsNewClusterAutoscaleInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput - ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput } -type GetJobJobSettingsSettingsNewClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) } -func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAutoscaleArgs, GetJobJobSettingsSettingsNewClusterAutoscalePtr and GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAutoscalePtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterAutoscaleArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterAutoscalePtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput - ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput } -type getJobJobSettingsSettingsNewClusterAutoscalePtrType GetJobJobSettingsSettingsNewClusterAutoscaleArgs +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs -func GetJobJobSettingsSettingsNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsNewClusterAutoscaleArgs) GetJobJobSettingsSettingsNewClusterAutoscalePtrInput { - return (*getJobJobSettingsSettingsNewClusterAutoscalePtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAutoscaleOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAutoscale) *GetJobJobSettingsSettingsNewClusterAutoscale { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { return &v - }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) GetJobJobSettingsSettingsNewClusterAutoscale { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterAutoscale + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs return ret - }).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) *int { - if v == nil { - return nil - } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) } -func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) *int { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) *string { if v == nil { return nil } - return v.MinWorkers - }).(pulumi.IntPtrOutput) + return &v.Destination + }).(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"` +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"` } -// GetJobJobSettingsSettingsNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsNewClusterAwsAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAwsAttributesInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Input` via: // -// GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{...} -type GetJobJobSettingsSettingsNewClusterAwsAttributesInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Input interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput - ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output } -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 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 (GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) } -func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput` via: // -// GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput - ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput } -type getJobJobSettingsSettingsNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsNewClusterAwsAttributesArgs +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args -func GetJobJobSettingsSettingsNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput { - return (*getJobJobSettingsSettingsNewClusterAwsAttributesPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) } -type GetJobJobSettingsSettingsNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { return o } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { return o } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAwsAttributes) *GetJobJobSettingsSettingsNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { return &v - }).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) GetJobJobSettingsSettingsNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterAwsAttributes + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 return ret - }).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.Availability + return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *bool { if v == nil { return nil } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.EbsVolumeType + return v.EncryptionType }).(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 { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.InstanceProfileArn + return v.Endpoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.ZoneId + return v.Region }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsNewClusterAzureAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAzureAttributesInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput` via: // -// GetJobJobSettingsSettingsNewClusterAzureAttributesArgs{...} -type GetJobJobSettingsSettingsNewClusterAzureAttributesInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput - ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput } -type GetJobJobSettingsSettingsNewClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) } -func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterAzureAttributesArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput - ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput } -type getJobJobSettingsSettingsNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsNewClusterAzureAttributesArgs +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs -func GetJobJobSettingsSettingsNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput { - return (*getJobJobSettingsSettingsNewClusterAzureAttributesPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAzureAttributes) *GetJobJobSettingsSettingsNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { return &v - }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) GetJobJobSettingsSettingsNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterAzureAttributes + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes return ret - }).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) *string { if v == nil { return nil } - return v.Availability + return &v.Destination }).(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) -} - -type GetJobJobSettingsSettingsNewClusterClusterLogConf struct { - Dbfs *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 `pulumi:"s3"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsNewClusterClusterLogConfOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput` via: // -// GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{...} -type GetJobJobSettingsSettingsNewClusterClusterLogConfInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput - ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput } -type GetJobJobSettingsSettingsNewClusterClusterLogConfArgs struct { - Dbfs GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput` via: // -// GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput - ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput } -type getJobJobSettingsSettingsNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsNewClusterClusterLogConfArgs +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs -func GetJobJobSettingsSettingsNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput { - return (*getJobJobSettingsSettingsNewClusterClusterLogConfPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConf { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { return &v - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { - return v.S3 - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConf) GetJobJobSettingsSettingsNewClusterClusterLogConf { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterClusterLogConf + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace return ret - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { - if v == nil { - return nil - } - return v.Dbfs - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) *string { if v == nil { return nil } - return v.S3 - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } func init() { @@ -84123,6 +83830,16 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*AccessControlRuleSetGrantRuleArrayInput)(nil)).Elem(), AccessControlRuleSetGrantRuleArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ArtifactAllowlistArtifactMatcherInput)(nil)).Elem(), ArtifactAllowlistArtifactMatcherArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ArtifactAllowlistArtifactMatcherArrayInput)(nil)).Elem(), ArtifactAllowlistArtifactMatcherArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceInput)(nil)).Elem(), AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrInput)(nil)).Elem(), AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsInput)(nil)).Elem(), AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput)(nil)).Elem(), AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowInput)(nil)).Elem(), AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput)(nil)).Elem(), AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleInput)(nil)).Elem(), AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput)(nil)).Elem(), AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeInput)(nil)).Elem(), AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput)(nil)).Elem(), AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterAutoscaleInput)(nil)).Elem(), ClusterAutoscaleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterAutoscalePtrInput)(nil)).Elem(), ClusterAutoscaleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterAwsAttributesInput)(nil)).Elem(), ClusterAwsAttributesArgs{}) @@ -84131,8 +83848,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ClusterAzureAttributesPtrInput)(nil)).Elem(), ClusterAzureAttributesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterAzureAttributesLogAnalyticsInfoInput)(nil)).Elem(), ClusterAzureAttributesLogAnalyticsInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterAzureAttributesLogAnalyticsInfoPtrInput)(nil)).Elem(), ClusterAzureAttributesLogAnalyticsInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ClusterCloneFromInput)(nil)).Elem(), ClusterCloneFromArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ClusterCloneFromPtrInput)(nil)).Elem(), ClusterCloneFromArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterClusterLogConfInput)(nil)).Elem(), ClusterClusterLogConfArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterClusterLogConfPtrInput)(nil)).Elem(), ClusterClusterLogConfArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterClusterLogConfDbfsInput)(nil)).Elem(), ClusterClusterLogConfDbfsArgs{}) @@ -84184,8 +83899,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ClusterWorkloadTypePtrInput)(nil)).Elem(), ClusterWorkloadTypeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterWorkloadTypeClientsInput)(nil)).Elem(), ClusterWorkloadTypeClientsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterWorkloadTypeClientsPtrInput)(nil)).Elem(), ClusterWorkloadTypeClientsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceInput)(nil)).Elem(), ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrInput)(nil)).Elem(), ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DefaultNamespaceSettingNamespaceInput)(nil)).Elem(), DefaultNamespaceSettingNamespaceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DefaultNamespaceSettingNamespacePtrInput)(nil)).Elem(), DefaultNamespaceSettingNamespaceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceInput)(nil)).Elem(), EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrInput)(nil)).Elem(), EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ExternalLocationEncryptionDetailsInput)(nil)).Elem(), ExternalLocationEncryptionDetailsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ExternalLocationEncryptionDetailsPtrInput)(nil)).Elem(), ExternalLocationEncryptionDetailsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ExternalLocationEncryptionDetailsSseEncryptionDetailsInput)(nil)).Elem(), ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs{}) @@ -84248,8 +83967,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*JobJobClusterNewClusterAzureAttributesPtrInput)(nil)).Elem(), JobJobClusterNewClusterAzureAttributesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoInput)(nil)).Elem(), JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrInput)(nil)).Elem(), JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*JobJobClusterNewClusterCloneFromInput)(nil)).Elem(), JobJobClusterNewClusterCloneFromArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*JobJobClusterNewClusterCloneFromPtrInput)(nil)).Elem(), JobJobClusterNewClusterCloneFromArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobJobClusterNewClusterClusterLogConfInput)(nil)).Elem(), JobJobClusterNewClusterClusterLogConfArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobJobClusterNewClusterClusterLogConfPtrInput)(nil)).Elem(), JobJobClusterNewClusterClusterLogConfArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobJobClusterNewClusterClusterLogConfDbfsInput)(nil)).Elem(), JobJobClusterNewClusterClusterLogConfDbfsArgs{}) @@ -84311,8 +84028,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*JobNewClusterAzureAttributesPtrInput)(nil)).Elem(), JobNewClusterAzureAttributesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobNewClusterAzureAttributesLogAnalyticsInfoInput)(nil)).Elem(), JobNewClusterAzureAttributesLogAnalyticsInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobNewClusterAzureAttributesLogAnalyticsInfoPtrInput)(nil)).Elem(), JobNewClusterAzureAttributesLogAnalyticsInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*JobNewClusterCloneFromInput)(nil)).Elem(), JobNewClusterCloneFromArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*JobNewClusterCloneFromPtrInput)(nil)).Elem(), JobNewClusterCloneFromArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobNewClusterClusterLogConfInput)(nil)).Elem(), JobNewClusterClusterLogConfArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobNewClusterClusterLogConfPtrInput)(nil)).Elem(), JobNewClusterClusterLogConfArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobNewClusterClusterLogConfDbfsInput)(nil)).Elem(), JobNewClusterClusterLogConfDbfsArgs{}) @@ -84424,8 +84139,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAzureAttributesPtrInput)(nil)).Elem(), JobTaskForEachTaskTaskNewClusterAzureAttributesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoInput)(nil)).Elem(), JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput)(nil)).Elem(), JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterCloneFromInput)(nil)).Elem(), JobTaskForEachTaskTaskNewClusterCloneFromArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterCloneFromPtrInput)(nil)).Elem(), JobTaskForEachTaskTaskNewClusterCloneFromArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterLogConfInput)(nil)).Elem(), JobTaskForEachTaskTaskNewClusterClusterLogConfArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterLogConfPtrInput)(nil)).Elem(), JobTaskForEachTaskTaskNewClusterClusterLogConfArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput)(nil)).Elem(), JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{}) @@ -84533,8 +84246,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*JobTaskNewClusterAzureAttributesPtrInput)(nil)).Elem(), JobTaskNewClusterAzureAttributesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskNewClusterAzureAttributesLogAnalyticsInfoInput)(nil)).Elem(), JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput)(nil)).Elem(), JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*JobTaskNewClusterCloneFromInput)(nil)).Elem(), JobTaskNewClusterCloneFromArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*JobTaskNewClusterCloneFromPtrInput)(nil)).Elem(), JobTaskNewClusterCloneFromArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskNewClusterClusterLogConfInput)(nil)).Elem(), JobTaskNewClusterClusterLogConfArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskNewClusterClusterLogConfPtrInput)(nil)).Elem(), JobTaskNewClusterClusterLogConfArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskNewClusterClusterLogConfDbfsInput)(nil)).Elem(), JobTaskNewClusterClusterLogConfDbfsArgs{}) @@ -84826,6 +84537,24 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*PipelineLibraryNotebookPtrInput)(nil)).Elem(), PipelineLibraryNotebookArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PipelineNotificationInput)(nil)).Elem(), PipelineNotificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PipelineNotificationArrayInput)(nil)).Elem(), PipelineNotificationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorCustomMetricInput)(nil)).Elem(), QualityMonitorCustomMetricArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorCustomMetricArrayInput)(nil)).Elem(), QualityMonitorCustomMetricArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorDataClassificationConfigInput)(nil)).Elem(), QualityMonitorDataClassificationConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorDataClassificationConfigPtrInput)(nil)).Elem(), QualityMonitorDataClassificationConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorInferenceLogInput)(nil)).Elem(), QualityMonitorInferenceLogArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorInferenceLogPtrInput)(nil)).Elem(), QualityMonitorInferenceLogArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorNotificationsInput)(nil)).Elem(), QualityMonitorNotificationsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorNotificationsPtrInput)(nil)).Elem(), QualityMonitorNotificationsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorNotificationsOnFailureInput)(nil)).Elem(), QualityMonitorNotificationsOnFailureArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorNotificationsOnFailurePtrInput)(nil)).Elem(), QualityMonitorNotificationsOnFailureArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorNotificationsOnNewClassificationTagDetectedInput)(nil)).Elem(), QualityMonitorNotificationsOnNewClassificationTagDetectedArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput)(nil)).Elem(), QualityMonitorNotificationsOnNewClassificationTagDetectedArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorScheduleInput)(nil)).Elem(), QualityMonitorScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorSchedulePtrInput)(nil)).Elem(), QualityMonitorScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorSnapshotInput)(nil)).Elem(), QualityMonitorSnapshotArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorSnapshotPtrInput)(nil)).Elem(), QualityMonitorSnapshotArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorTimeSeriesInput)(nil)).Elem(), QualityMonitorTimeSeriesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorTimeSeriesPtrInput)(nil)).Elem(), QualityMonitorTimeSeriesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*RecipientIpAccessListInput)(nil)).Elem(), RecipientIpAccessListArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*RecipientIpAccessListPtrInput)(nil)).Elem(), RecipientIpAccessListArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*RecipientPropertiesKvpairsInput)(nil)).Elem(), RecipientPropertiesKvpairsArgs{}) @@ -85091,32 +84820,20 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput)(nil)).Elem(), GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeInput)(nil)).Elem(), GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput)(nil)).Elem(), GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryArrayInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCranInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryCranArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCranPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryCranArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMavenInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryMavenArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMavenPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryMavenArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypiInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryPypiArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypiPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryPypiArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscaleInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterAutoscaleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscalePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterAutoscaleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributesInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributesInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterAzureAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterAzureAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{}) pulumi.RegisterOutputType(AccessControlRuleSetGrantRuleOutput{}) pulumi.RegisterOutputType(AccessControlRuleSetGrantRuleArrayOutput{}) pulumi.RegisterOutputType(ArtifactAllowlistArtifactMatcherOutput{}) pulumi.RegisterOutputType(ArtifactAllowlistArtifactMatcherArrayOutput{}) + pulumi.RegisterOutputType(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput{}) + pulumi.RegisterOutputType(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput{}) + pulumi.RegisterOutputType(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput{}) + pulumi.RegisterOutputType(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput{}) + pulumi.RegisterOutputType(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput{}) + pulumi.RegisterOutputType(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput{}) + pulumi.RegisterOutputType(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput{}) + pulumi.RegisterOutputType(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput{}) + pulumi.RegisterOutputType(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput{}) + pulumi.RegisterOutputType(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput{}) pulumi.RegisterOutputType(ClusterAutoscaleOutput{}) pulumi.RegisterOutputType(ClusterAutoscalePtrOutput{}) pulumi.RegisterOutputType(ClusterAwsAttributesOutput{}) @@ -85125,8 +84842,6 @@ func init() { pulumi.RegisterOutputType(ClusterAzureAttributesPtrOutput{}) pulumi.RegisterOutputType(ClusterAzureAttributesLogAnalyticsInfoOutput{}) pulumi.RegisterOutputType(ClusterAzureAttributesLogAnalyticsInfoPtrOutput{}) - pulumi.RegisterOutputType(ClusterCloneFromOutput{}) - pulumi.RegisterOutputType(ClusterCloneFromPtrOutput{}) pulumi.RegisterOutputType(ClusterClusterLogConfOutput{}) pulumi.RegisterOutputType(ClusterClusterLogConfPtrOutput{}) pulumi.RegisterOutputType(ClusterClusterLogConfDbfsOutput{}) @@ -85178,8 +84893,12 @@ func init() { pulumi.RegisterOutputType(ClusterWorkloadTypePtrOutput{}) pulumi.RegisterOutputType(ClusterWorkloadTypeClientsOutput{}) pulumi.RegisterOutputType(ClusterWorkloadTypeClientsPtrOutput{}) + pulumi.RegisterOutputType(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput{}) + pulumi.RegisterOutputType(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput{}) pulumi.RegisterOutputType(DefaultNamespaceSettingNamespaceOutput{}) pulumi.RegisterOutputType(DefaultNamespaceSettingNamespacePtrOutput{}) + pulumi.RegisterOutputType(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput{}) + pulumi.RegisterOutputType(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput{}) pulumi.RegisterOutputType(ExternalLocationEncryptionDetailsOutput{}) pulumi.RegisterOutputType(ExternalLocationEncryptionDetailsPtrOutput{}) pulumi.RegisterOutputType(ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput{}) @@ -85242,8 +84961,6 @@ func init() { pulumi.RegisterOutputType(JobJobClusterNewClusterAzureAttributesPtrOutput{}) pulumi.RegisterOutputType(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput{}) pulumi.RegisterOutputType(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput{}) - pulumi.RegisterOutputType(JobJobClusterNewClusterCloneFromOutput{}) - pulumi.RegisterOutputType(JobJobClusterNewClusterCloneFromPtrOutput{}) pulumi.RegisterOutputType(JobJobClusterNewClusterClusterLogConfOutput{}) pulumi.RegisterOutputType(JobJobClusterNewClusterClusterLogConfPtrOutput{}) pulumi.RegisterOutputType(JobJobClusterNewClusterClusterLogConfDbfsOutput{}) @@ -85305,8 +85022,6 @@ func init() { pulumi.RegisterOutputType(JobNewClusterAzureAttributesPtrOutput{}) pulumi.RegisterOutputType(JobNewClusterAzureAttributesLogAnalyticsInfoOutput{}) pulumi.RegisterOutputType(JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput{}) - pulumi.RegisterOutputType(JobNewClusterCloneFromOutput{}) - pulumi.RegisterOutputType(JobNewClusterCloneFromPtrOutput{}) pulumi.RegisterOutputType(JobNewClusterClusterLogConfOutput{}) pulumi.RegisterOutputType(JobNewClusterClusterLogConfPtrOutput{}) pulumi.RegisterOutputType(JobNewClusterClusterLogConfDbfsOutput{}) @@ -85418,8 +85133,6 @@ func init() { pulumi.RegisterOutputType(JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput{}) pulumi.RegisterOutputType(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput{}) pulumi.RegisterOutputType(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput{}) - pulumi.RegisterOutputType(JobTaskForEachTaskTaskNewClusterCloneFromOutput{}) - pulumi.RegisterOutputType(JobTaskForEachTaskTaskNewClusterCloneFromPtrOutput{}) pulumi.RegisterOutputType(JobTaskForEachTaskTaskNewClusterClusterLogConfOutput{}) pulumi.RegisterOutputType(JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput{}) pulumi.RegisterOutputType(JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput{}) @@ -85527,8 +85240,6 @@ func init() { pulumi.RegisterOutputType(JobTaskNewClusterAzureAttributesPtrOutput{}) pulumi.RegisterOutputType(JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput{}) pulumi.RegisterOutputType(JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput{}) - pulumi.RegisterOutputType(JobTaskNewClusterCloneFromOutput{}) - pulumi.RegisterOutputType(JobTaskNewClusterCloneFromPtrOutput{}) pulumi.RegisterOutputType(JobTaskNewClusterClusterLogConfOutput{}) pulumi.RegisterOutputType(JobTaskNewClusterClusterLogConfPtrOutput{}) pulumi.RegisterOutputType(JobTaskNewClusterClusterLogConfDbfsOutput{}) @@ -85820,6 +85531,24 @@ func init() { pulumi.RegisterOutputType(PipelineLibraryNotebookPtrOutput{}) pulumi.RegisterOutputType(PipelineNotificationOutput{}) pulumi.RegisterOutputType(PipelineNotificationArrayOutput{}) + pulumi.RegisterOutputType(QualityMonitorCustomMetricOutput{}) + pulumi.RegisterOutputType(QualityMonitorCustomMetricArrayOutput{}) + pulumi.RegisterOutputType(QualityMonitorDataClassificationConfigOutput{}) + pulumi.RegisterOutputType(QualityMonitorDataClassificationConfigPtrOutput{}) + pulumi.RegisterOutputType(QualityMonitorInferenceLogOutput{}) + pulumi.RegisterOutputType(QualityMonitorInferenceLogPtrOutput{}) + pulumi.RegisterOutputType(QualityMonitorNotificationsOutput{}) + pulumi.RegisterOutputType(QualityMonitorNotificationsPtrOutput{}) + pulumi.RegisterOutputType(QualityMonitorNotificationsOnFailureOutput{}) + pulumi.RegisterOutputType(QualityMonitorNotificationsOnFailurePtrOutput{}) + pulumi.RegisterOutputType(QualityMonitorNotificationsOnNewClassificationTagDetectedOutput{}) + pulumi.RegisterOutputType(QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput{}) + pulumi.RegisterOutputType(QualityMonitorScheduleOutput{}) + pulumi.RegisterOutputType(QualityMonitorSchedulePtrOutput{}) + pulumi.RegisterOutputType(QualityMonitorSnapshotOutput{}) + pulumi.RegisterOutputType(QualityMonitorSnapshotPtrOutput{}) + pulumi.RegisterOutputType(QualityMonitorTimeSeriesOutput{}) + pulumi.RegisterOutputType(QualityMonitorTimeSeriesPtrOutput{}) pulumi.RegisterOutputType(RecipientIpAccessListOutput{}) pulumi.RegisterOutputType(RecipientIpAccessListPtrOutput{}) pulumi.RegisterOutputType(RecipientPropertiesKvpairsOutput{}) @@ -86085,26 +85814,4 @@ func init() { pulumi.RegisterOutputType(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryArrayOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryCranOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryCranPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryMavenOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryMavenPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryPypiOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryPypiPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterAutoscaleOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput{}) } diff --git a/sdk/go/databricks/pulumiTypes1.go b/sdk/go/databricks/pulumiTypes1.go index 851bad86..51640e81 100644 --- a/sdk/go/databricks/pulumiTypes1.go +++ b/sdk/go/databricks/pulumiTypes1.go @@ -13,6 +13,2165 @@ import ( var _ = internal.GetEnvOrDefault +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType struct { + Clients GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients `pulumi:"clients"` +} + +// 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 +} + +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs struct { + Clients GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +} + +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput +} + +type getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs + +func GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType)(v) +} + +func (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { + return o +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { + return o +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { + return &v + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { + return v.Clients + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { + if v == nil { + return nil + } + return &v.Clients + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` +} + +// 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 +} + +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +} + +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +} + +// 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 +} + +type getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs + +func GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType)(v) +} + +func (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { + return o +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { + return o +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { + return &v + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { + if v == nil { + return nil + } + return v.Jobs + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { + if v == nil { + return nil + } + return v.Notebooks + }).(pulumi.BoolPtrOutput) +} + +type GetJobJobSettingsSettingsLibrary struct { + Cran *GetJobJobSettingsSettingsLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *GetJobJobSettingsSettingsLibraryMaven `pulumi:"maven"` + Pypi *GetJobJobSettingsSettingsLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` +} + +// GetJobJobSettingsSettingsLibraryInput is an input type that accepts GetJobJobSettingsSettingsLibraryArgs and GetJobJobSettingsSettingsLibraryOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryInput` via: +// +// GetJobJobSettingsSettingsLibraryArgs{...} +type GetJobJobSettingsSettingsLibraryInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput + ToGetJobJobSettingsSettingsLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryOutput +} + +type GetJobJobSettingsSettingsLibraryArgs struct { + Cran GetJobJobSettingsSettingsLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven GetJobJobSettingsSettingsLibraryMavenPtrInput `pulumi:"maven"` + Pypi GetJobJobSettingsSettingsLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` +} + +func (GetJobJobSettingsSettingsLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibrary)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsLibraryArgs) ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput { + return i.ToGetJobJobSettingsSettingsLibraryOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsLibraryArgs) ToGetJobJobSettingsSettingsLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryOutput) +} + +// GetJobJobSettingsSettingsLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsLibraryArray and GetJobJobSettingsSettingsLibraryArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryArrayInput` via: +// +// GetJobJobSettingsSettingsLibraryArray{ GetJobJobSettingsSettingsLibraryArgs{...} } +type GetJobJobSettingsSettingsLibraryArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput + ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryArrayOutput +} + +type GetJobJobSettingsSettingsLibraryArray []GetJobJobSettingsSettingsLibraryInput + +func (GetJobJobSettingsSettingsLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsLibrary)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsLibraryArray) ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput { + return i.ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsLibraryArray) ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryArrayOutput) +} + +type GetJobJobSettingsSettingsLibraryOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibrary)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsLibraryOutput) ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput { + return o +} + +func (o GetJobJobSettingsSettingsLibraryOutput) ToGetJobJobSettingsSettingsLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryOutput { + return o +} + +func (o GetJobJobSettingsSettingsLibraryOutput) Cran() GetJobJobSettingsSettingsLibraryCranPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *GetJobJobSettingsSettingsLibraryCran { return v.Cran }).(GetJobJobSettingsSettingsLibraryCranPtrOutput) +} + +func (o GetJobJobSettingsSettingsLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsLibraryOutput) Maven() GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *GetJobJobSettingsSettingsLibraryMaven { return v.Maven }).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) +} + +func (o GetJobJobSettingsSettingsLibraryOutput) Pypi() GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *GetJobJobSettingsSettingsLibraryPypi { return v.Pypi }).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) +} + +func (o GetJobJobSettingsSettingsLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsLibraryArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsLibrary)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsLibraryArrayOutput) ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput { + return o +} + +func (o GetJobJobSettingsSettingsLibraryArrayOutput) ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryArrayOutput { + 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) +} + +type GetJobJobSettingsSettingsLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` +} + +// GetJobJobSettingsSettingsLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsLibraryCranArgs and GetJobJobSettingsSettingsLibraryCranOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryCranInput` via: +// +// GetJobJobSettingsSettingsLibraryCranArgs{...} +type GetJobJobSettingsSettingsLibraryCranInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput + ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryCranOutput +} + +type GetJobJobSettingsSettingsLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` +} + +func (GetJobJobSettingsSettingsLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput { + return i.ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranOutput) +} + +func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranOutput).ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryCranArgs, GetJobJobSettingsSettingsLibraryCranPtr and GetJobJobSettingsSettingsLibraryCranPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryCranPtrInput` via: +// +// GetJobJobSettingsSettingsLibraryCranArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsLibraryCranPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput + ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput +} + +type getJobJobSettingsSettingsLibraryCranPtrType GetJobJobSettingsSettingsLibraryCranArgs + +func GetJobJobSettingsSettingsLibraryCranPtr(v *GetJobJobSettingsSettingsLibraryCranArgs) GetJobJobSettingsSettingsLibraryCranPtrInput { + return (*getJobJobSettingsSettingsLibraryCranPtrType)(v) +} + +func (*getJobJobSettingsSettingsLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsLibraryCranPtrType) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsLibraryCranPtrType) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranPtrOutput) +} + +type GetJobJobSettingsSettingsLibraryCranOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput { + return o +} + +func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranOutput { + return o +} + +func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { + return o.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryCran) *GetJobJobSettingsSettingsLibraryCran { + return &v + }).(GetJobJobSettingsSettingsLibraryCranPtrOutput) +} + +func (o GetJobJobSettingsSettingsLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryCran) string { return v.Package }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsLibraryCranPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsLibraryCranOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) GetJobJobSettingsSettingsLibraryCran { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsLibraryCran + return ret + }).(GetJobJobSettingsSettingsLibraryCranOutput) +} + +func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) *string { + if v == nil { + return nil + } + return &v.Package + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` +} + +// GetJobJobSettingsSettingsLibraryMavenInput is an input type that accepts GetJobJobSettingsSettingsLibraryMavenArgs and GetJobJobSettingsSettingsLibraryMavenOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryMavenInput` via: +// +// GetJobJobSettingsSettingsLibraryMavenArgs{...} +type GetJobJobSettingsSettingsLibraryMavenInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput + ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryMavenOutput +} + +type GetJobJobSettingsSettingsLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` +} + +func (GetJobJobSettingsSettingsLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput { + return i.ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenOutput) +} + +func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenOutput).ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryMavenArgs, GetJobJobSettingsSettingsLibraryMavenPtr and GetJobJobSettingsSettingsLibraryMavenPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryMavenPtrInput` via: +// +// GetJobJobSettingsSettingsLibraryMavenArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsLibraryMavenPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput +} + +type getJobJobSettingsSettingsLibraryMavenPtrType GetJobJobSettingsSettingsLibraryMavenArgs + +func GetJobJobSettingsSettingsLibraryMavenPtr(v *GetJobJobSettingsSettingsLibraryMavenArgs) GetJobJobSettingsSettingsLibraryMavenPtrInput { + return (*getJobJobSettingsSettingsLibraryMavenPtrType)(v) +} + +func (*getJobJobSettingsSettingsLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsLibraryMavenPtrType) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsLibraryMavenPtrType) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) +} + +type GetJobJobSettingsSettingsLibraryMavenOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput { + return o +} + +func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenOutput { + return o +} + +func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return o.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryMaven) *GetJobJobSettingsSettingsLibraryMaven { + 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) +} + +func (o GetJobJobSettingsSettingsLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsLibraryMavenPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsLibraryMavenOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) GetJobJobSettingsSettingsLibraryMaven { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsLibraryMaven + 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) +} + +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsLibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` +} + +// GetJobJobSettingsSettingsLibraryPypiInput is an input type that accepts GetJobJobSettingsSettingsLibraryPypiArgs and GetJobJobSettingsSettingsLibraryPypiOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryPypiInput` via: +// +// GetJobJobSettingsSettingsLibraryPypiArgs{...} +type GetJobJobSettingsSettingsLibraryPypiInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput + ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryPypiOutput +} + +type GetJobJobSettingsSettingsLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` +} + +func (GetJobJobSettingsSettingsLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput { + return i.ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiOutput) +} + +func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiOutput).ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryPypiArgs, GetJobJobSettingsSettingsLibraryPypiPtr and GetJobJobSettingsSettingsLibraryPypiPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryPypiPtrInput` via: +// +// GetJobJobSettingsSettingsLibraryPypiArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsLibraryPypiPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput +} + +type getJobJobSettingsSettingsLibraryPypiPtrType GetJobJobSettingsSettingsLibraryPypiArgs + +func GetJobJobSettingsSettingsLibraryPypiPtr(v *GetJobJobSettingsSettingsLibraryPypiArgs) GetJobJobSettingsSettingsLibraryPypiPtrInput { + return (*getJobJobSettingsSettingsLibraryPypiPtrType)(v) +} + +func (*getJobJobSettingsSettingsLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsLibraryPypiPtrType) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsLibraryPypiPtrType) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) +} + +type GetJobJobSettingsSettingsLibraryPypiOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput { + return o +} + +func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiOutput { + return o +} + +func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return o.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryPypi) *GetJobJobSettingsSettingsLibraryPypi { + return &v + }).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) +} + +func (o GetJobJobSettingsSettingsLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsLibraryPypiPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsLibraryPypiOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) GetJobJobSettingsSettingsLibraryPypi { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsLibraryPypi + return ret + }).(GetJobJobSettingsSettingsLibraryPypiOutput) +} + +func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) *string { + if v == nil { + return nil + } + return &v.Package + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) *string { + if v == nil { + return nil + } + return v.Repo + }).(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"` +} + +// 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 + + ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput + ToGetJobJobSettingsSettingsNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterOutput +} + +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 (GetJobJobSettingsSettingsNewClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewCluster)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput { + return i.ToGetJobJobSettingsSettingsNewClusterOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterOutput) +} + +func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterOutput).ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterArgs, GetJobJobSettingsSettingsNewClusterPtr and GetJobJobSettingsSettingsNewClusterPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterPtrInput` via: +// +// GetJobJobSettingsSettingsNewClusterArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput + ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput +} + +type getJobJobSettingsSettingsNewClusterPtrType GetJobJobSettingsSettingsNewClusterArgs + +func GetJobJobSettingsSettingsNewClusterPtr(v *GetJobJobSettingsSettingsNewClusterArgs) GetJobJobSettingsSettingsNewClusterPtrInput { + return (*getJobJobSettingsSettingsNewClusterPtrType)(v) +} + +func (*getJobJobSettingsSettingsNewClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewCluster)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsNewClusterPtrType) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsNewClusterPtrType) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewCluster)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewCluster { + return &v + }).(GetJobJobSettingsSettingsNewClusterPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) Autoscale() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAutoscale { + return v.Autoscale + }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) +} + +func (o 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 GetJobJobSettingsSettingsNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterGcpAttributes { + return v.GcpAttributes + }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) InitScripts() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterInitScript { + return v.InitScripts + }).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) NodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) NumWorkers() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) SparkConf() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]interface{} { return v.SparkConf }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) SparkEnvVars() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]interface{} { return v.SparkEnvVars }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterWorkloadType { + return v.WorkloadType + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewCluster)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { + return o +} + +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 GetJobJobSettingsSettingsNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *bool { + if v == nil { + return nil + } + return v.ApplyPolicyDefaultValues + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAutoscale { + if v == nil { + return nil + } + return v.Autoscale + }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) +} + +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 GetJobJobSettingsSettingsNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) +} + +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 GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterClusterLogConf { + if v == nil { + return nil + } + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterClusterMountInfo { + if v == nil { + return nil + } + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) +} + +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 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 GetJobJobSettingsSettingsNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterDockerImage { + if v == nil { + return nil + } + return v.DockerImage + }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) +} + +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 GetJobJobSettingsSettingsNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverNodeTypeId + }).(pulumi.StringPtrOutput) +} + +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 GetJobJobSettingsSettingsNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableLocalDiskEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) +} + +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 GetJobJobSettingsSettingsNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) +} + +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 GetJobJobSettingsSettingsNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return &v.NodeTypeId + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *int { + if v == nil { + return nil + } + return &v.NumWorkers + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return v.PolicyId + }).(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 GetJobJobSettingsSettingsNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return v.SingleUserName + }).(pulumi.StringPtrOutput) +} + +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) +} + +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 GetJobJobSettingsSettingsNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return &v.SparkVersion + }).(pulumi.StringPtrOutput) +} + +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 GetJobJobSettingsSettingsNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterWorkloadType { + if v == nil { + return nil + } + return v.WorkloadType + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` +} + +// GetJobJobSettingsSettingsNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAutoscaleArgs and GetJobJobSettingsSettingsNewClusterAutoscaleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAutoscaleInput` via: +// +// GetJobJobSettingsSettingsNewClusterAutoscaleArgs{...} +type GetJobJobSettingsSettingsNewClusterAutoscaleInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput +} + +type GetJobJobSettingsSettingsNewClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +} + +func (GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput) +} + +func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAutoscaleArgs, GetJobJobSettingsSettingsNewClusterAutoscalePtr and GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAutoscalePtrInput` via: +// +// GetJobJobSettingsSettingsNewClusterAutoscaleArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterAutoscalePtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput +} + +type getJobJobSettingsSettingsNewClusterAutoscalePtrType GetJobJobSettingsSettingsNewClusterAutoscaleArgs + +func GetJobJobSettingsSettingsNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsNewClusterAutoscaleArgs) GetJobJobSettingsSettingsNewClusterAutoscalePtrInput { + return (*getJobJobSettingsSettingsNewClusterAutoscalePtrType)(v) +} + +func (*getJobJobSettingsSettingsNewClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterAutoscaleOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAutoscale) *GetJobJobSettingsSettingsNewClusterAutoscale { + return &v + }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) GetJobJobSettingsSettingsNewClusterAutoscale { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsNewClusterAutoscale + return ret + }).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) *int { + if v == nil { + return nil + } + return v.MaxWorkers + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) *int { + if v == nil { + return nil + } + return v.MinWorkers + }).(pulumi.IntPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterAwsAttributes struct { + Availability *string `pulumi:"availability"` + EbsVolumeCount *int `pulumi:"ebsVolumeCount"` + EbsVolumeSize *int `pulumi:"ebsVolumeSize"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId *string `pulumi:"zoneId"` +} + +// GetJobJobSettingsSettingsNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsNewClusterAwsAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAwsAttributesInput` via: +// +// GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{...} +type GetJobJobSettingsSettingsNewClusterAwsAttributesInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput +} + +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 (GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) +} + +func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput` via: +// +// GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput +} + +type getJobJobSettingsSettingsNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsNewClusterAwsAttributesArgs + +func GetJobJobSettingsSettingsNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput { + return (*getJobJobSettingsSettingsNewClusterAwsAttributesPtrType)(v) +} + +func (*getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAwsAttributes) *GetJobJobSettingsSettingsNewClusterAwsAttributes { + 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) +} + +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) GetJobJobSettingsSettingsNewClusterAwsAttributes { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsNewClusterAwsAttributes + return ret + }).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) +} + +func (o 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) +} + +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { + 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"` +} + +// 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 GetJobJobSettingsSettingsNewClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +} + +func (GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) +} + +func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput` via: +// +// GetJobJobSettingsSettingsNewClusterAzureAttributesArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput +} + +type getJobJobSettingsSettingsNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsNewClusterAzureAttributesArgs + +func GetJobJobSettingsSettingsNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput { + return (*getJobJobSettingsSettingsNewClusterAzureAttributesPtrType)(v) +} + +func (*getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { + 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 GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + 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) +} + +type GetJobJobSettingsSettingsNewClusterClusterLogConf struct { + Dbfs *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 `pulumi:"s3"` +} + +// GetJobJobSettingsSettingsNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsNewClusterClusterLogConfOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfInput` via: +// +// GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{...} +type GetJobJobSettingsSettingsNewClusterClusterLogConfInput 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() +} + +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) +} + +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput` via: +// +// GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput +} + +type getJobJobSettingsSettingsNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsNewClusterClusterLogConfArgs + +func GetJobJobSettingsSettingsNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput { + return (*getJobJobSettingsSettingsNewClusterClusterLogConfPtrType)(v) +} + +func (*getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { + 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 GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { + return v.S3 + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + 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) +} + type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs struct { Destination string `pulumi:"destination"` } @@ -25119,15 +27278,22 @@ func (o GetSqlWarehouseTagsCustomTagArrayOutput) Index(i pulumi.IntInput) GetSql } type GetStorageCredentialStorageCredentialInfo struct { - AwsIamRole *GetStorageCredentialStorageCredentialInfoAwsIamRole `pulumi:"awsIamRole"` - AzureManagedIdentity *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity `pulumi:"azureManagedIdentity"` - AzureServicePrincipal *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal `pulumi:"azureServicePrincipal"` - CloudflareApiToken *GetStorageCredentialStorageCredentialInfoCloudflareApiToken `pulumi:"cloudflareApiToken"` - Comment *string `pulumi:"comment"` - CreatedAt *int `pulumi:"createdAt"` - CreatedBy *string `pulumi:"createdBy"` + // credential details for AWS: + AwsIamRole *GetStorageCredentialStorageCredentialInfoAwsIamRole `pulumi:"awsIamRole"` + // managed identity credential details for Azure + AzureManagedIdentity *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity `pulumi:"azureManagedIdentity"` + // service principal credential details for Azure: + AzureServicePrincipal *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal `pulumi:"azureServicePrincipal"` + CloudflareApiToken *GetStorageCredentialStorageCredentialInfoCloudflareApiToken `pulumi:"cloudflareApiToken"` + Comment *string `pulumi:"comment"` + // Time at which this catalog was created, in epoch milliseconds. + CreatedAt *int `pulumi:"createdAt"` + // Username of catalog creator. + CreatedBy *string `pulumi:"createdBy"` + // credential details for GCP: DatabricksGcpServiceAccount *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount `pulumi:"databricksGcpServiceAccount"` - Id *string `pulumi:"id"` + // Unique ID of storage credential. + Id *string `pulumi:"id"` // Unique identifier of the parent Metastore. MetastoreId *string `pulumi:"metastoreId"` // The name of the storage credential @@ -25135,8 +27301,10 @@ type GetStorageCredentialStorageCredentialInfo struct { // Username/groupname/sp applicationId of the storage credential owner. Owner *string `pulumi:"owner"` // Indicates whether the storage credential is only usable for read operations. - ReadOnly *bool `pulumi:"readOnly"` - UpdatedAt *int `pulumi:"updatedAt"` + ReadOnly *bool `pulumi:"readOnly"` + // Time at which this catalog was last modified, in epoch milliseconds. + UpdatedAt *int `pulumi:"updatedAt"` + // Username of user who last modified catalog. UpdatedBy *string `pulumi:"updatedBy"` UsedForManagedStorage *bool `pulumi:"usedForManagedStorage"` } @@ -25153,15 +27321,22 @@ type GetStorageCredentialStorageCredentialInfoInput interface { } type GetStorageCredentialStorageCredentialInfoArgs struct { - AwsIamRole GetStorageCredentialStorageCredentialInfoAwsIamRolePtrInput `pulumi:"awsIamRole"` - AzureManagedIdentity GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrInput `pulumi:"azureManagedIdentity"` - AzureServicePrincipal GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrInput `pulumi:"azureServicePrincipal"` - CloudflareApiToken GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrInput `pulumi:"cloudflareApiToken"` - Comment pulumi.StringPtrInput `pulumi:"comment"` - CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // credential details for AWS: + AwsIamRole GetStorageCredentialStorageCredentialInfoAwsIamRolePtrInput `pulumi:"awsIamRole"` + // managed identity credential details for Azure + AzureManagedIdentity GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrInput `pulumi:"azureManagedIdentity"` + // service principal credential details for Azure: + AzureServicePrincipal GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrInput `pulumi:"azureServicePrincipal"` + CloudflareApiToken GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrInput `pulumi:"cloudflareApiToken"` + Comment pulumi.StringPtrInput `pulumi:"comment"` + // Time at which this catalog was created, in epoch milliseconds. + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + // Username of catalog creator. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // credential details for GCP: DatabricksGcpServiceAccount GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrInput `pulumi:"databricksGcpServiceAccount"` - Id pulumi.StringPtrInput `pulumi:"id"` + // Unique ID of storage credential. + Id pulumi.StringPtrInput `pulumi:"id"` // Unique identifier of the parent Metastore. MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` // The name of the storage credential @@ -25169,8 +27344,10 @@ type GetStorageCredentialStorageCredentialInfoArgs struct { // Username/groupname/sp applicationId of the storage credential owner. Owner pulumi.StringPtrInput `pulumi:"owner"` // Indicates whether the storage credential is only usable for read operations. - ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` - UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` + // Time at which this catalog was last modified, in epoch milliseconds. + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + // Username of user who last modified catalog. UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` UsedForManagedStorage pulumi.BoolPtrInput `pulumi:"usedForManagedStorage"` } @@ -25252,18 +27429,21 @@ func (o GetStorageCredentialStorageCredentialInfoOutput) ToGetStorageCredentialS }).(GetStorageCredentialStorageCredentialInfoPtrOutput) } +// credential details for AWS: func (o GetStorageCredentialStorageCredentialInfoOutput) AwsIamRole() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAwsIamRole { return v.AwsIamRole }).(GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) } +// managed identity credential details for Azure func (o GetStorageCredentialStorageCredentialInfoOutput) AzureManagedIdentity() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity { return v.AzureManagedIdentity }).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) } +// service principal credential details for Azure: func (o GetStorageCredentialStorageCredentialInfoOutput) AzureServicePrincipal() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal { return v.AzureServicePrincipal @@ -25280,20 +27460,24 @@ func (o GetStorageCredentialStorageCredentialInfoOutput) Comment() pulumi.String return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) } +// Time at which this catalog was created, in epoch milliseconds. func (o GetStorageCredentialStorageCredentialInfoOutput) CreatedAt() pulumi.IntPtrOutput { return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) } +// Username of catalog creator. func (o GetStorageCredentialStorageCredentialInfoOutput) CreatedBy() pulumi.StringPtrOutput { return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) } +// credential details for GCP: func (o GetStorageCredentialStorageCredentialInfoOutput) DatabricksGcpServiceAccount() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount { return v.DatabricksGcpServiceAccount }).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) } +// Unique ID of storage credential. func (o GetStorageCredentialStorageCredentialInfoOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.Id }).(pulumi.StringPtrOutput) } @@ -25318,10 +27502,12 @@ func (o GetStorageCredentialStorageCredentialInfoOutput) ReadOnly() pulumi.BoolP return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *bool { return v.ReadOnly }).(pulumi.BoolPtrOutput) } +// Time at which this catalog was last modified, in epoch milliseconds. func (o GetStorageCredentialStorageCredentialInfoOutput) UpdatedAt() pulumi.IntPtrOutput { return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) } +// Username of user who last modified catalog. func (o GetStorageCredentialStorageCredentialInfoOutput) UpdatedBy() pulumi.StringPtrOutput { return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) } @@ -25354,6 +27540,7 @@ func (o GetStorageCredentialStorageCredentialInfoPtrOutput) Elem() GetStorageCre }).(GetStorageCredentialStorageCredentialInfoOutput) } +// credential details for AWS: func (o GetStorageCredentialStorageCredentialInfoPtrOutput) AwsIamRole() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAwsIamRole { if v == nil { @@ -25363,6 +27550,7 @@ func (o GetStorageCredentialStorageCredentialInfoPtrOutput) AwsIamRole() GetStor }).(GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) } +// managed identity credential details for Azure func (o GetStorageCredentialStorageCredentialInfoPtrOutput) AzureManagedIdentity() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity { if v == nil { @@ -25372,6 +27560,7 @@ func (o GetStorageCredentialStorageCredentialInfoPtrOutput) AzureManagedIdentity }).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) } +// service principal credential details for Azure: func (o GetStorageCredentialStorageCredentialInfoPtrOutput) AzureServicePrincipal() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal { if v == nil { @@ -25399,6 +27588,7 @@ func (o GetStorageCredentialStorageCredentialInfoPtrOutput) Comment() pulumi.Str }).(pulumi.StringPtrOutput) } +// Time at which this catalog was created, in epoch milliseconds. func (o GetStorageCredentialStorageCredentialInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *int { if v == nil { @@ -25408,6 +27598,7 @@ func (o GetStorageCredentialStorageCredentialInfoPtrOutput) CreatedAt() pulumi.I }).(pulumi.IntPtrOutput) } +// Username of catalog creator. func (o GetStorageCredentialStorageCredentialInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { if v == nil { @@ -25417,6 +27608,7 @@ func (o GetStorageCredentialStorageCredentialInfoPtrOutput) CreatedBy() pulumi.S }).(pulumi.StringPtrOutput) } +// credential details for GCP: func (o GetStorageCredentialStorageCredentialInfoPtrOutput) DatabricksGcpServiceAccount() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount { if v == nil { @@ -25426,6 +27618,7 @@ func (o GetStorageCredentialStorageCredentialInfoPtrOutput) DatabricksGcpService }).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) } +// Unique ID of storage credential. func (o GetStorageCredentialStorageCredentialInfoPtrOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { if v == nil { @@ -25475,6 +27668,7 @@ func (o GetStorageCredentialStorageCredentialInfoPtrOutput) ReadOnly() pulumi.Bo }).(pulumi.BoolPtrOutput) } +// Time at which this catalog was last modified, in epoch milliseconds. func (o GetStorageCredentialStorageCredentialInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *int { if v == nil { @@ -25484,6 +27678,7 @@ func (o GetStorageCredentialStorageCredentialInfoPtrOutput) UpdatedAt() pulumi.I }).(pulumi.IntPtrOutput) } +// Username of user who last modified catalog. func (o GetStorageCredentialStorageCredentialInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { if v == nil { @@ -29114,6 +31309,28 @@ func (o GetTableTableInfoViewDependenciesDependencyTablePtrOutput) TableFullName } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeInput)(nil)).Elem(), GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput)(nil)).Elem(), GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryArrayInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCranInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryCranArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCranPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryCranArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMavenInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryMavenArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMavenPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryMavenArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypiInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryPypiArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypiPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsLibraryPypiArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscaleInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterAutoscaleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscalePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterAutoscaleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributesInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributesInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterAzureAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterAzureAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{}) @@ -29473,6 +31690,28 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoViewDependenciesDependencyFunctionPtrInput)(nil)).Elem(), GetTableTableInfoViewDependenciesDependencyFunctionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoViewDependenciesDependencyTableInput)(nil)).Elem(), GetTableTableInfoViewDependenciesDependencyTableArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoViewDependenciesDependencyTablePtrInput)(nil)).Elem(), GetTableTableInfoViewDependenciesDependencyTableArgs{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryArrayOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryCranOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryCranPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryMavenOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryMavenPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryPypiOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsLibraryPypiPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterAutoscaleOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output{}) diff --git a/sdk/go/databricks/qualityMonitor.go b/sdk/go/databricks/qualityMonitor.go new file mode 100644 index 00000000..3d44481b --- /dev/null +++ b/sdk/go/databricks/qualityMonitor.go @@ -0,0 +1,570 @@ +// 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 `QualityMonitor` 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.NewQualityMonitor(ctx, "testMonitorInference", &databricks.QualityMonitorArgs{ +// TableName: pulumi.String(fmt.Sprintf("%v.%v.%v", sandbox.Name, things.Name, myTestTable.Name)), +// AssetsDir: pulumi.String(fmt.Sprintf("/Shared/provider-test/databricks_quality_monitoring/%v", myTestTable.Name)), +// OutputSchemaName: pulumi.String(fmt.Sprintf("%v.%v", sandbox.Name, things.Name)), +// InferenceLog: &databricks.QualityMonitorInferenceLogArgs{ +// Granularities: pulumi.StringArray{ +// pulumi.String("1 hour"), +// }, +// TimestampCol: pulumi.String("timestamp"), +// PredictionCol: pulumi.String("prediction"), +// ModelIdCol: pulumi.String("model_id"), +// ProblemType: pulumi.String("PROBLEM_TYPE_REGRESSION"), +// }, +// }) +// 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.NewQualityMonitor(ctx, "testMonitorInference", &databricks.QualityMonitorArgs{ +// TableName: pulumi.String(fmt.Sprintf("%v.%v.%v", sandbox.Name, things.Name, myTestTable.Name)), +// AssetsDir: pulumi.String(fmt.Sprintf("/Shared/provider-test/databricks_quality_monitoring/%v", myTestTable.Name)), +// OutputSchemaName: pulumi.String(fmt.Sprintf("%v.%v", sandbox.Name, things.Name)), +// Snapshot: nil, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Related Resources +// +// The following resources are often used in the same context: +// +// * Catalog +// * Schema +// * SqlTable +type QualityMonitor 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 QualityMonitorCustomMetricArrayOutput `pulumi:"customMetrics"` + // The ID of the generated dashboard. + DashboardId pulumi.StringOutput `pulumi:"dashboardId"` + // The data classification config for the monitor + DataClassificationConfig QualityMonitorDataClassificationConfigPtrOutput `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 QualityMonitorInferenceLogPtrOutput `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. The following optional blocks are supported, each consisting of the single string array field with name `emailAddresses` containing a list of emails to notify: + Notifications QualityMonitorNotificationsPtrOutput `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. This block consists of following fields: + Schedule QualityMonitorSchedulePtrOutput `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 QualityMonitorSnapshotPtrOutput `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 QualityMonitorTimeSeriesPtrOutput `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"` +} + +// NewQualityMonitor registers a new resource with the given unique name, arguments, and options. +func NewQualityMonitor(ctx *pulumi.Context, + name string, args *QualityMonitorArgs, opts ...pulumi.ResourceOption) (*QualityMonitor, 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 QualityMonitor + err := ctx.RegisterResource("databricks:index/qualityMonitor:QualityMonitor", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetQualityMonitor gets an existing QualityMonitor 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 GetQualityMonitor(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *QualityMonitorState, opts ...pulumi.ResourceOption) (*QualityMonitor, error) { + var resource QualityMonitor + err := ctx.ReadResource("databricks:index/qualityMonitor:QualityMonitor", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering QualityMonitor resources. +type qualityMonitorState 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 []QualityMonitorCustomMetric `pulumi:"customMetrics"` + // The ID of the generated dashboard. + DashboardId *string `pulumi:"dashboardId"` + // The data classification config for the monitor + DataClassificationConfig *QualityMonitorDataClassificationConfig `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 *QualityMonitorInferenceLog `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. The following optional blocks are supported, each consisting of the single string array field with name `emailAddresses` containing a list of emails to notify: + Notifications *QualityMonitorNotifications `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. This block consists of following fields: + Schedule *QualityMonitorSchedule `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 *QualityMonitorSnapshot `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 *QualityMonitorTimeSeries `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 QualityMonitorState 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 QualityMonitorCustomMetricArrayInput + // The ID of the generated dashboard. + DashboardId pulumi.StringPtrInput + // The data classification config for the monitor + DataClassificationConfig QualityMonitorDataClassificationConfigPtrInput + // 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 QualityMonitorInferenceLogPtrInput + 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. The following optional blocks are supported, each consisting of the single string array field with name `emailAddresses` containing a list of emails to notify: + Notifications QualityMonitorNotificationsPtrInput + // 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. This block consists of following fields: + Schedule QualityMonitorSchedulePtrInput + // 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 QualityMonitorSnapshotPtrInput + // 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 QualityMonitorTimeSeriesPtrInput + // Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + WarehouseId pulumi.StringPtrInput +} + +func (QualityMonitorState) ElementType() reflect.Type { + return reflect.TypeOf((*qualityMonitorState)(nil)).Elem() +} + +type qualityMonitorArgs 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 []QualityMonitorCustomMetric `pulumi:"customMetrics"` + // The data classification config for the monitor + DataClassificationConfig *QualityMonitorDataClassificationConfig `pulumi:"dataClassificationConfig"` + // Configuration for the inference log monitor + InferenceLog *QualityMonitorInferenceLog `pulumi:"inferenceLog"` + LatestMonitorFailureMsg *string `pulumi:"latestMonitorFailureMsg"` + // The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `emailAddresses` containing a list of emails to notify: + Notifications *QualityMonitorNotifications `pulumi:"notifications"` + // Schema where output metric tables are created + OutputSchemaName string `pulumi:"outputSchemaName"` + // The schedule for automatically updating and refreshing metric tables. This block consists of following fields: + Schedule *QualityMonitorSchedule `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 *QualityMonitorSnapshot `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 *QualityMonitorTimeSeries `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 QualityMonitor resource. +type QualityMonitorArgs 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 QualityMonitorCustomMetricArrayInput + // The data classification config for the monitor + DataClassificationConfig QualityMonitorDataClassificationConfigPtrInput + // Configuration for the inference log monitor + InferenceLog QualityMonitorInferenceLogPtrInput + LatestMonitorFailureMsg pulumi.StringPtrInput + // The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `emailAddresses` containing a list of emails to notify: + Notifications QualityMonitorNotificationsPtrInput + // Schema where output metric tables are created + OutputSchemaName pulumi.StringInput + // The schedule for automatically updating and refreshing metric tables. This block consists of following fields: + Schedule QualityMonitorSchedulePtrInput + // 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 QualityMonitorSnapshotPtrInput + // 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 QualityMonitorTimeSeriesPtrInput + // Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + WarehouseId pulumi.StringPtrInput +} + +func (QualityMonitorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*qualityMonitorArgs)(nil)).Elem() +} + +type QualityMonitorInput interface { + pulumi.Input + + ToQualityMonitorOutput() QualityMonitorOutput + ToQualityMonitorOutputWithContext(ctx context.Context) QualityMonitorOutput +} + +func (*QualityMonitor) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitor)(nil)).Elem() +} + +func (i *QualityMonitor) ToQualityMonitorOutput() QualityMonitorOutput { + return i.ToQualityMonitorOutputWithContext(context.Background()) +} + +func (i *QualityMonitor) ToQualityMonitorOutputWithContext(ctx context.Context) QualityMonitorOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorOutput) +} + +// QualityMonitorArrayInput is an input type that accepts QualityMonitorArray and QualityMonitorArrayOutput values. +// You can construct a concrete instance of `QualityMonitorArrayInput` via: +// +// QualityMonitorArray{ QualityMonitorArgs{...} } +type QualityMonitorArrayInput interface { + pulumi.Input + + ToQualityMonitorArrayOutput() QualityMonitorArrayOutput + ToQualityMonitorArrayOutputWithContext(context.Context) QualityMonitorArrayOutput +} + +type QualityMonitorArray []QualityMonitorInput + +func (QualityMonitorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*QualityMonitor)(nil)).Elem() +} + +func (i QualityMonitorArray) ToQualityMonitorArrayOutput() QualityMonitorArrayOutput { + return i.ToQualityMonitorArrayOutputWithContext(context.Background()) +} + +func (i QualityMonitorArray) ToQualityMonitorArrayOutputWithContext(ctx context.Context) QualityMonitorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorArrayOutput) +} + +// QualityMonitorMapInput is an input type that accepts QualityMonitorMap and QualityMonitorMapOutput values. +// You can construct a concrete instance of `QualityMonitorMapInput` via: +// +// QualityMonitorMap{ "key": QualityMonitorArgs{...} } +type QualityMonitorMapInput interface { + pulumi.Input + + ToQualityMonitorMapOutput() QualityMonitorMapOutput + ToQualityMonitorMapOutputWithContext(context.Context) QualityMonitorMapOutput +} + +type QualityMonitorMap map[string]QualityMonitorInput + +func (QualityMonitorMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*QualityMonitor)(nil)).Elem() +} + +func (i QualityMonitorMap) ToQualityMonitorMapOutput() QualityMonitorMapOutput { + return i.ToQualityMonitorMapOutputWithContext(context.Background()) +} + +func (i QualityMonitorMap) ToQualityMonitorMapOutputWithContext(ctx context.Context) QualityMonitorMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorMapOutput) +} + +type QualityMonitorOutput struct{ *pulumi.OutputState } + +func (QualityMonitorOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitor)(nil)).Elem() +} + +func (o QualityMonitorOutput) ToQualityMonitorOutput() QualityMonitorOutput { + return o +} + +func (o QualityMonitorOutput) ToQualityMonitorOutputWithContext(ctx context.Context) QualityMonitorOutput { + return o +} + +// The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) +func (o QualityMonitorOutput) AssetsDir() pulumi.StringOutput { + return o.ApplyT(func(v *QualityMonitor) 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 QualityMonitorOutput) BaselineTableName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitor) 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 QualityMonitorOutput) CustomMetrics() QualityMonitorCustomMetricArrayOutput { + return o.ApplyT(func(v *QualityMonitor) QualityMonitorCustomMetricArrayOutput { return v.CustomMetrics }).(QualityMonitorCustomMetricArrayOutput) +} + +// The ID of the generated dashboard. +func (o QualityMonitorOutput) DashboardId() pulumi.StringOutput { + return o.ApplyT(func(v *QualityMonitor) pulumi.StringOutput { return v.DashboardId }).(pulumi.StringOutput) +} + +// The data classification config for the monitor +func (o QualityMonitorOutput) DataClassificationConfig() QualityMonitorDataClassificationConfigPtrOutput { + return o.ApplyT(func(v *QualityMonitor) QualityMonitorDataClassificationConfigPtrOutput { + return v.DataClassificationConfig + }).(QualityMonitorDataClassificationConfigPtrOutput) +} + +// The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. +func (o QualityMonitorOutput) DriftMetricsTableName() pulumi.StringOutput { + return o.ApplyT(func(v *QualityMonitor) pulumi.StringOutput { return v.DriftMetricsTableName }).(pulumi.StringOutput) +} + +// Configuration for the inference log monitor +func (o QualityMonitorOutput) InferenceLog() QualityMonitorInferenceLogPtrOutput { + return o.ApplyT(func(v *QualityMonitor) QualityMonitorInferenceLogPtrOutput { return v.InferenceLog }).(QualityMonitorInferenceLogPtrOutput) +} + +func (o QualityMonitorOutput) LatestMonitorFailureMsg() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitor) 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 QualityMonitorOutput) MonitorVersion() pulumi.StringOutput { + return o.ApplyT(func(v *QualityMonitor) pulumi.StringOutput { return v.MonitorVersion }).(pulumi.StringOutput) +} + +// The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `emailAddresses` containing a list of emails to notify: +func (o QualityMonitorOutput) Notifications() QualityMonitorNotificationsPtrOutput { + return o.ApplyT(func(v *QualityMonitor) QualityMonitorNotificationsPtrOutput { return v.Notifications }).(QualityMonitorNotificationsPtrOutput) +} + +// Schema where output metric tables are created +func (o QualityMonitorOutput) OutputSchemaName() pulumi.StringOutput { + return o.ApplyT(func(v *QualityMonitor) pulumi.StringOutput { return v.OutputSchemaName }).(pulumi.StringOutput) +} + +// The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. +func (o QualityMonitorOutput) ProfileMetricsTableName() pulumi.StringOutput { + return o.ApplyT(func(v *QualityMonitor) pulumi.StringOutput { return v.ProfileMetricsTableName }).(pulumi.StringOutput) +} + +// The schedule for automatically updating and refreshing metric tables. This block consists of following fields: +func (o QualityMonitorOutput) Schedule() QualityMonitorSchedulePtrOutput { + return o.ApplyT(func(v *QualityMonitor) QualityMonitorSchedulePtrOutput { return v.Schedule }).(QualityMonitorSchedulePtrOutput) +} + +// Whether to skip creating a default dashboard summarizing data quality metrics. +func (o QualityMonitorOutput) SkipBuiltinDashboard() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *QualityMonitor) 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 QualityMonitorOutput) SlicingExprs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *QualityMonitor) pulumi.StringArrayOutput { return v.SlicingExprs }).(pulumi.StringArrayOutput) +} + +// Configuration for monitoring snapshot tables. +func (o QualityMonitorOutput) Snapshot() QualityMonitorSnapshotPtrOutput { + return o.ApplyT(func(v *QualityMonitor) QualityMonitorSnapshotPtrOutput { return v.Snapshot }).(QualityMonitorSnapshotPtrOutput) +} + +// Status of the Monitor +func (o QualityMonitorOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *QualityMonitor) 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 QualityMonitorOutput) TableName() pulumi.StringOutput { + return o.ApplyT(func(v *QualityMonitor) pulumi.StringOutput { return v.TableName }).(pulumi.StringOutput) +} + +// Configuration for monitoring timeseries tables. +func (o QualityMonitorOutput) TimeSeries() QualityMonitorTimeSeriesPtrOutput { + return o.ApplyT(func(v *QualityMonitor) QualityMonitorTimeSeriesPtrOutput { return v.TimeSeries }).(QualityMonitorTimeSeriesPtrOutput) +} + +// Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. +func (o QualityMonitorOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitor) pulumi.StringPtrOutput { return v.WarehouseId }).(pulumi.StringPtrOutput) +} + +type QualityMonitorArrayOutput struct{ *pulumi.OutputState } + +func (QualityMonitorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*QualityMonitor)(nil)).Elem() +} + +func (o QualityMonitorArrayOutput) ToQualityMonitorArrayOutput() QualityMonitorArrayOutput { + return o +} + +func (o QualityMonitorArrayOutput) ToQualityMonitorArrayOutputWithContext(ctx context.Context) QualityMonitorArrayOutput { + return o +} + +func (o QualityMonitorArrayOutput) Index(i pulumi.IntInput) QualityMonitorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *QualityMonitor { + return vs[0].([]*QualityMonitor)[vs[1].(int)] + }).(QualityMonitorOutput) +} + +type QualityMonitorMapOutput struct{ *pulumi.OutputState } + +func (QualityMonitorMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*QualityMonitor)(nil)).Elem() +} + +func (o QualityMonitorMapOutput) ToQualityMonitorMapOutput() QualityMonitorMapOutput { + return o +} + +func (o QualityMonitorMapOutput) ToQualityMonitorMapOutputWithContext(ctx context.Context) QualityMonitorMapOutput { + return o +} + +func (o QualityMonitorMapOutput) MapIndex(k pulumi.StringInput) QualityMonitorOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *QualityMonitor { + return vs[0].(map[string]*QualityMonitor)[vs[1].(string)] + }).(QualityMonitorOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorInput)(nil)).Elem(), &QualityMonitor{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorArrayInput)(nil)).Elem(), QualityMonitorArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*QualityMonitorMapInput)(nil)).Elem(), QualityMonitorMap{}) + pulumi.RegisterOutputType(QualityMonitorOutput{}) + pulumi.RegisterOutputType(QualityMonitorArrayOutput{}) + pulumi.RegisterOutputType(QualityMonitorMapOutput{}) +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/AutomaticClusterUpdateWorkspaceSetting.java b/sdk/java/src/main/java/com/pulumi/databricks/AutomaticClusterUpdateWorkspaceSetting.java new file mode 100644 index 00000000..3b3f105a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/AutomaticClusterUpdateWorkspaceSetting.java @@ -0,0 +1,86 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks; + +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.AutomaticClusterUpdateWorkspaceSettingArgs; +import com.pulumi.databricks.Utilities; +import com.pulumi.databricks.inputs.AutomaticClusterUpdateWorkspaceSettingState; +import com.pulumi.databricks.outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace; +import java.lang.String; +import javax.annotation.Nullable; + +@ResourceType(type="databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting") +public class AutomaticClusterUpdateWorkspaceSetting extends com.pulumi.resources.CustomResource { + @Export(name="automaticClusterUpdateWorkspace", refs={AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace.class}, tree="[0]") + private Output automaticClusterUpdateWorkspace; + + public Output automaticClusterUpdateWorkspace() { + return this.automaticClusterUpdateWorkspace; + } + @Export(name="etag", refs={String.class}, tree="[0]") + private Output etag; + + public Output etag() { + return this.etag; + } + @Export(name="settingName", refs={String.class}, tree="[0]") + private Output settingName; + + public Output settingName() { + return this.settingName; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AutomaticClusterUpdateWorkspaceSetting(String name) { + this(name, AutomaticClusterUpdateWorkspaceSettingArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AutomaticClusterUpdateWorkspaceSetting(String name, AutomaticClusterUpdateWorkspaceSettingArgs 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 AutomaticClusterUpdateWorkspaceSetting(String name, AutomaticClusterUpdateWorkspaceSettingArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting", name, args == null ? AutomaticClusterUpdateWorkspaceSettingArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private AutomaticClusterUpdateWorkspaceSetting(String name, Output id, @Nullable AutomaticClusterUpdateWorkspaceSettingState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting", 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 AutomaticClusterUpdateWorkspaceSetting get(String name, Output id, @Nullable AutomaticClusterUpdateWorkspaceSettingState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AutomaticClusterUpdateWorkspaceSetting(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/AutomaticClusterUpdateWorkspaceSettingArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/AutomaticClusterUpdateWorkspaceSettingArgs.java new file mode 100644 index 00000000..dd416ee5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/AutomaticClusterUpdateWorkspaceSettingArgs.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; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AutomaticClusterUpdateWorkspaceSettingArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutomaticClusterUpdateWorkspaceSettingArgs Empty = new AutomaticClusterUpdateWorkspaceSettingArgs(); + + @Import(name="automaticClusterUpdateWorkspace", required=true) + private Output automaticClusterUpdateWorkspace; + + public Output automaticClusterUpdateWorkspace() { + return this.automaticClusterUpdateWorkspace; + } + + @Import(name="etag") + private @Nullable Output etag; + + public Optional> etag() { + return Optional.ofNullable(this.etag); + } + + @Import(name="settingName") + private @Nullable Output settingName; + + public Optional> settingName() { + return Optional.ofNullable(this.settingName); + } + + private AutomaticClusterUpdateWorkspaceSettingArgs() {} + + private AutomaticClusterUpdateWorkspaceSettingArgs(AutomaticClusterUpdateWorkspaceSettingArgs $) { + this.automaticClusterUpdateWorkspace = $.automaticClusterUpdateWorkspace; + this.etag = $.etag; + this.settingName = $.settingName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutomaticClusterUpdateWorkspaceSettingArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutomaticClusterUpdateWorkspaceSettingArgs $; + + public Builder() { + $ = new AutomaticClusterUpdateWorkspaceSettingArgs(); + } + + public Builder(AutomaticClusterUpdateWorkspaceSettingArgs defaults) { + $ = new AutomaticClusterUpdateWorkspaceSettingArgs(Objects.requireNonNull(defaults)); + } + + public Builder automaticClusterUpdateWorkspace(Output automaticClusterUpdateWorkspace) { + $.automaticClusterUpdateWorkspace = automaticClusterUpdateWorkspace; + return this; + } + + public Builder automaticClusterUpdateWorkspace(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs automaticClusterUpdateWorkspace) { + return automaticClusterUpdateWorkspace(Output.of(automaticClusterUpdateWorkspace)); + } + + public Builder etag(@Nullable Output etag) { + $.etag = etag; + return this; + } + + public Builder etag(String etag) { + return etag(Output.of(etag)); + } + + public Builder settingName(@Nullable Output settingName) { + $.settingName = settingName; + return this; + } + + public Builder settingName(String settingName) { + return settingName(Output.of(settingName)); + } + + public AutomaticClusterUpdateWorkspaceSettingArgs build() { + if ($.automaticClusterUpdateWorkspace == null) { + throw new MissingRequiredPropertyException("AutomaticClusterUpdateWorkspaceSettingArgs", "automaticClusterUpdateWorkspace"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/Cluster.java b/sdk/java/src/main/java/com/pulumi/databricks/Cluster.java index e7b3c735..59f6fe5b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/Cluster.java @@ -13,7 +13,6 @@ import com.pulumi.databricks.outputs.ClusterAutoscale; import com.pulumi.databricks.outputs.ClusterAwsAttributes; import com.pulumi.databricks.outputs.ClusterAzureAttributes; -import com.pulumi.databricks.outputs.ClusterCloneFrom; import com.pulumi.databricks.outputs.ClusterClusterLogConf; import com.pulumi.databricks.outputs.ClusterClusterMountInfo; import com.pulumi.databricks.outputs.ClusterDockerImage; @@ -174,12 +173,6 @@ public Output> awsAttributes() { public Output> azureAttributes() { return Codegen.optional(this.azureAttributes); } - @Export(name="cloneFrom", refs={ClusterCloneFrom.class}, tree="[0]") - private Output cloneFrom; - - public Output> cloneFrom() { - return Codegen.optional(this.cloneFrom); - } @Export(name="clusterId", refs={String.class}, tree="[0]") private Output clusterId; @@ -212,12 +205,6 @@ public Output>> clusterMountInfos() { public Output> clusterName() { return Codegen.optional(this.clusterName); } - @Export(name="clusterSource", refs={String.class}, tree="[0]") - private Output clusterSource; - - public Output clusterSource() { - return this.clusterSource; - } /** * should have tag `ResourceClass` set to value `Serverless` * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/ClusterArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/ClusterArgs.java index 86936265..92a9e077 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/ClusterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/ClusterArgs.java @@ -8,7 +8,6 @@ import com.pulumi.databricks.inputs.ClusterAutoscaleArgs; import com.pulumi.databricks.inputs.ClusterAwsAttributesArgs; import com.pulumi.databricks.inputs.ClusterAzureAttributesArgs; -import com.pulumi.databricks.inputs.ClusterCloneFromArgs; import com.pulumi.databricks.inputs.ClusterClusterLogConfArgs; import com.pulumi.databricks.inputs.ClusterClusterMountInfoArgs; import com.pulumi.databricks.inputs.ClusterDockerImageArgs; @@ -83,13 +82,6 @@ public Optional> azureAttributes() { return Optional.ofNullable(this.azureAttributes); } - @Import(name="cloneFrom") - private @Nullable Output cloneFrom; - - public Optional> cloneFrom() { - return Optional.ofNullable(this.cloneFrom); - } - @Import(name="clusterLogConf") private @Nullable Output clusterLogConf; @@ -632,7 +624,6 @@ private ClusterArgs(ClusterArgs $) { this.autoterminationMinutes = $.autoterminationMinutes; this.awsAttributes = $.awsAttributes; this.azureAttributes = $.azureAttributes; - this.cloneFrom = $.cloneFrom; this.clusterLogConf = $.clusterLogConf; this.clusterMountInfos = $.clusterMountInfos; this.clusterName = $.clusterName; @@ -748,15 +739,6 @@ public Builder azureAttributes(ClusterAzureAttributesArgs azureAttributes) { return azureAttributes(Output.of(azureAttributes)); } - public Builder cloneFrom(@Nullable Output cloneFrom) { - $.cloneFrom = cloneFrom; - return this; - } - - public Builder cloneFrom(ClusterCloneFromArgs cloneFrom) { - return cloneFrom(Output.of(cloneFrom)); - } - public Builder clusterLogConf(@Nullable Output clusterLogConf) { $.clusterLogConf = clusterLogConf; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/ComplianceSecurityProfileWorkspaceSetting.java b/sdk/java/src/main/java/com/pulumi/databricks/ComplianceSecurityProfileWorkspaceSetting.java new file mode 100644 index 00000000..9536c740 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/ComplianceSecurityProfileWorkspaceSetting.java @@ -0,0 +1,86 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks; + +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.ComplianceSecurityProfileWorkspaceSettingArgs; +import com.pulumi.databricks.Utilities; +import com.pulumi.databricks.inputs.ComplianceSecurityProfileWorkspaceSettingState; +import com.pulumi.databricks.outputs.ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace; +import java.lang.String; +import javax.annotation.Nullable; + +@ResourceType(type="databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting") +public class ComplianceSecurityProfileWorkspaceSetting extends com.pulumi.resources.CustomResource { + @Export(name="complianceSecurityProfileWorkspace", refs={ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace.class}, tree="[0]") + private Output complianceSecurityProfileWorkspace; + + public Output complianceSecurityProfileWorkspace() { + return this.complianceSecurityProfileWorkspace; + } + @Export(name="etag", refs={String.class}, tree="[0]") + private Output etag; + + public Output etag() { + return this.etag; + } + @Export(name="settingName", refs={String.class}, tree="[0]") + private Output settingName; + + public Output settingName() { + return this.settingName; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public ComplianceSecurityProfileWorkspaceSetting(String name) { + this(name, ComplianceSecurityProfileWorkspaceSettingArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public ComplianceSecurityProfileWorkspaceSetting(String name, ComplianceSecurityProfileWorkspaceSettingArgs 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 ComplianceSecurityProfileWorkspaceSetting(String name, ComplianceSecurityProfileWorkspaceSettingArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting", name, args == null ? ComplianceSecurityProfileWorkspaceSettingArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private ComplianceSecurityProfileWorkspaceSetting(String name, Output id, @Nullable ComplianceSecurityProfileWorkspaceSettingState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting", 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 ComplianceSecurityProfileWorkspaceSetting get(String name, Output id, @Nullable ComplianceSecurityProfileWorkspaceSettingState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new ComplianceSecurityProfileWorkspaceSetting(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/ComplianceSecurityProfileWorkspaceSettingArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/ComplianceSecurityProfileWorkspaceSettingArgs.java new file mode 100644 index 00000000..c11904b6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/ComplianceSecurityProfileWorkspaceSettingArgs.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; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ComplianceSecurityProfileWorkspaceSettingArgs extends com.pulumi.resources.ResourceArgs { + + public static final ComplianceSecurityProfileWorkspaceSettingArgs Empty = new ComplianceSecurityProfileWorkspaceSettingArgs(); + + @Import(name="complianceSecurityProfileWorkspace", required=true) + private Output complianceSecurityProfileWorkspace; + + public Output complianceSecurityProfileWorkspace() { + return this.complianceSecurityProfileWorkspace; + } + + @Import(name="etag") + private @Nullable Output etag; + + public Optional> etag() { + return Optional.ofNullable(this.etag); + } + + @Import(name="settingName") + private @Nullable Output settingName; + + public Optional> settingName() { + return Optional.ofNullable(this.settingName); + } + + private ComplianceSecurityProfileWorkspaceSettingArgs() {} + + private ComplianceSecurityProfileWorkspaceSettingArgs(ComplianceSecurityProfileWorkspaceSettingArgs $) { + this.complianceSecurityProfileWorkspace = $.complianceSecurityProfileWorkspace; + this.etag = $.etag; + this.settingName = $.settingName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ComplianceSecurityProfileWorkspaceSettingArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ComplianceSecurityProfileWorkspaceSettingArgs $; + + public Builder() { + $ = new ComplianceSecurityProfileWorkspaceSettingArgs(); + } + + public Builder(ComplianceSecurityProfileWorkspaceSettingArgs defaults) { + $ = new ComplianceSecurityProfileWorkspaceSettingArgs(Objects.requireNonNull(defaults)); + } + + public Builder complianceSecurityProfileWorkspace(Output complianceSecurityProfileWorkspace) { + $.complianceSecurityProfileWorkspace = complianceSecurityProfileWorkspace; + return this; + } + + public Builder complianceSecurityProfileWorkspace(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs complianceSecurityProfileWorkspace) { + return complianceSecurityProfileWorkspace(Output.of(complianceSecurityProfileWorkspace)); + } + + public Builder etag(@Nullable Output etag) { + $.etag = etag; + return this; + } + + public Builder etag(String etag) { + return etag(Output.of(etag)); + } + + public Builder settingName(@Nullable Output settingName) { + $.settingName = settingName; + return this; + } + + public Builder settingName(String settingName) { + return settingName(Output.of(settingName)); + } + + public ComplianceSecurityProfileWorkspaceSettingArgs build() { + if ($.complianceSecurityProfileWorkspace == null) { + throw new MissingRequiredPropertyException("ComplianceSecurityProfileWorkspaceSettingArgs", "complianceSecurityProfileWorkspace"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/DatabricksFunctions.java b/sdk/java/src/main/java/com/pulumi/databricks/DatabricksFunctions.java index 4774a3bc..d3019ec4 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/DatabricksFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/DatabricksFunctions.java @@ -4177,6 +4177,47 @@ public static CompletableFuture getDirectoryPlain(GetDirecto * * Getting details of an existing external location in the metastore * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetExternalLocationArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getExternalLocation(GetExternalLocationArgs.builder()
+     *             .name("this")
+     *             .build());
+     * 
+     *         ctx.export("createdBy", this_.externalLocationInfo().createdBy());
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getExternalLocations to get names of all external locations + * * databricks.ExternalLocation to manage external locations within Unity Catalog. + * */ public static Output getExternalLocation(GetExternalLocationArgs args) { return getExternalLocation(args, InvokeOptions.Empty); @@ -4186,6 +4227,47 @@ public static Output getExternalLocation(GetExternalL * * Getting details of an existing external location in the metastore * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetExternalLocationArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getExternalLocation(GetExternalLocationArgs.builder()
+     *             .name("this")
+     *             .build());
+     * 
+     *         ctx.export("createdBy", this_.externalLocationInfo().createdBy());
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getExternalLocations to get names of all external locations + * * databricks.ExternalLocation to manage external locations within Unity Catalog. + * */ public static CompletableFuture getExternalLocationPlain(GetExternalLocationPlainArgs args) { return getExternalLocationPlain(args, InvokeOptions.Empty); @@ -4195,6 +4277,47 @@ public static CompletableFuture getExternalLocationPl * * Getting details of an existing external location in the metastore * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetExternalLocationArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getExternalLocation(GetExternalLocationArgs.builder()
+     *             .name("this")
+     *             .build());
+     * 
+     *         ctx.export("createdBy", this_.externalLocationInfo().createdBy());
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getExternalLocations to get names of all external locations + * * databricks.ExternalLocation to manage external locations within Unity Catalog. + * */ public static Output getExternalLocation(GetExternalLocationArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("databricks:index/getExternalLocation:getExternalLocation", TypeShape.of(GetExternalLocationResult.class), args, Utilities.withVersion(options)); @@ -4204,6 +4327,47 @@ public static Output getExternalLocation(GetExternalL * * Getting details of an existing external location in the metastore * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetExternalLocationArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getExternalLocation(GetExternalLocationArgs.builder()
+     *             .name("this")
+     *             .build());
+     * 
+     *         ctx.export("createdBy", this_.externalLocationInfo().createdBy());
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getExternalLocations to get names of all external locations + * * databricks.ExternalLocation to manage external locations within Unity Catalog. + * */ public static CompletableFuture getExternalLocationPlain(GetExternalLocationPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("databricks:index/getExternalLocation:getExternalLocation", TypeShape.of(GetExternalLocationResult.class), args, Utilities.withVersion(options)); @@ -12227,6 +12391,47 @@ public static CompletableFuture getSqlWarehousesPlain(Ge * * Getting details of an existing storage credential in the metastore * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetStorageCredentialArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getStorageCredential(GetStorageCredentialArgs.builder()
+     *             .name("this")
+     *             .build());
+     * 
+     *         ctx.export("createdBy", this_.storageCredentialInfo().createdBy());
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getStorageCredentials to get names of all credentials + * * databricks.StorageCredential to manage Storage Credentials within Unity Catalog. + * */ public static Output getStorageCredential(GetStorageCredentialArgs args) { return getStorageCredential(args, InvokeOptions.Empty); @@ -12236,6 +12441,47 @@ public static Output getStorageCredential(GetStorage * * Getting details of an existing storage credential in the metastore * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetStorageCredentialArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getStorageCredential(GetStorageCredentialArgs.builder()
+     *             .name("this")
+     *             .build());
+     * 
+     *         ctx.export("createdBy", this_.storageCredentialInfo().createdBy());
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getStorageCredentials to get names of all credentials + * * databricks.StorageCredential to manage Storage Credentials within Unity Catalog. + * */ public static CompletableFuture getStorageCredentialPlain(GetStorageCredentialPlainArgs args) { return getStorageCredentialPlain(args, InvokeOptions.Empty); @@ -12245,6 +12491,47 @@ public static CompletableFuture getStorageCredential * * Getting details of an existing storage credential in the metastore * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetStorageCredentialArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getStorageCredential(GetStorageCredentialArgs.builder()
+     *             .name("this")
+     *             .build());
+     * 
+     *         ctx.export("createdBy", this_.storageCredentialInfo().createdBy());
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getStorageCredentials to get names of all credentials + * * databricks.StorageCredential to manage Storage Credentials within Unity Catalog. + * */ public static Output getStorageCredential(GetStorageCredentialArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("databricks:index/getStorageCredential:getStorageCredential", TypeShape.of(GetStorageCredentialResult.class), args, Utilities.withVersion(options)); @@ -12254,6 +12541,47 @@ public static Output getStorageCredential(GetStorage * * Getting details of an existing storage credential in the metastore * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetStorageCredentialArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getStorageCredential(GetStorageCredentialArgs.builder()
+     *             .name("this")
+     *             .build());
+     * 
+     *         ctx.export("createdBy", this_.storageCredentialInfo().createdBy());
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getStorageCredentials to get names of all credentials + * * databricks.StorageCredential to manage Storage Credentials within Unity Catalog. + * */ public static CompletableFuture getStorageCredentialPlain(GetStorageCredentialPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("databricks:index/getStorageCredential:getStorageCredential", TypeShape.of(GetStorageCredentialResult.class), args, Utilities.withVersion(options)); diff --git a/sdk/java/src/main/java/com/pulumi/databricks/EnhancedSecurityMonitoringWorkspaceSetting.java b/sdk/java/src/main/java/com/pulumi/databricks/EnhancedSecurityMonitoringWorkspaceSetting.java new file mode 100644 index 00000000..17066515 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/EnhancedSecurityMonitoringWorkspaceSetting.java @@ -0,0 +1,86 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks; + +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.EnhancedSecurityMonitoringWorkspaceSettingArgs; +import com.pulumi.databricks.Utilities; +import com.pulumi.databricks.inputs.EnhancedSecurityMonitoringWorkspaceSettingState; +import com.pulumi.databricks.outputs.EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace; +import java.lang.String; +import javax.annotation.Nullable; + +@ResourceType(type="databricks:index/enhancedSecurityMonitoringWorkspaceSetting:EnhancedSecurityMonitoringWorkspaceSetting") +public class EnhancedSecurityMonitoringWorkspaceSetting extends com.pulumi.resources.CustomResource { + @Export(name="enhancedSecurityMonitoringWorkspace", refs={EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace.class}, tree="[0]") + private Output enhancedSecurityMonitoringWorkspace; + + public Output enhancedSecurityMonitoringWorkspace() { + return this.enhancedSecurityMonitoringWorkspace; + } + @Export(name="etag", refs={String.class}, tree="[0]") + private Output etag; + + public Output etag() { + return this.etag; + } + @Export(name="settingName", refs={String.class}, tree="[0]") + private Output settingName; + + public Output settingName() { + return this.settingName; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public EnhancedSecurityMonitoringWorkspaceSetting(String name) { + this(name, EnhancedSecurityMonitoringWorkspaceSettingArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public EnhancedSecurityMonitoringWorkspaceSetting(String name, EnhancedSecurityMonitoringWorkspaceSettingArgs 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 EnhancedSecurityMonitoringWorkspaceSetting(String name, EnhancedSecurityMonitoringWorkspaceSettingArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/enhancedSecurityMonitoringWorkspaceSetting:EnhancedSecurityMonitoringWorkspaceSetting", name, args == null ? EnhancedSecurityMonitoringWorkspaceSettingArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private EnhancedSecurityMonitoringWorkspaceSetting(String name, Output id, @Nullable EnhancedSecurityMonitoringWorkspaceSettingState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/enhancedSecurityMonitoringWorkspaceSetting:EnhancedSecurityMonitoringWorkspaceSetting", 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 EnhancedSecurityMonitoringWorkspaceSetting get(String name, Output id, @Nullable EnhancedSecurityMonitoringWorkspaceSettingState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new EnhancedSecurityMonitoringWorkspaceSetting(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/EnhancedSecurityMonitoringWorkspaceSettingArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/EnhancedSecurityMonitoringWorkspaceSettingArgs.java new file mode 100644 index 00000000..eac762ed --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/EnhancedSecurityMonitoringWorkspaceSettingArgs.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; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class EnhancedSecurityMonitoringWorkspaceSettingArgs extends com.pulumi.resources.ResourceArgs { + + public static final EnhancedSecurityMonitoringWorkspaceSettingArgs Empty = new EnhancedSecurityMonitoringWorkspaceSettingArgs(); + + @Import(name="enhancedSecurityMonitoringWorkspace", required=true) + private Output enhancedSecurityMonitoringWorkspace; + + public Output enhancedSecurityMonitoringWorkspace() { + return this.enhancedSecurityMonitoringWorkspace; + } + + @Import(name="etag") + private @Nullable Output etag; + + public Optional> etag() { + return Optional.ofNullable(this.etag); + } + + @Import(name="settingName") + private @Nullable Output settingName; + + public Optional> settingName() { + return Optional.ofNullable(this.settingName); + } + + private EnhancedSecurityMonitoringWorkspaceSettingArgs() {} + + private EnhancedSecurityMonitoringWorkspaceSettingArgs(EnhancedSecurityMonitoringWorkspaceSettingArgs $) { + this.enhancedSecurityMonitoringWorkspace = $.enhancedSecurityMonitoringWorkspace; + this.etag = $.etag; + this.settingName = $.settingName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(EnhancedSecurityMonitoringWorkspaceSettingArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private EnhancedSecurityMonitoringWorkspaceSettingArgs $; + + public Builder() { + $ = new EnhancedSecurityMonitoringWorkspaceSettingArgs(); + } + + public Builder(EnhancedSecurityMonitoringWorkspaceSettingArgs defaults) { + $ = new EnhancedSecurityMonitoringWorkspaceSettingArgs(Objects.requireNonNull(defaults)); + } + + public Builder enhancedSecurityMonitoringWorkspace(Output enhancedSecurityMonitoringWorkspace) { + $.enhancedSecurityMonitoringWorkspace = enhancedSecurityMonitoringWorkspace; + return this; + } + + public Builder enhancedSecurityMonitoringWorkspace(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs enhancedSecurityMonitoringWorkspace) { + return enhancedSecurityMonitoringWorkspace(Output.of(enhancedSecurityMonitoringWorkspace)); + } + + public Builder etag(@Nullable Output etag) { + $.etag = etag; + return this; + } + + public Builder etag(String etag) { + return etag(Output.of(etag)); + } + + public Builder settingName(@Nullable Output settingName) { + $.settingName = settingName; + return this; + } + + public Builder settingName(String settingName) { + return settingName(Output.of(settingName)); + } + + public EnhancedSecurityMonitoringWorkspaceSettingArgs build() { + if ($.enhancedSecurityMonitoringWorkspace == null) { + throw new MissingRequiredPropertyException("EnhancedSecurityMonitoringWorkspaceSettingArgs", "enhancedSecurityMonitoringWorkspace"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/LakehouseMonitor.java b/sdk/java/src/main/java/com/pulumi/databricks/LakehouseMonitor.java index 8d7d6842..fd24053d 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/LakehouseMonitor.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/LakehouseMonitor.java @@ -24,6 +24,8 @@ import javax.annotation.Nullable; /** + * NOTE: This resource has been deprecated and will be removed soon. Please use the databricks.QualityMonitor resource instead. + * * 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. 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 9eb56c20..8f6e93d9 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/ModelServing.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/ModelServing.java @@ -13,6 +13,7 @@ import com.pulumi.databricks.outputs.ModelServingConfig; import com.pulumi.databricks.outputs.ModelServingRateLimit; import com.pulumi.databricks.outputs.ModelServingTag; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Optional; @@ -159,6 +160,20 @@ public Output name() { public Output>> rateLimits() { return Codegen.optional(this.rateLimits); } + /** + * A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + * + */ + @Export(name="routeOptimized", refs={Boolean.class}, tree="[0]") + private Output routeOptimized; + + /** + * @return A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + * + */ + public Output> routeOptimized() { + return Codegen.optional(this.routeOptimized); + } /** * Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. * 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 7f17ac4c..2ebfa38d 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/ModelServingArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/ModelServingArgs.java @@ -9,6 +9,7 @@ import com.pulumi.databricks.inputs.ModelServingRateLimitArgs; import com.pulumi.databricks.inputs.ModelServingTagArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -65,6 +66,21 @@ public Optional>> rateLimits() { return Optional.ofNullable(this.rateLimits); } + /** + * A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + * + */ + @Import(name="routeOptimized") + private @Nullable Output routeOptimized; + + /** + * @return A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + * + */ + public Optional> routeOptimized() { + return Optional.ofNullable(this.routeOptimized); + } + /** * Tags to be attached to the serving endpoint and automatically propagated to billing logs. * @@ -86,6 +102,7 @@ private ModelServingArgs(ModelServingArgs $) { this.config = $.config; this.name = $.name; this.rateLimits = $.rateLimits; + this.routeOptimized = $.routeOptimized; this.tags = $.tags; } @@ -180,6 +197,27 @@ public Builder rateLimits(ModelServingRateLimitArgs... rateLimits) { return rateLimits(List.of(rateLimits)); } + /** + * @param routeOptimized A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + * + * @return builder + * + */ + public Builder routeOptimized(@Nullable Output routeOptimized) { + $.routeOptimized = routeOptimized; + return this; + } + + /** + * @param routeOptimized A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + * + * @return builder + * + */ + public Builder routeOptimized(Boolean routeOptimized) { + return routeOptimized(Output.of(routeOptimized)); + } + /** * @param tags Tags to be attached to the serving endpoint and automatically propagated to billing logs. * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/QualityMonitor.java b/sdk/java/src/main/java/com/pulumi/databricks/QualityMonitor.java new file mode 100644 index 00000000..2db0e89d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/QualityMonitor.java @@ -0,0 +1,531 @@ +// *** WARNING: this file was 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.QualityMonitorArgs; +import com.pulumi.databricks.Utilities; +import com.pulumi.databricks.inputs.QualityMonitorState; +import com.pulumi.databricks.outputs.QualityMonitorCustomMetric; +import com.pulumi.databricks.outputs.QualityMonitorDataClassificationConfig; +import com.pulumi.databricks.outputs.QualityMonitorInferenceLog; +import com.pulumi.databricks.outputs.QualityMonitorNotifications; +import com.pulumi.databricks.outputs.QualityMonitorSchedule; +import com.pulumi.databricks.outputs.QualityMonitorSnapshot; +import com.pulumi.databricks.outputs.QualityMonitorTimeSeries; +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.QualityMonitor` is attached to a databricks.SqlTable and can be of type timeseries, snapshot or inference. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.databricks.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.QualityMonitor;
+ * import com.pulumi.databricks.QualityMonitorArgs;
+ * import com.pulumi.databricks.inputs.QualityMonitorTimeSeriesArgs;
+ * 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()
+ *             .name("sandbox")
+ *             .comment("this catalog is managed by terraform")
+ *             .properties(Map.of("purpose", "testing"))
+ *             .build());
+ * 
+ *         var things = new Schema("things", SchemaArgs.builder()
+ *             .catalogName(sandbox.id())
+ *             .name("things")
+ *             .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())
+ *             .name("bar")
+ *             .tableType("MANAGED")
+ *             .dataSourceFormat("DELTA")
+ *             .columns(SqlTableColumnArgs.builder()
+ *                 .name("timestamp")
+ *                 .position(1)
+ *                 .type("int")
+ *                 .build())
+ *             .build());
+ * 
+ *         var testTimeseriesMonitor = new QualityMonitor("testTimeseriesMonitor", QualityMonitorArgs.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_quality_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(QualityMonitorTimeSeriesArgs.builder()
+ *                 .granularities("1 hour")
+ *                 .timestampCol("timestamp")
+ *                 .build())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ### Inference Monitor + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.databricks.QualityMonitor;
+ * import com.pulumi.databricks.QualityMonitorArgs;
+ * import com.pulumi.databricks.inputs.QualityMonitorInferenceLogArgs;
+ * 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 QualityMonitor("testMonitorInference", QualityMonitorArgs.builder()
+ *             .tableName(String.format("%s.%s.%s", sandbox.name(),things.name(),myTestTable.name()))
+ *             .assetsDir(String.format("/Shared/provider-test/databricks_quality_monitoring/%s", myTestTable.name()))
+ *             .outputSchemaName(String.format("%s.%s", sandbox.name(),things.name()))
+ *             .inferenceLog(QualityMonitorInferenceLogArgs.builder()
+ *                 .granularities("1 hour")
+ *                 .timestampCol("timestamp")
+ *                 .predictionCol("prediction")
+ *                 .modelIdCol("model_id")
+ *                 .problemType("PROBLEM_TYPE_REGRESSION")
+ *                 .build())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * ### Snapshot Monitor + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.databricks.QualityMonitor;
+ * import com.pulumi.databricks.QualityMonitorArgs;
+ * import com.pulumi.databricks.inputs.QualityMonitorSnapshotArgs;
+ * 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 QualityMonitor("testMonitorInference", QualityMonitorArgs.builder()
+ *             .tableName(String.format("%s.%s.%s", sandbox.name(),things.name(),myTestTable.name()))
+ *             .assetsDir(String.format("/Shared/provider-test/databricks_quality_monitoring/%s", myTestTable.name()))
+ *             .outputSchemaName(String.format("%s.%s", sandbox.name(),things.name()))
+ *             .snapshot()
+ *             .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/qualityMonitor:QualityMonitor") +public class QualityMonitor 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,QualityMonitorCustomMetric.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={QualityMonitorDataClassificationConfig.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={QualityMonitorInferenceLog.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. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + * + */ + @Export(name="notifications", refs={QualityMonitorNotifications.class}, tree="[0]") + private Output notifications; + + /** + * @return The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + * + */ + 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. This block consists of following fields: + * + */ + @Export(name="schedule", refs={QualityMonitorSchedule.class}, tree="[0]") + private Output schedule; + + /** + * @return The schedule for automatically updating and refreshing metric tables. This block consists of following fields: + * + */ + 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={QualityMonitorSnapshot.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={QualityMonitorTimeSeries.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 QualityMonitor(String name) { + this(name, QualityMonitorArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public QualityMonitor(String name, QualityMonitorArgs 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 QualityMonitor(String name, QualityMonitorArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/qualityMonitor:QualityMonitor", name, args == null ? QualityMonitorArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private QualityMonitor(String name, Output id, @Nullable QualityMonitorState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/qualityMonitor:QualityMonitor", 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 QualityMonitor get(String name, Output id, @Nullable QualityMonitorState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new QualityMonitor(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/QualityMonitorArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/QualityMonitorArgs.java new file mode 100644 index 00000000..3103e2d4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/QualityMonitorArgs.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.QualityMonitorCustomMetricArgs; +import com.pulumi.databricks.inputs.QualityMonitorDataClassificationConfigArgs; +import com.pulumi.databricks.inputs.QualityMonitorInferenceLogArgs; +import com.pulumi.databricks.inputs.QualityMonitorNotificationsArgs; +import com.pulumi.databricks.inputs.QualityMonitorScheduleArgs; +import com.pulumi.databricks.inputs.QualityMonitorSnapshotArgs; +import com.pulumi.databricks.inputs.QualityMonitorTimeSeriesArgs; +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 QualityMonitorArgs extends com.pulumi.resources.ResourceArgs { + + public static final QualityMonitorArgs Empty = new QualityMonitorArgs(); + + /** + * 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. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + * + */ + @Import(name="notifications") + private @Nullable Output notifications; + + /** + * @return The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + * + */ + 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. This block consists of following fields: + * + */ + @Import(name="schedule") + private @Nullable Output schedule; + + /** + * @return The schedule for automatically updating and refreshing metric tables. This block consists of following fields: + * + */ + 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 QualityMonitorArgs() {} + + private QualityMonitorArgs(QualityMonitorArgs $) { + 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(QualityMonitorArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private QualityMonitorArgs $; + + public Builder() { + $ = new QualityMonitorArgs(); + } + + public Builder(QualityMonitorArgs defaults) { + $ = new QualityMonitorArgs(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(QualityMonitorCustomMetricArgs... 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(QualityMonitorDataClassificationConfigArgs 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(QualityMonitorInferenceLogArgs 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. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + * + * @return builder + * + */ + public Builder notifications(@Nullable Output notifications) { + $.notifications = notifications; + return this; + } + + /** + * @param notifications The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + * + * @return builder + * + */ + public Builder notifications(QualityMonitorNotificationsArgs 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. This block consists of following fields: + * + * @return builder + * + */ + public Builder schedule(@Nullable Output schedule) { + $.schedule = schedule; + return this; + } + + /** + * @param schedule The schedule for automatically updating and refreshing metric tables. This block consists of following fields: + * + * @return builder + * + */ + public Builder schedule(QualityMonitorScheduleArgs 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(QualityMonitorSnapshotArgs 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(QualityMonitorTimeSeriesArgs 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 QualityMonitorArgs build() { + if ($.assetsDir == null) { + throw new MissingRequiredPropertyException("QualityMonitorArgs", "assetsDir"); + } + if ($.outputSchemaName == null) { + throw new MissingRequiredPropertyException("QualityMonitorArgs", "outputSchemaName"); + } + if ($.tableName == null) { + throw new MissingRequiredPropertyException("QualityMonitorArgs", "tableName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs.java new file mode 100644 index 00000000..5e9d31fe --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs.java @@ -0,0 +1,133 @@ +// *** WARNING: this file was 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.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs; +import com.pulumi.databricks.inputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs Empty = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs(); + + @Import(name="canToggle") + private @Nullable Output canToggle; + + public Optional> canToggle() { + return Optional.ofNullable(this.canToggle); + } + + @Import(name="enabled") + private @Nullable Output enabled; + + public Optional> enabled() { + return Optional.ofNullable(this.enabled); + } + + @Import(name="enablementDetails") + private @Nullable Output enablementDetails; + + public Optional> enablementDetails() { + return Optional.ofNullable(this.enablementDetails); + } + + @Import(name="maintenanceWindow") + private @Nullable Output maintenanceWindow; + + public Optional> maintenanceWindow() { + return Optional.ofNullable(this.maintenanceWindow); + } + + @Import(name="restartEvenIfNoUpdatesAvailable") + private @Nullable Output restartEvenIfNoUpdatesAvailable; + + public Optional> restartEvenIfNoUpdatesAvailable() { + return Optional.ofNullable(this.restartEvenIfNoUpdatesAvailable); + } + + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs() {} + + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs $) { + this.canToggle = $.canToggle; + this.enabled = $.enabled; + this.enablementDetails = $.enablementDetails; + this.maintenanceWindow = $.maintenanceWindow; + this.restartEvenIfNoUpdatesAvailable = $.restartEvenIfNoUpdatesAvailable; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs $; + + public Builder() { + $ = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs(); + } + + public Builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs defaults) { + $ = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs(Objects.requireNonNull(defaults)); + } + + public Builder canToggle(@Nullable Output canToggle) { + $.canToggle = canToggle; + return this; + } + + public Builder canToggle(Boolean canToggle) { + return canToggle(Output.of(canToggle)); + } + + public Builder enabled(@Nullable Output enabled) { + $.enabled = enabled; + return this; + } + + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + public Builder enablementDetails(@Nullable Output enablementDetails) { + $.enablementDetails = enablementDetails; + return this; + } + + public Builder enablementDetails(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs enablementDetails) { + return enablementDetails(Output.of(enablementDetails)); + } + + public Builder maintenanceWindow(@Nullable Output maintenanceWindow) { + $.maintenanceWindow = maintenanceWindow; + return this; + } + + public Builder maintenanceWindow(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs maintenanceWindow) { + return maintenanceWindow(Output.of(maintenanceWindow)); + } + + public Builder restartEvenIfNoUpdatesAvailable(@Nullable Output restartEvenIfNoUpdatesAvailable) { + $.restartEvenIfNoUpdatesAvailable = restartEvenIfNoUpdatesAvailable; + return this; + } + + public Builder restartEvenIfNoUpdatesAvailable(Boolean restartEvenIfNoUpdatesAvailable) { + return restartEvenIfNoUpdatesAvailable(Output.of(restartEvenIfNoUpdatesAvailable)); + } + + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs.java new file mode 100644 index 00000000..d4763a04 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs.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.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs Empty = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs(); + + @Import(name="forcedForComplianceMode") + private @Nullable Output forcedForComplianceMode; + + public Optional> forcedForComplianceMode() { + return Optional.ofNullable(this.forcedForComplianceMode); + } + + @Import(name="unavailableForDisabledEntitlement") + private @Nullable Output unavailableForDisabledEntitlement; + + public Optional> unavailableForDisabledEntitlement() { + return Optional.ofNullable(this.unavailableForDisabledEntitlement); + } + + @Import(name="unavailableForNonEnterpriseTier") + private @Nullable Output unavailableForNonEnterpriseTier; + + public Optional> unavailableForNonEnterpriseTier() { + return Optional.ofNullable(this.unavailableForNonEnterpriseTier); + } + + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs() {} + + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs $) { + this.forcedForComplianceMode = $.forcedForComplianceMode; + this.unavailableForDisabledEntitlement = $.unavailableForDisabledEntitlement; + this.unavailableForNonEnterpriseTier = $.unavailableForNonEnterpriseTier; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs $; + + public Builder() { + $ = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs(); + } + + public Builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs defaults) { + $ = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs(Objects.requireNonNull(defaults)); + } + + public Builder forcedForComplianceMode(@Nullable Output forcedForComplianceMode) { + $.forcedForComplianceMode = forcedForComplianceMode; + return this; + } + + public Builder forcedForComplianceMode(Boolean forcedForComplianceMode) { + return forcedForComplianceMode(Output.of(forcedForComplianceMode)); + } + + public Builder unavailableForDisabledEntitlement(@Nullable Output unavailableForDisabledEntitlement) { + $.unavailableForDisabledEntitlement = unavailableForDisabledEntitlement; + return this; + } + + public Builder unavailableForDisabledEntitlement(Boolean unavailableForDisabledEntitlement) { + return unavailableForDisabledEntitlement(Output.of(unavailableForDisabledEntitlement)); + } + + public Builder unavailableForNonEnterpriseTier(@Nullable Output unavailableForNonEnterpriseTier) { + $.unavailableForNonEnterpriseTier = unavailableForNonEnterpriseTier; + return this; + } + + public Builder unavailableForNonEnterpriseTier(Boolean unavailableForNonEnterpriseTier) { + return unavailableForNonEnterpriseTier(Output.of(unavailableForNonEnterpriseTier)); + } + + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs.java new file mode 100644 index 00000000..94835711 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs.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.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs Empty = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs(); + + @Import(name="weekDayBasedSchedule") + private @Nullable Output weekDayBasedSchedule; + + public Optional> weekDayBasedSchedule() { + return Optional.ofNullable(this.weekDayBasedSchedule); + } + + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs() {} + + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs $) { + this.weekDayBasedSchedule = $.weekDayBasedSchedule; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs $; + + public Builder() { + $ = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs(); + } + + public Builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs defaults) { + $ = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs(Objects.requireNonNull(defaults)); + } + + public Builder weekDayBasedSchedule(@Nullable Output weekDayBasedSchedule) { + $.weekDayBasedSchedule = weekDayBasedSchedule; + return this; + } + + public Builder weekDayBasedSchedule(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs weekDayBasedSchedule) { + return weekDayBasedSchedule(Output.of(weekDayBasedSchedule)); + } + + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs.java new file mode 100644 index 00000000..e90929b8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs.java @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs Empty = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs(); + + @Import(name="dayOfWeek") + private @Nullable Output dayOfWeek; + + public Optional> dayOfWeek() { + return Optional.ofNullable(this.dayOfWeek); + } + + @Import(name="frequency") + private @Nullable Output frequency; + + public Optional> frequency() { + return Optional.ofNullable(this.frequency); + } + + @Import(name="windowStartTime") + private @Nullable Output windowStartTime; + + public Optional> windowStartTime() { + return Optional.ofNullable(this.windowStartTime); + } + + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs() {} + + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs $) { + this.dayOfWeek = $.dayOfWeek; + this.frequency = $.frequency; + this.windowStartTime = $.windowStartTime; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs $; + + public Builder() { + $ = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs(); + } + + public Builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs defaults) { + $ = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs(Objects.requireNonNull(defaults)); + } + + public Builder dayOfWeek(@Nullable Output dayOfWeek) { + $.dayOfWeek = dayOfWeek; + return this; + } + + public Builder dayOfWeek(String dayOfWeek) { + return dayOfWeek(Output.of(dayOfWeek)); + } + + public Builder frequency(@Nullable Output frequency) { + $.frequency = frequency; + return this; + } + + public Builder frequency(String frequency) { + return frequency(Output.of(frequency)); + } + + public Builder windowStartTime(@Nullable Output windowStartTime) { + $.windowStartTime = windowStartTime; + return this; + } + + public Builder windowStartTime(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs windowStartTime) { + return windowStartTime(Output.of(windowStartTime)); + } + + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs.java new file mode 100644 index 00000000..1c0162e1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs.java @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs Empty = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs(); + + @Import(name="hours") + private @Nullable Output hours; + + public Optional> hours() { + return Optional.ofNullable(this.hours); + } + + @Import(name="minutes") + private @Nullable Output minutes; + + public Optional> minutes() { + return Optional.ofNullable(this.minutes); + } + + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs() {} + + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs $) { + this.hours = $.hours; + this.minutes = $.minutes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs $; + + public Builder() { + $ = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs(); + } + + public Builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs defaults) { + $ = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs(Objects.requireNonNull(defaults)); + } + + public Builder hours(@Nullable Output hours) { + $.hours = hours; + return this; + } + + public Builder hours(Integer hours) { + return hours(Output.of(hours)); + } + + public Builder minutes(@Nullable Output minutes) { + $.minutes = minutes; + return this; + } + + public Builder minutes(Integer minutes) { + return minutes(Output.of(minutes)); + } + + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingState.java new file mode 100644 index 00000000..cb1b4bf7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AutomaticClusterUpdateWorkspaceSettingState.java @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AutomaticClusterUpdateWorkspaceSettingState extends com.pulumi.resources.ResourceArgs { + + public static final AutomaticClusterUpdateWorkspaceSettingState Empty = new AutomaticClusterUpdateWorkspaceSettingState(); + + @Import(name="automaticClusterUpdateWorkspace") + private @Nullable Output automaticClusterUpdateWorkspace; + + public Optional> automaticClusterUpdateWorkspace() { + return Optional.ofNullable(this.automaticClusterUpdateWorkspace); + } + + @Import(name="etag") + private @Nullable Output etag; + + public Optional> etag() { + return Optional.ofNullable(this.etag); + } + + @Import(name="settingName") + private @Nullable Output settingName; + + public Optional> settingName() { + return Optional.ofNullable(this.settingName); + } + + private AutomaticClusterUpdateWorkspaceSettingState() {} + + private AutomaticClusterUpdateWorkspaceSettingState(AutomaticClusterUpdateWorkspaceSettingState $) { + this.automaticClusterUpdateWorkspace = $.automaticClusterUpdateWorkspace; + this.etag = $.etag; + this.settingName = $.settingName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutomaticClusterUpdateWorkspaceSettingState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutomaticClusterUpdateWorkspaceSettingState $; + + public Builder() { + $ = new AutomaticClusterUpdateWorkspaceSettingState(); + } + + public Builder(AutomaticClusterUpdateWorkspaceSettingState defaults) { + $ = new AutomaticClusterUpdateWorkspaceSettingState(Objects.requireNonNull(defaults)); + } + + public Builder automaticClusterUpdateWorkspace(@Nullable Output automaticClusterUpdateWorkspace) { + $.automaticClusterUpdateWorkspace = automaticClusterUpdateWorkspace; + return this; + } + + public Builder automaticClusterUpdateWorkspace(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs automaticClusterUpdateWorkspace) { + return automaticClusterUpdateWorkspace(Output.of(automaticClusterUpdateWorkspace)); + } + + public Builder etag(@Nullable Output etag) { + $.etag = etag; + return this; + } + + public Builder etag(String etag) { + return etag(Output.of(etag)); + } + + public Builder settingName(@Nullable Output settingName) { + $.settingName = settingName; + return this; + } + + public Builder settingName(String settingName) { + return settingName(Output.of(settingName)); + } + + public AutomaticClusterUpdateWorkspaceSettingState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterCloneFromArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterCloneFromArgs.java deleted file mode 100644 index 486b3abe..00000000 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterCloneFromArgs.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** WARNING: this file was generated by pulumi-java-gen. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package com.pulumi.databricks.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - - -public final class ClusterCloneFromArgs extends com.pulumi.resources.ResourceArgs { - - public static final ClusterCloneFromArgs Empty = new ClusterCloneFromArgs(); - - @Import(name="sourceClusterId", required=true) - private Output sourceClusterId; - - public Output sourceClusterId() { - return this.sourceClusterId; - } - - private ClusterCloneFromArgs() {} - - private ClusterCloneFromArgs(ClusterCloneFromArgs $) { - this.sourceClusterId = $.sourceClusterId; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ClusterCloneFromArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ClusterCloneFromArgs $; - - public Builder() { - $ = new ClusterCloneFromArgs(); - } - - public Builder(ClusterCloneFromArgs defaults) { - $ = new ClusterCloneFromArgs(Objects.requireNonNull(defaults)); - } - - public Builder sourceClusterId(Output sourceClusterId) { - $.sourceClusterId = sourceClusterId; - return this; - } - - public Builder sourceClusterId(String sourceClusterId) { - return sourceClusterId(Output.of(sourceClusterId)); - } - - public ClusterCloneFromArgs build() { - if ($.sourceClusterId == null) { - throw new MissingRequiredPropertyException("ClusterCloneFromArgs", "sourceClusterId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterState.java index c9fe4307..be58eb88 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterState.java @@ -8,7 +8,6 @@ import com.pulumi.databricks.inputs.ClusterAutoscaleArgs; import com.pulumi.databricks.inputs.ClusterAwsAttributesArgs; import com.pulumi.databricks.inputs.ClusterAzureAttributesArgs; -import com.pulumi.databricks.inputs.ClusterCloneFromArgs; import com.pulumi.databricks.inputs.ClusterClusterLogConfArgs; import com.pulumi.databricks.inputs.ClusterClusterMountInfoArgs; import com.pulumi.databricks.inputs.ClusterDockerImageArgs; @@ -82,13 +81,6 @@ public Optional> azureAttributes() { return Optional.ofNullable(this.azureAttributes); } - @Import(name="cloneFrom") - private @Nullable Output cloneFrom; - - public Optional> cloneFrom() { - return Optional.ofNullable(this.cloneFrom); - } - @Import(name="clusterId") private @Nullable Output clusterId; @@ -125,13 +117,6 @@ public Optional> clusterName() { return Optional.ofNullable(this.clusterName); } - @Import(name="clusterSource") - private @Nullable Output clusterSource; - - public Optional> clusterSource() { - return Optional.ofNullable(this.clusterSource); - } - /** * should have tag `ResourceClass` set to value `Serverless` * @@ -682,12 +667,10 @@ private ClusterState(ClusterState $) { this.autoterminationMinutes = $.autoterminationMinutes; this.awsAttributes = $.awsAttributes; this.azureAttributes = $.azureAttributes; - this.cloneFrom = $.cloneFrom; this.clusterId = $.clusterId; this.clusterLogConf = $.clusterLogConf; this.clusterMountInfos = $.clusterMountInfos; this.clusterName = $.clusterName; - this.clusterSource = $.clusterSource; this.customTags = $.customTags; this.dataSecurityMode = $.dataSecurityMode; this.defaultTags = $.defaultTags; @@ -803,15 +786,6 @@ public Builder azureAttributes(ClusterAzureAttributesArgs azureAttributes) { return azureAttributes(Output.of(azureAttributes)); } - public Builder cloneFrom(@Nullable Output cloneFrom) { - $.cloneFrom = cloneFrom; - return this; - } - - public Builder cloneFrom(ClusterCloneFromArgs cloneFrom) { - return cloneFrom(Output.of(cloneFrom)); - } - public Builder clusterId(@Nullable Output clusterId) { $.clusterId = clusterId; return this; @@ -864,15 +838,6 @@ public Builder clusterName(String clusterName) { return clusterName(Output.of(clusterName)); } - public Builder clusterSource(@Nullable Output clusterSource) { - $.clusterSource = clusterSource; - return this; - } - - public Builder clusterSource(String clusterSource) { - return clusterSource(Output.of(clusterSource)); - } - /** * @param customTags should have tag `ResourceClass` set to value `Serverless` * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs.java new file mode 100644 index 00000000..5d4555fe --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs.java @@ -0,0 +1,86 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +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; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs extends com.pulumi.resources.ResourceArgs { + + public static final ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs Empty = new ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs(); + + @Import(name="complianceStandards") + private @Nullable Output> complianceStandards; + + public Optional>> complianceStandards() { + return Optional.ofNullable(this.complianceStandards); + } + + @Import(name="isEnabled") + private @Nullable Output isEnabled; + + public Optional> isEnabled() { + return Optional.ofNullable(this.isEnabled); + } + + private ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs() {} + + private ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs $) { + this.complianceStandards = $.complianceStandards; + this.isEnabled = $.isEnabled; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs $; + + public Builder() { + $ = new ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs(); + } + + public Builder(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs defaults) { + $ = new ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs(Objects.requireNonNull(defaults)); + } + + public Builder complianceStandards(@Nullable Output> complianceStandards) { + $.complianceStandards = complianceStandards; + return this; + } + + public Builder complianceStandards(List complianceStandards) { + return complianceStandards(Output.of(complianceStandards)); + } + + public Builder complianceStandards(String... complianceStandards) { + return complianceStandards(List.of(complianceStandards)); + } + + public Builder isEnabled(@Nullable Output isEnabled) { + $.isEnabled = isEnabled; + return this; + } + + public Builder isEnabled(Boolean isEnabled) { + return isEnabled(Output.of(isEnabled)); + } + + public ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ComplianceSecurityProfileWorkspaceSettingState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ComplianceSecurityProfileWorkspaceSettingState.java new file mode 100644 index 00000000..0165a3b8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ComplianceSecurityProfileWorkspaceSettingState.java @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ComplianceSecurityProfileWorkspaceSettingState extends com.pulumi.resources.ResourceArgs { + + public static final ComplianceSecurityProfileWorkspaceSettingState Empty = new ComplianceSecurityProfileWorkspaceSettingState(); + + @Import(name="complianceSecurityProfileWorkspace") + private @Nullable Output complianceSecurityProfileWorkspace; + + public Optional> complianceSecurityProfileWorkspace() { + return Optional.ofNullable(this.complianceSecurityProfileWorkspace); + } + + @Import(name="etag") + private @Nullable Output etag; + + public Optional> etag() { + return Optional.ofNullable(this.etag); + } + + @Import(name="settingName") + private @Nullable Output settingName; + + public Optional> settingName() { + return Optional.ofNullable(this.settingName); + } + + private ComplianceSecurityProfileWorkspaceSettingState() {} + + private ComplianceSecurityProfileWorkspaceSettingState(ComplianceSecurityProfileWorkspaceSettingState $) { + this.complianceSecurityProfileWorkspace = $.complianceSecurityProfileWorkspace; + this.etag = $.etag; + this.settingName = $.settingName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ComplianceSecurityProfileWorkspaceSettingState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ComplianceSecurityProfileWorkspaceSettingState $; + + public Builder() { + $ = new ComplianceSecurityProfileWorkspaceSettingState(); + } + + public Builder(ComplianceSecurityProfileWorkspaceSettingState defaults) { + $ = new ComplianceSecurityProfileWorkspaceSettingState(Objects.requireNonNull(defaults)); + } + + public Builder complianceSecurityProfileWorkspace(@Nullable Output complianceSecurityProfileWorkspace) { + $.complianceSecurityProfileWorkspace = complianceSecurityProfileWorkspace; + return this; + } + + public Builder complianceSecurityProfileWorkspace(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs complianceSecurityProfileWorkspace) { + return complianceSecurityProfileWorkspace(Output.of(complianceSecurityProfileWorkspace)); + } + + public Builder etag(@Nullable Output etag) { + $.etag = etag; + return this; + } + + public Builder etag(String etag) { + return etag(Output.of(etag)); + } + + public Builder settingName(@Nullable Output settingName) { + $.settingName = settingName; + return this; + } + + public Builder settingName(String settingName) { + return settingName(Output.of(settingName)); + } + + public ComplianceSecurityProfileWorkspaceSettingState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs.java new file mode 100644 index 00000000..774a2f04 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs.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 EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs extends com.pulumi.resources.ResourceArgs { + + public static final EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs Empty = new EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs(); + + @Import(name="isEnabled") + private @Nullable Output isEnabled; + + public Optional> isEnabled() { + return Optional.ofNullable(this.isEnabled); + } + + private EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs() {} + + private EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs $) { + this.isEnabled = $.isEnabled; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs $; + + public Builder() { + $ = new EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs(); + } + + public Builder(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs defaults) { + $ = new EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs(Objects.requireNonNull(defaults)); + } + + public Builder isEnabled(@Nullable Output isEnabled) { + $.isEnabled = isEnabled; + return this; + } + + public Builder isEnabled(Boolean isEnabled) { + return isEnabled(Output.of(isEnabled)); + } + + public EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/EnhancedSecurityMonitoringWorkspaceSettingState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/EnhancedSecurityMonitoringWorkspaceSettingState.java new file mode 100644 index 00000000..8f43b478 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/EnhancedSecurityMonitoringWorkspaceSettingState.java @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class EnhancedSecurityMonitoringWorkspaceSettingState extends com.pulumi.resources.ResourceArgs { + + public static final EnhancedSecurityMonitoringWorkspaceSettingState Empty = new EnhancedSecurityMonitoringWorkspaceSettingState(); + + @Import(name="enhancedSecurityMonitoringWorkspace") + private @Nullable Output enhancedSecurityMonitoringWorkspace; + + public Optional> enhancedSecurityMonitoringWorkspace() { + return Optional.ofNullable(this.enhancedSecurityMonitoringWorkspace); + } + + @Import(name="etag") + private @Nullable Output etag; + + public Optional> etag() { + return Optional.ofNullable(this.etag); + } + + @Import(name="settingName") + private @Nullable Output settingName; + + public Optional> settingName() { + return Optional.ofNullable(this.settingName); + } + + private EnhancedSecurityMonitoringWorkspaceSettingState() {} + + private EnhancedSecurityMonitoringWorkspaceSettingState(EnhancedSecurityMonitoringWorkspaceSettingState $) { + this.enhancedSecurityMonitoringWorkspace = $.enhancedSecurityMonitoringWorkspace; + this.etag = $.etag; + this.settingName = $.settingName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(EnhancedSecurityMonitoringWorkspaceSettingState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private EnhancedSecurityMonitoringWorkspaceSettingState $; + + public Builder() { + $ = new EnhancedSecurityMonitoringWorkspaceSettingState(); + } + + public Builder(EnhancedSecurityMonitoringWorkspaceSettingState defaults) { + $ = new EnhancedSecurityMonitoringWorkspaceSettingState(Objects.requireNonNull(defaults)); + } + + public Builder enhancedSecurityMonitoringWorkspace(@Nullable Output enhancedSecurityMonitoringWorkspace) { + $.enhancedSecurityMonitoringWorkspace = enhancedSecurityMonitoringWorkspace; + return this; + } + + public Builder enhancedSecurityMonitoringWorkspace(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs enhancedSecurityMonitoringWorkspace) { + return enhancedSecurityMonitoringWorkspace(Output.of(enhancedSecurityMonitoringWorkspace)); + } + + public Builder etag(@Nullable Output etag) { + $.etag = etag; + return this; + } + + public Builder etag(String etag) { + return etag(Output.of(etag)); + } + + public Builder settingName(@Nullable Output settingName) { + $.settingName = settingName; + return this; + } + + public Builder settingName(String settingName) { + return settingName(Output.of(settingName)); + } + + public EnhancedSecurityMonitoringWorkspaceSettingState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationArgs.java index 73b109ce..4e2b8894 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationArgs.java @@ -17,22 +17,45 @@ public final class GetExternalLocationArgs extends com.pulumi.resources.InvokeAr public static final GetExternalLocationArgs Empty = new GetExternalLocationArgs(); + /** + * array of objects with information about external location: + * + */ @Import(name="externalLocationInfo") private @Nullable Output externalLocationInfo; + /** + * @return array of objects with information about external location: + * + */ public Optional> externalLocationInfo() { return Optional.ofNullable(this.externalLocationInfo); } /** - * The name of the storage credential + * external location ID - same as name. + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return external location ID - same as name. + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the external location * */ @Import(name="name", required=true) private Output name; /** - * @return The name of the storage credential + * @return The name of the external location * */ public Output name() { @@ -43,6 +66,7 @@ private GetExternalLocationArgs() {} private GetExternalLocationArgs(GetExternalLocationArgs $) { this.externalLocationInfo = $.externalLocationInfo; + this.id = $.id; this.name = $.name; } @@ -64,17 +88,50 @@ public Builder(GetExternalLocationArgs defaults) { $ = new GetExternalLocationArgs(Objects.requireNonNull(defaults)); } + /** + * @param externalLocationInfo array of objects with information about external location: + * + * @return builder + * + */ public Builder externalLocationInfo(@Nullable Output externalLocationInfo) { $.externalLocationInfo = externalLocationInfo; return this; } + /** + * @param externalLocationInfo array of objects with information about external location: + * + * @return builder + * + */ public Builder externalLocationInfo(GetExternalLocationExternalLocationInfoArgs externalLocationInfo) { return externalLocationInfo(Output.of(externalLocationInfo)); } /** - * @param name The name of the storage credential + * @param id external location ID - same as name. + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id external location ID - same as name. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name The name of the external location * * @return builder * @@ -85,7 +142,7 @@ public Builder name(Output name) { } /** - * @param name The name of the storage credential + * @param name The name of the external location * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationExternalLocationInfo.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationExternalLocationInfo.java index 6d6fca6b..e3ef5e04 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationExternalLocationInfo.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationExternalLocationInfo.java @@ -54,23 +54,47 @@ public Optional comment() { return Optional.ofNullable(this.comment); } + /** + * Time at which this catalog was created, in epoch milliseconds. + * + */ @Import(name="createdAt") private @Nullable Integer createdAt; + /** + * @return Time at which this catalog was created, in epoch milliseconds. + * + */ public Optional createdAt() { return Optional.ofNullable(this.createdAt); } + /** + * Username of catalog creator. + * + */ @Import(name="createdBy") private @Nullable String createdBy; + /** + * @return Username of catalog creator. + * + */ public Optional createdBy() { return Optional.ofNullable(this.createdBy); } + /** + * Unique ID of storage credential. + * + */ @Import(name="credentialId") private @Nullable String credentialId; + /** + * @return Unique ID of storage credential. + * + */ public Optional credentialId() { return Optional.ofNullable(this.credentialId); } @@ -105,22 +129,30 @@ public Optional encryp return Optional.ofNullable(this.encryptionDetails); } + /** + * Unique identifier of the parent Metastore. + * + */ @Import(name="metastoreId") private @Nullable String metastoreId; + /** + * @return Unique identifier of the parent Metastore. + * + */ public Optional metastoreId() { return Optional.ofNullable(this.metastoreId); } /** - * The name of the storage credential + * The name of the external location * */ @Import(name="name") private @Nullable String name; /** - * @return The name of the storage credential + * @return The name of the external location * */ public Optional name() { @@ -157,16 +189,32 @@ public Optional readOnly() { return Optional.ofNullable(this.readOnly); } + /** + * Time at which this catalog was last modified, in epoch milliseconds. + * + */ @Import(name="updatedAt") private @Nullable Integer updatedAt; + /** + * @return Time at which this catalog was last modified, in epoch milliseconds. + * + */ public Optional updatedAt() { return Optional.ofNullable(this.updatedAt); } + /** + * Username of user who last modified catalog. + * + */ @Import(name="updatedBy") private @Nullable String updatedBy; + /** + * @return Username of user who last modified catalog. + * + */ public Optional updatedBy() { return Optional.ofNullable(this.updatedBy); } @@ -251,16 +299,34 @@ public Builder comment(@Nullable String comment) { return this; } + /** + * @param createdAt Time at which this catalog was created, in epoch milliseconds. + * + * @return builder + * + */ public Builder createdAt(@Nullable Integer createdAt) { $.createdAt = createdAt; return this; } + /** + * @param createdBy Username of catalog creator. + * + * @return builder + * + */ public Builder createdBy(@Nullable String createdBy) { $.createdBy = createdBy; return this; } + /** + * @param credentialId Unique ID of storage credential. + * + * @return builder + * + */ public Builder credentialId(@Nullable String credentialId) { $.credentialId = credentialId; return this; @@ -288,13 +354,19 @@ public Builder encryptionDetails(@Nullable GetExternalLocationExternalLocationIn return this; } + /** + * @param metastoreId Unique identifier of the parent Metastore. + * + * @return builder + * + */ public Builder metastoreId(@Nullable String metastoreId) { $.metastoreId = metastoreId; return this; } /** - * @param name The name of the storage credential + * @param name The name of the external location * * @return builder * @@ -326,11 +398,23 @@ public Builder readOnly(@Nullable Boolean readOnly) { return this; } + /** + * @param updatedAt Time at which this catalog was last modified, in epoch milliseconds. + * + * @return builder + * + */ public Builder updatedAt(@Nullable Integer updatedAt) { $.updatedAt = updatedAt; return this; } + /** + * @param updatedBy Username of user who last modified catalog. + * + * @return builder + * + */ public Builder updatedBy(@Nullable String updatedBy) { $.updatedBy = updatedBy; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationExternalLocationInfoArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationExternalLocationInfoArgs.java index 9d732136..30ef3bcc 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationExternalLocationInfoArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationExternalLocationInfoArgs.java @@ -55,23 +55,47 @@ public Optional> comment() { return Optional.ofNullable(this.comment); } + /** + * Time at which this catalog was created, in epoch milliseconds. + * + */ @Import(name="createdAt") private @Nullable Output createdAt; + /** + * @return Time at which this catalog was created, in epoch milliseconds. + * + */ public Optional> createdAt() { return Optional.ofNullable(this.createdAt); } + /** + * Username of catalog creator. + * + */ @Import(name="createdBy") private @Nullable Output createdBy; + /** + * @return Username of catalog creator. + * + */ public Optional> createdBy() { return Optional.ofNullable(this.createdBy); } + /** + * Unique ID of storage credential. + * + */ @Import(name="credentialId") private @Nullable Output credentialId; + /** + * @return Unique ID of storage credential. + * + */ public Optional> credentialId() { return Optional.ofNullable(this.credentialId); } @@ -106,22 +130,30 @@ public Optional metastoreId; + /** + * @return Unique identifier of the parent Metastore. + * + */ public Optional> metastoreId() { return Optional.ofNullable(this.metastoreId); } /** - * The name of the storage credential + * The name of the external location * */ @Import(name="name") private @Nullable Output name; /** - * @return The name of the storage credential + * @return The name of the external location * */ public Optional> name() { @@ -158,16 +190,32 @@ public Optional> readOnly() { return Optional.ofNullable(this.readOnly); } + /** + * Time at which this catalog was last modified, in epoch milliseconds. + * + */ @Import(name="updatedAt") private @Nullable Output updatedAt; + /** + * @return Time at which this catalog was last modified, in epoch milliseconds. + * + */ public Optional> updatedAt() { return Optional.ofNullable(this.updatedAt); } + /** + * Username of user who last modified catalog. + * + */ @Import(name="updatedBy") private @Nullable Output updatedBy; + /** + * @return Username of user who last modified catalog. + * + */ public Optional> updatedBy() { return Optional.ofNullable(this.updatedBy); } @@ -276,29 +324,65 @@ public Builder comment(String comment) { return comment(Output.of(comment)); } + /** + * @param createdAt Time at which this catalog was created, in epoch milliseconds. + * + * @return builder + * + */ public Builder createdAt(@Nullable Output createdAt) { $.createdAt = createdAt; return this; } + /** + * @param createdAt Time at which this catalog was created, in epoch milliseconds. + * + * @return builder + * + */ public Builder createdAt(Integer createdAt) { return createdAt(Output.of(createdAt)); } + /** + * @param createdBy Username of catalog creator. + * + * @return builder + * + */ public Builder createdBy(@Nullable Output createdBy) { $.createdBy = createdBy; return this; } + /** + * @param createdBy Username of catalog creator. + * + * @return builder + * + */ public Builder createdBy(String createdBy) { return createdBy(Output.of(createdBy)); } + /** + * @param credentialId Unique ID of storage credential. + * + * @return builder + * + */ public Builder credentialId(@Nullable Output credentialId) { $.credentialId = credentialId; return this; } + /** + * @param credentialId Unique ID of storage credential. + * + * @return builder + * + */ public Builder credentialId(String credentialId) { return credentialId(Output.of(credentialId)); } @@ -345,17 +429,29 @@ public Builder encryptionDetails(GetExternalLocationExternalLocationInfoEncrypti return encryptionDetails(Output.of(encryptionDetails)); } + /** + * @param metastoreId Unique identifier of the parent Metastore. + * + * @return builder + * + */ public Builder metastoreId(@Nullable Output metastoreId) { $.metastoreId = metastoreId; return this; } + /** + * @param metastoreId Unique identifier of the parent Metastore. + * + * @return builder + * + */ public Builder metastoreId(String metastoreId) { return metastoreId(Output.of(metastoreId)); } /** - * @param name The name of the storage credential + * @param name The name of the external location * * @return builder * @@ -366,7 +462,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The name of the storage credential + * @param name The name of the external location * * @return builder * @@ -417,20 +513,44 @@ public Builder readOnly(Boolean readOnly) { return readOnly(Output.of(readOnly)); } + /** + * @param updatedAt Time at which this catalog was last modified, in epoch milliseconds. + * + * @return builder + * + */ public Builder updatedAt(@Nullable Output updatedAt) { $.updatedAt = updatedAt; return this; } + /** + * @param updatedAt Time at which this catalog was last modified, in epoch milliseconds. + * + * @return builder + * + */ public Builder updatedAt(Integer updatedAt) { return updatedAt(Output.of(updatedAt)); } + /** + * @param updatedBy Username of user who last modified catalog. + * + * @return builder + * + */ public Builder updatedBy(@Nullable Output updatedBy) { $.updatedBy = updatedBy; return this; } + /** + * @param updatedBy Username of user who last modified catalog. + * + * @return builder + * + */ public Builder updatedBy(String updatedBy) { return updatedBy(Output.of(updatedBy)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationPlainArgs.java index cf1cf3e3..b12c49c8 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetExternalLocationPlainArgs.java @@ -16,22 +16,45 @@ public final class GetExternalLocationPlainArgs extends com.pulumi.resources.Inv public static final GetExternalLocationPlainArgs Empty = new GetExternalLocationPlainArgs(); + /** + * array of objects with information about external location: + * + */ @Import(name="externalLocationInfo") private @Nullable GetExternalLocationExternalLocationInfo externalLocationInfo; + /** + * @return array of objects with information about external location: + * + */ public Optional externalLocationInfo() { return Optional.ofNullable(this.externalLocationInfo); } /** - * The name of the storage credential + * external location ID - same as name. + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return external location ID - same as name. + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The name of the external location * */ @Import(name="name", required=true) private String name; /** - * @return The name of the storage credential + * @return The name of the external location * */ public String name() { @@ -42,6 +65,7 @@ private GetExternalLocationPlainArgs() {} private GetExternalLocationPlainArgs(GetExternalLocationPlainArgs $) { this.externalLocationInfo = $.externalLocationInfo; + this.id = $.id; this.name = $.name; } @@ -63,13 +87,30 @@ public Builder(GetExternalLocationPlainArgs defaults) { $ = new GetExternalLocationPlainArgs(Objects.requireNonNull(defaults)); } + /** + * @param externalLocationInfo array of objects with information about external location: + * + * @return builder + * + */ public Builder externalLocationInfo(@Nullable GetExternalLocationExternalLocationInfo externalLocationInfo) { $.externalLocationInfo = externalLocationInfo; return this; } /** - * @param name The name of the storage credential + * @param id external location ID - same as name. + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name The name of the external location * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialArgs.java index 5b91c232..613ef700 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialArgs.java @@ -17,6 +17,21 @@ public final class GetStorageCredentialArgs extends com.pulumi.resources.InvokeA public static final GetStorageCredentialArgs Empty = new GetStorageCredentialArgs(); + /** + * Unique ID of storage credential. + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return Unique ID of storage credential. + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + /** * The name of the storage credential * @@ -32,9 +47,17 @@ public Output name() { return this.name; } + /** + * array of objects with information about storage credential. + * + */ @Import(name="storageCredentialInfo") private @Nullable Output storageCredentialInfo; + /** + * @return array of objects with information about storage credential. + * + */ public Optional> storageCredentialInfo() { return Optional.ofNullable(this.storageCredentialInfo); } @@ -42,6 +65,7 @@ public Optional> storageCr private GetStorageCredentialArgs() {} private GetStorageCredentialArgs(GetStorageCredentialArgs $) { + this.id = $.id; this.name = $.name; this.storageCredentialInfo = $.storageCredentialInfo; } @@ -64,6 +88,27 @@ public Builder(GetStorageCredentialArgs defaults) { $ = new GetStorageCredentialArgs(Objects.requireNonNull(defaults)); } + /** + * @param id Unique ID of storage credential. + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id Unique ID of storage credential. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + /** * @param name The name of the storage credential * @@ -85,11 +130,23 @@ public Builder name(String name) { return name(Output.of(name)); } + /** + * @param storageCredentialInfo array of objects with information about storage credential. + * + * @return builder + * + */ public Builder storageCredentialInfo(@Nullable Output storageCredentialInfo) { $.storageCredentialInfo = storageCredentialInfo; return this; } + /** + * @param storageCredentialInfo array of objects with information about storage credential. + * + * @return builder + * + */ public Builder storageCredentialInfo(GetStorageCredentialStorageCredentialInfoArgs storageCredentialInfo) { return storageCredentialInfo(Output.of(storageCredentialInfo)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialPlainArgs.java index ba771227..b8f69fde 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialPlainArgs.java @@ -16,6 +16,21 @@ public final class GetStorageCredentialPlainArgs extends com.pulumi.resources.In public static final GetStorageCredentialPlainArgs Empty = new GetStorageCredentialPlainArgs(); + /** + * Unique ID of storage credential. + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return Unique ID of storage credential. + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** * The name of the storage credential * @@ -31,9 +46,17 @@ public String name() { return this.name; } + /** + * array of objects with information about storage credential. + * + */ @Import(name="storageCredentialInfo") private @Nullable GetStorageCredentialStorageCredentialInfo storageCredentialInfo; + /** + * @return array of objects with information about storage credential. + * + */ public Optional storageCredentialInfo() { return Optional.ofNullable(this.storageCredentialInfo); } @@ -41,6 +64,7 @@ public Optional storageCredentialInfo private GetStorageCredentialPlainArgs() {} private GetStorageCredentialPlainArgs(GetStorageCredentialPlainArgs $) { + this.id = $.id; this.name = $.name; this.storageCredentialInfo = $.storageCredentialInfo; } @@ -63,6 +87,17 @@ public Builder(GetStorageCredentialPlainArgs defaults) { $ = new GetStorageCredentialPlainArgs(Objects.requireNonNull(defaults)); } + /** + * @param id Unique ID of storage credential. + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + /** * @param name The name of the storage credential * @@ -74,6 +109,12 @@ public Builder name(String name) { return this; } + /** + * @param storageCredentialInfo array of objects with information about storage credential. + * + * @return builder + * + */ public Builder storageCredentialInfo(@Nullable GetStorageCredentialStorageCredentialInfo storageCredentialInfo) { $.storageCredentialInfo = storageCredentialInfo; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialStorageCredentialInfo.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialStorageCredentialInfo.java index 68c1db6a..ce93a9b7 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialStorageCredentialInfo.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialStorageCredentialInfo.java @@ -21,23 +21,47 @@ public final class GetStorageCredentialStorageCredentialInfo extends com.pulumi. public static final GetStorageCredentialStorageCredentialInfo Empty = new GetStorageCredentialStorageCredentialInfo(); + /** + * credential details for AWS: + * + */ @Import(name="awsIamRole") private @Nullable GetStorageCredentialStorageCredentialInfoAwsIamRole awsIamRole; + /** + * @return credential details for AWS: + * + */ public Optional awsIamRole() { return Optional.ofNullable(this.awsIamRole); } + /** + * managed identity credential details for Azure + * + */ @Import(name="azureManagedIdentity") private @Nullable GetStorageCredentialStorageCredentialInfoAzureManagedIdentity azureManagedIdentity; + /** + * @return managed identity credential details for Azure + * + */ public Optional azureManagedIdentity() { return Optional.ofNullable(this.azureManagedIdentity); } + /** + * service principal credential details for Azure: + * + */ @Import(name="azureServicePrincipal") private @Nullable GetStorageCredentialStorageCredentialInfoAzureServicePrincipal azureServicePrincipal; + /** + * @return service principal credential details for Azure: + * + */ public Optional azureServicePrincipal() { return Optional.ofNullable(this.azureServicePrincipal); } @@ -56,30 +80,62 @@ public Optional comment() { return Optional.ofNullable(this.comment); } + /** + * Time at which this catalog was created, in epoch milliseconds. + * + */ @Import(name="createdAt") private @Nullable Integer createdAt; + /** + * @return Time at which this catalog was created, in epoch milliseconds. + * + */ public Optional createdAt() { return Optional.ofNullable(this.createdAt); } + /** + * Username of catalog creator. + * + */ @Import(name="createdBy") private @Nullable String createdBy; + /** + * @return Username of catalog creator. + * + */ public Optional createdBy() { return Optional.ofNullable(this.createdBy); } + /** + * credential details for GCP: + * + */ @Import(name="databricksGcpServiceAccount") private @Nullable GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount databricksGcpServiceAccount; + /** + * @return credential details for GCP: + * + */ public Optional databricksGcpServiceAccount() { return Optional.ofNullable(this.databricksGcpServiceAccount); } + /** + * Unique ID of storage credential. + * + */ @Import(name="id") private @Nullable String id; + /** + * @return Unique ID of storage credential. + * + */ public Optional id() { return Optional.ofNullable(this.id); } @@ -144,16 +200,32 @@ public Optional readOnly() { return Optional.ofNullable(this.readOnly); } + /** + * Time at which this catalog was last modified, in epoch milliseconds. + * + */ @Import(name="updatedAt") private @Nullable Integer updatedAt; + /** + * @return Time at which this catalog was last modified, in epoch milliseconds. + * + */ public Optional updatedAt() { return Optional.ofNullable(this.updatedAt); } + /** + * Username of user who last modified catalog. + * + */ @Import(name="updatedBy") private @Nullable String updatedBy; + /** + * @return Username of user who last modified catalog. + * + */ public Optional updatedBy() { return Optional.ofNullable(this.updatedBy); } @@ -204,16 +276,34 @@ public Builder(GetStorageCredentialStorageCredentialInfo defaults) { $ = new GetStorageCredentialStorageCredentialInfo(Objects.requireNonNull(defaults)); } + /** + * @param awsIamRole credential details for AWS: + * + * @return builder + * + */ public Builder awsIamRole(@Nullable GetStorageCredentialStorageCredentialInfoAwsIamRole awsIamRole) { $.awsIamRole = awsIamRole; return this; } + /** + * @param azureManagedIdentity managed identity credential details for Azure + * + * @return builder + * + */ public Builder azureManagedIdentity(@Nullable GetStorageCredentialStorageCredentialInfoAzureManagedIdentity azureManagedIdentity) { $.azureManagedIdentity = azureManagedIdentity; return this; } + /** + * @param azureServicePrincipal service principal credential details for Azure: + * + * @return builder + * + */ public Builder azureServicePrincipal(@Nullable GetStorageCredentialStorageCredentialInfoAzureServicePrincipal azureServicePrincipal) { $.azureServicePrincipal = azureServicePrincipal; return this; @@ -229,21 +319,45 @@ public Builder comment(@Nullable String comment) { return this; } + /** + * @param createdAt Time at which this catalog was created, in epoch milliseconds. + * + * @return builder + * + */ public Builder createdAt(@Nullable Integer createdAt) { $.createdAt = createdAt; return this; } + /** + * @param createdBy Username of catalog creator. + * + * @return builder + * + */ public Builder createdBy(@Nullable String createdBy) { $.createdBy = createdBy; return this; } + /** + * @param databricksGcpServiceAccount credential details for GCP: + * + * @return builder + * + */ public Builder databricksGcpServiceAccount(@Nullable GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount databricksGcpServiceAccount) { $.databricksGcpServiceAccount = databricksGcpServiceAccount; return this; } + /** + * @param id Unique ID of storage credential. + * + * @return builder + * + */ public Builder id(@Nullable String id) { $.id = id; return this; @@ -293,11 +407,23 @@ public Builder readOnly(@Nullable Boolean readOnly) { return this; } + /** + * @param updatedAt Time at which this catalog was last modified, in epoch milliseconds. + * + * @return builder + * + */ public Builder updatedAt(@Nullable Integer updatedAt) { $.updatedAt = updatedAt; return this; } + /** + * @param updatedBy Username of user who last modified catalog. + * + * @return builder + * + */ public Builder updatedBy(@Nullable String updatedBy) { $.updatedBy = updatedBy; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialStorageCredentialInfoArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialStorageCredentialInfoArgs.java index 350541e7..5cc8be37 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialStorageCredentialInfoArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialStorageCredentialInfoArgs.java @@ -22,23 +22,47 @@ public final class GetStorageCredentialStorageCredentialInfoArgs extends com.pul public static final GetStorageCredentialStorageCredentialInfoArgs Empty = new GetStorageCredentialStorageCredentialInfoArgs(); + /** + * credential details for AWS: + * + */ @Import(name="awsIamRole") private @Nullable Output awsIamRole; + /** + * @return credential details for AWS: + * + */ public Optional> awsIamRole() { return Optional.ofNullable(this.awsIamRole); } + /** + * managed identity credential details for Azure + * + */ @Import(name="azureManagedIdentity") private @Nullable Output azureManagedIdentity; + /** + * @return managed identity credential details for Azure + * + */ public Optional> azureManagedIdentity() { return Optional.ofNullable(this.azureManagedIdentity); } + /** + * service principal credential details for Azure: + * + */ @Import(name="azureServicePrincipal") private @Nullable Output azureServicePrincipal; + /** + * @return service principal credential details for Azure: + * + */ public Optional> azureServicePrincipal() { return Optional.ofNullable(this.azureServicePrincipal); } @@ -57,30 +81,62 @@ public Optional> comment() { return Optional.ofNullable(this.comment); } + /** + * Time at which this catalog was created, in epoch milliseconds. + * + */ @Import(name="createdAt") private @Nullable Output createdAt; + /** + * @return Time at which this catalog was created, in epoch milliseconds. + * + */ public Optional> createdAt() { return Optional.ofNullable(this.createdAt); } + /** + * Username of catalog creator. + * + */ @Import(name="createdBy") private @Nullable Output createdBy; + /** + * @return Username of catalog creator. + * + */ public Optional> createdBy() { return Optional.ofNullable(this.createdBy); } + /** + * credential details for GCP: + * + */ @Import(name="databricksGcpServiceAccount") private @Nullable Output databricksGcpServiceAccount; + /** + * @return credential details for GCP: + * + */ public Optional> databricksGcpServiceAccount() { return Optional.ofNullable(this.databricksGcpServiceAccount); } + /** + * Unique ID of storage credential. + * + */ @Import(name="id") private @Nullable Output id; + /** + * @return Unique ID of storage credential. + * + */ public Optional> id() { return Optional.ofNullable(this.id); } @@ -145,16 +201,32 @@ public Optional> readOnly() { return Optional.ofNullable(this.readOnly); } + /** + * Time at which this catalog was last modified, in epoch milliseconds. + * + */ @Import(name="updatedAt") private @Nullable Output updatedAt; + /** + * @return Time at which this catalog was last modified, in epoch milliseconds. + * + */ public Optional> updatedAt() { return Optional.ofNullable(this.updatedAt); } + /** + * Username of user who last modified catalog. + * + */ @Import(name="updatedBy") private @Nullable Output updatedBy; + /** + * @return Username of user who last modified catalog. + * + */ public Optional> updatedBy() { return Optional.ofNullable(this.updatedBy); } @@ -205,29 +277,65 @@ public Builder(GetStorageCredentialStorageCredentialInfoArgs defaults) { $ = new GetStorageCredentialStorageCredentialInfoArgs(Objects.requireNonNull(defaults)); } + /** + * @param awsIamRole credential details for AWS: + * + * @return builder + * + */ public Builder awsIamRole(@Nullable Output awsIamRole) { $.awsIamRole = awsIamRole; return this; } + /** + * @param awsIamRole credential details for AWS: + * + * @return builder + * + */ public Builder awsIamRole(GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs awsIamRole) { return awsIamRole(Output.of(awsIamRole)); } + /** + * @param azureManagedIdentity managed identity credential details for Azure + * + * @return builder + * + */ public Builder azureManagedIdentity(@Nullable Output azureManagedIdentity) { $.azureManagedIdentity = azureManagedIdentity; return this; } + /** + * @param azureManagedIdentity managed identity credential details for Azure + * + * @return builder + * + */ public Builder azureManagedIdentity(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs azureManagedIdentity) { return azureManagedIdentity(Output.of(azureManagedIdentity)); } + /** + * @param azureServicePrincipal service principal credential details for Azure: + * + * @return builder + * + */ public Builder azureServicePrincipal(@Nullable Output azureServicePrincipal) { $.azureServicePrincipal = azureServicePrincipal; return this; } + /** + * @param azureServicePrincipal service principal credential details for Azure: + * + * @return builder + * + */ public Builder azureServicePrincipal(GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs azureServicePrincipal) { return azureServicePrincipal(Output.of(azureServicePrincipal)); } @@ -250,38 +358,86 @@ public Builder comment(String comment) { return comment(Output.of(comment)); } + /** + * @param createdAt Time at which this catalog was created, in epoch milliseconds. + * + * @return builder + * + */ public Builder createdAt(@Nullable Output createdAt) { $.createdAt = createdAt; return this; } + /** + * @param createdAt Time at which this catalog was created, in epoch milliseconds. + * + * @return builder + * + */ public Builder createdAt(Integer createdAt) { return createdAt(Output.of(createdAt)); } + /** + * @param createdBy Username of catalog creator. + * + * @return builder + * + */ public Builder createdBy(@Nullable Output createdBy) { $.createdBy = createdBy; return this; } + /** + * @param createdBy Username of catalog creator. + * + * @return builder + * + */ public Builder createdBy(String createdBy) { return createdBy(Output.of(createdBy)); } + /** + * @param databricksGcpServiceAccount credential details for GCP: + * + * @return builder + * + */ public Builder databricksGcpServiceAccount(@Nullable Output databricksGcpServiceAccount) { $.databricksGcpServiceAccount = databricksGcpServiceAccount; return this; } + /** + * @param databricksGcpServiceAccount credential details for GCP: + * + * @return builder + * + */ public Builder databricksGcpServiceAccount(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs databricksGcpServiceAccount) { return databricksGcpServiceAccount(Output.of(databricksGcpServiceAccount)); } + /** + * @param id Unique ID of storage credential. + * + * @return builder + * + */ public Builder id(@Nullable Output id) { $.id = id; return this; } + /** + * @param id Unique ID of storage credential. + * + * @return builder + * + */ public Builder id(String id) { return id(Output.of(id)); } @@ -370,20 +526,44 @@ public Builder readOnly(Boolean readOnly) { return readOnly(Output.of(readOnly)); } + /** + * @param updatedAt Time at which this catalog was last modified, in epoch milliseconds. + * + * @return builder + * + */ public Builder updatedAt(@Nullable Output updatedAt) { $.updatedAt = updatedAt; return this; } + /** + * @param updatedAt Time at which this catalog was last modified, in epoch milliseconds. + * + * @return builder + * + */ public Builder updatedAt(Integer updatedAt) { return updatedAt(Output.of(updatedAt)); } + /** + * @param updatedBy Username of user who last modified catalog. + * + * @return builder + * + */ public Builder updatedBy(@Nullable Output updatedBy) { $.updatedBy = updatedBy; return this; } + /** + * @param updatedBy Username of user who last modified catalog. + * + * @return builder + * + */ public Builder updatedBy(String updatedBy) { return updatedBy(Output.of(updatedBy)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobJobClusterNewClusterArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobJobClusterNewClusterArgs.java index cb5ed271..5c104fc8 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobJobClusterNewClusterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobJobClusterNewClusterArgs.java @@ -8,7 +8,6 @@ import com.pulumi.databricks.inputs.JobJobClusterNewClusterAutoscaleArgs; import com.pulumi.databricks.inputs.JobJobClusterNewClusterAwsAttributesArgs; import com.pulumi.databricks.inputs.JobJobClusterNewClusterAzureAttributesArgs; -import com.pulumi.databricks.inputs.JobJobClusterNewClusterCloneFromArgs; import com.pulumi.databricks.inputs.JobJobClusterNewClusterClusterLogConfArgs; import com.pulumi.databricks.inputs.JobJobClusterNewClusterClusterMountInfoArgs; import com.pulumi.databricks.inputs.JobJobClusterNewClusterDockerImageArgs; @@ -67,13 +66,6 @@ public Optional> azureAttribu return Optional.ofNullable(this.azureAttributes); } - @Import(name="cloneFrom") - private @Nullable Output cloneFrom; - - public Optional> cloneFrom() { - return Optional.ofNullable(this.cloneFrom); - } - @Import(name="clusterId") private @Nullable Output clusterId; @@ -272,7 +264,6 @@ private JobJobClusterNewClusterArgs(JobJobClusterNewClusterArgs $) { this.autoterminationMinutes = $.autoterminationMinutes; this.awsAttributes = $.awsAttributes; this.azureAttributes = $.azureAttributes; - this.cloneFrom = $.cloneFrom; this.clusterId = $.clusterId; this.clusterLogConf = $.clusterLogConf; this.clusterMountInfos = $.clusterMountInfos; @@ -364,15 +355,6 @@ public Builder azureAttributes(JobJobClusterNewClusterAzureAttributesArgs azureA return azureAttributes(Output.of(azureAttributes)); } - public Builder cloneFrom(@Nullable Output cloneFrom) { - $.cloneFrom = cloneFrom; - return this; - } - - public Builder cloneFrom(JobJobClusterNewClusterCloneFromArgs cloneFrom) { - return cloneFrom(Output.of(cloneFrom)); - } - public Builder clusterId(@Nullable Output clusterId) { $.clusterId = clusterId; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobJobClusterNewClusterCloneFromArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobJobClusterNewClusterCloneFromArgs.java deleted file mode 100644 index 475436cd..00000000 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobJobClusterNewClusterCloneFromArgs.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** WARNING: this file was generated by pulumi-java-gen. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package com.pulumi.databricks.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - - -public final class JobJobClusterNewClusterCloneFromArgs extends com.pulumi.resources.ResourceArgs { - - public static final JobJobClusterNewClusterCloneFromArgs Empty = new JobJobClusterNewClusterCloneFromArgs(); - - @Import(name="sourceClusterId", required=true) - private Output sourceClusterId; - - public Output sourceClusterId() { - return this.sourceClusterId; - } - - private JobJobClusterNewClusterCloneFromArgs() {} - - private JobJobClusterNewClusterCloneFromArgs(JobJobClusterNewClusterCloneFromArgs $) { - this.sourceClusterId = $.sourceClusterId; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(JobJobClusterNewClusterCloneFromArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private JobJobClusterNewClusterCloneFromArgs $; - - public Builder() { - $ = new JobJobClusterNewClusterCloneFromArgs(); - } - - public Builder(JobJobClusterNewClusterCloneFromArgs defaults) { - $ = new JobJobClusterNewClusterCloneFromArgs(Objects.requireNonNull(defaults)); - } - - public Builder sourceClusterId(Output sourceClusterId) { - $.sourceClusterId = sourceClusterId; - return this; - } - - public Builder sourceClusterId(String sourceClusterId) { - return sourceClusterId(Output.of(sourceClusterId)); - } - - public JobJobClusterNewClusterCloneFromArgs build() { - if ($.sourceClusterId == null) { - throw new MissingRequiredPropertyException("JobJobClusterNewClusterCloneFromArgs", "sourceClusterId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobNewClusterArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobNewClusterArgs.java index c787cd38..b73aae2d 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobNewClusterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobNewClusterArgs.java @@ -8,7 +8,6 @@ import com.pulumi.databricks.inputs.JobNewClusterAutoscaleArgs; import com.pulumi.databricks.inputs.JobNewClusterAwsAttributesArgs; import com.pulumi.databricks.inputs.JobNewClusterAzureAttributesArgs; -import com.pulumi.databricks.inputs.JobNewClusterCloneFromArgs; import com.pulumi.databricks.inputs.JobNewClusterClusterLogConfArgs; import com.pulumi.databricks.inputs.JobNewClusterClusterMountInfoArgs; import com.pulumi.databricks.inputs.JobNewClusterDockerImageArgs; @@ -67,13 +66,6 @@ public Optional> azureAttributes() { return Optional.ofNullable(this.azureAttributes); } - @Import(name="cloneFrom") - private @Nullable Output cloneFrom; - - public Optional> cloneFrom() { - return Optional.ofNullable(this.cloneFrom); - } - @Import(name="clusterId") private @Nullable Output clusterId; @@ -272,7 +264,6 @@ private JobNewClusterArgs(JobNewClusterArgs $) { this.autoterminationMinutes = $.autoterminationMinutes; this.awsAttributes = $.awsAttributes; this.azureAttributes = $.azureAttributes; - this.cloneFrom = $.cloneFrom; this.clusterId = $.clusterId; this.clusterLogConf = $.clusterLogConf; this.clusterMountInfos = $.clusterMountInfos; @@ -364,15 +355,6 @@ public Builder azureAttributes(JobNewClusterAzureAttributesArgs azureAttributes) return azureAttributes(Output.of(azureAttributes)); } - public Builder cloneFrom(@Nullable Output cloneFrom) { - $.cloneFrom = cloneFrom; - return this; - } - - public Builder cloneFrom(JobNewClusterCloneFromArgs cloneFrom) { - return cloneFrom(Output.of(cloneFrom)); - } - public Builder clusterId(@Nullable Output clusterId) { $.clusterId = clusterId; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobNewClusterCloneFromArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobNewClusterCloneFromArgs.java deleted file mode 100644 index 8ef5af73..00000000 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobNewClusterCloneFromArgs.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** WARNING: this file was generated by pulumi-java-gen. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package com.pulumi.databricks.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - - -public final class JobNewClusterCloneFromArgs extends com.pulumi.resources.ResourceArgs { - - public static final JobNewClusterCloneFromArgs Empty = new JobNewClusterCloneFromArgs(); - - @Import(name="sourceClusterId", required=true) - private Output sourceClusterId; - - public Output sourceClusterId() { - return this.sourceClusterId; - } - - private JobNewClusterCloneFromArgs() {} - - private JobNewClusterCloneFromArgs(JobNewClusterCloneFromArgs $) { - this.sourceClusterId = $.sourceClusterId; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(JobNewClusterCloneFromArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private JobNewClusterCloneFromArgs $; - - public Builder() { - $ = new JobNewClusterCloneFromArgs(); - } - - public Builder(JobNewClusterCloneFromArgs defaults) { - $ = new JobNewClusterCloneFromArgs(Objects.requireNonNull(defaults)); - } - - public Builder sourceClusterId(Output sourceClusterId) { - $.sourceClusterId = sourceClusterId; - return this; - } - - public Builder sourceClusterId(String sourceClusterId) { - return sourceClusterId(Output.of(sourceClusterId)); - } - - public JobNewClusterCloneFromArgs build() { - if ($.sourceClusterId == null) { - throw new MissingRequiredPropertyException("JobNewClusterCloneFromArgs", "sourceClusterId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskNewClusterArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskNewClusterArgs.java index 20149d50..db7c5234 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskNewClusterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskNewClusterArgs.java @@ -8,7 +8,6 @@ import com.pulumi.databricks.inputs.JobTaskForEachTaskTaskNewClusterAutoscaleArgs; import com.pulumi.databricks.inputs.JobTaskForEachTaskTaskNewClusterAwsAttributesArgs; import com.pulumi.databricks.inputs.JobTaskForEachTaskTaskNewClusterAzureAttributesArgs; -import com.pulumi.databricks.inputs.JobTaskForEachTaskTaskNewClusterCloneFromArgs; import com.pulumi.databricks.inputs.JobTaskForEachTaskTaskNewClusterClusterLogConfArgs; import com.pulumi.databricks.inputs.JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs; import com.pulumi.databricks.inputs.JobTaskForEachTaskTaskNewClusterDockerImageArgs; @@ -67,13 +66,6 @@ public Optional> azu return Optional.ofNullable(this.azureAttributes); } - @Import(name="cloneFrom") - private @Nullable Output cloneFrom; - - public Optional> cloneFrom() { - return Optional.ofNullable(this.cloneFrom); - } - @Import(name="clusterId") private @Nullable Output clusterId; @@ -272,7 +264,6 @@ private JobTaskForEachTaskTaskNewClusterArgs(JobTaskForEachTaskTaskNewClusterArg this.autoterminationMinutes = $.autoterminationMinutes; this.awsAttributes = $.awsAttributes; this.azureAttributes = $.azureAttributes; - this.cloneFrom = $.cloneFrom; this.clusterId = $.clusterId; this.clusterLogConf = $.clusterLogConf; this.clusterMountInfos = $.clusterMountInfos; @@ -364,15 +355,6 @@ public Builder azureAttributes(JobTaskForEachTaskTaskNewClusterAzureAttributesAr return azureAttributes(Output.of(azureAttributes)); } - public Builder cloneFrom(@Nullable Output cloneFrom) { - $.cloneFrom = cloneFrom; - return this; - } - - public Builder cloneFrom(JobTaskForEachTaskTaskNewClusterCloneFromArgs cloneFrom) { - return cloneFrom(Output.of(cloneFrom)); - } - public Builder clusterId(@Nullable Output clusterId) { $.clusterId = clusterId; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskNewClusterCloneFromArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskNewClusterCloneFromArgs.java deleted file mode 100644 index a37f484b..00000000 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskNewClusterCloneFromArgs.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** WARNING: this file was generated by pulumi-java-gen. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package com.pulumi.databricks.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - - -public final class JobTaskForEachTaskTaskNewClusterCloneFromArgs extends com.pulumi.resources.ResourceArgs { - - public static final JobTaskForEachTaskTaskNewClusterCloneFromArgs Empty = new JobTaskForEachTaskTaskNewClusterCloneFromArgs(); - - @Import(name="sourceClusterId", required=true) - private Output sourceClusterId; - - public Output sourceClusterId() { - return this.sourceClusterId; - } - - private JobTaskForEachTaskTaskNewClusterCloneFromArgs() {} - - private JobTaskForEachTaskTaskNewClusterCloneFromArgs(JobTaskForEachTaskTaskNewClusterCloneFromArgs $) { - this.sourceClusterId = $.sourceClusterId; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(JobTaskForEachTaskTaskNewClusterCloneFromArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private JobTaskForEachTaskTaskNewClusterCloneFromArgs $; - - public Builder() { - $ = new JobTaskForEachTaskTaskNewClusterCloneFromArgs(); - } - - public Builder(JobTaskForEachTaskTaskNewClusterCloneFromArgs defaults) { - $ = new JobTaskForEachTaskTaskNewClusterCloneFromArgs(Objects.requireNonNull(defaults)); - } - - public Builder sourceClusterId(Output sourceClusterId) { - $.sourceClusterId = sourceClusterId; - return this; - } - - public Builder sourceClusterId(String sourceClusterId) { - return sourceClusterId(Output.of(sourceClusterId)); - } - - public JobTaskForEachTaskTaskNewClusterCloneFromArgs build() { - if ($.sourceClusterId == null) { - throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskNewClusterCloneFromArgs", "sourceClusterId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskNewClusterArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskNewClusterArgs.java index 14f28212..c22f6fb2 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskNewClusterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskNewClusterArgs.java @@ -8,7 +8,6 @@ import com.pulumi.databricks.inputs.JobTaskNewClusterAutoscaleArgs; import com.pulumi.databricks.inputs.JobTaskNewClusterAwsAttributesArgs; import com.pulumi.databricks.inputs.JobTaskNewClusterAzureAttributesArgs; -import com.pulumi.databricks.inputs.JobTaskNewClusterCloneFromArgs; import com.pulumi.databricks.inputs.JobTaskNewClusterClusterLogConfArgs; import com.pulumi.databricks.inputs.JobTaskNewClusterClusterMountInfoArgs; import com.pulumi.databricks.inputs.JobTaskNewClusterDockerImageArgs; @@ -67,13 +66,6 @@ public Optional> azureAttributes() return Optional.ofNullable(this.azureAttributes); } - @Import(name="cloneFrom") - private @Nullable Output cloneFrom; - - public Optional> cloneFrom() { - return Optional.ofNullable(this.cloneFrom); - } - @Import(name="clusterId") private @Nullable Output clusterId; @@ -272,7 +264,6 @@ private JobTaskNewClusterArgs(JobTaskNewClusterArgs $) { this.autoterminationMinutes = $.autoterminationMinutes; this.awsAttributes = $.awsAttributes; this.azureAttributes = $.azureAttributes; - this.cloneFrom = $.cloneFrom; this.clusterId = $.clusterId; this.clusterLogConf = $.clusterLogConf; this.clusterMountInfos = $.clusterMountInfos; @@ -364,15 +355,6 @@ public Builder azureAttributes(JobTaskNewClusterAzureAttributesArgs azureAttribu return azureAttributes(Output.of(azureAttributes)); } - public Builder cloneFrom(@Nullable Output cloneFrom) { - $.cloneFrom = cloneFrom; - return this; - } - - public Builder cloneFrom(JobTaskNewClusterCloneFromArgs cloneFrom) { - return cloneFrom(Output.of(cloneFrom)); - } - public Builder clusterId(@Nullable Output clusterId) { $.clusterId = clusterId; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskNewClusterCloneFromArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskNewClusterCloneFromArgs.java deleted file mode 100644 index 24be2691..00000000 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskNewClusterCloneFromArgs.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** WARNING: this file was generated by pulumi-java-gen. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package com.pulumi.databricks.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - - -public final class JobTaskNewClusterCloneFromArgs extends com.pulumi.resources.ResourceArgs { - - public static final JobTaskNewClusterCloneFromArgs Empty = new JobTaskNewClusterCloneFromArgs(); - - @Import(name="sourceClusterId", required=true) - private Output sourceClusterId; - - public Output sourceClusterId() { - return this.sourceClusterId; - } - - private JobTaskNewClusterCloneFromArgs() {} - - private JobTaskNewClusterCloneFromArgs(JobTaskNewClusterCloneFromArgs $) { - this.sourceClusterId = $.sourceClusterId; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(JobTaskNewClusterCloneFromArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private JobTaskNewClusterCloneFromArgs $; - - public Builder() { - $ = new JobTaskNewClusterCloneFromArgs(); - } - - public Builder(JobTaskNewClusterCloneFromArgs defaults) { - $ = new JobTaskNewClusterCloneFromArgs(Objects.requireNonNull(defaults)); - } - - public Builder sourceClusterId(Output sourceClusterId) { - $.sourceClusterId = sourceClusterId; - return this; - } - - public Builder sourceClusterId(String sourceClusterId) { - return sourceClusterId(Output.of(sourceClusterId)); - } - - public JobTaskNewClusterCloneFromArgs build() { - if ($.sourceClusterId == null) { - throw new MissingRequiredPropertyException("JobTaskNewClusterCloneFromArgs", "sourceClusterId"); - } - 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 index 97f1f532..42e20294 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigArgs.java @@ -5,7 +5,6 @@ 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; @@ -16,6 +15,27 @@ public final class ModelServingConfigServedEntityExternalModelOpenaiConfigArgs e public static final ModelServingConfigServedEntityExternalModelOpenaiConfigArgs Empty = new ModelServingConfigServedEntityExternalModelOpenaiConfigArgs(); + @Import(name="microsoftEntraClientId") + private @Nullable Output microsoftEntraClientId; + + public Optional> microsoftEntraClientId() { + return Optional.ofNullable(this.microsoftEntraClientId); + } + + @Import(name="microsoftEntraClientSecret") + private @Nullable Output microsoftEntraClientSecret; + + public Optional> microsoftEntraClientSecret() { + return Optional.ofNullable(this.microsoftEntraClientSecret); + } + + @Import(name="microsoftEntraTenantId") + private @Nullable Output microsoftEntraTenantId; + + public Optional> microsoftEntraTenantId() { + return Optional.ofNullable(this.microsoftEntraTenantId); + } + @Import(name="openaiApiBase") private @Nullable Output openaiApiBase; @@ -23,11 +43,11 @@ public Optional> openaiApiBase() { return Optional.ofNullable(this.openaiApiBase); } - @Import(name="openaiApiKey", required=true) - private Output openaiApiKey; + @Import(name="openaiApiKey") + private @Nullable Output openaiApiKey; - public Output openaiApiKey() { - return this.openaiApiKey; + public Optional> openaiApiKey() { + return Optional.ofNullable(this.openaiApiKey); } @Import(name="openaiApiType") @@ -61,6 +81,9 @@ public Optional> openaiOrganization() { private ModelServingConfigServedEntityExternalModelOpenaiConfigArgs() {} private ModelServingConfigServedEntityExternalModelOpenaiConfigArgs(ModelServingConfigServedEntityExternalModelOpenaiConfigArgs $) { + this.microsoftEntraClientId = $.microsoftEntraClientId; + this.microsoftEntraClientSecret = $.microsoftEntraClientSecret; + this.microsoftEntraTenantId = $.microsoftEntraTenantId; this.openaiApiBase = $.openaiApiBase; this.openaiApiKey = $.openaiApiKey; this.openaiApiType = $.openaiApiType; @@ -87,6 +110,33 @@ public Builder(ModelServingConfigServedEntityExternalModelOpenaiConfigArgs defau $ = new ModelServingConfigServedEntityExternalModelOpenaiConfigArgs(Objects.requireNonNull(defaults)); } + public Builder microsoftEntraClientId(@Nullable Output microsoftEntraClientId) { + $.microsoftEntraClientId = microsoftEntraClientId; + return this; + } + + public Builder microsoftEntraClientId(String microsoftEntraClientId) { + return microsoftEntraClientId(Output.of(microsoftEntraClientId)); + } + + public Builder microsoftEntraClientSecret(@Nullable Output microsoftEntraClientSecret) { + $.microsoftEntraClientSecret = microsoftEntraClientSecret; + return this; + } + + public Builder microsoftEntraClientSecret(String microsoftEntraClientSecret) { + return microsoftEntraClientSecret(Output.of(microsoftEntraClientSecret)); + } + + public Builder microsoftEntraTenantId(@Nullable Output microsoftEntraTenantId) { + $.microsoftEntraTenantId = microsoftEntraTenantId; + return this; + } + + public Builder microsoftEntraTenantId(String microsoftEntraTenantId) { + return microsoftEntraTenantId(Output.of(microsoftEntraTenantId)); + } + public Builder openaiApiBase(@Nullable Output openaiApiBase) { $.openaiApiBase = openaiApiBase; return this; @@ -96,7 +146,7 @@ public Builder openaiApiBase(String openaiApiBase) { return openaiApiBase(Output.of(openaiApiBase)); } - public Builder openaiApiKey(Output openaiApiKey) { + public Builder openaiApiKey(@Nullable Output openaiApiKey) { $.openaiApiKey = openaiApiKey; return this; } @@ -142,9 +192,6 @@ public Builder openaiOrganization(String 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/ModelServingState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingState.java index 51439b38..ba172f79 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 @@ -8,6 +8,7 @@ import com.pulumi.databricks.inputs.ModelServingConfigArgs; import com.pulumi.databricks.inputs.ModelServingRateLimitArgs; import com.pulumi.databricks.inputs.ModelServingTagArgs; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -64,6 +65,21 @@ public Optional>> rateLimits() { return Optional.ofNullable(this.rateLimits); } + /** + * A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + * + */ + @Import(name="routeOptimized") + private @Nullable Output routeOptimized; + + /** + * @return A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + * + */ + public Optional> routeOptimized() { + return Optional.ofNullable(this.routeOptimized); + } + /** * Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. * @@ -100,6 +116,7 @@ private ModelServingState(ModelServingState $) { this.config = $.config; this.name = $.name; this.rateLimits = $.rateLimits; + this.routeOptimized = $.routeOptimized; this.servingEndpointId = $.servingEndpointId; this.tags = $.tags; } @@ -195,6 +212,27 @@ public Builder rateLimits(ModelServingRateLimitArgs... rateLimits) { return rateLimits(List.of(rateLimits)); } + /** + * @param routeOptimized A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + * + * @return builder + * + */ + public Builder routeOptimized(@Nullable Output routeOptimized) { + $.routeOptimized = routeOptimized; + return this; + } + + /** + * @param routeOptimized A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + * + * @return builder + * + */ + public Builder routeOptimized(Boolean routeOptimized) { + return routeOptimized(Output.of(routeOptimized)); + } + /** * @param servingEndpointId Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorCustomMetricArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorCustomMetricArgs.java new file mode 100644 index 00000000..87036a96 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorCustomMetricArgs.java @@ -0,0 +1,256 @@ +// *** WARNING: this file was 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.List; +import java.util.Objects; + + +public final class QualityMonitorCustomMetricArgs extends com.pulumi.resources.ResourceArgs { + + public static final QualityMonitorCustomMetricArgs Empty = new QualityMonitorCustomMetricArgs(); + + /** + * [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + * + */ + @Import(name="definition", required=true) + private Output definition; + + /** + * @return [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + * + */ + public Output definition() { + return this.definition; + } + + /** + * Columns on the monitored table to apply the custom metrics to. + * + */ + @Import(name="inputColumns", required=true) + private Output> inputColumns; + + /** + * @return Columns on the monitored table to apply the custom metrics to. + * + */ + public Output> inputColumns() { + return this.inputColumns; + } + + /** + * Name of the custom metric. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Name of the custom metric. + * + */ + public Output name() { + return this.name; + } + + /** + * The output type of the custom metric. + * + */ + @Import(name="outputDataType", required=true) + private Output outputDataType; + + /** + * @return The output type of the custom metric. + * + */ + public Output outputDataType() { + return this.outputDataType; + } + + /** + * The type of the custom metric. + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return The type of the custom metric. + * + */ + public Output type() { + return this.type; + } + + private QualityMonitorCustomMetricArgs() {} + + private QualityMonitorCustomMetricArgs(QualityMonitorCustomMetricArgs $) { + 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(QualityMonitorCustomMetricArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private QualityMonitorCustomMetricArgs $; + + public Builder() { + $ = new QualityMonitorCustomMetricArgs(); + } + + public Builder(QualityMonitorCustomMetricArgs defaults) { + $ = new QualityMonitorCustomMetricArgs(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(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(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(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(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(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 QualityMonitorCustomMetricArgs build() { + if ($.definition == null) { + throw new MissingRequiredPropertyException("QualityMonitorCustomMetricArgs", "definition"); + } + if ($.inputColumns == null) { + throw new MissingRequiredPropertyException("QualityMonitorCustomMetricArgs", "inputColumns"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("QualityMonitorCustomMetricArgs", "name"); + } + if ($.outputDataType == null) { + throw new MissingRequiredPropertyException("QualityMonitorCustomMetricArgs", "outputDataType"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("QualityMonitorCustomMetricArgs", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorDataClassificationConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorDataClassificationConfigArgs.java new file mode 100644 index 00000000..65c79f07 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorDataClassificationConfigArgs.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 QualityMonitorDataClassificationConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final QualityMonitorDataClassificationConfigArgs Empty = new QualityMonitorDataClassificationConfigArgs(); + + @Import(name="enabled") + private @Nullable Output enabled; + + public Optional> enabled() { + return Optional.ofNullable(this.enabled); + } + + private QualityMonitorDataClassificationConfigArgs() {} + + private QualityMonitorDataClassificationConfigArgs(QualityMonitorDataClassificationConfigArgs $) { + this.enabled = $.enabled; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(QualityMonitorDataClassificationConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private QualityMonitorDataClassificationConfigArgs $; + + public Builder() { + $ = new QualityMonitorDataClassificationConfigArgs(); + } + + public Builder(QualityMonitorDataClassificationConfigArgs defaults) { + $ = new QualityMonitorDataClassificationConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder enabled(@Nullable Output enabled) { + $.enabled = enabled; + return this; + } + + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + public QualityMonitorDataClassificationConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorInferenceLogArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorInferenceLogArgs.java new file mode 100644 index 00000000..50a4994b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorInferenceLogArgs.java @@ -0,0 +1,332 @@ +// *** WARNING: this file was 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.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class QualityMonitorInferenceLogArgs extends com.pulumi.resources.ResourceArgs { + + public static final QualityMonitorInferenceLogArgs Empty = new QualityMonitorInferenceLogArgs(); + + /** + * List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + @Import(name="granularities", required=true) + private Output> granularities; + + /** + * @return List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + public Output> granularities() { + return 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", required=true) + private Output modelIdCol; + + /** + * @return Column of the model id or version + * + */ + public Output modelIdCol() { + return this.modelIdCol; + } + + /** + * Column of the model prediction + * + */ + @Import(name="predictionCol", required=true) + private Output predictionCol; + + /** + * @return Column of the model prediction + * + */ + public Output predictionCol() { + return 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", required=true) + private Output problemType; + + /** + * @return Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + * + */ + public Output problemType() { + return this.problemType; + } + + /** + * Column of the timestamp of predictions + * + */ + @Import(name="timestampCol", required=true) + private Output timestampCol; + + /** + * @return Column of the timestamp of predictions + * + */ + public Output timestampCol() { + return this.timestampCol; + } + + private QualityMonitorInferenceLogArgs() {} + + private QualityMonitorInferenceLogArgs(QualityMonitorInferenceLogArgs $) { + 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(QualityMonitorInferenceLogArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private QualityMonitorInferenceLogArgs $; + + public Builder() { + $ = new QualityMonitorInferenceLogArgs(); + } + + public Builder(QualityMonitorInferenceLogArgs defaults) { + $ = new QualityMonitorInferenceLogArgs(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(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(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(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(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(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 QualityMonitorInferenceLogArgs build() { + if ($.granularities == null) { + throw new MissingRequiredPropertyException("QualityMonitorInferenceLogArgs", "granularities"); + } + if ($.modelIdCol == null) { + throw new MissingRequiredPropertyException("QualityMonitorInferenceLogArgs", "modelIdCol"); + } + if ($.predictionCol == null) { + throw new MissingRequiredPropertyException("QualityMonitorInferenceLogArgs", "predictionCol"); + } + if ($.problemType == null) { + throw new MissingRequiredPropertyException("QualityMonitorInferenceLogArgs", "problemType"); + } + if ($.timestampCol == null) { + throw new MissingRequiredPropertyException("QualityMonitorInferenceLogArgs", "timestampCol"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorNotificationsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorNotificationsArgs.java new file mode 100644 index 00000000..0e230416 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorNotificationsArgs.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.QualityMonitorNotificationsOnFailureArgs; +import com.pulumi.databricks.inputs.QualityMonitorNotificationsOnNewClassificationTagDetectedArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class QualityMonitorNotificationsArgs extends com.pulumi.resources.ResourceArgs { + + public static final QualityMonitorNotificationsArgs Empty = new QualityMonitorNotificationsArgs(); + + /** + * who to send notifications to on monitor failure. + * + */ + @Import(name="onFailure") + private @Nullable Output onFailure; + + /** + * @return who to send notifications to on monitor failure. + * + */ + public Optional> onFailure() { + return Optional.ofNullable(this.onFailure); + } + + /** + * Who to send notifications to when new data classification tags are detected. + * + */ + @Import(name="onNewClassificationTagDetected") + private @Nullable Output onNewClassificationTagDetected; + + /** + * @return Who to send notifications to when new data classification tags are detected. + * + */ + public Optional> onNewClassificationTagDetected() { + return Optional.ofNullable(this.onNewClassificationTagDetected); + } + + private QualityMonitorNotificationsArgs() {} + + private QualityMonitorNotificationsArgs(QualityMonitorNotificationsArgs $) { + this.onFailure = $.onFailure; + this.onNewClassificationTagDetected = $.onNewClassificationTagDetected; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(QualityMonitorNotificationsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private QualityMonitorNotificationsArgs $; + + public Builder() { + $ = new QualityMonitorNotificationsArgs(); + } + + public Builder(QualityMonitorNotificationsArgs defaults) { + $ = new QualityMonitorNotificationsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param onFailure who to send notifications to on monitor failure. + * + * @return builder + * + */ + public Builder onFailure(@Nullable Output onFailure) { + $.onFailure = onFailure; + return this; + } + + /** + * @param onFailure who to send notifications to on monitor failure. + * + * @return builder + * + */ + public Builder onFailure(QualityMonitorNotificationsOnFailureArgs onFailure) { + return onFailure(Output.of(onFailure)); + } + + /** + * @param onNewClassificationTagDetected Who to send notifications to when new data classification tags are detected. + * + * @return builder + * + */ + public Builder onNewClassificationTagDetected(@Nullable Output onNewClassificationTagDetected) { + $.onNewClassificationTagDetected = onNewClassificationTagDetected; + return this; + } + + /** + * @param onNewClassificationTagDetected Who to send notifications to when new data classification tags are detected. + * + * @return builder + * + */ + public Builder onNewClassificationTagDetected(QualityMonitorNotificationsOnNewClassificationTagDetectedArgs onNewClassificationTagDetected) { + return onNewClassificationTagDetected(Output.of(onNewClassificationTagDetected)); + } + + public QualityMonitorNotificationsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorNotificationsOnFailureArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorNotificationsOnFailureArgs.java new file mode 100644 index 00000000..2478f1f7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorNotificationsOnFailureArgs.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 QualityMonitorNotificationsOnFailureArgs extends com.pulumi.resources.ResourceArgs { + + public static final QualityMonitorNotificationsOnFailureArgs Empty = new QualityMonitorNotificationsOnFailureArgs(); + + @Import(name="emailAddresses") + private @Nullable Output> emailAddresses; + + public Optional>> emailAddresses() { + return Optional.ofNullable(this.emailAddresses); + } + + private QualityMonitorNotificationsOnFailureArgs() {} + + private QualityMonitorNotificationsOnFailureArgs(QualityMonitorNotificationsOnFailureArgs $) { + this.emailAddresses = $.emailAddresses; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(QualityMonitorNotificationsOnFailureArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private QualityMonitorNotificationsOnFailureArgs $; + + public Builder() { + $ = new QualityMonitorNotificationsOnFailureArgs(); + } + + public Builder(QualityMonitorNotificationsOnFailureArgs defaults) { + $ = new QualityMonitorNotificationsOnFailureArgs(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 QualityMonitorNotificationsOnFailureArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorNotificationsOnNewClassificationTagDetectedArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorNotificationsOnNewClassificationTagDetectedArgs.java new file mode 100644 index 00000000..566031ef --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorNotificationsOnNewClassificationTagDetectedArgs.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 QualityMonitorNotificationsOnNewClassificationTagDetectedArgs extends com.pulumi.resources.ResourceArgs { + + public static final QualityMonitorNotificationsOnNewClassificationTagDetectedArgs Empty = new QualityMonitorNotificationsOnNewClassificationTagDetectedArgs(); + + @Import(name="emailAddresses") + private @Nullable Output> emailAddresses; + + public Optional>> emailAddresses() { + return Optional.ofNullable(this.emailAddresses); + } + + private QualityMonitorNotificationsOnNewClassificationTagDetectedArgs() {} + + private QualityMonitorNotificationsOnNewClassificationTagDetectedArgs(QualityMonitorNotificationsOnNewClassificationTagDetectedArgs $) { + this.emailAddresses = $.emailAddresses; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(QualityMonitorNotificationsOnNewClassificationTagDetectedArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private QualityMonitorNotificationsOnNewClassificationTagDetectedArgs $; + + public Builder() { + $ = new QualityMonitorNotificationsOnNewClassificationTagDetectedArgs(); + } + + public Builder(QualityMonitorNotificationsOnNewClassificationTagDetectedArgs defaults) { + $ = new QualityMonitorNotificationsOnNewClassificationTagDetectedArgs(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 QualityMonitorNotificationsOnNewClassificationTagDetectedArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorScheduleArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorScheduleArgs.java new file mode 100644 index 00000000..64cfa212 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorScheduleArgs.java @@ -0,0 +1,164 @@ +// *** WARNING: this file was 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 QualityMonitorScheduleArgs extends com.pulumi.resources.ResourceArgs { + + public static final QualityMonitorScheduleArgs Empty = new QualityMonitorScheduleArgs(); + + /** + * optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + * + */ + @Import(name="pauseStatus") + private @Nullable Output pauseStatus; + + /** + * @return optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + * + */ + public Optional> pauseStatus() { + return Optional.ofNullable(this.pauseStatus); + } + + /** + * string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + * + */ + @Import(name="quartzCronExpression", required=true) + private Output quartzCronExpression; + + /** + * @return string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + * + */ + public Output quartzCronExpression() { + return this.quartzCronExpression; + } + + /** + * string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + * + */ + @Import(name="timezoneId", required=true) + private Output timezoneId; + + /** + * @return string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + * + */ + public Output timezoneId() { + return this.timezoneId; + } + + private QualityMonitorScheduleArgs() {} + + private QualityMonitorScheduleArgs(QualityMonitorScheduleArgs $) { + this.pauseStatus = $.pauseStatus; + this.quartzCronExpression = $.quartzCronExpression; + this.timezoneId = $.timezoneId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(QualityMonitorScheduleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private QualityMonitorScheduleArgs $; + + public Builder() { + $ = new QualityMonitorScheduleArgs(); + } + + public Builder(QualityMonitorScheduleArgs defaults) { + $ = new QualityMonitorScheduleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param pauseStatus optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + * + * @return builder + * + */ + public Builder pauseStatus(@Nullable Output pauseStatus) { + $.pauseStatus = pauseStatus; + return this; + } + + /** + * @param pauseStatus optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + * + * @return builder + * + */ + public Builder pauseStatus(String pauseStatus) { + return pauseStatus(Output.of(pauseStatus)); + } + + /** + * @param quartzCronExpression string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + * + * @return builder + * + */ + public Builder quartzCronExpression(Output quartzCronExpression) { + $.quartzCronExpression = quartzCronExpression; + return this; + } + + /** + * @param quartzCronExpression string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + * + * @return builder + * + */ + public Builder quartzCronExpression(String quartzCronExpression) { + return quartzCronExpression(Output.of(quartzCronExpression)); + } + + /** + * @param timezoneId string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + * + * @return builder + * + */ + public Builder timezoneId(Output timezoneId) { + $.timezoneId = timezoneId; + return this; + } + + /** + * @param timezoneId string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + * + * @return builder + * + */ + public Builder timezoneId(String timezoneId) { + return timezoneId(Output.of(timezoneId)); + } + + public QualityMonitorScheduleArgs build() { + if ($.quartzCronExpression == null) { + throw new MissingRequiredPropertyException("QualityMonitorScheduleArgs", "quartzCronExpression"); + } + if ($.timezoneId == null) { + throw new MissingRequiredPropertyException("QualityMonitorScheduleArgs", "timezoneId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorSnapshotArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorSnapshotArgs.java new file mode 100644 index 00000000..3197eae8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorSnapshotArgs.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 QualityMonitorSnapshotArgs extends com.pulumi.resources.ResourceArgs { + + public static final QualityMonitorSnapshotArgs Empty = new QualityMonitorSnapshotArgs(); + + public static Builder builder() { + return new Builder(); + } + + public static final class Builder { + private QualityMonitorSnapshotArgs $; + + public Builder() { + $ = new QualityMonitorSnapshotArgs(); + } + public QualityMonitorSnapshotArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorState.java new file mode 100644 index 00000000..3cbbf6b6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorState.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.QualityMonitorCustomMetricArgs; +import com.pulumi.databricks.inputs.QualityMonitorDataClassificationConfigArgs; +import com.pulumi.databricks.inputs.QualityMonitorInferenceLogArgs; +import com.pulumi.databricks.inputs.QualityMonitorNotificationsArgs; +import com.pulumi.databricks.inputs.QualityMonitorScheduleArgs; +import com.pulumi.databricks.inputs.QualityMonitorSnapshotArgs; +import com.pulumi.databricks.inputs.QualityMonitorTimeSeriesArgs; +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 QualityMonitorState extends com.pulumi.resources.ResourceArgs { + + public static final QualityMonitorState Empty = new QualityMonitorState(); + + /** + * 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. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + * + */ + @Import(name="notifications") + private @Nullable Output notifications; + + /** + * @return The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + * + */ + 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. This block consists of following fields: + * + */ + @Import(name="schedule") + private @Nullable Output schedule; + + /** + * @return The schedule for automatically updating and refreshing metric tables. This block consists of following fields: + * + */ + 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 QualityMonitorState() {} + + private QualityMonitorState(QualityMonitorState $) { + 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(QualityMonitorState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private QualityMonitorState $; + + public Builder() { + $ = new QualityMonitorState(); + } + + public Builder(QualityMonitorState defaults) { + $ = new QualityMonitorState(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(QualityMonitorCustomMetricArgs... 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(QualityMonitorDataClassificationConfigArgs 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(QualityMonitorInferenceLogArgs 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. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + * + * @return builder + * + */ + public Builder notifications(@Nullable Output notifications) { + $.notifications = notifications; + return this; + } + + /** + * @param notifications The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + * + * @return builder + * + */ + public Builder notifications(QualityMonitorNotificationsArgs 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. This block consists of following fields: + * + * @return builder + * + */ + public Builder schedule(@Nullable Output schedule) { + $.schedule = schedule; + return this; + } + + /** + * @param schedule The schedule for automatically updating and refreshing metric tables. This block consists of following fields: + * + * @return builder + * + */ + public Builder schedule(QualityMonitorScheduleArgs 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(QualityMonitorSnapshotArgs 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(QualityMonitorTimeSeriesArgs 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 QualityMonitorState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorTimeSeriesArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorTimeSeriesArgs.java new file mode 100644 index 00000000..aab52086 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QualityMonitorTimeSeriesArgs.java @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class QualityMonitorTimeSeriesArgs extends com.pulumi.resources.ResourceArgs { + + public static final QualityMonitorTimeSeriesArgs Empty = new QualityMonitorTimeSeriesArgs(); + + /** + * List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + @Import(name="granularities", required=true) + private Output> granularities; + + /** + * @return List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + public Output> granularities() { + return this.granularities; + } + + /** + * Column of the timestamp of predictions + * + */ + @Import(name="timestampCol", required=true) + private Output timestampCol; + + /** + * @return Column of the timestamp of predictions + * + */ + public Output timestampCol() { + return this.timestampCol; + } + + private QualityMonitorTimeSeriesArgs() {} + + private QualityMonitorTimeSeriesArgs(QualityMonitorTimeSeriesArgs $) { + this.granularities = $.granularities; + this.timestampCol = $.timestampCol; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(QualityMonitorTimeSeriesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private QualityMonitorTimeSeriesArgs $; + + public Builder() { + $ = new QualityMonitorTimeSeriesArgs(); + } + + public Builder(QualityMonitorTimeSeriesArgs defaults) { + $ = new QualityMonitorTimeSeriesArgs(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(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(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 QualityMonitorTimeSeriesArgs build() { + if ($.granularities == null) { + throw new MissingRequiredPropertyException("QualityMonitorTimeSeriesArgs", "granularities"); + } + if ($.timestampCol == null) { + throw new MissingRequiredPropertyException("QualityMonitorTimeSeriesArgs", "timestampCol"); + } + return $; + } + } + +} 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 index e2d9b69e..1471a945 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDeltaSyncIndexSpecArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDeltaSyncIndexSpecArgs.java @@ -40,6 +40,13 @@ public Optional embeddingWritebackTable; + + public Optional> embeddingWritebackTable() { + return Optional.ofNullable(this.embeddingWritebackTable); + } + /** * ID of the associated Delta Live Table pipeline. * @@ -82,6 +89,7 @@ private VectorSearchIndexDeltaSyncIndexSpecArgs() {} private VectorSearchIndexDeltaSyncIndexSpecArgs(VectorSearchIndexDeltaSyncIndexSpecArgs $) { this.embeddingSourceColumns = $.embeddingSourceColumns; this.embeddingVectorColumns = $.embeddingVectorColumns; + this.embeddingWritebackTable = $.embeddingWritebackTable; this.pipelineId = $.pipelineId; this.pipelineType = $.pipelineType; this.sourceTable = $.sourceTable; @@ -149,6 +157,15 @@ public Builder embeddingVectorColumns(VectorSearchIndexDeltaSyncIndexSpecEmbeddi return embeddingVectorColumns(List.of(embeddingVectorColumns)); } + public Builder embeddingWritebackTable(@Nullable Output embeddingWritebackTable) { + $.embeddingWritebackTable = embeddingWritebackTable; + return this; + } + + public Builder embeddingWritebackTable(String embeddingWritebackTable) { + return embeddingWritebackTable(Output.of(embeddingWritebackTable)); + } + /** * @param pipelineId ID of the associated Delta Live Table pipeline. * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace.java new file mode 100644 index 00000000..5be9fb5d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace.java @@ -0,0 +1,103 @@ +// *** WARNING: this file was 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.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails; +import com.pulumi.databricks.outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace { + private @Nullable Boolean canToggle; + private @Nullable Boolean enabled; + private @Nullable AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails enablementDetails; + private @Nullable AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow maintenanceWindow; + private @Nullable Boolean restartEvenIfNoUpdatesAvailable; + + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace() {} + public Optional canToggle() { + return Optional.ofNullable(this.canToggle); + } + public Optional enabled() { + return Optional.ofNullable(this.enabled); + } + public Optional enablementDetails() { + return Optional.ofNullable(this.enablementDetails); + } + public Optional maintenanceWindow() { + return Optional.ofNullable(this.maintenanceWindow); + } + public Optional restartEvenIfNoUpdatesAvailable() { + return Optional.ofNullable(this.restartEvenIfNoUpdatesAvailable); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean canToggle; + private @Nullable Boolean enabled; + private @Nullable AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails enablementDetails; + private @Nullable AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow maintenanceWindow; + private @Nullable Boolean restartEvenIfNoUpdatesAvailable; + public Builder() {} + public Builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace defaults) { + Objects.requireNonNull(defaults); + this.canToggle = defaults.canToggle; + this.enabled = defaults.enabled; + this.enablementDetails = defaults.enablementDetails; + this.maintenanceWindow = defaults.maintenanceWindow; + this.restartEvenIfNoUpdatesAvailable = defaults.restartEvenIfNoUpdatesAvailable; + } + + @CustomType.Setter + public Builder canToggle(@Nullable Boolean canToggle) { + + this.canToggle = canToggle; + return this; + } + @CustomType.Setter + public Builder enabled(@Nullable Boolean enabled) { + + this.enabled = enabled; + return this; + } + @CustomType.Setter + public Builder enablementDetails(@Nullable AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails enablementDetails) { + + this.enablementDetails = enablementDetails; + return this; + } + @CustomType.Setter + public Builder maintenanceWindow(@Nullable AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow maintenanceWindow) { + + this.maintenanceWindow = maintenanceWindow; + return this; + } + @CustomType.Setter + public Builder restartEvenIfNoUpdatesAvailable(@Nullable Boolean restartEvenIfNoUpdatesAvailable) { + + this.restartEvenIfNoUpdatesAvailable = restartEvenIfNoUpdatesAvailable; + return this; + } + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace build() { + final var _resultValue = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace(); + _resultValue.canToggle = canToggle; + _resultValue.enabled = enabled; + _resultValue.enablementDetails = enablementDetails; + _resultValue.maintenanceWindow = maintenanceWindow; + _resultValue.restartEvenIfNoUpdatesAvailable = restartEvenIfNoUpdatesAvailable; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails.java new file mode 100644 index 00000000..0517c9fb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails.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.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails { + private @Nullable Boolean forcedForComplianceMode; + private @Nullable Boolean unavailableForDisabledEntitlement; + private @Nullable Boolean unavailableForNonEnterpriseTier; + + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails() {} + public Optional forcedForComplianceMode() { + return Optional.ofNullable(this.forcedForComplianceMode); + } + public Optional unavailableForDisabledEntitlement() { + return Optional.ofNullable(this.unavailableForDisabledEntitlement); + } + public Optional unavailableForNonEnterpriseTier() { + return Optional.ofNullable(this.unavailableForNonEnterpriseTier); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean forcedForComplianceMode; + private @Nullable Boolean unavailableForDisabledEntitlement; + private @Nullable Boolean unavailableForNonEnterpriseTier; + public Builder() {} + public Builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails defaults) { + Objects.requireNonNull(defaults); + this.forcedForComplianceMode = defaults.forcedForComplianceMode; + this.unavailableForDisabledEntitlement = defaults.unavailableForDisabledEntitlement; + this.unavailableForNonEnterpriseTier = defaults.unavailableForNonEnterpriseTier; + } + + @CustomType.Setter + public Builder forcedForComplianceMode(@Nullable Boolean forcedForComplianceMode) { + + this.forcedForComplianceMode = forcedForComplianceMode; + return this; + } + @CustomType.Setter + public Builder unavailableForDisabledEntitlement(@Nullable Boolean unavailableForDisabledEntitlement) { + + this.unavailableForDisabledEntitlement = unavailableForDisabledEntitlement; + return this; + } + @CustomType.Setter + public Builder unavailableForNonEnterpriseTier(@Nullable Boolean unavailableForNonEnterpriseTier) { + + this.unavailableForNonEnterpriseTier = unavailableForNonEnterpriseTier; + return this; + } + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails build() { + final var _resultValue = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails(); + _resultValue.forcedForComplianceMode = forcedForComplianceMode; + _resultValue.unavailableForDisabledEntitlement = unavailableForDisabledEntitlement; + _resultValue.unavailableForNonEnterpriseTier = unavailableForNonEnterpriseTier; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow.java new file mode 100644 index 00000000..e9081988 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow.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.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow { + private @Nullable AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule weekDayBasedSchedule; + + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow() {} + public Optional weekDayBasedSchedule() { + return Optional.ofNullable(this.weekDayBasedSchedule); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule weekDayBasedSchedule; + public Builder() {} + public Builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow defaults) { + Objects.requireNonNull(defaults); + this.weekDayBasedSchedule = defaults.weekDayBasedSchedule; + } + + @CustomType.Setter + public Builder weekDayBasedSchedule(@Nullable AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule weekDayBasedSchedule) { + + this.weekDayBasedSchedule = weekDayBasedSchedule; + return this; + } + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow build() { + final var _resultValue = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow(); + _resultValue.weekDayBasedSchedule = weekDayBasedSchedule; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule.java new file mode 100644 index 00000000..75e777b3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule.java @@ -0,0 +1,76 @@ +// *** WARNING: this file was 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.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule { + private @Nullable String dayOfWeek; + private @Nullable String frequency; + private @Nullable AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime windowStartTime; + + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule() {} + public Optional dayOfWeek() { + return Optional.ofNullable(this.dayOfWeek); + } + public Optional frequency() { + return Optional.ofNullable(this.frequency); + } + public Optional windowStartTime() { + return Optional.ofNullable(this.windowStartTime); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String dayOfWeek; + private @Nullable String frequency; + private @Nullable AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime windowStartTime; + public Builder() {} + public Builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule defaults) { + Objects.requireNonNull(defaults); + this.dayOfWeek = defaults.dayOfWeek; + this.frequency = defaults.frequency; + this.windowStartTime = defaults.windowStartTime; + } + + @CustomType.Setter + public Builder dayOfWeek(@Nullable String dayOfWeek) { + + this.dayOfWeek = dayOfWeek; + return this; + } + @CustomType.Setter + public Builder frequency(@Nullable String frequency) { + + this.frequency = frequency; + return this; + } + @CustomType.Setter + public Builder windowStartTime(@Nullable AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime windowStartTime) { + + this.windowStartTime = windowStartTime; + return this; + } + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule build() { + final var _resultValue = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule(); + _resultValue.dayOfWeek = dayOfWeek; + _resultValue.frequency = frequency; + _resultValue.windowStartTime = windowStartTime; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime.java new file mode 100644 index 00000000..fea99ab7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime { + private @Nullable Integer hours; + private @Nullable Integer minutes; + + private AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime() {} + public Optional hours() { + return Optional.ofNullable(this.hours); + } + public Optional minutes() { + return Optional.ofNullable(this.minutes); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Integer hours; + private @Nullable Integer minutes; + public Builder() {} + public Builder(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime defaults) { + Objects.requireNonNull(defaults); + this.hours = defaults.hours; + this.minutes = defaults.minutes; + } + + @CustomType.Setter + public Builder hours(@Nullable Integer hours) { + + this.hours = hours; + return this; + } + @CustomType.Setter + public Builder minutes(@Nullable Integer minutes) { + + this.minutes = minutes; + return this; + } + public AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime build() { + final var _resultValue = new AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime(); + _resultValue.hours = hours; + _resultValue.minutes = minutes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ClusterCloneFrom.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ClusterCloneFrom.java deleted file mode 100644 index 978f1da1..00000000 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ClusterCloneFrom.java +++ /dev/null @@ -1,50 +0,0 @@ -// *** WARNING: this file was generated by pulumi-java-gen. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package com.pulumi.databricks.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class ClusterCloneFrom { - private String sourceClusterId; - - private ClusterCloneFrom() {} - public String sourceClusterId() { - return this.sourceClusterId; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(ClusterCloneFrom defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String sourceClusterId; - public Builder() {} - public Builder(ClusterCloneFrom defaults) { - Objects.requireNonNull(defaults); - this.sourceClusterId = defaults.sourceClusterId; - } - - @CustomType.Setter - public Builder sourceClusterId(String sourceClusterId) { - if (sourceClusterId == null) { - throw new MissingRequiredPropertyException("ClusterCloneFrom", "sourceClusterId"); - } - this.sourceClusterId = sourceClusterId; - return this; - } - public ClusterCloneFrom build() { - final var _resultValue = new ClusterCloneFrom(); - _resultValue.sourceClusterId = sourceClusterId; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace.java new file mode 100644 index 00000000..2e379b2e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace.java @@ -0,0 +1,67 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace { + private @Nullable List complianceStandards; + private @Nullable Boolean isEnabled; + + private ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace() {} + public List complianceStandards() { + return this.complianceStandards == null ? List.of() : this.complianceStandards; + } + public Optional isEnabled() { + return Optional.ofNullable(this.isEnabled); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List complianceStandards; + private @Nullable Boolean isEnabled; + public Builder() {} + public Builder(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace defaults) { + Objects.requireNonNull(defaults); + this.complianceStandards = defaults.complianceStandards; + this.isEnabled = defaults.isEnabled; + } + + @CustomType.Setter + public Builder complianceStandards(@Nullable List complianceStandards) { + + this.complianceStandards = complianceStandards; + return this; + } + public Builder complianceStandards(String... complianceStandards) { + return complianceStandards(List.of(complianceStandards)); + } + @CustomType.Setter + public Builder isEnabled(@Nullable Boolean isEnabled) { + + this.isEnabled = isEnabled; + return this; + } + public ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace build() { + final var _resultValue = new ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace(); + _resultValue.complianceStandards = complianceStandards; + _resultValue.isEnabled = isEnabled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace.java new file mode 100644 index 00000000..d4c17503 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace.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 EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace { + private @Nullable Boolean isEnabled; + + private EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace() {} + public Optional isEnabled() { + return Optional.ofNullable(this.isEnabled); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean isEnabled; + public Builder() {} + public Builder(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace defaults) { + Objects.requireNonNull(defaults); + this.isEnabled = defaults.isEnabled; + } + + @CustomType.Setter + public Builder isEnabled(@Nullable Boolean isEnabled) { + + this.isEnabled = isEnabled; + return this; + } + public EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace build() { + final var _resultValue = new EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace(); + _resultValue.isEnabled = isEnabled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetExternalLocationExternalLocationInfo.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetExternalLocationExternalLocationInfo.java index acf35391..f53214bd 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetExternalLocationExternalLocationInfo.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetExternalLocationExternalLocationInfo.java @@ -25,8 +25,20 @@ public final class GetExternalLocationExternalLocationInfo { * */ private @Nullable String comment; + /** + * @return Time at which this catalog was created, in epoch milliseconds. + * + */ private @Nullable Integer createdAt; + /** + * @return Username of catalog creator. + * + */ private @Nullable String createdBy; + /** + * @return Unique ID of storage credential. + * + */ private @Nullable String credentialId; /** * @return Name of the databricks.StorageCredential to use with this external location. @@ -38,9 +50,13 @@ public final class GetExternalLocationExternalLocationInfo { * */ private @Nullable GetExternalLocationExternalLocationInfoEncryptionDetails encryptionDetails; + /** + * @return Unique identifier of the parent Metastore. + * + */ private @Nullable String metastoreId; /** - * @return The name of the storage credential + * @return The name of the external location * */ private @Nullable String name; @@ -54,7 +70,15 @@ public final class GetExternalLocationExternalLocationInfo { * */ private @Nullable Boolean readOnly; + /** + * @return Time at which this catalog was last modified, in epoch milliseconds. + * + */ private @Nullable Integer updatedAt; + /** + * @return Username of user who last modified catalog. + * + */ private @Nullable String updatedBy; /** * @return Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]{@literal @}[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). @@ -80,12 +104,24 @@ public Optional browseOnly() { public Optional comment() { return Optional.ofNullable(this.comment); } + /** + * @return Time at which this catalog was created, in epoch milliseconds. + * + */ public Optional createdAt() { return Optional.ofNullable(this.createdAt); } + /** + * @return Username of catalog creator. + * + */ public Optional createdBy() { return Optional.ofNullable(this.createdBy); } + /** + * @return Unique ID of storage credential. + * + */ public Optional credentialId() { return Optional.ofNullable(this.credentialId); } @@ -103,11 +139,15 @@ public Optional credentialName() { public Optional encryptionDetails() { return Optional.ofNullable(this.encryptionDetails); } + /** + * @return Unique identifier of the parent Metastore. + * + */ public Optional metastoreId() { return Optional.ofNullable(this.metastoreId); } /** - * @return The name of the storage credential + * @return The name of the external location * */ public Optional name() { @@ -127,9 +167,17 @@ public Optional owner() { public Optional readOnly() { return Optional.ofNullable(this.readOnly); } + /** + * @return Time at which this catalog was last modified, in epoch milliseconds. + * + */ public Optional updatedAt() { return Optional.ofNullable(this.updatedAt); } + /** + * @return Username of user who last modified catalog. + * + */ public Optional updatedBy() { return Optional.ofNullable(this.updatedBy); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetExternalLocationResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetExternalLocationResult.java index f0397c36..0c785203 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetExternalLocationResult.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetExternalLocationResult.java @@ -11,20 +11,28 @@ @CustomType public final class GetExternalLocationResult { + /** + * @return array of objects with information about external location: + * + */ private GetExternalLocationExternalLocationInfo externalLocationInfo; /** - * @return The provider-assigned unique ID for this managed resource. + * @return external location ID - same as name. * */ private String id; private String name; private GetExternalLocationResult() {} + /** + * @return array of objects with information about external location: + * + */ public GetExternalLocationExternalLocationInfo externalLocationInfo() { return this.externalLocationInfo; } /** - * @return The provider-assigned unique ID for this managed resource. + * @return external location ID - same as name. * */ public String id() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetStorageCredentialResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetStorageCredentialResult.java index 8f58c9c3..a1e5235a 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetStorageCredentialResult.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetStorageCredentialResult.java @@ -12,16 +12,20 @@ @CustomType public final class GetStorageCredentialResult { /** - * @return The provider-assigned unique ID for this managed resource. + * @return Unique ID of storage credential. * */ private String id; private String name; + /** + * @return array of objects with information about storage credential. + * + */ private GetStorageCredentialStorageCredentialInfo storageCredentialInfo; private GetStorageCredentialResult() {} /** - * @return The provider-assigned unique ID for this managed resource. + * @return Unique ID of storage credential. * */ public String id() { @@ -30,6 +34,10 @@ public String id() { public String name() { return this.name; } + /** + * @return array of objects with information about storage credential. + * + */ public GetStorageCredentialStorageCredentialInfo storageCredentialInfo() { return this.storageCredentialInfo; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetStorageCredentialStorageCredentialInfo.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetStorageCredentialStorageCredentialInfo.java index cf04c7a2..69190bfe 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetStorageCredentialStorageCredentialInfo.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetStorageCredentialStorageCredentialInfo.java @@ -18,14 +18,42 @@ @CustomType public final class GetStorageCredentialStorageCredentialInfo { + /** + * @return credential details for AWS: + * + */ private @Nullable GetStorageCredentialStorageCredentialInfoAwsIamRole awsIamRole; + /** + * @return managed identity credential details for Azure + * + */ private @Nullable GetStorageCredentialStorageCredentialInfoAzureManagedIdentity azureManagedIdentity; + /** + * @return service principal credential details for Azure: + * + */ private @Nullable GetStorageCredentialStorageCredentialInfoAzureServicePrincipal azureServicePrincipal; private @Nullable GetStorageCredentialStorageCredentialInfoCloudflareApiToken cloudflareApiToken; private @Nullable String comment; + /** + * @return Time at which this catalog was created, in epoch milliseconds. + * + */ private @Nullable Integer createdAt; + /** + * @return Username of catalog creator. + * + */ private @Nullable String createdBy; + /** + * @return credential details for GCP: + * + */ private @Nullable GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount databricksGcpServiceAccount; + /** + * @return Unique ID of storage credential. + * + */ private @Nullable String id; /** * @return Unique identifier of the parent Metastore. @@ -47,17 +75,37 @@ public final class GetStorageCredentialStorageCredentialInfo { * */ private @Nullable Boolean readOnly; + /** + * @return Time at which this catalog was last modified, in epoch milliseconds. + * + */ private @Nullable Integer updatedAt; + /** + * @return Username of user who last modified catalog. + * + */ private @Nullable String updatedBy; private @Nullable Boolean usedForManagedStorage; private GetStorageCredentialStorageCredentialInfo() {} + /** + * @return credential details for AWS: + * + */ public Optional awsIamRole() { return Optional.ofNullable(this.awsIamRole); } + /** + * @return managed identity credential details for Azure + * + */ public Optional azureManagedIdentity() { return Optional.ofNullable(this.azureManagedIdentity); } + /** + * @return service principal credential details for Azure: + * + */ public Optional azureServicePrincipal() { return Optional.ofNullable(this.azureServicePrincipal); } @@ -67,15 +115,31 @@ public Optional clo public Optional comment() { return Optional.ofNullable(this.comment); } + /** + * @return Time at which this catalog was created, in epoch milliseconds. + * + */ public Optional createdAt() { return Optional.ofNullable(this.createdAt); } + /** + * @return Username of catalog creator. + * + */ public Optional createdBy() { return Optional.ofNullable(this.createdBy); } + /** + * @return credential details for GCP: + * + */ public Optional databricksGcpServiceAccount() { return Optional.ofNullable(this.databricksGcpServiceAccount); } + /** + * @return Unique ID of storage credential. + * + */ public Optional id() { return Optional.ofNullable(this.id); } @@ -107,9 +171,17 @@ public Optional owner() { public Optional readOnly() { return Optional.ofNullable(this.readOnly); } + /** + * @return Time at which this catalog was last modified, in epoch milliseconds. + * + */ public Optional updatedAt() { return Optional.ofNullable(this.updatedAt); } + /** + * @return Username of user who last modified catalog. + * + */ public Optional updatedBy() { return Optional.ofNullable(this.updatedBy); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobJobClusterNewCluster.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobJobClusterNewCluster.java index 98e447e4..fdbd5602 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobJobClusterNewCluster.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobJobClusterNewCluster.java @@ -7,7 +7,6 @@ import com.pulumi.databricks.outputs.JobJobClusterNewClusterAutoscale; import com.pulumi.databricks.outputs.JobJobClusterNewClusterAwsAttributes; import com.pulumi.databricks.outputs.JobJobClusterNewClusterAzureAttributes; -import com.pulumi.databricks.outputs.JobJobClusterNewClusterCloneFrom; import com.pulumi.databricks.outputs.JobJobClusterNewClusterClusterLogConf; import com.pulumi.databricks.outputs.JobJobClusterNewClusterClusterMountInfo; import com.pulumi.databricks.outputs.JobJobClusterNewClusterDockerImage; @@ -33,7 +32,6 @@ public final class JobJobClusterNewCluster { private @Nullable Integer autoterminationMinutes; private @Nullable JobJobClusterNewClusterAwsAttributes awsAttributes; private @Nullable JobJobClusterNewClusterAzureAttributes azureAttributes; - private @Nullable JobJobClusterNewClusterCloneFrom cloneFrom; private @Nullable String clusterId; private @Nullable JobJobClusterNewClusterClusterLogConf clusterLogConf; private @Nullable List clusterMountInfos; @@ -81,9 +79,6 @@ public Optional awsAttributes() { public Optional azureAttributes() { return Optional.ofNullable(this.azureAttributes); } - public Optional cloneFrom() { - return Optional.ofNullable(this.cloneFrom); - } public Optional clusterId() { return Optional.ofNullable(this.clusterId); } @@ -181,7 +176,6 @@ public static final class Builder { private @Nullable Integer autoterminationMinutes; private @Nullable JobJobClusterNewClusterAwsAttributes awsAttributes; private @Nullable JobJobClusterNewClusterAzureAttributes azureAttributes; - private @Nullable JobJobClusterNewClusterCloneFrom cloneFrom; private @Nullable String clusterId; private @Nullable JobJobClusterNewClusterClusterLogConf clusterLogConf; private @Nullable List clusterMountInfos; @@ -216,7 +210,6 @@ public Builder(JobJobClusterNewCluster defaults) { this.autoterminationMinutes = defaults.autoterminationMinutes; this.awsAttributes = defaults.awsAttributes; this.azureAttributes = defaults.azureAttributes; - this.cloneFrom = defaults.cloneFrom; this.clusterId = defaults.clusterId; this.clusterLogConf = defaults.clusterLogConf; this.clusterMountInfos = defaults.clusterMountInfos; @@ -276,12 +269,6 @@ public Builder azureAttributes(@Nullable JobJobClusterNewClusterAzureAttributes return this; } @CustomType.Setter - public Builder cloneFrom(@Nullable JobJobClusterNewClusterCloneFrom cloneFrom) { - - this.cloneFrom = cloneFrom; - return this; - } - @CustomType.Setter public Builder clusterId(@Nullable String clusterId) { this.clusterId = clusterId; @@ -458,7 +445,6 @@ public JobJobClusterNewCluster build() { _resultValue.autoterminationMinutes = autoterminationMinutes; _resultValue.awsAttributes = awsAttributes; _resultValue.azureAttributes = azureAttributes; - _resultValue.cloneFrom = cloneFrom; _resultValue.clusterId = clusterId; _resultValue.clusterLogConf = clusterLogConf; _resultValue.clusterMountInfos = clusterMountInfos; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobJobClusterNewClusterCloneFrom.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobJobClusterNewClusterCloneFrom.java deleted file mode 100644 index ef746a57..00000000 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobJobClusterNewClusterCloneFrom.java +++ /dev/null @@ -1,50 +0,0 @@ -// *** WARNING: this file was generated by pulumi-java-gen. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package com.pulumi.databricks.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class JobJobClusterNewClusterCloneFrom { - private String sourceClusterId; - - private JobJobClusterNewClusterCloneFrom() {} - public String sourceClusterId() { - return this.sourceClusterId; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(JobJobClusterNewClusterCloneFrom defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String sourceClusterId; - public Builder() {} - public Builder(JobJobClusterNewClusterCloneFrom defaults) { - Objects.requireNonNull(defaults); - this.sourceClusterId = defaults.sourceClusterId; - } - - @CustomType.Setter - public Builder sourceClusterId(String sourceClusterId) { - if (sourceClusterId == null) { - throw new MissingRequiredPropertyException("JobJobClusterNewClusterCloneFrom", "sourceClusterId"); - } - this.sourceClusterId = sourceClusterId; - return this; - } - public JobJobClusterNewClusterCloneFrom build() { - final var _resultValue = new JobJobClusterNewClusterCloneFrom(); - _resultValue.sourceClusterId = sourceClusterId; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobNewCluster.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobNewCluster.java index d80004a6..f11c7311 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobNewCluster.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobNewCluster.java @@ -7,7 +7,6 @@ import com.pulumi.databricks.outputs.JobNewClusterAutoscale; import com.pulumi.databricks.outputs.JobNewClusterAwsAttributes; import com.pulumi.databricks.outputs.JobNewClusterAzureAttributes; -import com.pulumi.databricks.outputs.JobNewClusterCloneFrom; import com.pulumi.databricks.outputs.JobNewClusterClusterLogConf; import com.pulumi.databricks.outputs.JobNewClusterClusterMountInfo; import com.pulumi.databricks.outputs.JobNewClusterDockerImage; @@ -33,7 +32,6 @@ public final class JobNewCluster { private @Nullable Integer autoterminationMinutes; private @Nullable JobNewClusterAwsAttributes awsAttributes; private @Nullable JobNewClusterAzureAttributes azureAttributes; - private @Nullable JobNewClusterCloneFrom cloneFrom; private @Nullable String clusterId; private @Nullable JobNewClusterClusterLogConf clusterLogConf; private @Nullable List clusterMountInfos; @@ -81,9 +79,6 @@ public Optional awsAttributes() { public Optional azureAttributes() { return Optional.ofNullable(this.azureAttributes); } - public Optional cloneFrom() { - return Optional.ofNullable(this.cloneFrom); - } public Optional clusterId() { return Optional.ofNullable(this.clusterId); } @@ -181,7 +176,6 @@ public static final class Builder { private @Nullable Integer autoterminationMinutes; private @Nullable JobNewClusterAwsAttributes awsAttributes; private @Nullable JobNewClusterAzureAttributes azureAttributes; - private @Nullable JobNewClusterCloneFrom cloneFrom; private @Nullable String clusterId; private @Nullable JobNewClusterClusterLogConf clusterLogConf; private @Nullable List clusterMountInfos; @@ -216,7 +210,6 @@ public Builder(JobNewCluster defaults) { this.autoterminationMinutes = defaults.autoterminationMinutes; this.awsAttributes = defaults.awsAttributes; this.azureAttributes = defaults.azureAttributes; - this.cloneFrom = defaults.cloneFrom; this.clusterId = defaults.clusterId; this.clusterLogConf = defaults.clusterLogConf; this.clusterMountInfos = defaults.clusterMountInfos; @@ -276,12 +269,6 @@ public Builder azureAttributes(@Nullable JobNewClusterAzureAttributes azureAttri return this; } @CustomType.Setter - public Builder cloneFrom(@Nullable JobNewClusterCloneFrom cloneFrom) { - - this.cloneFrom = cloneFrom; - return this; - } - @CustomType.Setter public Builder clusterId(@Nullable String clusterId) { this.clusterId = clusterId; @@ -458,7 +445,6 @@ public JobNewCluster build() { _resultValue.autoterminationMinutes = autoterminationMinutes; _resultValue.awsAttributes = awsAttributes; _resultValue.azureAttributes = azureAttributes; - _resultValue.cloneFrom = cloneFrom; _resultValue.clusterId = clusterId; _resultValue.clusterLogConf = clusterLogConf; _resultValue.clusterMountInfos = clusterMountInfos; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobNewClusterCloneFrom.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobNewClusterCloneFrom.java deleted file mode 100644 index f3c4438f..00000000 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobNewClusterCloneFrom.java +++ /dev/null @@ -1,50 +0,0 @@ -// *** WARNING: this file was generated by pulumi-java-gen. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package com.pulumi.databricks.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class JobNewClusterCloneFrom { - private String sourceClusterId; - - private JobNewClusterCloneFrom() {} - public String sourceClusterId() { - return this.sourceClusterId; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(JobNewClusterCloneFrom defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String sourceClusterId; - public Builder() {} - public Builder(JobNewClusterCloneFrom defaults) { - Objects.requireNonNull(defaults); - this.sourceClusterId = defaults.sourceClusterId; - } - - @CustomType.Setter - public Builder sourceClusterId(String sourceClusterId) { - if (sourceClusterId == null) { - throw new MissingRequiredPropertyException("JobNewClusterCloneFrom", "sourceClusterId"); - } - this.sourceClusterId = sourceClusterId; - return this; - } - public JobNewClusterCloneFrom build() { - final var _resultValue = new JobNewClusterCloneFrom(); - _resultValue.sourceClusterId = sourceClusterId; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskNewCluster.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskNewCluster.java index 0e4f7da5..92dcb34c 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskNewCluster.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskNewCluster.java @@ -7,7 +7,6 @@ import com.pulumi.databricks.outputs.JobTaskForEachTaskTaskNewClusterAutoscale; import com.pulumi.databricks.outputs.JobTaskForEachTaskTaskNewClusterAwsAttributes; import com.pulumi.databricks.outputs.JobTaskForEachTaskTaskNewClusterAzureAttributes; -import com.pulumi.databricks.outputs.JobTaskForEachTaskTaskNewClusterCloneFrom; import com.pulumi.databricks.outputs.JobTaskForEachTaskTaskNewClusterClusterLogConf; import com.pulumi.databricks.outputs.JobTaskForEachTaskTaskNewClusterClusterMountInfo; import com.pulumi.databricks.outputs.JobTaskForEachTaskTaskNewClusterDockerImage; @@ -33,7 +32,6 @@ public final class JobTaskForEachTaskTaskNewCluster { private @Nullable Integer autoterminationMinutes; private @Nullable JobTaskForEachTaskTaskNewClusterAwsAttributes awsAttributes; private @Nullable JobTaskForEachTaskTaskNewClusterAzureAttributes azureAttributes; - private @Nullable JobTaskForEachTaskTaskNewClusterCloneFrom cloneFrom; private @Nullable String clusterId; private @Nullable JobTaskForEachTaskTaskNewClusterClusterLogConf clusterLogConf; private @Nullable List clusterMountInfos; @@ -81,9 +79,6 @@ public Optional awsAttributes() { public Optional azureAttributes() { return Optional.ofNullable(this.azureAttributes); } - public Optional cloneFrom() { - return Optional.ofNullable(this.cloneFrom); - } public Optional clusterId() { return Optional.ofNullable(this.clusterId); } @@ -181,7 +176,6 @@ public static final class Builder { private @Nullable Integer autoterminationMinutes; private @Nullable JobTaskForEachTaskTaskNewClusterAwsAttributes awsAttributes; private @Nullable JobTaskForEachTaskTaskNewClusterAzureAttributes azureAttributes; - private @Nullable JobTaskForEachTaskTaskNewClusterCloneFrom cloneFrom; private @Nullable String clusterId; private @Nullable JobTaskForEachTaskTaskNewClusterClusterLogConf clusterLogConf; private @Nullable List clusterMountInfos; @@ -216,7 +210,6 @@ public Builder(JobTaskForEachTaskTaskNewCluster defaults) { this.autoterminationMinutes = defaults.autoterminationMinutes; this.awsAttributes = defaults.awsAttributes; this.azureAttributes = defaults.azureAttributes; - this.cloneFrom = defaults.cloneFrom; this.clusterId = defaults.clusterId; this.clusterLogConf = defaults.clusterLogConf; this.clusterMountInfos = defaults.clusterMountInfos; @@ -276,12 +269,6 @@ public Builder azureAttributes(@Nullable JobTaskForEachTaskTaskNewClusterAzureAt return this; } @CustomType.Setter - public Builder cloneFrom(@Nullable JobTaskForEachTaskTaskNewClusterCloneFrom cloneFrom) { - - this.cloneFrom = cloneFrom; - return this; - } - @CustomType.Setter public Builder clusterId(@Nullable String clusterId) { this.clusterId = clusterId; @@ -458,7 +445,6 @@ public JobTaskForEachTaskTaskNewCluster build() { _resultValue.autoterminationMinutes = autoterminationMinutes; _resultValue.awsAttributes = awsAttributes; _resultValue.azureAttributes = azureAttributes; - _resultValue.cloneFrom = cloneFrom; _resultValue.clusterId = clusterId; _resultValue.clusterLogConf = clusterLogConf; _resultValue.clusterMountInfos = clusterMountInfos; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskNewClusterCloneFrom.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskNewClusterCloneFrom.java deleted file mode 100644 index bca5a035..00000000 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskNewClusterCloneFrom.java +++ /dev/null @@ -1,50 +0,0 @@ -// *** WARNING: this file was generated by pulumi-java-gen. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package com.pulumi.databricks.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class JobTaskForEachTaskTaskNewClusterCloneFrom { - private String sourceClusterId; - - private JobTaskForEachTaskTaskNewClusterCloneFrom() {} - public String sourceClusterId() { - return this.sourceClusterId; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(JobTaskForEachTaskTaskNewClusterCloneFrom defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String sourceClusterId; - public Builder() {} - public Builder(JobTaskForEachTaskTaskNewClusterCloneFrom defaults) { - Objects.requireNonNull(defaults); - this.sourceClusterId = defaults.sourceClusterId; - } - - @CustomType.Setter - public Builder sourceClusterId(String sourceClusterId) { - if (sourceClusterId == null) { - throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskNewClusterCloneFrom", "sourceClusterId"); - } - this.sourceClusterId = sourceClusterId; - return this; - } - public JobTaskForEachTaskTaskNewClusterCloneFrom build() { - final var _resultValue = new JobTaskForEachTaskTaskNewClusterCloneFrom(); - _resultValue.sourceClusterId = sourceClusterId; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskNewCluster.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskNewCluster.java index 68dbca57..cae5c2b5 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskNewCluster.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskNewCluster.java @@ -7,7 +7,6 @@ import com.pulumi.databricks.outputs.JobTaskNewClusterAutoscale; import com.pulumi.databricks.outputs.JobTaskNewClusterAwsAttributes; import com.pulumi.databricks.outputs.JobTaskNewClusterAzureAttributes; -import com.pulumi.databricks.outputs.JobTaskNewClusterCloneFrom; import com.pulumi.databricks.outputs.JobTaskNewClusterClusterLogConf; import com.pulumi.databricks.outputs.JobTaskNewClusterClusterMountInfo; import com.pulumi.databricks.outputs.JobTaskNewClusterDockerImage; @@ -33,7 +32,6 @@ public final class JobTaskNewCluster { private @Nullable Integer autoterminationMinutes; private @Nullable JobTaskNewClusterAwsAttributes awsAttributes; private @Nullable JobTaskNewClusterAzureAttributes azureAttributes; - private @Nullable JobTaskNewClusterCloneFrom cloneFrom; private @Nullable String clusterId; private @Nullable JobTaskNewClusterClusterLogConf clusterLogConf; private @Nullable List clusterMountInfos; @@ -81,9 +79,6 @@ public Optional awsAttributes() { public Optional azureAttributes() { return Optional.ofNullable(this.azureAttributes); } - public Optional cloneFrom() { - return Optional.ofNullable(this.cloneFrom); - } public Optional clusterId() { return Optional.ofNullable(this.clusterId); } @@ -181,7 +176,6 @@ public static final class Builder { private @Nullable Integer autoterminationMinutes; private @Nullable JobTaskNewClusterAwsAttributes awsAttributes; private @Nullable JobTaskNewClusterAzureAttributes azureAttributes; - private @Nullable JobTaskNewClusterCloneFrom cloneFrom; private @Nullable String clusterId; private @Nullable JobTaskNewClusterClusterLogConf clusterLogConf; private @Nullable List clusterMountInfos; @@ -216,7 +210,6 @@ public Builder(JobTaskNewCluster defaults) { this.autoterminationMinutes = defaults.autoterminationMinutes; this.awsAttributes = defaults.awsAttributes; this.azureAttributes = defaults.azureAttributes; - this.cloneFrom = defaults.cloneFrom; this.clusterId = defaults.clusterId; this.clusterLogConf = defaults.clusterLogConf; this.clusterMountInfos = defaults.clusterMountInfos; @@ -276,12 +269,6 @@ public Builder azureAttributes(@Nullable JobTaskNewClusterAzureAttributes azureA return this; } @CustomType.Setter - public Builder cloneFrom(@Nullable JobTaskNewClusterCloneFrom cloneFrom) { - - this.cloneFrom = cloneFrom; - return this; - } - @CustomType.Setter public Builder clusterId(@Nullable String clusterId) { this.clusterId = clusterId; @@ -458,7 +445,6 @@ public JobTaskNewCluster build() { _resultValue.autoterminationMinutes = autoterminationMinutes; _resultValue.awsAttributes = awsAttributes; _resultValue.azureAttributes = azureAttributes; - _resultValue.cloneFrom = cloneFrom; _resultValue.clusterId = clusterId; _resultValue.clusterLogConf = clusterLogConf; _resultValue.clusterMountInfos = clusterMountInfos; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskNewClusterCloneFrom.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskNewClusterCloneFrom.java deleted file mode 100644 index 007787c0..00000000 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskNewClusterCloneFrom.java +++ /dev/null @@ -1,50 +0,0 @@ -// *** WARNING: this file was generated by pulumi-java-gen. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package com.pulumi.databricks.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class JobTaskNewClusterCloneFrom { - private String sourceClusterId; - - private JobTaskNewClusterCloneFrom() {} - public String sourceClusterId() { - return this.sourceClusterId; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(JobTaskNewClusterCloneFrom defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String sourceClusterId; - public Builder() {} - public Builder(JobTaskNewClusterCloneFrom defaults) { - Objects.requireNonNull(defaults); - this.sourceClusterId = defaults.sourceClusterId; - } - - @CustomType.Setter - public Builder sourceClusterId(String sourceClusterId) { - if (sourceClusterId == null) { - throw new MissingRequiredPropertyException("JobTaskNewClusterCloneFrom", "sourceClusterId"); - } - this.sourceClusterId = sourceClusterId; - return this; - } - public JobTaskNewClusterCloneFrom build() { - final var _resultValue = new JobTaskNewClusterCloneFrom(); - _resultValue.sourceClusterId = sourceClusterId; - 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 index 0dd0e79e..821d6ac4 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelOpenaiConfig.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelOpenaiConfig.java @@ -4,7 +4,6 @@ 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; @@ -12,19 +11,31 @@ @CustomType public final class ModelServingConfigServedEntityExternalModelOpenaiConfig { + private @Nullable String microsoftEntraClientId; + private @Nullable String microsoftEntraClientSecret; + private @Nullable String microsoftEntraTenantId; private @Nullable String openaiApiBase; - private String openaiApiKey; + private @Nullable String openaiApiKey; private @Nullable String openaiApiType; private @Nullable String openaiApiVersion; private @Nullable String openaiDeploymentName; private @Nullable String openaiOrganization; private ModelServingConfigServedEntityExternalModelOpenaiConfig() {} + public Optional microsoftEntraClientId() { + return Optional.ofNullable(this.microsoftEntraClientId); + } + public Optional microsoftEntraClientSecret() { + return Optional.ofNullable(this.microsoftEntraClientSecret); + } + public Optional microsoftEntraTenantId() { + return Optional.ofNullable(this.microsoftEntraTenantId); + } public Optional openaiApiBase() { return Optional.ofNullable(this.openaiApiBase); } - public String openaiApiKey() { - return this.openaiApiKey; + public Optional openaiApiKey() { + return Optional.ofNullable(this.openaiApiKey); } public Optional openaiApiType() { return Optional.ofNullable(this.openaiApiType); @@ -48,8 +59,11 @@ public static Builder builder(ModelServingConfigServedEntityExternalModelOpenaiC } @CustomType.Builder public static final class Builder { + private @Nullable String microsoftEntraClientId; + private @Nullable String microsoftEntraClientSecret; + private @Nullable String microsoftEntraTenantId; private @Nullable String openaiApiBase; - private String openaiApiKey; + private @Nullable String openaiApiKey; private @Nullable String openaiApiType; private @Nullable String openaiApiVersion; private @Nullable String openaiDeploymentName; @@ -57,6 +71,9 @@ public static final class Builder { public Builder() {} public Builder(ModelServingConfigServedEntityExternalModelOpenaiConfig defaults) { Objects.requireNonNull(defaults); + this.microsoftEntraClientId = defaults.microsoftEntraClientId; + this.microsoftEntraClientSecret = defaults.microsoftEntraClientSecret; + this.microsoftEntraTenantId = defaults.microsoftEntraTenantId; this.openaiApiBase = defaults.openaiApiBase; this.openaiApiKey = defaults.openaiApiKey; this.openaiApiType = defaults.openaiApiType; @@ -65,6 +82,24 @@ public Builder(ModelServingConfigServedEntityExternalModelOpenaiConfig defaults) this.openaiOrganization = defaults.openaiOrganization; } + @CustomType.Setter + public Builder microsoftEntraClientId(@Nullable String microsoftEntraClientId) { + + this.microsoftEntraClientId = microsoftEntraClientId; + return this; + } + @CustomType.Setter + public Builder microsoftEntraClientSecret(@Nullable String microsoftEntraClientSecret) { + + this.microsoftEntraClientSecret = microsoftEntraClientSecret; + return this; + } + @CustomType.Setter + public Builder microsoftEntraTenantId(@Nullable String microsoftEntraTenantId) { + + this.microsoftEntraTenantId = microsoftEntraTenantId; + return this; + } @CustomType.Setter public Builder openaiApiBase(@Nullable String openaiApiBase) { @@ -72,10 +107,8 @@ public Builder openaiApiBase(@Nullable String openaiApiBase) { return this; } @CustomType.Setter - public Builder openaiApiKey(String openaiApiKey) { - if (openaiApiKey == null) { - throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelOpenaiConfig", "openaiApiKey"); - } + public Builder openaiApiKey(@Nullable String openaiApiKey) { + this.openaiApiKey = openaiApiKey; return this; } @@ -105,6 +138,9 @@ public Builder openaiOrganization(@Nullable String openaiOrganization) { } public ModelServingConfigServedEntityExternalModelOpenaiConfig build() { final var _resultValue = new ModelServingConfigServedEntityExternalModelOpenaiConfig(); + _resultValue.microsoftEntraClientId = microsoftEntraClientId; + _resultValue.microsoftEntraClientSecret = microsoftEntraClientSecret; + _resultValue.microsoftEntraTenantId = microsoftEntraTenantId; _resultValue.openaiApiBase = openaiApiBase; _resultValue.openaiApiKey = openaiApiKey; _resultValue.openaiApiType = openaiApiType; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorCustomMetric.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorCustomMetric.java new file mode 100644 index 00000000..af51d4b2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorCustomMetric.java @@ -0,0 +1,154 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class QualityMonitorCustomMetric { + /** + * @return [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + * + */ + private String definition; + /** + * @return Columns on the monitored table to apply the custom metrics to. + * + */ + private List inputColumns; + /** + * @return Name of the custom metric. + * + */ + private String name; + /** + * @return The output type of the custom metric. + * + */ + private String outputDataType; + /** + * @return The type of the custom metric. + * + */ + private String type; + + private QualityMonitorCustomMetric() {} + /** + * @return [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + * + */ + public String definition() { + return this.definition; + } + /** + * @return Columns on the monitored table to apply the custom metrics to. + * + */ + public List inputColumns() { + return this.inputColumns; + } + /** + * @return Name of the custom metric. + * + */ + public String name() { + return this.name; + } + /** + * @return The output type of the custom metric. + * + */ + public String outputDataType() { + return this.outputDataType; + } + /** + * @return The type of the custom metric. + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(QualityMonitorCustomMetric defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String definition; + private List inputColumns; + private String name; + private String outputDataType; + private String type; + public Builder() {} + public Builder(QualityMonitorCustomMetric 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(String definition) { + if (definition == null) { + throw new MissingRequiredPropertyException("QualityMonitorCustomMetric", "definition"); + } + this.definition = definition; + return this; + } + @CustomType.Setter + public Builder inputColumns(List inputColumns) { + if (inputColumns == null) { + throw new MissingRequiredPropertyException("QualityMonitorCustomMetric", "inputColumns"); + } + this.inputColumns = inputColumns; + return this; + } + public Builder inputColumns(String... inputColumns) { + return inputColumns(List.of(inputColumns)); + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("QualityMonitorCustomMetric", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder outputDataType(String outputDataType) { + if (outputDataType == null) { + throw new MissingRequiredPropertyException("QualityMonitorCustomMetric", "outputDataType"); + } + this.outputDataType = outputDataType; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("QualityMonitorCustomMetric", "type"); + } + this.type = type; + return this; + } + public QualityMonitorCustomMetric build() { + final var _resultValue = new QualityMonitorCustomMetric(); + _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/QualityMonitorDataClassificationConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorDataClassificationConfig.java new file mode 100644 index 00000000..78900ff2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorDataClassificationConfig.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 QualityMonitorDataClassificationConfig { + private @Nullable Boolean enabled; + + private QualityMonitorDataClassificationConfig() {} + public Optional enabled() { + return Optional.ofNullable(this.enabled); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(QualityMonitorDataClassificationConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean enabled; + public Builder() {} + public Builder(QualityMonitorDataClassificationConfig defaults) { + Objects.requireNonNull(defaults); + this.enabled = defaults.enabled; + } + + @CustomType.Setter + public Builder enabled(@Nullable Boolean enabled) { + + this.enabled = enabled; + return this; + } + public QualityMonitorDataClassificationConfig build() { + final var _resultValue = new QualityMonitorDataClassificationConfig(); + _resultValue.enabled = enabled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorInferenceLog.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorInferenceLog.java new file mode 100644 index 00000000..daeba7cb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorInferenceLog.java @@ -0,0 +1,198 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class QualityMonitorInferenceLog { + /** + * @return List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + private List granularities; + /** + * @return Column of the model label + * + */ + private @Nullable String labelCol; + /** + * @return Column of the model id or version + * + */ + private String modelIdCol; + /** + * @return Column of the model prediction + * + */ + private 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 String problemType; + /** + * @return Column of the timestamp of predictions + * + */ + private String timestampCol; + + private QualityMonitorInferenceLog() {} + /** + * @return List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + public List granularities() { + return 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 String modelIdCol() { + return this.modelIdCol; + } + /** + * @return Column of the model prediction + * + */ + public String predictionCol() { + return 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 String problemType() { + return this.problemType; + } + /** + * @return Column of the timestamp of predictions + * + */ + public String timestampCol() { + return this.timestampCol; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(QualityMonitorInferenceLog defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List granularities; + private @Nullable String labelCol; + private String modelIdCol; + private String predictionCol; + private @Nullable String predictionProbaCol; + private String problemType; + private String timestampCol; + public Builder() {} + public Builder(QualityMonitorInferenceLog 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(List granularities) { + if (granularities == null) { + throw new MissingRequiredPropertyException("QualityMonitorInferenceLog", "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(String modelIdCol) { + if (modelIdCol == null) { + throw new MissingRequiredPropertyException("QualityMonitorInferenceLog", "modelIdCol"); + } + this.modelIdCol = modelIdCol; + return this; + } + @CustomType.Setter + public Builder predictionCol(String predictionCol) { + if (predictionCol == null) { + throw new MissingRequiredPropertyException("QualityMonitorInferenceLog", "predictionCol"); + } + this.predictionCol = predictionCol; + return this; + } + @CustomType.Setter + public Builder predictionProbaCol(@Nullable String predictionProbaCol) { + + this.predictionProbaCol = predictionProbaCol; + return this; + } + @CustomType.Setter + public Builder problemType(String problemType) { + if (problemType == null) { + throw new MissingRequiredPropertyException("QualityMonitorInferenceLog", "problemType"); + } + this.problemType = problemType; + return this; + } + @CustomType.Setter + public Builder timestampCol(String timestampCol) { + if (timestampCol == null) { + throw new MissingRequiredPropertyException("QualityMonitorInferenceLog", "timestampCol"); + } + this.timestampCol = timestampCol; + return this; + } + public QualityMonitorInferenceLog build() { + final var _resultValue = new QualityMonitorInferenceLog(); + _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/QualityMonitorNotifications.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorNotifications.java new file mode 100644 index 00000000..0e0a8ec0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorNotifications.java @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.QualityMonitorNotificationsOnFailure; +import com.pulumi.databricks.outputs.QualityMonitorNotificationsOnNewClassificationTagDetected; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class QualityMonitorNotifications { + /** + * @return who to send notifications to on monitor failure. + * + */ + private @Nullable QualityMonitorNotificationsOnFailure onFailure; + /** + * @return Who to send notifications to when new data classification tags are detected. + * + */ + private @Nullable QualityMonitorNotificationsOnNewClassificationTagDetected onNewClassificationTagDetected; + + private QualityMonitorNotifications() {} + /** + * @return who to send notifications to on monitor failure. + * + */ + public Optional onFailure() { + return Optional.ofNullable(this.onFailure); + } + /** + * @return Who to send notifications to when new data classification tags are detected. + * + */ + public Optional onNewClassificationTagDetected() { + return Optional.ofNullable(this.onNewClassificationTagDetected); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(QualityMonitorNotifications defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable QualityMonitorNotificationsOnFailure onFailure; + private @Nullable QualityMonitorNotificationsOnNewClassificationTagDetected onNewClassificationTagDetected; + public Builder() {} + public Builder(QualityMonitorNotifications defaults) { + Objects.requireNonNull(defaults); + this.onFailure = defaults.onFailure; + this.onNewClassificationTagDetected = defaults.onNewClassificationTagDetected; + } + + @CustomType.Setter + public Builder onFailure(@Nullable QualityMonitorNotificationsOnFailure onFailure) { + + this.onFailure = onFailure; + return this; + } + @CustomType.Setter + public Builder onNewClassificationTagDetected(@Nullable QualityMonitorNotificationsOnNewClassificationTagDetected onNewClassificationTagDetected) { + + this.onNewClassificationTagDetected = onNewClassificationTagDetected; + return this; + } + public QualityMonitorNotifications build() { + final var _resultValue = new QualityMonitorNotifications(); + _resultValue.onFailure = onFailure; + _resultValue.onNewClassificationTagDetected = onNewClassificationTagDetected; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorNotificationsOnFailure.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorNotificationsOnFailure.java new file mode 100644 index 00000000..e6d1f8a6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorNotificationsOnFailure.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 QualityMonitorNotificationsOnFailure { + private @Nullable List emailAddresses; + + private QualityMonitorNotificationsOnFailure() {} + public List emailAddresses() { + return this.emailAddresses == null ? List.of() : this.emailAddresses; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(QualityMonitorNotificationsOnFailure defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List emailAddresses; + public Builder() {} + public Builder(QualityMonitorNotificationsOnFailure 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 QualityMonitorNotificationsOnFailure build() { + final var _resultValue = new QualityMonitorNotificationsOnFailure(); + _resultValue.emailAddresses = emailAddresses; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorNotificationsOnNewClassificationTagDetected.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorNotificationsOnNewClassificationTagDetected.java new file mode 100644 index 00000000..affd3081 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorNotificationsOnNewClassificationTagDetected.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 QualityMonitorNotificationsOnNewClassificationTagDetected { + private @Nullable List emailAddresses; + + private QualityMonitorNotificationsOnNewClassificationTagDetected() {} + public List emailAddresses() { + return this.emailAddresses == null ? List.of() : this.emailAddresses; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(QualityMonitorNotificationsOnNewClassificationTagDetected defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List emailAddresses; + public Builder() {} + public Builder(QualityMonitorNotificationsOnNewClassificationTagDetected 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 QualityMonitorNotificationsOnNewClassificationTagDetected build() { + final var _resultValue = new QualityMonitorNotificationsOnNewClassificationTagDetected(); + _resultValue.emailAddresses = emailAddresses; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorSchedule.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorSchedule.java new file mode 100644 index 00000000..5ed75648 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorSchedule.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class QualityMonitorSchedule { + /** + * @return optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + * + */ + private @Nullable String pauseStatus; + /** + * @return string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + * + */ + private String quartzCronExpression; + /** + * @return string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + * + */ + private String timezoneId; + + private QualityMonitorSchedule() {} + /** + * @return optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + * + */ + public Optional pauseStatus() { + return Optional.ofNullable(this.pauseStatus); + } + /** + * @return string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + * + */ + public String quartzCronExpression() { + return this.quartzCronExpression; + } + /** + * @return string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + * + */ + public String timezoneId() { + return this.timezoneId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(QualityMonitorSchedule defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String pauseStatus; + private String quartzCronExpression; + private String timezoneId; + public Builder() {} + public Builder(QualityMonitorSchedule 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(String quartzCronExpression) { + if (quartzCronExpression == null) { + throw new MissingRequiredPropertyException("QualityMonitorSchedule", "quartzCronExpression"); + } + this.quartzCronExpression = quartzCronExpression; + return this; + } + @CustomType.Setter + public Builder timezoneId(String timezoneId) { + if (timezoneId == null) { + throw new MissingRequiredPropertyException("QualityMonitorSchedule", "timezoneId"); + } + this.timezoneId = timezoneId; + return this; + } + public QualityMonitorSchedule build() { + final var _resultValue = new QualityMonitorSchedule(); + _resultValue.pauseStatus = pauseStatus; + _resultValue.quartzCronExpression = quartzCronExpression; + _resultValue.timezoneId = timezoneId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorSnapshot.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorSnapshot.java new file mode 100644 index 00000000..0b5de779 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorSnapshot.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 QualityMonitorSnapshot { + private QualityMonitorSnapshot() {} + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(QualityMonitorSnapshot defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + public Builder() {} + public Builder(QualityMonitorSnapshot defaults) { + Objects.requireNonNull(defaults); + } + + public QualityMonitorSnapshot build() { + final var _resultValue = new QualityMonitorSnapshot(); + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorTimeSeries.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorTimeSeries.java new file mode 100644 index 00000000..dc5b494b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/QualityMonitorTimeSeries.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class QualityMonitorTimeSeries { + /** + * @return List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + private List granularities; + /** + * @return Column of the timestamp of predictions + * + */ + private String timestampCol; + + private QualityMonitorTimeSeries() {} + /** + * @return List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + public List granularities() { + return this.granularities; + } + /** + * @return Column of the timestamp of predictions + * + */ + public String timestampCol() { + return this.timestampCol; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(QualityMonitorTimeSeries defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List granularities; + private String timestampCol; + public Builder() {} + public Builder(QualityMonitorTimeSeries defaults) { + Objects.requireNonNull(defaults); + this.granularities = defaults.granularities; + this.timestampCol = defaults.timestampCol; + } + + @CustomType.Setter + public Builder granularities(List granularities) { + if (granularities == null) { + throw new MissingRequiredPropertyException("QualityMonitorTimeSeries", "granularities"); + } + this.granularities = granularities; + return this; + } + public Builder granularities(String... granularities) { + return granularities(List.of(granularities)); + } + @CustomType.Setter + public Builder timestampCol(String timestampCol) { + if (timestampCol == null) { + throw new MissingRequiredPropertyException("QualityMonitorTimeSeries", "timestampCol"); + } + this.timestampCol = timestampCol; + return this; + } + public QualityMonitorTimeSeries build() { + final var _resultValue = new QualityMonitorTimeSeries(); + _resultValue.granularities = granularities; + _resultValue.timestampCol = timestampCol; + return _resultValue; + } + } +} 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 index efc122d8..4c1e43f3 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDeltaSyncIndexSpec.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDeltaSyncIndexSpec.java @@ -20,6 +20,7 @@ public final class VectorSearchIndexDeltaSyncIndexSpec { */ private @Nullable List embeddingSourceColumns; private @Nullable List embeddingVectorColumns; + private @Nullable String embeddingWritebackTable; /** * @return ID of the associated Delta Live Table pipeline. * @@ -43,6 +44,9 @@ public List embeddingS public List embeddingVectorColumns() { return this.embeddingVectorColumns == null ? List.of() : this.embeddingVectorColumns; } + public Optional embeddingWritebackTable() { + return Optional.ofNullable(this.embeddingWritebackTable); + } /** * @return ID of the associated Delta Live Table pipeline. * @@ -72,6 +76,7 @@ public static Builder builder(VectorSearchIndexDeltaSyncIndexSpec defaults) { public static final class Builder { private @Nullable List embeddingSourceColumns; private @Nullable List embeddingVectorColumns; + private @Nullable String embeddingWritebackTable; private @Nullable String pipelineId; private @Nullable String pipelineType; private @Nullable String sourceTable; @@ -80,6 +85,7 @@ public Builder(VectorSearchIndexDeltaSyncIndexSpec defaults) { Objects.requireNonNull(defaults); this.embeddingSourceColumns = defaults.embeddingSourceColumns; this.embeddingVectorColumns = defaults.embeddingVectorColumns; + this.embeddingWritebackTable = defaults.embeddingWritebackTable; this.pipelineId = defaults.pipelineId; this.pipelineType = defaults.pipelineType; this.sourceTable = defaults.sourceTable; @@ -104,6 +110,12 @@ public Builder embeddingVectorColumns(VectorSearchIndexDeltaSyncIndexSpecEmbeddi return embeddingVectorColumns(List.of(embeddingVectorColumns)); } @CustomType.Setter + public Builder embeddingWritebackTable(@Nullable String embeddingWritebackTable) { + + this.embeddingWritebackTable = embeddingWritebackTable; + return this; + } + @CustomType.Setter public Builder pipelineId(@Nullable String pipelineId) { this.pipelineId = pipelineId; @@ -125,6 +137,7 @@ public VectorSearchIndexDeltaSyncIndexSpec build() { final var _resultValue = new VectorSearchIndexDeltaSyncIndexSpec(); _resultValue.embeddingSourceColumns = embeddingSourceColumns; _resultValue.embeddingVectorColumns = embeddingVectorColumns; + _resultValue.embeddingWritebackTable = embeddingWritebackTable; _resultValue.pipelineId = pipelineId; _resultValue.pipelineType = pipelineType; _resultValue.sourceTable = sourceTable; diff --git a/sdk/nodejs/automaticClusterUpdateWorkspaceSetting.ts b/sdk/nodejs/automaticClusterUpdateWorkspaceSetting.ts new file mode 100644 index 00000000..43256493 --- /dev/null +++ b/sdk/nodejs/automaticClusterUpdateWorkspaceSetting.ts @@ -0,0 +1,87 @@ +// *** WARNING: this file 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"; + +export class AutomaticClusterUpdateWorkspaceSetting extends pulumi.CustomResource { + /** + * Get an existing AutomaticClusterUpdateWorkspaceSetting 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?: AutomaticClusterUpdateWorkspaceSettingState, opts?: pulumi.CustomResourceOptions): AutomaticClusterUpdateWorkspaceSetting { + return new AutomaticClusterUpdateWorkspaceSetting(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting'; + + /** + * Returns true if the given object is an instance of AutomaticClusterUpdateWorkspaceSetting. 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 AutomaticClusterUpdateWorkspaceSetting { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AutomaticClusterUpdateWorkspaceSetting.__pulumiType; + } + + public readonly automaticClusterUpdateWorkspace!: pulumi.Output; + public readonly etag!: pulumi.Output; + public readonly settingName!: pulumi.Output; + + /** + * Create a AutomaticClusterUpdateWorkspaceSetting 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: AutomaticClusterUpdateWorkspaceSettingArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: AutomaticClusterUpdateWorkspaceSettingArgs | AutomaticClusterUpdateWorkspaceSettingState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as AutomaticClusterUpdateWorkspaceSettingState | undefined; + resourceInputs["automaticClusterUpdateWorkspace"] = state ? state.automaticClusterUpdateWorkspace : undefined; + resourceInputs["etag"] = state ? state.etag : undefined; + resourceInputs["settingName"] = state ? state.settingName : undefined; + } else { + const args = argsOrState as AutomaticClusterUpdateWorkspaceSettingArgs | undefined; + if ((!args || args.automaticClusterUpdateWorkspace === undefined) && !opts.urn) { + throw new Error("Missing required property 'automaticClusterUpdateWorkspace'"); + } + resourceInputs["automaticClusterUpdateWorkspace"] = args ? args.automaticClusterUpdateWorkspace : undefined; + resourceInputs["etag"] = args ? args.etag : undefined; + resourceInputs["settingName"] = args ? args.settingName : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(AutomaticClusterUpdateWorkspaceSetting.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering AutomaticClusterUpdateWorkspaceSetting resources. + */ +export interface AutomaticClusterUpdateWorkspaceSettingState { + automaticClusterUpdateWorkspace?: pulumi.Input; + etag?: pulumi.Input; + settingName?: pulumi.Input; +} + +/** + * The set of arguments for constructing a AutomaticClusterUpdateWorkspaceSetting resource. + */ +export interface AutomaticClusterUpdateWorkspaceSettingArgs { + automaticClusterUpdateWorkspace: pulumi.Input; + etag?: pulumi.Input; + settingName?: pulumi.Input; +} diff --git a/sdk/nodejs/cluster.ts b/sdk/nodejs/cluster.ts index 468c82fd..b4c600e3 100644 --- a/sdk/nodejs/cluster.ts +++ b/sdk/nodejs/cluster.ts @@ -110,7 +110,6 @@ export class Cluster extends pulumi.CustomResource { public readonly autoterminationMinutes!: pulumi.Output; public readonly awsAttributes!: pulumi.Output; public readonly azureAttributes!: pulumi.Output; - public readonly cloneFrom!: pulumi.Output; public /*out*/ readonly clusterId!: pulumi.Output; public readonly clusterLogConf!: pulumi.Output; public readonly clusterMountInfos!: pulumi.Output; @@ -118,7 +117,6 @@ export class Cluster extends pulumi.CustomResource { * Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string. */ public readonly clusterName!: pulumi.Output; - public /*out*/ readonly clusterSource!: pulumi.Output; /** * should have tag `ResourceClass` set to value `Serverless` * @@ -273,12 +271,10 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["autoterminationMinutes"] = state ? state.autoterminationMinutes : undefined; resourceInputs["awsAttributes"] = state ? state.awsAttributes : undefined; resourceInputs["azureAttributes"] = state ? state.azureAttributes : undefined; - resourceInputs["cloneFrom"] = state ? state.cloneFrom : undefined; resourceInputs["clusterId"] = state ? state.clusterId : undefined; resourceInputs["clusterLogConf"] = state ? state.clusterLogConf : undefined; resourceInputs["clusterMountInfos"] = state ? state.clusterMountInfos : undefined; resourceInputs["clusterName"] = state ? state.clusterName : undefined; - resourceInputs["clusterSource"] = state ? state.clusterSource : undefined; resourceInputs["customTags"] = state ? state.customTags : undefined; resourceInputs["dataSecurityMode"] = state ? state.dataSecurityMode : undefined; resourceInputs["defaultTags"] = state ? state.defaultTags : undefined; @@ -315,7 +311,6 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["autoterminationMinutes"] = args ? args.autoterminationMinutes : undefined; resourceInputs["awsAttributes"] = args ? args.awsAttributes : undefined; resourceInputs["azureAttributes"] = args ? args.azureAttributes : undefined; - resourceInputs["cloneFrom"] = args ? args.cloneFrom : undefined; resourceInputs["clusterLogConf"] = args ? args.clusterLogConf : undefined; resourceInputs["clusterMountInfos"] = args ? args.clusterMountInfos : undefined; resourceInputs["clusterName"] = args ? args.clusterName : undefined; @@ -343,7 +338,6 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["sshPublicKeys"] = args ? args.sshPublicKeys : undefined; resourceInputs["workloadType"] = args ? args.workloadType : undefined; resourceInputs["clusterId"] = undefined /*out*/; - resourceInputs["clusterSource"] = undefined /*out*/; resourceInputs["defaultTags"] = undefined /*out*/; resourceInputs["state"] = undefined /*out*/; resourceInputs["url"] = undefined /*out*/; @@ -368,7 +362,6 @@ export interface ClusterState { autoterminationMinutes?: pulumi.Input; awsAttributes?: pulumi.Input; azureAttributes?: pulumi.Input; - cloneFrom?: pulumi.Input; clusterId?: pulumi.Input; clusterLogConf?: pulumi.Input; clusterMountInfos?: pulumi.Input[]>; @@ -376,7 +369,6 @@ export interface ClusterState { * Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string. */ clusterName?: pulumi.Input; - clusterSource?: pulumi.Input; /** * should have tag `ResourceClass` set to value `Serverless` * @@ -529,7 +521,6 @@ export interface ClusterArgs { autoterminationMinutes?: pulumi.Input; awsAttributes?: pulumi.Input; azureAttributes?: pulumi.Input; - cloneFrom?: pulumi.Input; clusterLogConf?: pulumi.Input; clusterMountInfos?: pulumi.Input[]>; /** diff --git a/sdk/nodejs/complianceSecurityProfileWorkspaceSetting.ts b/sdk/nodejs/complianceSecurityProfileWorkspaceSetting.ts new file mode 100644 index 00000000..f669f28e --- /dev/null +++ b/sdk/nodejs/complianceSecurityProfileWorkspaceSetting.ts @@ -0,0 +1,87 @@ +// *** WARNING: this file 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"; + +export class ComplianceSecurityProfileWorkspaceSetting extends pulumi.CustomResource { + /** + * Get an existing ComplianceSecurityProfileWorkspaceSetting 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?: ComplianceSecurityProfileWorkspaceSettingState, opts?: pulumi.CustomResourceOptions): ComplianceSecurityProfileWorkspaceSetting { + return new ComplianceSecurityProfileWorkspaceSetting(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting'; + + /** + * Returns true if the given object is an instance of ComplianceSecurityProfileWorkspaceSetting. 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 ComplianceSecurityProfileWorkspaceSetting { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ComplianceSecurityProfileWorkspaceSetting.__pulumiType; + } + + public readonly complianceSecurityProfileWorkspace!: pulumi.Output; + public readonly etag!: pulumi.Output; + public readonly settingName!: pulumi.Output; + + /** + * Create a ComplianceSecurityProfileWorkspaceSetting 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: ComplianceSecurityProfileWorkspaceSettingArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: ComplianceSecurityProfileWorkspaceSettingArgs | ComplianceSecurityProfileWorkspaceSettingState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as ComplianceSecurityProfileWorkspaceSettingState | undefined; + resourceInputs["complianceSecurityProfileWorkspace"] = state ? state.complianceSecurityProfileWorkspace : undefined; + resourceInputs["etag"] = state ? state.etag : undefined; + resourceInputs["settingName"] = state ? state.settingName : undefined; + } else { + const args = argsOrState as ComplianceSecurityProfileWorkspaceSettingArgs | undefined; + if ((!args || args.complianceSecurityProfileWorkspace === undefined) && !opts.urn) { + throw new Error("Missing required property 'complianceSecurityProfileWorkspace'"); + } + resourceInputs["complianceSecurityProfileWorkspace"] = args ? args.complianceSecurityProfileWorkspace : undefined; + resourceInputs["etag"] = args ? args.etag : undefined; + resourceInputs["settingName"] = args ? args.settingName : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(ComplianceSecurityProfileWorkspaceSetting.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering ComplianceSecurityProfileWorkspaceSetting resources. + */ +export interface ComplianceSecurityProfileWorkspaceSettingState { + complianceSecurityProfileWorkspace?: pulumi.Input; + etag?: pulumi.Input; + settingName?: pulumi.Input; +} + +/** + * The set of arguments for constructing a ComplianceSecurityProfileWorkspaceSetting resource. + */ +export interface ComplianceSecurityProfileWorkspaceSettingArgs { + complianceSecurityProfileWorkspace: pulumi.Input; + etag?: pulumi.Input; + settingName?: pulumi.Input; +} diff --git a/sdk/nodejs/enhancedSecurityMonitoringWorkspaceSetting.ts b/sdk/nodejs/enhancedSecurityMonitoringWorkspaceSetting.ts new file mode 100644 index 00000000..817340dd --- /dev/null +++ b/sdk/nodejs/enhancedSecurityMonitoringWorkspaceSetting.ts @@ -0,0 +1,87 @@ +// *** WARNING: this file 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"; + +export class EnhancedSecurityMonitoringWorkspaceSetting extends pulumi.CustomResource { + /** + * Get an existing EnhancedSecurityMonitoringWorkspaceSetting 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?: EnhancedSecurityMonitoringWorkspaceSettingState, opts?: pulumi.CustomResourceOptions): EnhancedSecurityMonitoringWorkspaceSetting { + return new EnhancedSecurityMonitoringWorkspaceSetting(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'databricks:index/enhancedSecurityMonitoringWorkspaceSetting:EnhancedSecurityMonitoringWorkspaceSetting'; + + /** + * Returns true if the given object is an instance of EnhancedSecurityMonitoringWorkspaceSetting. 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 EnhancedSecurityMonitoringWorkspaceSetting { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === EnhancedSecurityMonitoringWorkspaceSetting.__pulumiType; + } + + public readonly enhancedSecurityMonitoringWorkspace!: pulumi.Output; + public readonly etag!: pulumi.Output; + public readonly settingName!: pulumi.Output; + + /** + * Create a EnhancedSecurityMonitoringWorkspaceSetting 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: EnhancedSecurityMonitoringWorkspaceSettingArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: EnhancedSecurityMonitoringWorkspaceSettingArgs | EnhancedSecurityMonitoringWorkspaceSettingState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as EnhancedSecurityMonitoringWorkspaceSettingState | undefined; + resourceInputs["enhancedSecurityMonitoringWorkspace"] = state ? state.enhancedSecurityMonitoringWorkspace : undefined; + resourceInputs["etag"] = state ? state.etag : undefined; + resourceInputs["settingName"] = state ? state.settingName : undefined; + } else { + const args = argsOrState as EnhancedSecurityMonitoringWorkspaceSettingArgs | undefined; + if ((!args || args.enhancedSecurityMonitoringWorkspace === undefined) && !opts.urn) { + throw new Error("Missing required property 'enhancedSecurityMonitoringWorkspace'"); + } + resourceInputs["enhancedSecurityMonitoringWorkspace"] = args ? args.enhancedSecurityMonitoringWorkspace : undefined; + resourceInputs["etag"] = args ? args.etag : undefined; + resourceInputs["settingName"] = args ? args.settingName : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(EnhancedSecurityMonitoringWorkspaceSetting.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering EnhancedSecurityMonitoringWorkspaceSetting resources. + */ +export interface EnhancedSecurityMonitoringWorkspaceSettingState { + enhancedSecurityMonitoringWorkspace?: pulumi.Input; + etag?: pulumi.Input; + settingName?: pulumi.Input; +} + +/** + * The set of arguments for constructing a EnhancedSecurityMonitoringWorkspaceSetting resource. + */ +export interface EnhancedSecurityMonitoringWorkspaceSettingArgs { + enhancedSecurityMonitoringWorkspace: pulumi.Input; + etag?: pulumi.Input; + settingName?: pulumi.Input; +} diff --git a/sdk/nodejs/getExternalLocation.ts b/sdk/nodejs/getExternalLocation.ts index cda5f523..102954fe 100644 --- a/sdk/nodejs/getExternalLocation.ts +++ b/sdk/nodejs/getExternalLocation.ts @@ -10,12 +10,30 @@ import * as utilities from "./utilities"; * ## Example Usage * * Getting details of an existing external location in the metastore + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const this = databricks.getExternalLocation({ + * name: "this", + * }); + * export const createdBy = _this.then(_this => _this.externalLocationInfo?.createdBy); + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getExternalLocations to get names of all external locations + * * databricks.ExternalLocation to manage external locations within Unity Catalog. */ export function getExternalLocation(args: GetExternalLocationArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("databricks:index/getExternalLocation:getExternalLocation", { "externalLocationInfo": args.externalLocationInfo, + "id": args.id, "name": args.name, }, opts); } @@ -24,9 +42,16 @@ export function getExternalLocation(args: GetExternalLocationArgs, opts?: pulumi * A collection of arguments for invoking getExternalLocation. */ export interface GetExternalLocationArgs { + /** + * array of objects with information about external location: + */ externalLocationInfo?: inputs.GetExternalLocationExternalLocationInfo; /** - * The name of the storage credential + * external location ID - same as name. + */ + id?: string; + /** + * The name of the external location */ name: string; } @@ -35,9 +60,12 @@ export interface GetExternalLocationArgs { * A collection of values returned by getExternalLocation. */ export interface GetExternalLocationResult { + /** + * array of objects with information about external location: + */ readonly externalLocationInfo: outputs.GetExternalLocationExternalLocationInfo; /** - * The provider-assigned unique ID for this managed resource. + * external location ID - same as name. */ readonly id: string; readonly name: string; @@ -46,6 +74,23 @@ export interface GetExternalLocationResult { * ## Example Usage * * Getting details of an existing external location in the metastore + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const this = databricks.getExternalLocation({ + * name: "this", + * }); + * export const createdBy = _this.then(_this => _this.externalLocationInfo?.createdBy); + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getExternalLocations to get names of all external locations + * * databricks.ExternalLocation to manage external locations within Unity Catalog. */ export function getExternalLocationOutput(args: GetExternalLocationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getExternalLocation(a, opts)) @@ -55,9 +100,16 @@ export function getExternalLocationOutput(args: GetExternalLocationOutputArgs, o * A collection of arguments for invoking getExternalLocation. */ export interface GetExternalLocationOutputArgs { + /** + * array of objects with information about external location: + */ externalLocationInfo?: pulumi.Input; /** - * The name of the storage credential + * external location ID - same as name. + */ + id?: pulumi.Input; + /** + * The name of the external location */ name: pulumi.Input; } diff --git a/sdk/nodejs/getStorageCredential.ts b/sdk/nodejs/getStorageCredential.ts index 9b3becdb..5164b1e2 100644 --- a/sdk/nodejs/getStorageCredential.ts +++ b/sdk/nodejs/getStorageCredential.ts @@ -10,11 +10,29 @@ import * as utilities from "./utilities"; * ## Example Usage * * Getting details of an existing storage credential in the metastore + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const this = databricks.getStorageCredential({ + * name: "this", + * }); + * export const createdBy = _this.then(_this => _this.storageCredentialInfo?.createdBy); + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getStorageCredentials to get names of all credentials + * * databricks.StorageCredential to manage Storage Credentials within Unity Catalog. */ export function getStorageCredential(args: GetStorageCredentialArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("databricks:index/getStorageCredential:getStorageCredential", { + "id": args.id, "name": args.name, "storageCredentialInfo": args.storageCredentialInfo, }, opts); @@ -24,10 +42,17 @@ export function getStorageCredential(args: GetStorageCredentialArgs, opts?: pulu * A collection of arguments for invoking getStorageCredential. */ export interface GetStorageCredentialArgs { + /** + * Unique ID of storage credential. + */ + id?: string; /** * The name of the storage credential */ name: string; + /** + * array of objects with information about storage credential. + */ storageCredentialInfo?: inputs.GetStorageCredentialStorageCredentialInfo; } @@ -36,16 +61,36 @@ export interface GetStorageCredentialArgs { */ export interface GetStorageCredentialResult { /** - * The provider-assigned unique ID for this managed resource. + * Unique ID of storage credential. */ readonly id: string; readonly name: string; + /** + * array of objects with information about storage credential. + */ readonly storageCredentialInfo: outputs.GetStorageCredentialStorageCredentialInfo; } /** * ## Example Usage * * Getting details of an existing storage credential in the metastore + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const this = databricks.getStorageCredential({ + * name: "this", + * }); + * export const createdBy = _this.then(_this => _this.storageCredentialInfo?.createdBy); + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getStorageCredentials to get names of all credentials + * * databricks.StorageCredential to manage Storage Credentials within Unity Catalog. */ export function getStorageCredentialOutput(args: GetStorageCredentialOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getStorageCredential(a, opts)) @@ -55,9 +100,16 @@ export function getStorageCredentialOutput(args: GetStorageCredentialOutputArgs, * A collection of arguments for invoking getStorageCredential. */ export interface GetStorageCredentialOutputArgs { + /** + * Unique ID of storage credential. + */ + id?: pulumi.Input; /** * The name of the storage credential */ name: pulumi.Input; + /** + * array of objects with information about storage credential. + */ storageCredentialInfo?: pulumi.Input; } diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 2a0cf13c..d9787d5d 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -15,6 +15,11 @@ export type ArtifactAllowlist = import("./artifactAllowlist").ArtifactAllowlist; export const ArtifactAllowlist: typeof import("./artifactAllowlist").ArtifactAllowlist = null as any; utilities.lazyLoad(exports, ["ArtifactAllowlist"], () => require("./artifactAllowlist")); +export { AutomaticClusterUpdateWorkspaceSettingArgs, AutomaticClusterUpdateWorkspaceSettingState } from "./automaticClusterUpdateWorkspaceSetting"; +export type AutomaticClusterUpdateWorkspaceSetting = import("./automaticClusterUpdateWorkspaceSetting").AutomaticClusterUpdateWorkspaceSetting; +export const AutomaticClusterUpdateWorkspaceSetting: typeof import("./automaticClusterUpdateWorkspaceSetting").AutomaticClusterUpdateWorkspaceSetting = null as any; +utilities.lazyLoad(exports, ["AutomaticClusterUpdateWorkspaceSetting"], () => require("./automaticClusterUpdateWorkspaceSetting")); + export { CatalogArgs, CatalogState } from "./catalog"; export type Catalog = import("./catalog").Catalog; export const Catalog: typeof import("./catalog").Catalog = null as any; @@ -35,6 +40,11 @@ export type ClusterPolicy = import("./clusterPolicy").ClusterPolicy; export const ClusterPolicy: typeof import("./clusterPolicy").ClusterPolicy = null as any; utilities.lazyLoad(exports, ["ClusterPolicy"], () => require("./clusterPolicy")); +export { ComplianceSecurityProfileWorkspaceSettingArgs, ComplianceSecurityProfileWorkspaceSettingState } from "./complianceSecurityProfileWorkspaceSetting"; +export type ComplianceSecurityProfileWorkspaceSetting = import("./complianceSecurityProfileWorkspaceSetting").ComplianceSecurityProfileWorkspaceSetting; +export const ComplianceSecurityProfileWorkspaceSetting: typeof import("./complianceSecurityProfileWorkspaceSetting").ComplianceSecurityProfileWorkspaceSetting = null as any; +utilities.lazyLoad(exports, ["ComplianceSecurityProfileWorkspaceSetting"], () => require("./complianceSecurityProfileWorkspaceSetting")); + export { ConnectionArgs, ConnectionState } from "./connection"; export type Connection = import("./connection").Connection; export const Connection: typeof import("./connection").Connection = null as any; @@ -55,6 +65,11 @@ export type Directory = import("./directory").Directory; export const Directory: typeof import("./directory").Directory = null as any; utilities.lazyLoad(exports, ["Directory"], () => require("./directory")); +export { EnhancedSecurityMonitoringWorkspaceSettingArgs, EnhancedSecurityMonitoringWorkspaceSettingState } from "./enhancedSecurityMonitoringWorkspaceSetting"; +export type EnhancedSecurityMonitoringWorkspaceSetting = import("./enhancedSecurityMonitoringWorkspaceSetting").EnhancedSecurityMonitoringWorkspaceSetting; +export const EnhancedSecurityMonitoringWorkspaceSetting: typeof import("./enhancedSecurityMonitoringWorkspaceSetting").EnhancedSecurityMonitoringWorkspaceSetting = null as any; +utilities.lazyLoad(exports, ["EnhancedSecurityMonitoringWorkspaceSetting"], () => require("./enhancedSecurityMonitoringWorkspaceSetting")); + export { EntitlementsArgs, EntitlementsState } from "./entitlements"; export type Entitlements = import("./entitlements").Entitlements; export const Entitlements: typeof import("./entitlements").Entitlements = null as any; @@ -520,6 +535,11 @@ export type Provider = import("./provider").Provider; export const Provider: typeof import("./provider").Provider = null as any; utilities.lazyLoad(exports, ["Provider"], () => require("./provider")); +export { QualityMonitorArgs, QualityMonitorState } from "./qualityMonitor"; +export type QualityMonitor = import("./qualityMonitor").QualityMonitor; +export const QualityMonitor: typeof import("./qualityMonitor").QualityMonitor = null as any; +utilities.lazyLoad(exports, ["QualityMonitor"], () => require("./qualityMonitor")); + export { RecipientArgs, RecipientState } from "./recipient"; export type Recipient = import("./recipient").Recipient; export const Recipient: typeof import("./recipient").Recipient = null as any; @@ -703,6 +723,8 @@ const _module = { return new AccessControlRuleSet(name, undefined, { urn }) case "databricks:index/artifactAllowlist:ArtifactAllowlist": return new ArtifactAllowlist(name, undefined, { urn }) + case "databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting": + return new AutomaticClusterUpdateWorkspaceSetting(name, undefined, { urn }) case "databricks:index/catalog:Catalog": return new Catalog(name, undefined, { urn }) case "databricks:index/catalogWorkspaceBinding:CatalogWorkspaceBinding": @@ -711,6 +733,8 @@ const _module = { return new Cluster(name, undefined, { urn }) case "databricks:index/clusterPolicy:ClusterPolicy": return new ClusterPolicy(name, undefined, { urn }) + case "databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting": + return new ComplianceSecurityProfileWorkspaceSetting(name, undefined, { urn }) case "databricks:index/connection:Connection": return new Connection(name, undefined, { urn }) case "databricks:index/dbfsFile:DbfsFile": @@ -719,6 +743,8 @@ const _module = { return new DefaultNamespaceSetting(name, undefined, { urn }) case "databricks:index/directory:Directory": return new Directory(name, undefined, { urn }) + case "databricks:index/enhancedSecurityMonitoringWorkspaceSetting:EnhancedSecurityMonitoringWorkspaceSetting": + return new EnhancedSecurityMonitoringWorkspaceSetting(name, undefined, { urn }) case "databricks:index/entitlements:Entitlements": return new Entitlements(name, undefined, { urn }) case "databricks:index/externalLocation:ExternalLocation": @@ -807,6 +833,8 @@ const _module = { return new Permissions(name, undefined, { urn }) case "databricks:index/pipeline:Pipeline": return new Pipeline(name, undefined, { urn }) + case "databricks:index/qualityMonitor:QualityMonitor": + return new QualityMonitor(name, undefined, { urn }) case "databricks:index/recipient:Recipient": return new Recipient(name, undefined, { urn }) case "databricks:index/registeredModel:RegisteredModel": @@ -880,14 +908,17 @@ const _module = { }; pulumi.runtime.registerResourceModule("databricks", "index/accessControlRuleSet", _module) pulumi.runtime.registerResourceModule("databricks", "index/artifactAllowlist", _module) +pulumi.runtime.registerResourceModule("databricks", "index/automaticClusterUpdateWorkspaceSetting", _module) pulumi.runtime.registerResourceModule("databricks", "index/catalog", _module) pulumi.runtime.registerResourceModule("databricks", "index/catalogWorkspaceBinding", _module) pulumi.runtime.registerResourceModule("databricks", "index/cluster", _module) pulumi.runtime.registerResourceModule("databricks", "index/clusterPolicy", _module) +pulumi.runtime.registerResourceModule("databricks", "index/complianceSecurityProfileWorkspaceSetting", _module) pulumi.runtime.registerResourceModule("databricks", "index/connection", _module) pulumi.runtime.registerResourceModule("databricks", "index/dbfsFile", _module) pulumi.runtime.registerResourceModule("databricks", "index/defaultNamespaceSetting", _module) pulumi.runtime.registerResourceModule("databricks", "index/directory", _module) +pulumi.runtime.registerResourceModule("databricks", "index/enhancedSecurityMonitoringWorkspaceSetting", _module) pulumi.runtime.registerResourceModule("databricks", "index/entitlements", _module) pulumi.runtime.registerResourceModule("databricks", "index/externalLocation", _module) pulumi.runtime.registerResourceModule("databricks", "index/file", _module) @@ -932,6 +963,7 @@ 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) +pulumi.runtime.registerResourceModule("databricks", "index/qualityMonitor", _module) pulumi.runtime.registerResourceModule("databricks", "index/recipient", _module) pulumi.runtime.registerResourceModule("databricks", "index/registeredModel", _module) pulumi.runtime.registerResourceModule("databricks", "index/repo", _module) diff --git a/sdk/nodejs/lakehouseMonitor.ts b/sdk/nodejs/lakehouseMonitor.ts index 6b6620ed..e86fe075 100644 --- a/sdk/nodejs/lakehouseMonitor.ts +++ b/sdk/nodejs/lakehouseMonitor.ts @@ -7,6 +7,8 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** + * NOTE: This resource has been deprecated and will be removed soon. Please use the databricks.QualityMonitor resource instead. + * * 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. diff --git a/sdk/nodejs/modelServing.ts b/sdk/nodejs/modelServing.ts index 8492e85c..9a44edde 100644 --- a/sdk/nodejs/modelServing.ts +++ b/sdk/nodejs/modelServing.ts @@ -118,6 +118,10 @@ export class ModelServing extends pulumi.CustomResource { * 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; + /** + * A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + */ + public readonly routeOptimized!: pulumi.Output; /** * Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. */ @@ -143,6 +147,7 @@ export class ModelServing extends pulumi.CustomResource { resourceInputs["config"] = state ? state.config : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["rateLimits"] = state ? state.rateLimits : undefined; + resourceInputs["routeOptimized"] = state ? state.routeOptimized : undefined; resourceInputs["servingEndpointId"] = state ? state.servingEndpointId : undefined; resourceInputs["tags"] = state ? state.tags : undefined; } else { @@ -153,6 +158,7 @@ export class ModelServing extends pulumi.CustomResource { resourceInputs["config"] = args ? args.config : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["rateLimits"] = args ? args.rateLimits : undefined; + resourceInputs["routeOptimized"] = args ? args.routeOptimized : undefined; resourceInputs["tags"] = args ? args.tags : undefined; resourceInputs["servingEndpointId"] = undefined /*out*/; } @@ -177,6 +183,10 @@ export interface ModelServingState { * 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[]>; + /** + * A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + */ + routeOptimized?: pulumi.Input; /** * Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. */ @@ -203,6 +213,10 @@ export interface ModelServingArgs { * 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[]>; + /** + * A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + */ + routeOptimized?: pulumi.Input; /** * Tags to be attached to the serving endpoint and automatically propagated to billing logs. */ diff --git a/sdk/nodejs/qualityMonitor.ts b/sdk/nodejs/qualityMonitor.ts new file mode 100644 index 00000000..16923726 --- /dev/null +++ b/sdk/nodejs/qualityMonitor.ts @@ -0,0 +1,377 @@ +// *** WARNING: this file 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.QualityMonitor` 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.QualityMonitor("testMonitorInference", { + * tableName: `${sandbox.name}.${things.name}.${myTestTable.name}`, + * assetsDir: `/Shared/provider-test/databricks_quality_monitoring/${myTestTable.name}`, + * outputSchemaName: `${sandbox.name}.${things.name}`, + * inferenceLog: { + * granularities: ["1 hour"], + * timestampCol: "timestamp", + * predictionCol: "prediction", + * modelIdCol: "model_id", + * problemType: "PROBLEM_TYPE_REGRESSION", + * }, + * }); + * ``` + * ### Snapshot Monitor + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const testMonitorInference = new databricks.QualityMonitor("testMonitorInference", { + * tableName: `${sandbox.name}.${things.name}.${myTestTable.name}`, + * assetsDir: `/Shared/provider-test/databricks_quality_monitoring/${myTestTable.name}`, + * outputSchemaName: `${sandbox.name}.${things.name}`, + * snapshot: {}, + * }); + * ``` + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * databricks.Catalog + * * databricks.Schema + * * databricks.SqlTable + */ +export class QualityMonitor extends pulumi.CustomResource { + /** + * Get an existing QualityMonitor 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?: QualityMonitorState, opts?: pulumi.CustomResourceOptions): QualityMonitor { + return new QualityMonitor(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'databricks:index/qualityMonitor:QualityMonitor'; + + /** + * Returns true if the given object is an instance of QualityMonitor. 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 QualityMonitor { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === QualityMonitor.__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. The following optional blocks are supported, each consisting of the single string array field with name `emailAddresses` containing a list of emails to notify: + */ + 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. This block consists of following fields: + */ + 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 QualityMonitor 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: QualityMonitorArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: QualityMonitorArgs | QualityMonitorState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as QualityMonitorState | 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 QualityMonitorArgs | 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(QualityMonitor.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering QualityMonitor resources. + */ +export interface QualityMonitorState { + /** + * 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. The following optional blocks are supported, each consisting of the single string array field with name `emailAddresses` containing a list of emails to notify: + */ + 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. This block consists of following fields: + */ + 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 QualityMonitor resource. + */ +export interface QualityMonitorArgs { + /** + * 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. The following optional blocks are supported, each consisting of the single string array field with name `emailAddresses` containing a list of emails to notify: + */ + notifications?: pulumi.Input; + /** + * Schema where output metric tables are created + */ + outputSchemaName: pulumi.Input; + /** + * The schedule for automatically updating and refreshing metric tables. This block consists of following fields: + */ + 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/tsconfig.json b/sdk/nodejs/tsconfig.json index 1ed5cec0..6f979037 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -15,16 +15,19 @@ "files": [ "accessControlRuleSet.ts", "artifactAllowlist.ts", + "automaticClusterUpdateWorkspaceSetting.ts", "catalog.ts", "catalogWorkspaceBinding.ts", "cluster.ts", "clusterPolicy.ts", + "complianceSecurityProfileWorkspaceSetting.ts", "config/index.ts", "config/vars.ts", "connection.ts", "dbfsFile.ts", "defaultNamespaceSetting.ts", "directory.ts", + "enhancedSecurityMonitoringWorkspaceSetting.ts", "entitlements.ts", "externalLocation.ts", "file.ts", @@ -119,6 +122,7 @@ "permissions.ts", "pipeline.ts", "provider.ts", + "qualityMonitor.ts", "recipient.ts", "registeredModel.ts", "repo.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 4fe69416..c18ea5a0 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -34,6 +34,35 @@ export interface ArtifactAllowlistArtifactMatcher { matchType: pulumi.Input; } +export interface AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace { + canToggle?: pulumi.Input; + enabled?: pulumi.Input; + enablementDetails?: pulumi.Input; + maintenanceWindow?: pulumi.Input; + restartEvenIfNoUpdatesAvailable?: pulumi.Input; +} + +export interface AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails { + forcedForComplianceMode?: pulumi.Input; + unavailableForDisabledEntitlement?: pulumi.Input; + unavailableForNonEnterpriseTier?: pulumi.Input; +} + +export interface AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow { + weekDayBasedSchedule?: pulumi.Input; +} + +export interface AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule { + dayOfWeek?: pulumi.Input; + frequency?: pulumi.Input; + windowStartTime?: pulumi.Input; +} + +export interface AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime { + hours?: pulumi.Input; + minutes?: pulumi.Input; +} + export interface ClusterAutoscale { /** * The maximum number of workers to which the cluster can scale up when overloaded. maxWorkers must be strictly greater than min_workers. @@ -136,10 +165,6 @@ export interface ClusterAzureAttributesLogAnalyticsInfo { logAnalyticsWorkspaceId?: pulumi.Input; } -export interface ClusterCloneFrom { - sourceClusterId: pulumi.Input; -} - export interface ClusterClusterLogConf { dbfs?: pulumi.Input; s3?: pulumi.Input; @@ -395,6 +420,11 @@ export interface ClusterWorkloadTypeClients { notebooks?: pulumi.Input; } +export interface ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace { + complianceStandards?: pulumi.Input[]>; + isEnabled?: pulumi.Input; +} + export interface DefaultNamespaceSettingNamespace { /** * The value for the setting. @@ -402,6 +432,10 @@ export interface DefaultNamespaceSettingNamespace { value?: pulumi.Input; } +export interface EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace { + isEnabled?: pulumi.Input; +} + export interface ExternalLocationEncryptionDetails { sseEncryptionDetails?: pulumi.Input; } @@ -1257,8 +1291,17 @@ export interface GetExternalLocationExternalLocationInfo { * User-supplied comment. */ comment?: string; + /** + * Time at which this catalog was created, in epoch milliseconds. + */ createdAt?: number; + /** + * Username of catalog creator. + */ createdBy?: string; + /** + * Unique ID of storage credential. + */ credentialId?: string; /** * Name of the databricks.StorageCredential to use with this external location. @@ -1268,9 +1311,12 @@ export interface GetExternalLocationExternalLocationInfo { * The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). */ encryptionDetails?: inputs.GetExternalLocationExternalLocationInfoEncryptionDetails; + /** + * Unique identifier of the parent Metastore. + */ metastoreId?: string; /** - * The name of the storage credential + * The name of the external location */ name?: string; /** @@ -1281,7 +1327,13 @@ export interface GetExternalLocationExternalLocationInfo { * Indicates whether the external location is read-only. */ readOnly?: boolean; + /** + * Time at which this catalog was last modified, in epoch milliseconds. + */ updatedAt?: number; + /** + * Username of user who last modified catalog. + */ updatedBy?: string; /** * Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). @@ -1299,8 +1351,17 @@ export interface GetExternalLocationExternalLocationInfoArgs { * User-supplied comment. */ comment?: pulumi.Input; + /** + * Time at which this catalog was created, in epoch milliseconds. + */ createdAt?: pulumi.Input; + /** + * Username of catalog creator. + */ createdBy?: pulumi.Input; + /** + * Unique ID of storage credential. + */ credentialId?: pulumi.Input; /** * Name of the databricks.StorageCredential to use with this external location. @@ -1310,9 +1371,12 @@ export interface GetExternalLocationExternalLocationInfoArgs { * The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). */ encryptionDetails?: pulumi.Input; + /** + * Unique identifier of the parent Metastore. + */ metastoreId?: pulumi.Input; /** - * The name of the storage credential + * The name of the external location */ name?: pulumi.Input; /** @@ -1323,7 +1387,13 @@ export interface GetExternalLocationExternalLocationInfoArgs { * Indicates whether the external location is read-only. */ readOnly?: pulumi.Input; + /** + * Time at which this catalog was last modified, in epoch milliseconds. + */ updatedAt?: pulumi.Input; + /** + * Username of user who last modified catalog. + */ updatedBy?: pulumi.Input; /** * Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). @@ -4556,14 +4626,35 @@ export interface GetSqlWarehouseTagsCustomTagArgs { } export interface GetStorageCredentialStorageCredentialInfo { + /** + * credential details for AWS: + */ awsIamRole?: inputs.GetStorageCredentialStorageCredentialInfoAwsIamRole; + /** + * managed identity credential details for Azure + */ azureManagedIdentity?: inputs.GetStorageCredentialStorageCredentialInfoAzureManagedIdentity; + /** + * service principal credential details for Azure: + */ azureServicePrincipal?: inputs.GetStorageCredentialStorageCredentialInfoAzureServicePrincipal; cloudflareApiToken?: inputs.GetStorageCredentialStorageCredentialInfoCloudflareApiToken; comment?: string; + /** + * Time at which this catalog was created, in epoch milliseconds. + */ createdAt?: number; + /** + * Username of catalog creator. + */ createdBy?: string; + /** + * credential details for GCP: + */ databricksGcpServiceAccount?: inputs.GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount; + /** + * Unique ID of storage credential. + */ id?: string; /** * Unique identifier of the parent Metastore. @@ -4581,20 +4672,47 @@ export interface GetStorageCredentialStorageCredentialInfo { * Indicates whether the storage credential is only usable for read operations. */ readOnly?: boolean; + /** + * Time at which this catalog was last modified, in epoch milliseconds. + */ updatedAt?: number; + /** + * Username of user who last modified catalog. + */ updatedBy?: string; usedForManagedStorage?: boolean; } export interface GetStorageCredentialStorageCredentialInfoArgs { + /** + * credential details for AWS: + */ awsIamRole?: pulumi.Input; + /** + * managed identity credential details for Azure + */ azureManagedIdentity?: pulumi.Input; + /** + * service principal credential details for Azure: + */ azureServicePrincipal?: pulumi.Input; cloudflareApiToken?: pulumi.Input; comment?: pulumi.Input; + /** + * Time at which this catalog was created, in epoch milliseconds. + */ createdAt?: pulumi.Input; + /** + * Username of catalog creator. + */ createdBy?: pulumi.Input; + /** + * credential details for GCP: + */ databricksGcpServiceAccount?: pulumi.Input; + /** + * Unique ID of storage credential. + */ id?: pulumi.Input; /** * Unique identifier of the parent Metastore. @@ -4612,7 +4730,13 @@ export interface GetStorageCredentialStorageCredentialInfoArgs { * Indicates whether the storage credential is only usable for read operations. */ readOnly?: pulumi.Input; + /** + * Time at which this catalog was last modified, in epoch milliseconds. + */ updatedAt?: pulumi.Input; + /** + * Username of user who last modified catalog. + */ updatedBy?: pulumi.Input; usedForManagedStorage?: pulumi.Input; } @@ -5325,7 +5449,6 @@ export interface JobJobClusterNewCluster { autoterminationMinutes?: pulumi.Input; awsAttributes?: pulumi.Input; azureAttributes?: pulumi.Input; - cloneFrom?: pulumi.Input; clusterId?: pulumi.Input; clusterLogConf?: pulumi.Input; clusterMountInfos?: pulumi.Input[]>; @@ -5387,10 +5510,6 @@ export interface JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo { logAnalyticsWorkspaceId?: pulumi.Input; } -export interface JobJobClusterNewClusterCloneFrom { - sourceClusterId: pulumi.Input; -} - export interface JobJobClusterNewClusterClusterLogConf { dbfs?: pulumi.Input; s3?: pulumi.Input; @@ -5557,7 +5676,6 @@ export interface JobNewCluster { autoterminationMinutes?: pulumi.Input; awsAttributes?: pulumi.Input; azureAttributes?: pulumi.Input; - cloneFrom?: pulumi.Input; clusterId?: pulumi.Input; clusterLogConf?: pulumi.Input; clusterMountInfos?: pulumi.Input[]>; @@ -5619,10 +5737,6 @@ export interface JobNewClusterAzureAttributesLogAnalyticsInfo { logAnalyticsWorkspaceId?: pulumi.Input; } -export interface JobNewClusterCloneFrom { - sourceClusterId: pulumi.Input; -} - export interface JobNewClusterClusterLogConf { dbfs?: pulumi.Input; s3?: pulumi.Input; @@ -6327,7 +6441,6 @@ export interface JobTaskForEachTaskTaskNewCluster { autoterminationMinutes?: pulumi.Input; awsAttributes?: pulumi.Input; azureAttributes?: pulumi.Input; - cloneFrom?: pulumi.Input; clusterId?: pulumi.Input; clusterLogConf?: pulumi.Input; clusterMountInfos?: pulumi.Input[]>; @@ -6389,10 +6502,6 @@ export interface JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo logAnalyticsWorkspaceId?: pulumi.Input; } -export interface JobTaskForEachTaskTaskNewClusterCloneFrom { - sourceClusterId: pulumi.Input; -} - export interface JobTaskForEachTaskTaskNewClusterClusterLogConf { dbfs?: pulumi.Input; s3?: pulumi.Input; @@ -6889,7 +6998,6 @@ export interface JobTaskNewCluster { autoterminationMinutes?: pulumi.Input; awsAttributes?: pulumi.Input; azureAttributes?: pulumi.Input; - cloneFrom?: pulumi.Input; clusterId?: pulumi.Input; clusterLogConf?: pulumi.Input; clusterMountInfos?: pulumi.Input[]>; @@ -6951,10 +7059,6 @@ export interface JobTaskNewClusterAzureAttributesLogAnalyticsInfo { logAnalyticsWorkspaceId?: pulumi.Input; } -export interface JobTaskNewClusterCloneFrom { - sourceClusterId: pulumi.Input; -} - export interface JobTaskNewClusterClusterLogConf { dbfs?: pulumi.Input; s3?: pulumi.Input; @@ -7829,8 +7933,11 @@ export interface ModelServingConfigServedEntityExternalModelDatabricksModelServi } export interface ModelServingConfigServedEntityExternalModelOpenaiConfig { + microsoftEntraClientId?: pulumi.Input; + microsoftEntraClientSecret?: pulumi.Input; + microsoftEntraTenantId?: pulumi.Input; openaiApiBase?: pulumi.Input; - openaiApiKey: pulumi.Input; + openaiApiKey?: pulumi.Input; openaiApiType?: pulumi.Input; openaiApiVersion?: pulumi.Input; openaiDeploymentName?: pulumi.Input; @@ -8398,6 +8505,112 @@ export interface PipelineNotification { emailRecipients: pulumi.Input[]>; } +export interface QualityMonitorCustomMetric { + /** + * [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 QualityMonitorDataClassificationConfig { + enabled?: pulumi.Input; +} + +export interface QualityMonitorInferenceLog { + /** + * 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 QualityMonitorNotifications { + /** + * who to send notifications to on monitor failure. + */ + onFailure?: pulumi.Input; + /** + * Who to send notifications to when new data classification tags are detected. + */ + onNewClassificationTagDetected?: pulumi.Input; +} + +export interface QualityMonitorNotificationsOnFailure { + emailAddresses?: pulumi.Input[]>; +} + +export interface QualityMonitorNotificationsOnNewClassificationTagDetected { + emailAddresses?: pulumi.Input[]>; +} + +export interface QualityMonitorSchedule { + /** + * optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + */ + pauseStatus?: pulumi.Input; + /** + * string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + */ + quartzCronExpression: pulumi.Input; + /** + * string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + */ + timezoneId: pulumi.Input; +} + +export interface QualityMonitorSnapshot { +} + +export interface QualityMonitorTimeSeries { + /** + * 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 RecipientIpAccessList { allowedIpAddresses?: pulumi.Input[]>; } @@ -8856,6 +9069,7 @@ export interface VectorSearchIndexDeltaSyncIndexSpec { */ embeddingSourceColumns?: pulumi.Input[]>; embeddingVectorColumns?: pulumi.Input[]>; + embeddingWritebackTable?: pulumi.Input; /** * ID of the associated Delta Live Table pipeline. */ diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 5481424c..dc90fecc 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -34,6 +34,35 @@ export interface ArtifactAllowlistArtifactMatcher { matchType: string; } +export interface AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace { + canToggle?: boolean; + enabled?: boolean; + enablementDetails: outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails; + maintenanceWindow?: outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow; + restartEvenIfNoUpdatesAvailable?: boolean; +} + +export interface AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails { + forcedForComplianceMode?: boolean; + unavailableForDisabledEntitlement?: boolean; + unavailableForNonEnterpriseTier?: boolean; +} + +export interface AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow { + weekDayBasedSchedule?: outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule; +} + +export interface AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule { + dayOfWeek?: string; + frequency?: string; + windowStartTime?: outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime; +} + +export interface AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime { + hours?: number; + minutes?: number; +} + export interface ClusterAutoscale { /** * The maximum number of workers to which the cluster can scale up when overloaded. maxWorkers must be strictly greater than min_workers. @@ -136,10 +165,6 @@ export interface ClusterAzureAttributesLogAnalyticsInfo { logAnalyticsWorkspaceId?: string; } -export interface ClusterCloneFrom { - sourceClusterId: string; -} - export interface ClusterClusterLogConf { dbfs?: outputs.ClusterClusterLogConfDbfs; s3?: outputs.ClusterClusterLogConfS3; @@ -395,6 +420,11 @@ export interface ClusterWorkloadTypeClients { notebooks?: boolean; } +export interface ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace { + complianceStandards?: string[]; + isEnabled?: boolean; +} + export interface DefaultNamespaceSettingNamespace { /** * The value for the setting. @@ -402,6 +432,10 @@ export interface DefaultNamespaceSettingNamespace { value?: string; } +export interface EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace { + isEnabled?: boolean; +} + export interface ExternalLocationEncryptionDetails { sseEncryptionDetails?: outputs.ExternalLocationEncryptionDetailsSseEncryptionDetails; } @@ -847,8 +881,17 @@ export interface GetExternalLocationExternalLocationInfo { * User-supplied comment. */ comment?: string; + /** + * Time at which this catalog was created, in epoch milliseconds. + */ createdAt?: number; + /** + * Username of catalog creator. + */ createdBy?: string; + /** + * Unique ID of storage credential. + */ credentialId?: string; /** * Name of the databricks.StorageCredential to use with this external location. @@ -858,9 +901,12 @@ export interface GetExternalLocationExternalLocationInfo { * The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). */ encryptionDetails?: outputs.GetExternalLocationExternalLocationInfoEncryptionDetails; + /** + * Unique identifier of the parent Metastore. + */ metastoreId?: string; /** - * The name of the storage credential + * The name of the external location */ name?: string; /** @@ -871,7 +917,13 @@ export interface GetExternalLocationExternalLocationInfo { * Indicates whether the external location is read-only. */ readOnly?: boolean; + /** + * Time at which this catalog was last modified, in epoch milliseconds. + */ updatedAt?: number; + /** + * Username of user who last modified catalog. + */ updatedBy?: string; /** * Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). @@ -2500,14 +2552,35 @@ export interface GetSqlWarehouseTagsCustomTag { } export interface GetStorageCredentialStorageCredentialInfo { + /** + * credential details for AWS: + */ awsIamRole?: outputs.GetStorageCredentialStorageCredentialInfoAwsIamRole; + /** + * managed identity credential details for Azure + */ azureManagedIdentity?: outputs.GetStorageCredentialStorageCredentialInfoAzureManagedIdentity; + /** + * service principal credential details for Azure: + */ azureServicePrincipal?: outputs.GetStorageCredentialStorageCredentialInfoAzureServicePrincipal; cloudflareApiToken?: outputs.GetStorageCredentialStorageCredentialInfoCloudflareApiToken; comment?: string; + /** + * Time at which this catalog was created, in epoch milliseconds. + */ createdAt?: number; + /** + * Username of catalog creator. + */ createdBy?: string; + /** + * credential details for GCP: + */ databricksGcpServiceAccount?: outputs.GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount; + /** + * Unique ID of storage credential. + */ id?: string; /** * Unique identifier of the parent Metastore. @@ -2525,7 +2598,13 @@ export interface GetStorageCredentialStorageCredentialInfo { * Indicates whether the storage credential is only usable for read operations. */ readOnly?: boolean; + /** + * Time at which this catalog was last modified, in epoch milliseconds. + */ updatedAt?: number; + /** + * Username of user who last modified catalog. + */ updatedBy?: string; usedForManagedStorage?: boolean; } @@ -3022,7 +3101,6 @@ export interface JobJobClusterNewCluster { autoterminationMinutes?: number; awsAttributes?: outputs.JobJobClusterNewClusterAwsAttributes; azureAttributes?: outputs.JobJobClusterNewClusterAzureAttributes; - cloneFrom?: outputs.JobJobClusterNewClusterCloneFrom; clusterId?: string; clusterLogConf?: outputs.JobJobClusterNewClusterClusterLogConf; clusterMountInfos?: outputs.JobJobClusterNewClusterClusterMountInfo[]; @@ -3084,10 +3162,6 @@ export interface JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo { logAnalyticsWorkspaceId?: string; } -export interface JobJobClusterNewClusterCloneFrom { - sourceClusterId: string; -} - export interface JobJobClusterNewClusterClusterLogConf { dbfs?: outputs.JobJobClusterNewClusterClusterLogConfDbfs; s3?: outputs.JobJobClusterNewClusterClusterLogConfS3; @@ -3254,7 +3328,6 @@ export interface JobNewCluster { autoterminationMinutes?: number; awsAttributes?: outputs.JobNewClusterAwsAttributes; azureAttributes?: outputs.JobNewClusterAzureAttributes; - cloneFrom?: outputs.JobNewClusterCloneFrom; clusterId?: string; clusterLogConf?: outputs.JobNewClusterClusterLogConf; clusterMountInfos?: outputs.JobNewClusterClusterMountInfo[]; @@ -3316,10 +3389,6 @@ export interface JobNewClusterAzureAttributesLogAnalyticsInfo { logAnalyticsWorkspaceId?: string; } -export interface JobNewClusterCloneFrom { - sourceClusterId: string; -} - export interface JobNewClusterClusterLogConf { dbfs?: outputs.JobNewClusterClusterLogConfDbfs; s3?: outputs.JobNewClusterClusterLogConfS3; @@ -4024,7 +4093,6 @@ export interface JobTaskForEachTaskTaskNewCluster { autoterminationMinutes?: number; awsAttributes?: outputs.JobTaskForEachTaskTaskNewClusterAwsAttributes; azureAttributes?: outputs.JobTaskForEachTaskTaskNewClusterAzureAttributes; - cloneFrom?: outputs.JobTaskForEachTaskTaskNewClusterCloneFrom; clusterId?: string; clusterLogConf?: outputs.JobTaskForEachTaskTaskNewClusterClusterLogConf; clusterMountInfos?: outputs.JobTaskForEachTaskTaskNewClusterClusterMountInfo[]; @@ -4086,10 +4154,6 @@ export interface JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo logAnalyticsWorkspaceId?: string; } -export interface JobTaskForEachTaskTaskNewClusterCloneFrom { - sourceClusterId: string; -} - export interface JobTaskForEachTaskTaskNewClusterClusterLogConf { dbfs?: outputs.JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs; s3?: outputs.JobTaskForEachTaskTaskNewClusterClusterLogConfS3; @@ -4586,7 +4650,6 @@ export interface JobTaskNewCluster { autoterminationMinutes?: number; awsAttributes?: outputs.JobTaskNewClusterAwsAttributes; azureAttributes?: outputs.JobTaskNewClusterAzureAttributes; - cloneFrom?: outputs.JobTaskNewClusterCloneFrom; clusterId?: string; clusterLogConf?: outputs.JobTaskNewClusterClusterLogConf; clusterMountInfos?: outputs.JobTaskNewClusterClusterMountInfo[]; @@ -4648,10 +4711,6 @@ export interface JobTaskNewClusterAzureAttributesLogAnalyticsInfo { logAnalyticsWorkspaceId?: string; } -export interface JobTaskNewClusterCloneFrom { - sourceClusterId: string; -} - export interface JobTaskNewClusterClusterLogConf { dbfs?: outputs.JobTaskNewClusterClusterLogConfDbfs; s3?: outputs.JobTaskNewClusterClusterLogConfS3; @@ -5526,8 +5585,11 @@ export interface ModelServingConfigServedEntityExternalModelDatabricksModelServi } export interface ModelServingConfigServedEntityExternalModelOpenaiConfig { + microsoftEntraClientId?: string; + microsoftEntraClientSecret?: string; + microsoftEntraTenantId?: string; openaiApiBase?: string; - openaiApiKey: string; + openaiApiKey?: string; openaiApiType?: string; openaiApiVersion?: string; openaiDeploymentName?: string; @@ -6095,6 +6157,112 @@ export interface PipelineNotification { emailRecipients: string[]; } +export interface QualityMonitorCustomMetric { + /** + * [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 QualityMonitorDataClassificationConfig { + enabled?: boolean; +} + +export interface QualityMonitorInferenceLog { + /** + * 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 QualityMonitorNotifications { + /** + * who to send notifications to on monitor failure. + */ + onFailure?: outputs.QualityMonitorNotificationsOnFailure; + /** + * Who to send notifications to when new data classification tags are detected. + */ + onNewClassificationTagDetected?: outputs.QualityMonitorNotificationsOnNewClassificationTagDetected; +} + +export interface QualityMonitorNotificationsOnFailure { + emailAddresses?: string[]; +} + +export interface QualityMonitorNotificationsOnNewClassificationTagDetected { + emailAddresses?: string[]; +} + +export interface QualityMonitorSchedule { + /** + * optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + */ + pauseStatus?: string; + /** + * string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + */ + quartzCronExpression: string; + /** + * string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + */ + timezoneId: string; +} + +export interface QualityMonitorSnapshot { +} + +export interface QualityMonitorTimeSeries { + /** + * 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 RecipientIpAccessList { allowedIpAddresses?: string[]; } @@ -6441,7 +6609,7 @@ export interface SqlTableColumn { /** * Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. */ - type?: string; + type: string; } export interface SqlWidgetParameter { @@ -6553,6 +6721,7 @@ export interface VectorSearchIndexDeltaSyncIndexSpec { */ embeddingSourceColumns?: outputs.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn[]; embeddingVectorColumns?: outputs.VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn[]; + embeddingWritebackTable?: string; /** * ID of the associated Delta Live Table pipeline. */ diff --git a/sdk/python/pulumi_databricks/__init__.py b/sdk/python/pulumi_databricks/__init__.py index 6bede4ae..6ab60e9a 100644 --- a/sdk/python/pulumi_databricks/__init__.py +++ b/sdk/python/pulumi_databricks/__init__.py @@ -7,14 +7,17 @@ # Export this package's modules as members: from .access_control_rule_set import * from .artifact_allowlist import * +from .automatic_cluster_update_workspace_setting import * from .catalog import * from .catalog_workspace_binding import * from .cluster import * from .cluster_policy import * +from .compliance_security_profile_workspace_setting import * from .connection import * from .dbfs_file import * from .default_namespace_setting import * from .directory import * +from .enhanced_security_monitoring_workspace_setting import * from .entitlements import * from .external_location import * from .file import * @@ -108,6 +111,7 @@ from .permissions import * from .pipeline import * from .provider import * +from .quality_monitor import * from .recipient import * from .registered_model import * from .repo import * @@ -170,6 +174,14 @@ "databricks:index/artifactAllowlist:ArtifactAllowlist": "ArtifactAllowlist" } }, + { + "pkg": "databricks", + "mod": "index/automaticClusterUpdateWorkspaceSetting", + "fqn": "pulumi_databricks", + "classes": { + "databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting": "AutomaticClusterUpdateWorkspaceSetting" + } + }, { "pkg": "databricks", "mod": "index/catalog", @@ -202,6 +214,14 @@ "databricks:index/clusterPolicy:ClusterPolicy": "ClusterPolicy" } }, + { + "pkg": "databricks", + "mod": "index/complianceSecurityProfileWorkspaceSetting", + "fqn": "pulumi_databricks", + "classes": { + "databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting": "ComplianceSecurityProfileWorkspaceSetting" + } + }, { "pkg": "databricks", "mod": "index/connection", @@ -234,6 +254,14 @@ "databricks:index/directory:Directory": "Directory" } }, + { + "pkg": "databricks", + "mod": "index/enhancedSecurityMonitoringWorkspaceSetting", + "fqn": "pulumi_databricks", + "classes": { + "databricks:index/enhancedSecurityMonitoringWorkspaceSetting:EnhancedSecurityMonitoringWorkspaceSetting": "EnhancedSecurityMonitoringWorkspaceSetting" + } + }, { "pkg": "databricks", "mod": "index/entitlements", @@ -586,6 +614,14 @@ "databricks:index/pipeline:Pipeline": "Pipeline" } }, + { + "pkg": "databricks", + "mod": "index/qualityMonitor", + "fqn": "pulumi_databricks", + "classes": { + "databricks:index/qualityMonitor:QualityMonitor": "QualityMonitor" + } + }, { "pkg": "databricks", "mod": "index/recipient", diff --git a/sdk/python/pulumi_databricks/_inputs.py b/sdk/python/pulumi_databricks/_inputs.py index c3dbbbfd..1ca274d5 100644 --- a/sdk/python/pulumi_databricks/_inputs.py +++ b/sdk/python/pulumi_databricks/_inputs.py @@ -12,11 +12,15 @@ __all__ = [ 'AccessControlRuleSetGrantRuleArgs', 'ArtifactAllowlistArtifactMatcherArgs', + 'AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs', + 'AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs', + 'AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs', + 'AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs', + 'AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs', 'ClusterAutoscaleArgs', 'ClusterAwsAttributesArgs', 'ClusterAzureAttributesArgs', 'ClusterAzureAttributesLogAnalyticsInfoArgs', - 'ClusterCloneFromArgs', 'ClusterClusterLogConfArgs', 'ClusterClusterLogConfDbfsArgs', 'ClusterClusterLogConfS3Args', @@ -43,7 +47,9 @@ 'ClusterPolicyLibraryPypiArgs', 'ClusterWorkloadTypeArgs', 'ClusterWorkloadTypeClientsArgs', + 'ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs', 'DefaultNamespaceSettingNamespaceArgs', + 'EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs', 'ExternalLocationEncryptionDetailsArgs', 'ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs', 'GrantsGrantArgs', @@ -75,7 +81,6 @@ 'JobJobClusterNewClusterAwsAttributesArgs', 'JobJobClusterNewClusterAzureAttributesArgs', 'JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs', - 'JobJobClusterNewClusterCloneFromArgs', 'JobJobClusterNewClusterClusterLogConfArgs', 'JobJobClusterNewClusterClusterLogConfDbfsArgs', 'JobJobClusterNewClusterClusterLogConfS3Args', @@ -107,7 +112,6 @@ 'JobNewClusterAwsAttributesArgs', 'JobNewClusterAzureAttributesArgs', 'JobNewClusterAzureAttributesLogAnalyticsInfoArgs', - 'JobNewClusterCloneFromArgs', 'JobNewClusterClusterLogConfArgs', 'JobNewClusterClusterLogConfDbfsArgs', 'JobNewClusterClusterLogConfS3Args', @@ -164,7 +168,6 @@ 'JobTaskForEachTaskTaskNewClusterAwsAttributesArgs', 'JobTaskForEachTaskTaskNewClusterAzureAttributesArgs', 'JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs', - 'JobTaskForEachTaskTaskNewClusterCloneFromArgs', 'JobTaskForEachTaskTaskNewClusterClusterLogConfArgs', 'JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs', 'JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args', @@ -219,7 +222,6 @@ 'JobTaskNewClusterAwsAttributesArgs', 'JobTaskNewClusterAzureAttributesArgs', 'JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs', - 'JobTaskNewClusterCloneFromArgs', 'JobTaskNewClusterClusterLogConfArgs', 'JobTaskNewClusterClusterLogConfDbfsArgs', 'JobTaskNewClusterClusterLogConfS3Args', @@ -366,6 +368,15 @@ 'PipelineLibraryMavenArgs', 'PipelineLibraryNotebookArgs', 'PipelineNotificationArgs', + 'QualityMonitorCustomMetricArgs', + 'QualityMonitorDataClassificationConfigArgs', + 'QualityMonitorInferenceLogArgs', + 'QualityMonitorNotificationsArgs', + 'QualityMonitorNotificationsOnFailureArgs', + 'QualityMonitorNotificationsOnNewClassificationTagDetectedArgs', + 'QualityMonitorScheduleArgs', + 'QualityMonitorSnapshotArgs', + 'QualityMonitorTimeSeriesArgs', 'RecipientIpAccessListArgs', 'RecipientPropertiesKvpairsArgs', 'RecipientTokenArgs', @@ -780,6 +791,199 @@ def match_type(self, value: pulumi.Input[str]): pulumi.set(self, "match_type", value) +@pulumi.input_type +class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs: + def __init__(__self__, *, + can_toggle: Optional[pulumi.Input[bool]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + enablement_details: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs']] = None, + maintenance_window: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs']] = None, + restart_even_if_no_updates_available: Optional[pulumi.Input[bool]] = None): + if can_toggle is not None: + pulumi.set(__self__, "can_toggle", can_toggle) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if enablement_details is not None: + pulumi.set(__self__, "enablement_details", enablement_details) + if maintenance_window is not None: + pulumi.set(__self__, "maintenance_window", maintenance_window) + if restart_even_if_no_updates_available is not None: + pulumi.set(__self__, "restart_even_if_no_updates_available", restart_even_if_no_updates_available) + + @property + @pulumi.getter(name="canToggle") + def can_toggle(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "can_toggle") + + @can_toggle.setter + def can_toggle(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "can_toggle", value) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="enablementDetails") + def enablement_details(self) -> Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs']]: + return pulumi.get(self, "enablement_details") + + @enablement_details.setter + def enablement_details(self, value: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs']]): + pulumi.set(self, "enablement_details", value) + + @property + @pulumi.getter(name="maintenanceWindow") + def maintenance_window(self) -> Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs']]: + return pulumi.get(self, "maintenance_window") + + @maintenance_window.setter + def maintenance_window(self, value: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs']]): + pulumi.set(self, "maintenance_window", value) + + @property + @pulumi.getter(name="restartEvenIfNoUpdatesAvailable") + def restart_even_if_no_updates_available(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "restart_even_if_no_updates_available") + + @restart_even_if_no_updates_available.setter + def restart_even_if_no_updates_available(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "restart_even_if_no_updates_available", value) + + +@pulumi.input_type +class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs: + def __init__(__self__, *, + forced_for_compliance_mode: Optional[pulumi.Input[bool]] = None, + unavailable_for_disabled_entitlement: Optional[pulumi.Input[bool]] = None, + unavailable_for_non_enterprise_tier: Optional[pulumi.Input[bool]] = None): + if forced_for_compliance_mode is not None: + pulumi.set(__self__, "forced_for_compliance_mode", forced_for_compliance_mode) + if unavailable_for_disabled_entitlement is not None: + pulumi.set(__self__, "unavailable_for_disabled_entitlement", unavailable_for_disabled_entitlement) + if unavailable_for_non_enterprise_tier is not None: + pulumi.set(__self__, "unavailable_for_non_enterprise_tier", unavailable_for_non_enterprise_tier) + + @property + @pulumi.getter(name="forcedForComplianceMode") + def forced_for_compliance_mode(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "forced_for_compliance_mode") + + @forced_for_compliance_mode.setter + def forced_for_compliance_mode(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "forced_for_compliance_mode", value) + + @property + @pulumi.getter(name="unavailableForDisabledEntitlement") + def unavailable_for_disabled_entitlement(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "unavailable_for_disabled_entitlement") + + @unavailable_for_disabled_entitlement.setter + def unavailable_for_disabled_entitlement(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "unavailable_for_disabled_entitlement", value) + + @property + @pulumi.getter(name="unavailableForNonEnterpriseTier") + def unavailable_for_non_enterprise_tier(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "unavailable_for_non_enterprise_tier") + + @unavailable_for_non_enterprise_tier.setter + def unavailable_for_non_enterprise_tier(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "unavailable_for_non_enterprise_tier", value) + + +@pulumi.input_type +class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs: + def __init__(__self__, *, + week_day_based_schedule: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs']] = None): + if week_day_based_schedule is not None: + pulumi.set(__self__, "week_day_based_schedule", week_day_based_schedule) + + @property + @pulumi.getter(name="weekDayBasedSchedule") + def week_day_based_schedule(self) -> Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs']]: + return pulumi.get(self, "week_day_based_schedule") + + @week_day_based_schedule.setter + def week_day_based_schedule(self, value: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs']]): + pulumi.set(self, "week_day_based_schedule", value) + + +@pulumi.input_type +class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs: + def __init__(__self__, *, + day_of_week: Optional[pulumi.Input[str]] = None, + frequency: Optional[pulumi.Input[str]] = None, + window_start_time: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs']] = None): + if day_of_week is not None: + pulumi.set(__self__, "day_of_week", day_of_week) + if frequency is not None: + pulumi.set(__self__, "frequency", frequency) + if window_start_time is not None: + pulumi.set(__self__, "window_start_time", window_start_time) + + @property + @pulumi.getter(name="dayOfWeek") + def day_of_week(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "day_of_week") + + @day_of_week.setter + def day_of_week(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "day_of_week", value) + + @property + @pulumi.getter + def frequency(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "frequency") + + @frequency.setter + def frequency(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "frequency", value) + + @property + @pulumi.getter(name="windowStartTime") + def window_start_time(self) -> Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs']]: + return pulumi.get(self, "window_start_time") + + @window_start_time.setter + def window_start_time(self, value: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs']]): + pulumi.set(self, "window_start_time", value) + + +@pulumi.input_type +class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs: + def __init__(__self__, *, + hours: Optional[pulumi.Input[int]] = None, + minutes: Optional[pulumi.Input[int]] = None): + if hours is not None: + pulumi.set(__self__, "hours", hours) + if minutes is not None: + pulumi.set(__self__, "minutes", minutes) + + @property + @pulumi.getter + def hours(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "hours") + + @hours.setter + def hours(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "hours", value) + + @property + @pulumi.getter + def minutes(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "minutes") + + @minutes.setter + def minutes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "minutes", value) + + @pulumi.input_type class ClusterAutoscaleArgs: def __init__(__self__, *, @@ -1132,22 +1336,6 @@ def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_analytics_workspace_id", value) -@pulumi.input_type -class ClusterCloneFromArgs: - def __init__(__self__, *, - source_cluster_id: pulumi.Input[str]): - pulumi.set(__self__, "source_cluster_id", source_cluster_id) - - @property - @pulumi.getter(name="sourceClusterId") - def source_cluster_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "source_cluster_id") - - @source_cluster_id.setter - def source_cluster_id(self, value: pulumi.Input[str]): - pulumi.set(self, "source_cluster_id", value) - - @pulumi.input_type class ClusterClusterLogConfArgs: def __init__(__self__, *, @@ -2348,6 +2536,35 @@ def notebooks(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "notebooks", value) +@pulumi.input_type +class ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs: + def __init__(__self__, *, + compliance_standards: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None): + if compliance_standards is not None: + pulumi.set(__self__, "compliance_standards", compliance_standards) + if is_enabled is not None: + pulumi.set(__self__, "is_enabled", is_enabled) + + @property + @pulumi.getter(name="complianceStandards") + def compliance_standards(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "compliance_standards") + + @compliance_standards.setter + def compliance_standards(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "compliance_standards", value) + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "is_enabled") + + @is_enabled.setter + def is_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_enabled", value) + + @pulumi.input_type class DefaultNamespaceSettingNamespaceArgs: def __init__(__self__, *, @@ -2371,6 +2588,23 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +@pulumi.input_type +class EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs: + def __init__(__self__, *, + is_enabled: Optional[pulumi.Input[bool]] = None): + if is_enabled is not None: + pulumi.set(__self__, "is_enabled", is_enabled) + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "is_enabled") + + @is_enabled.setter + def is_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_enabled", value) + + @pulumi.input_type class ExternalLocationEncryptionDetailsArgs: def __init__(__self__, *, @@ -3514,7 +3748,6 @@ def __init__(__self__, *, autotermination_minutes: Optional[pulumi.Input[int]] = None, aws_attributes: Optional[pulumi.Input['JobJobClusterNewClusterAwsAttributesArgs']] = None, azure_attributes: Optional[pulumi.Input['JobJobClusterNewClusterAzureAttributesArgs']] = None, - clone_from: Optional[pulumi.Input['JobJobClusterNewClusterCloneFromArgs']] = None, cluster_id: Optional[pulumi.Input[str]] = None, cluster_log_conf: Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfArgs']] = None, cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterClusterMountInfoArgs']]]] = None, @@ -3554,8 +3787,6 @@ def __init__(__self__, *, pulumi.set(__self__, "aws_attributes", aws_attributes) if azure_attributes is not None: pulumi.set(__self__, "azure_attributes", azure_attributes) - if clone_from is not None: - pulumi.set(__self__, "clone_from", clone_from) if cluster_id is not None: pulumi.set(__self__, "cluster_id", cluster_id) if cluster_log_conf is not None: @@ -3661,15 +3892,6 @@ def azure_attributes(self) -> Optional[pulumi.Input['JobJobClusterNewClusterAzur def azure_attributes(self, value: Optional[pulumi.Input['JobJobClusterNewClusterAzureAttributesArgs']]): pulumi.set(self, "azure_attributes", value) - @property - @pulumi.getter(name="cloneFrom") - def clone_from(self) -> Optional[pulumi.Input['JobJobClusterNewClusterCloneFromArgs']]: - return pulumi.get(self, "clone_from") - - @clone_from.setter - def clone_from(self, value: Optional[pulumi.Input['JobJobClusterNewClusterCloneFromArgs']]): - pulumi.set(self, "clone_from", value) - @property @pulumi.getter(name="clusterId") def cluster_id(self) -> Optional[pulumi.Input[str]]: @@ -4135,22 +4357,6 @@ def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_analytics_workspace_id", value) -@pulumi.input_type -class JobJobClusterNewClusterCloneFromArgs: - def __init__(__self__, *, - source_cluster_id: pulumi.Input[str]): - pulumi.set(__self__, "source_cluster_id", source_cluster_id) - - @property - @pulumi.getter(name="sourceClusterId") - def source_cluster_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "source_cluster_id") - - @source_cluster_id.setter - def source_cluster_id(self, value: pulumi.Input[str]): - pulumi.set(self, "source_cluster_id", value) - - @pulumi.input_type class JobJobClusterNewClusterClusterLogConfArgs: def __init__(__self__, *, @@ -5192,7 +5398,6 @@ def __init__(__self__, *, autotermination_minutes: Optional[pulumi.Input[int]] = None, aws_attributes: Optional[pulumi.Input['JobNewClusterAwsAttributesArgs']] = None, azure_attributes: Optional[pulumi.Input['JobNewClusterAzureAttributesArgs']] = None, - clone_from: Optional[pulumi.Input['JobNewClusterCloneFromArgs']] = None, cluster_id: Optional[pulumi.Input[str]] = None, cluster_log_conf: Optional[pulumi.Input['JobNewClusterClusterLogConfArgs']] = None, cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterClusterMountInfoArgs']]]] = None, @@ -5232,8 +5437,6 @@ def __init__(__self__, *, pulumi.set(__self__, "aws_attributes", aws_attributes) if azure_attributes is not None: pulumi.set(__self__, "azure_attributes", azure_attributes) - if clone_from is not None: - pulumi.set(__self__, "clone_from", clone_from) if cluster_id is not None: pulumi.set(__self__, "cluster_id", cluster_id) if cluster_log_conf is not None: @@ -5339,15 +5542,6 @@ def azure_attributes(self) -> Optional[pulumi.Input['JobNewClusterAzureAttribute def azure_attributes(self, value: Optional[pulumi.Input['JobNewClusterAzureAttributesArgs']]): pulumi.set(self, "azure_attributes", value) - @property - @pulumi.getter(name="cloneFrom") - def clone_from(self) -> Optional[pulumi.Input['JobNewClusterCloneFromArgs']]: - return pulumi.get(self, "clone_from") - - @clone_from.setter - def clone_from(self, value: Optional[pulumi.Input['JobNewClusterCloneFromArgs']]): - pulumi.set(self, "clone_from", value) - @property @pulumi.getter(name="clusterId") def cluster_id(self) -> Optional[pulumi.Input[str]]: @@ -5813,22 +6007,6 @@ def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_analytics_workspace_id", value) -@pulumi.input_type -class JobNewClusterCloneFromArgs: - def __init__(__self__, *, - source_cluster_id: pulumi.Input[str]): - pulumi.set(__self__, "source_cluster_id", source_cluster_id) - - @property - @pulumi.getter(name="sourceClusterId") - def source_cluster_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "source_cluster_id") - - @source_cluster_id.setter - def source_cluster_id(self, value: pulumi.Input[str]): - pulumi.set(self, "source_cluster_id", value) - - @pulumi.input_type class JobNewClusterClusterLogConfArgs: def __init__(__self__, *, @@ -9021,7 +9199,6 @@ def __init__(__self__, *, autotermination_minutes: Optional[pulumi.Input[int]] = None, aws_attributes: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAwsAttributesArgs']] = None, azure_attributes: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesArgs']] = None, - clone_from: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterCloneFromArgs']] = None, cluster_id: Optional[pulumi.Input[str]] = None, cluster_log_conf: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfArgs']] = None, cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs']]]] = None, @@ -9061,8 +9238,6 @@ def __init__(__self__, *, pulumi.set(__self__, "aws_attributes", aws_attributes) if azure_attributes is not None: pulumi.set(__self__, "azure_attributes", azure_attributes) - if clone_from is not None: - pulumi.set(__self__, "clone_from", clone_from) if cluster_id is not None: pulumi.set(__self__, "cluster_id", cluster_id) if cluster_log_conf is not None: @@ -9168,15 +9343,6 @@ def azure_attributes(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewCl def azure_attributes(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesArgs']]): pulumi.set(self, "azure_attributes", value) - @property - @pulumi.getter(name="cloneFrom") - def clone_from(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterCloneFromArgs']]: - return pulumi.get(self, "clone_from") - - @clone_from.setter - def clone_from(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterCloneFromArgs']]): - pulumi.set(self, "clone_from", value) - @property @pulumi.getter(name="clusterId") def cluster_id(self) -> Optional[pulumi.Input[str]]: @@ -9642,22 +9808,6 @@ def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_analytics_workspace_id", value) -@pulumi.input_type -class JobTaskForEachTaskTaskNewClusterCloneFromArgs: - def __init__(__self__, *, - source_cluster_id: pulumi.Input[str]): - pulumi.set(__self__, "source_cluster_id", source_cluster_id) - - @property - @pulumi.getter(name="sourceClusterId") - def source_cluster_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "source_cluster_id") - - @source_cluster_id.setter - def source_cluster_id(self, value: pulumi.Input[str]): - pulumi.set(self, "source_cluster_id", value) - - @pulumi.input_type class JobTaskForEachTaskTaskNewClusterClusterLogConfArgs: def __init__(__self__, *, @@ -11892,7 +12042,6 @@ def __init__(__self__, *, autotermination_minutes: Optional[pulumi.Input[int]] = None, aws_attributes: Optional[pulumi.Input['JobTaskNewClusterAwsAttributesArgs']] = None, azure_attributes: Optional[pulumi.Input['JobTaskNewClusterAzureAttributesArgs']] = None, - clone_from: Optional[pulumi.Input['JobTaskNewClusterCloneFromArgs']] = None, cluster_id: Optional[pulumi.Input[str]] = None, cluster_log_conf: Optional[pulumi.Input['JobTaskNewClusterClusterLogConfArgs']] = None, cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterClusterMountInfoArgs']]]] = None, @@ -11932,8 +12081,6 @@ def __init__(__self__, *, pulumi.set(__self__, "aws_attributes", aws_attributes) if azure_attributes is not None: pulumi.set(__self__, "azure_attributes", azure_attributes) - if clone_from is not None: - pulumi.set(__self__, "clone_from", clone_from) if cluster_id is not None: pulumi.set(__self__, "cluster_id", cluster_id) if cluster_log_conf is not None: @@ -12039,15 +12186,6 @@ def azure_attributes(self) -> Optional[pulumi.Input['JobTaskNewClusterAzureAttri def azure_attributes(self, value: Optional[pulumi.Input['JobTaskNewClusterAzureAttributesArgs']]): pulumi.set(self, "azure_attributes", value) - @property - @pulumi.getter(name="cloneFrom") - def clone_from(self) -> Optional[pulumi.Input['JobTaskNewClusterCloneFromArgs']]: - return pulumi.get(self, "clone_from") - - @clone_from.setter - def clone_from(self, value: Optional[pulumi.Input['JobTaskNewClusterCloneFromArgs']]): - pulumi.set(self, "clone_from", value) - @property @pulumi.getter(name="clusterId") def cluster_id(self) -> Optional[pulumi.Input[str]]: @@ -12513,22 +12651,6 @@ def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_analytics_workspace_id", value) -@pulumi.input_type -class JobTaskNewClusterCloneFromArgs: - def __init__(__self__, *, - source_cluster_id: pulumi.Input[str]): - pulumi.set(__self__, "source_cluster_id", source_cluster_id) - - @property - @pulumi.getter(name="sourceClusterId") - def source_cluster_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "source_cluster_id") - - @source_cluster_id.setter - def source_cluster_id(self, value: pulumi.Input[str]): - pulumi.set(self, "source_cluster_id", value) - - @pulumi.input_type class JobTaskNewClusterClusterLogConfArgs: def __init__(__self__, *, @@ -16312,15 +16434,25 @@ def databricks_workspace_url(self, value: pulumi.Input[str]): @pulumi.input_type class ModelServingConfigServedEntityExternalModelOpenaiConfigArgs: def __init__(__self__, *, - openai_api_key: pulumi.Input[str], + microsoft_entra_client_id: Optional[pulumi.Input[str]] = None, + microsoft_entra_client_secret: Optional[pulumi.Input[str]] = None, + microsoft_entra_tenant_id: Optional[pulumi.Input[str]] = None, openai_api_base: Optional[pulumi.Input[str]] = None, + openai_api_key: Optional[pulumi.Input[str]] = None, openai_api_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): - pulumi.set(__self__, "openai_api_key", openai_api_key) + if microsoft_entra_client_id is not None: + pulumi.set(__self__, "microsoft_entra_client_id", microsoft_entra_client_id) + if microsoft_entra_client_secret is not None: + pulumi.set(__self__, "microsoft_entra_client_secret", microsoft_entra_client_secret) + if microsoft_entra_tenant_id is not None: + pulumi.set(__self__, "microsoft_entra_tenant_id", microsoft_entra_tenant_id) if openai_api_base is not None: pulumi.set(__self__, "openai_api_base", openai_api_base) + if openai_api_key is not None: + pulumi.set(__self__, "openai_api_key", openai_api_key) if openai_api_type is not None: pulumi.set(__self__, "openai_api_type", openai_api_type) if openai_api_version is not None: @@ -16331,13 +16463,31 @@ def __init__(__self__, *, pulumi.set(__self__, "openai_organization", openai_organization) @property - @pulumi.getter(name="openaiApiKey") - def openai_api_key(self) -> pulumi.Input[str]: - return pulumi.get(self, "openai_api_key") + @pulumi.getter(name="microsoftEntraClientId") + def microsoft_entra_client_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "microsoft_entra_client_id") - @openai_api_key.setter - def openai_api_key(self, value: pulumi.Input[str]): - pulumi.set(self, "openai_api_key", value) + @microsoft_entra_client_id.setter + def microsoft_entra_client_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "microsoft_entra_client_id", value) + + @property + @pulumi.getter(name="microsoftEntraClientSecret") + def microsoft_entra_client_secret(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "microsoft_entra_client_secret") + + @microsoft_entra_client_secret.setter + def microsoft_entra_client_secret(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "microsoft_entra_client_secret", value) + + @property + @pulumi.getter(name="microsoftEntraTenantId") + def microsoft_entra_tenant_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "microsoft_entra_tenant_id") + + @microsoft_entra_tenant_id.setter + def microsoft_entra_tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "microsoft_entra_tenant_id", value) @property @pulumi.getter(name="openaiApiBase") @@ -16348,6 +16498,15 @@ def openai_api_base(self) -> Optional[pulumi.Input[str]]: def openai_api_base(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "openai_api_base", value) + @property + @pulumi.getter(name="openaiApiKey") + def openai_api_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "openai_api_key") + + @openai_api_key.setter + def openai_api_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "openai_api_key", value) + @property @pulumi.getter(name="openaiApiType") def openai_api_type(self) -> Optional[pulumi.Input[str]]: @@ -19506,6 +19665,388 @@ def email_recipients(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "email_recipients", value) +@pulumi.input_type +class QualityMonitorCustomMetricArgs: + def __init__(__self__, *, + definition: pulumi.Input[str], + input_columns: pulumi.Input[Sequence[pulumi.Input[str]]], + name: pulumi.Input[str], + output_data_type: pulumi.Input[str], + type: pulumi.Input[str]): + """ + :param pulumi.Input[str] definition: [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + :param pulumi.Input[Sequence[pulumi.Input[str]]] input_columns: Columns on the monitored table to apply the custom metrics to. + :param pulumi.Input[str] name: Name of the custom metric. + :param pulumi.Input[str] output_data_type: The output type of the custom metric. + :param pulumi.Input[str] type: The type of the custom metric. + """ + pulumi.set(__self__, "definition", definition) + pulumi.set(__self__, "input_columns", input_columns) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "output_data_type", output_data_type) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def definition(self) -> pulumi.Input[str]: + """ + [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + """ + return pulumi.get(self, "definition") + + @definition.setter + def definition(self, value: pulumi.Input[str]): + pulumi.set(self, "definition", value) + + @property + @pulumi.getter(name="inputColumns") + def input_columns(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + Columns on the monitored table to apply the custom metrics to. + """ + return pulumi.get(self, "input_columns") + + @input_columns.setter + def input_columns(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "input_columns", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Name of the custom metric. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="outputDataType") + def output_data_type(self) -> pulumi.Input[str]: + """ + The output type of the custom metric. + """ + return pulumi.get(self, "output_data_type") + + @output_data_type.setter + def output_data_type(self, value: pulumi.Input[str]): + pulumi.set(self, "output_data_type", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + The type of the custom metric. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class QualityMonitorDataClassificationConfigArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[bool]] = None): + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + +@pulumi.input_type +class QualityMonitorInferenceLogArgs: + def __init__(__self__, *, + granularities: pulumi.Input[Sequence[pulumi.Input[str]]], + model_id_col: pulumi.Input[str], + prediction_col: pulumi.Input[str], + problem_type: pulumi.Input[str], + timestamp_col: pulumi.Input[str], + label_col: Optional[pulumi.Input[str]] = None, + prediction_proba_col: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] granularities: List of granularities to use when aggregating data into time windows based on their timestamp. + :param pulumi.Input[str] model_id_col: Column of the model id or version + :param pulumi.Input[str] prediction_col: Column of the model prediction + :param pulumi.Input[str] problem_type: Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + :param pulumi.Input[str] timestamp_col: Column of the timestamp of predictions + :param pulumi.Input[str] label_col: Column of the model label + :param pulumi.Input[str] prediction_proba_col: Column of the model prediction probabilities + """ + pulumi.set(__self__, "granularities", granularities) + pulumi.set(__self__, "model_id_col", model_id_col) + pulumi.set(__self__, "prediction_col", prediction_col) + pulumi.set(__self__, "problem_type", problem_type) + pulumi.set(__self__, "timestamp_col", timestamp_col) + if label_col is not None: + pulumi.set(__self__, "label_col", label_col) + if prediction_proba_col is not None: + pulumi.set(__self__, "prediction_proba_col", prediction_proba_col) + + @property + @pulumi.getter + def granularities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + List of granularities to use when aggregating data into time windows based on their timestamp. + """ + return pulumi.get(self, "granularities") + + @granularities.setter + def granularities(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "granularities", value) + + @property + @pulumi.getter(name="modelIdCol") + def model_id_col(self) -> pulumi.Input[str]: + """ + Column of the model id or version + """ + return pulumi.get(self, "model_id_col") + + @model_id_col.setter + def model_id_col(self, value: pulumi.Input[str]): + pulumi.set(self, "model_id_col", value) + + @property + @pulumi.getter(name="predictionCol") + def prediction_col(self) -> pulumi.Input[str]: + """ + Column of the model prediction + """ + return pulumi.get(self, "prediction_col") + + @prediction_col.setter + def prediction_col(self, value: pulumi.Input[str]): + pulumi.set(self, "prediction_col", value) + + @property + @pulumi.getter(name="problemType") + def problem_type(self) -> pulumi.Input[str]: + """ + Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + """ + return pulumi.get(self, "problem_type") + + @problem_type.setter + def problem_type(self, value: pulumi.Input[str]): + pulumi.set(self, "problem_type", value) + + @property + @pulumi.getter(name="timestampCol") + def timestamp_col(self) -> pulumi.Input[str]: + """ + Column of the timestamp of predictions + """ + return pulumi.get(self, "timestamp_col") + + @timestamp_col.setter + def timestamp_col(self, value: pulumi.Input[str]): + pulumi.set(self, "timestamp_col", value) + + @property + @pulumi.getter(name="labelCol") + def label_col(self) -> Optional[pulumi.Input[str]]: + """ + Column of the model label + """ + return pulumi.get(self, "label_col") + + @label_col.setter + def label_col(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label_col", value) + + @property + @pulumi.getter(name="predictionProbaCol") + def prediction_proba_col(self) -> Optional[pulumi.Input[str]]: + """ + Column of the model prediction probabilities + """ + return pulumi.get(self, "prediction_proba_col") + + @prediction_proba_col.setter + def prediction_proba_col(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "prediction_proba_col", value) + + +@pulumi.input_type +class QualityMonitorNotificationsArgs: + def __init__(__self__, *, + on_failure: Optional[pulumi.Input['QualityMonitorNotificationsOnFailureArgs']] = None, + on_new_classification_tag_detected: Optional[pulumi.Input['QualityMonitorNotificationsOnNewClassificationTagDetectedArgs']] = None): + """ + :param pulumi.Input['QualityMonitorNotificationsOnFailureArgs'] on_failure: who to send notifications to on monitor failure. + :param pulumi.Input['QualityMonitorNotificationsOnNewClassificationTagDetectedArgs'] on_new_classification_tag_detected: Who to send notifications to when new data classification tags are detected. + """ + if on_failure is not None: + pulumi.set(__self__, "on_failure", on_failure) + if on_new_classification_tag_detected is not None: + pulumi.set(__self__, "on_new_classification_tag_detected", on_new_classification_tag_detected) + + @property + @pulumi.getter(name="onFailure") + def on_failure(self) -> Optional[pulumi.Input['QualityMonitorNotificationsOnFailureArgs']]: + """ + who to send notifications to on monitor failure. + """ + return pulumi.get(self, "on_failure") + + @on_failure.setter + def on_failure(self, value: Optional[pulumi.Input['QualityMonitorNotificationsOnFailureArgs']]): + pulumi.set(self, "on_failure", value) + + @property + @pulumi.getter(name="onNewClassificationTagDetected") + def on_new_classification_tag_detected(self) -> Optional[pulumi.Input['QualityMonitorNotificationsOnNewClassificationTagDetectedArgs']]: + """ + Who to send notifications to when new data classification tags are detected. + """ + return pulumi.get(self, "on_new_classification_tag_detected") + + @on_new_classification_tag_detected.setter + def on_new_classification_tag_detected(self, value: Optional[pulumi.Input['QualityMonitorNotificationsOnNewClassificationTagDetectedArgs']]): + pulumi.set(self, "on_new_classification_tag_detected", value) + + +@pulumi.input_type +class QualityMonitorNotificationsOnFailureArgs: + def __init__(__self__, *, + email_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if email_addresses is not None: + pulumi.set(__self__, "email_addresses", email_addresses) + + @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 QualityMonitorNotificationsOnNewClassificationTagDetectedArgs: + def __init__(__self__, *, + email_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if email_addresses is not None: + pulumi.set(__self__, "email_addresses", email_addresses) + + @property + @pulumi.getter(name="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 QualityMonitorScheduleArgs: + def __init__(__self__, *, + quartz_cron_expression: pulumi.Input[str], + timezone_id: pulumi.Input[str], + pause_status: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] quartz_cron_expression: string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + :param pulumi.Input[str] timezone_id: string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + :param pulumi.Input[str] pause_status: optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + """ + pulumi.set(__self__, "quartz_cron_expression", quartz_cron_expression) + pulumi.set(__self__, "timezone_id", timezone_id) + if pause_status is not None: + pulumi.set(__self__, "pause_status", pause_status) + + @property + @pulumi.getter(name="quartzCronExpression") + def quartz_cron_expression(self) -> pulumi.Input[str]: + """ + string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + """ + return pulumi.get(self, "quartz_cron_expression") + + @quartz_cron_expression.setter + def quartz_cron_expression(self, value: pulumi.Input[str]): + pulumi.set(self, "quartz_cron_expression", value) + + @property + @pulumi.getter(name="timezoneId") + def timezone_id(self) -> pulumi.Input[str]: + """ + string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + """ + return pulumi.get(self, "timezone_id") + + @timezone_id.setter + def timezone_id(self, value: pulumi.Input[str]): + pulumi.set(self, "timezone_id", value) + + @property + @pulumi.getter(name="pauseStatus") + def pause_status(self) -> Optional[pulumi.Input[str]]: + """ + optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + """ + return pulumi.get(self, "pause_status") + + @pause_status.setter + def pause_status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pause_status", value) + + +@pulumi.input_type +class QualityMonitorSnapshotArgs: + def __init__(__self__): + pass + + +@pulumi.input_type +class QualityMonitorTimeSeriesArgs: + def __init__(__self__, *, + granularities: pulumi.Input[Sequence[pulumi.Input[str]]], + timestamp_col: pulumi.Input[str]): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] granularities: List of granularities to use when aggregating data into time windows based on their timestamp. + :param pulumi.Input[str] timestamp_col: Column of the timestamp of predictions + """ + pulumi.set(__self__, "granularities", granularities) + pulumi.set(__self__, "timestamp_col", timestamp_col) + + @property + @pulumi.getter + def granularities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + List of granularities to use when aggregating data into time windows based on their timestamp. + """ + return pulumi.get(self, "granularities") + + @granularities.setter + def granularities(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "granularities", value) + + @property + @pulumi.getter(name="timestampCol") + def timestamp_col(self) -> pulumi.Input[str]: + """ + Column of the timestamp of predictions + """ + return pulumi.get(self, "timestamp_col") + + @timestamp_col.setter + def timestamp_col(self, value: pulumi.Input[str]): + pulumi.set(self, "timestamp_col", value) + + @pulumi.input_type class RecipientIpAccessListArgs: def __init__(__self__, *, @@ -21770,6 +22311,7 @@ class VectorSearchIndexDeltaSyncIndexSpecArgs: def __init__(__self__, *, embedding_source_columns: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs']]]] = None, embedding_vector_columns: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs']]]] = None, + embedding_writeback_table: Optional[pulumi.Input[str]] = None, pipeline_id: Optional[pulumi.Input[str]] = None, pipeline_type: Optional[pulumi.Input[str]] = None, source_table: Optional[pulumi.Input[str]] = None): @@ -21782,6 +22324,8 @@ def __init__(__self__, *, pulumi.set(__self__, "embedding_source_columns", embedding_source_columns) if embedding_vector_columns is not None: pulumi.set(__self__, "embedding_vector_columns", embedding_vector_columns) + if embedding_writeback_table is not None: + pulumi.set(__self__, "embedding_writeback_table", embedding_writeback_table) if pipeline_id is not None: pulumi.set(__self__, "pipeline_id", pipeline_id) if pipeline_type is not None: @@ -21810,6 +22354,15 @@ def embedding_vector_columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Inpu def embedding_vector_columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs']]]]): pulumi.set(self, "embedding_vector_columns", value) + @property + @pulumi.getter(name="embeddingWritebackTable") + def embedding_writeback_table(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "embedding_writeback_table") + + @embedding_writeback_table.setter + def embedding_writeback_table(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "embedding_writeback_table", value) + @property @pulumi.getter(name="pipelineId") def pipeline_id(self) -> Optional[pulumi.Input[str]]: @@ -24439,11 +24992,17 @@ def __init__(__self__, *, """ :param str access_point: The ARN of the s3 access point to use with the external location (AWS). :param str comment: User-supplied comment. + :param int created_at: Time at which this catalog was created, in epoch milliseconds. + :param str created_by: Username of catalog creator. + :param str credential_id: Unique ID of storage credential. :param str credential_name: Name of the StorageCredential to use with this external location. :param 'GetExternalLocationExternalLocationInfoEncryptionDetailsArgs' encryption_details: The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). - :param str name: The name of the storage credential + :param str metastore_id: Unique identifier of the parent Metastore. + :param str name: The name of the external location :param str owner: Username/groupname/sp application_id of the external location owner. :param bool read_only: Indicates whether the external location is read-only. + :param int updated_at: Time at which this catalog was last modified, in epoch milliseconds. + :param str updated_by: Username of user who last modified catalog. :param str url: Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). """ if access_point is not None: @@ -24513,6 +25072,9 @@ def comment(self, value: Optional[str]): @property @pulumi.getter(name="createdAt") def created_at(self) -> Optional[int]: + """ + Time at which this catalog was created, in epoch milliseconds. + """ return pulumi.get(self, "created_at") @created_at.setter @@ -24522,6 +25084,9 @@ def created_at(self, value: Optional[int]): @property @pulumi.getter(name="createdBy") def created_by(self) -> Optional[str]: + """ + Username of catalog creator. + """ return pulumi.get(self, "created_by") @created_by.setter @@ -24531,6 +25096,9 @@ def created_by(self, value: Optional[str]): @property @pulumi.getter(name="credentialId") def credential_id(self) -> Optional[str]: + """ + Unique ID of storage credential. + """ return pulumi.get(self, "credential_id") @credential_id.setter @@ -24564,6 +25132,9 @@ def encryption_details(self, value: Optional['GetExternalLocationExternalLocatio @property @pulumi.getter(name="metastoreId") def metastore_id(self) -> Optional[str]: + """ + Unique identifier of the parent Metastore. + """ return pulumi.get(self, "metastore_id") @metastore_id.setter @@ -24574,7 +25145,7 @@ def metastore_id(self, value: Optional[str]): @pulumi.getter def name(self) -> Optional[str]: """ - The name of the storage credential + The name of the external location """ return pulumi.get(self, "name") @@ -24609,6 +25180,9 @@ def read_only(self, value: Optional[bool]): @property @pulumi.getter(name="updatedAt") def updated_at(self) -> Optional[int]: + """ + Time at which this catalog was last modified, in epoch milliseconds. + """ return pulumi.get(self, "updated_at") @updated_at.setter @@ -24618,6 +25192,9 @@ def updated_at(self, value: Optional[int]): @property @pulumi.getter(name="updatedBy") def updated_by(self) -> Optional[str]: + """ + Username of user who last modified catalog. + """ return pulumi.get(self, "updated_by") @updated_by.setter @@ -35967,10 +36544,19 @@ def __init__(__self__, *, updated_by: Optional[str] = None, used_for_managed_storage: Optional[bool] = None): """ + :param 'GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs' aws_iam_role: credential details for AWS: + :param 'GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs' azure_managed_identity: managed identity credential details for Azure + :param 'GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs' azure_service_principal: service principal credential details for Azure: + :param int created_at: Time at which this catalog was created, in epoch milliseconds. + :param str created_by: Username of catalog creator. + :param 'GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs' databricks_gcp_service_account: credential details for GCP: + :param str id: Unique ID of storage credential. :param str metastore_id: Unique identifier of the parent Metastore. :param str name: The name of the storage credential :param str owner: Username/groupname/sp application_id of the storage credential owner. :param bool read_only: Indicates whether the storage credential is only usable for read operations. + :param int updated_at: Time at which this catalog was last modified, in epoch milliseconds. + :param str updated_by: Username of user who last modified catalog. """ if aws_iam_role is not None: pulumi.set(__self__, "aws_iam_role", aws_iam_role) @@ -36008,6 +36594,9 @@ def __init__(__self__, *, @property @pulumi.getter(name="awsIamRole") def aws_iam_role(self) -> Optional['GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs']: + """ + credential details for AWS: + """ return pulumi.get(self, "aws_iam_role") @aws_iam_role.setter @@ -36017,6 +36606,9 @@ def aws_iam_role(self, value: Optional['GetStorageCredentialStorageCredentialInf @property @pulumi.getter(name="azureManagedIdentity") def azure_managed_identity(self) -> Optional['GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs']: + """ + managed identity credential details for Azure + """ return pulumi.get(self, "azure_managed_identity") @azure_managed_identity.setter @@ -36026,6 +36618,9 @@ def azure_managed_identity(self, value: Optional['GetStorageCredentialStorageCre @property @pulumi.getter(name="azureServicePrincipal") def azure_service_principal(self) -> Optional['GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs']: + """ + service principal credential details for Azure: + """ return pulumi.get(self, "azure_service_principal") @azure_service_principal.setter @@ -36053,6 +36648,9 @@ def comment(self, value: Optional[str]): @property @pulumi.getter(name="createdAt") def created_at(self) -> Optional[int]: + """ + Time at which this catalog was created, in epoch milliseconds. + """ return pulumi.get(self, "created_at") @created_at.setter @@ -36062,6 +36660,9 @@ def created_at(self, value: Optional[int]): @property @pulumi.getter(name="createdBy") def created_by(self) -> Optional[str]: + """ + Username of catalog creator. + """ return pulumi.get(self, "created_by") @created_by.setter @@ -36071,6 +36672,9 @@ def created_by(self, value: Optional[str]): @property @pulumi.getter(name="databricksGcpServiceAccount") def databricks_gcp_service_account(self) -> Optional['GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs']: + """ + credential details for GCP: + """ return pulumi.get(self, "databricks_gcp_service_account") @databricks_gcp_service_account.setter @@ -36080,6 +36684,9 @@ def databricks_gcp_service_account(self, value: Optional['GetStorageCredentialSt @property @pulumi.getter def id(self) -> Optional[str]: + """ + Unique ID of storage credential. + """ return pulumi.get(self, "id") @id.setter @@ -36137,6 +36744,9 @@ def read_only(self, value: Optional[bool]): @property @pulumi.getter(name="updatedAt") def updated_at(self) -> Optional[int]: + """ + Time at which this catalog was last modified, in epoch milliseconds. + """ return pulumi.get(self, "updated_at") @updated_at.setter @@ -36146,6 +36756,9 @@ def updated_at(self, value: Optional[int]): @property @pulumi.getter(name="updatedBy") def updated_by(self) -> Optional[str]: + """ + Username of user who last modified catalog. + """ return pulumi.get(self, "updated_by") @updated_by.setter diff --git a/sdk/python/pulumi_databricks/automatic_cluster_update_workspace_setting.py b/sdk/python/pulumi_databricks/automatic_cluster_update_workspace_setting.py new file mode 100644 index 00000000..8920401c --- /dev/null +++ b/sdk/python/pulumi_databricks/automatic_cluster_update_workspace_setting.py @@ -0,0 +1,201 @@ +# 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__ = ['AutomaticClusterUpdateWorkspaceSettingArgs', 'AutomaticClusterUpdateWorkspaceSetting'] + +@pulumi.input_type +class AutomaticClusterUpdateWorkspaceSettingArgs: + def __init__(__self__, *, + automatic_cluster_update_workspace: pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs'], + etag: Optional[pulumi.Input[str]] = None, + setting_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a AutomaticClusterUpdateWorkspaceSetting resource. + """ + pulumi.set(__self__, "automatic_cluster_update_workspace", automatic_cluster_update_workspace) + if etag is not None: + pulumi.set(__self__, "etag", etag) + if setting_name is not None: + pulumi.set(__self__, "setting_name", setting_name) + + @property + @pulumi.getter(name="automaticClusterUpdateWorkspace") + def automatic_cluster_update_workspace(self) -> pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs']: + return pulumi.get(self, "automatic_cluster_update_workspace") + + @automatic_cluster_update_workspace.setter + def automatic_cluster_update_workspace(self, value: pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs']): + pulumi.set(self, "automatic_cluster_update_workspace", value) + + @property + @pulumi.getter + def etag(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "etag") + + @etag.setter + def etag(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "etag", value) + + @property + @pulumi.getter(name="settingName") + def setting_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "setting_name") + + @setting_name.setter + def setting_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "setting_name", value) + + +@pulumi.input_type +class _AutomaticClusterUpdateWorkspaceSettingState: + def __init__(__self__, *, + automatic_cluster_update_workspace: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs']] = None, + etag: Optional[pulumi.Input[str]] = None, + setting_name: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering AutomaticClusterUpdateWorkspaceSetting resources. + """ + if automatic_cluster_update_workspace is not None: + pulumi.set(__self__, "automatic_cluster_update_workspace", automatic_cluster_update_workspace) + if etag is not None: + pulumi.set(__self__, "etag", etag) + if setting_name is not None: + pulumi.set(__self__, "setting_name", setting_name) + + @property + @pulumi.getter(name="automaticClusterUpdateWorkspace") + def automatic_cluster_update_workspace(self) -> Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs']]: + return pulumi.get(self, "automatic_cluster_update_workspace") + + @automatic_cluster_update_workspace.setter + def automatic_cluster_update_workspace(self, value: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs']]): + pulumi.set(self, "automatic_cluster_update_workspace", value) + + @property + @pulumi.getter + def etag(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "etag") + + @etag.setter + def etag(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "etag", value) + + @property + @pulumi.getter(name="settingName") + def setting_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "setting_name") + + @setting_name.setter + def setting_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "setting_name", value) + + +class AutomaticClusterUpdateWorkspaceSetting(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + automatic_cluster_update_workspace: Optional[pulumi.Input[pulumi.InputType['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs']]] = None, + etag: Optional[pulumi.Input[str]] = None, + setting_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a AutomaticClusterUpdateWorkspaceSetting resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AutomaticClusterUpdateWorkspaceSettingArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a AutomaticClusterUpdateWorkspaceSetting resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param AutomaticClusterUpdateWorkspaceSettingArgs 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(AutomaticClusterUpdateWorkspaceSettingArgs, 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, + automatic_cluster_update_workspace: Optional[pulumi.Input[pulumi.InputType['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs']]] = None, + etag: Optional[pulumi.Input[str]] = None, + setting_name: 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__ = AutomaticClusterUpdateWorkspaceSettingArgs.__new__(AutomaticClusterUpdateWorkspaceSettingArgs) + + if automatic_cluster_update_workspace is None and not opts.urn: + raise TypeError("Missing required property 'automatic_cluster_update_workspace'") + __props__.__dict__["automatic_cluster_update_workspace"] = automatic_cluster_update_workspace + __props__.__dict__["etag"] = etag + __props__.__dict__["setting_name"] = setting_name + super(AutomaticClusterUpdateWorkspaceSetting, __self__).__init__( + 'databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + automatic_cluster_update_workspace: Optional[pulumi.Input[pulumi.InputType['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs']]] = None, + etag: Optional[pulumi.Input[str]] = None, + setting_name: Optional[pulumi.Input[str]] = None) -> 'AutomaticClusterUpdateWorkspaceSetting': + """ + Get an existing AutomaticClusterUpdateWorkspaceSetting 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _AutomaticClusterUpdateWorkspaceSettingState.__new__(_AutomaticClusterUpdateWorkspaceSettingState) + + __props__.__dict__["automatic_cluster_update_workspace"] = automatic_cluster_update_workspace + __props__.__dict__["etag"] = etag + __props__.__dict__["setting_name"] = setting_name + return AutomaticClusterUpdateWorkspaceSetting(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="automaticClusterUpdateWorkspace") + def automatic_cluster_update_workspace(self) -> pulumi.Output['outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace']: + return pulumi.get(self, "automatic_cluster_update_workspace") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[str]: + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="settingName") + def setting_name(self) -> pulumi.Output[str]: + return pulumi.get(self, "setting_name") + diff --git a/sdk/python/pulumi_databricks/cluster.py b/sdk/python/pulumi_databricks/cluster.py index 0ea2b607..84254ac3 100644 --- a/sdk/python/pulumi_databricks/cluster.py +++ b/sdk/python/pulumi_databricks/cluster.py @@ -22,7 +22,6 @@ def __init__(__self__, *, autotermination_minutes: Optional[pulumi.Input[int]] = None, aws_attributes: Optional[pulumi.Input['ClusterAwsAttributesArgs']] = None, azure_attributes: Optional[pulumi.Input['ClusterAzureAttributesArgs']] = None, - clone_from: Optional[pulumi.Input['ClusterCloneFromArgs']] = None, cluster_log_conf: Optional[pulumi.Input['ClusterClusterLogConfArgs']] = None, cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterClusterMountInfoArgs']]]] = None, cluster_name: Optional[pulumi.Input[str]] = None, @@ -128,8 +127,6 @@ def __init__(__self__, *, pulumi.set(__self__, "aws_attributes", aws_attributes) if azure_attributes is not None: pulumi.set(__self__, "azure_attributes", azure_attributes) - if clone_from is not None: - pulumi.set(__self__, "clone_from", clone_from) if cluster_log_conf is not None: pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) if cluster_mount_infos is not None: @@ -244,15 +241,6 @@ def azure_attributes(self) -> Optional[pulumi.Input['ClusterAzureAttributesArgs' def azure_attributes(self, value: Optional[pulumi.Input['ClusterAzureAttributesArgs']]): pulumi.set(self, "azure_attributes", value) - @property - @pulumi.getter(name="cloneFrom") - def clone_from(self) -> Optional[pulumi.Input['ClusterCloneFromArgs']]: - return pulumi.get(self, "clone_from") - - @clone_from.setter - def clone_from(self, value: Optional[pulumi.Input['ClusterCloneFromArgs']]): - pulumi.set(self, "clone_from", value) - @property @pulumi.getter(name="clusterLogConf") def cluster_log_conf(self) -> Optional[pulumi.Input['ClusterClusterLogConfArgs']]: @@ -584,12 +572,10 @@ def __init__(__self__, *, autotermination_minutes: Optional[pulumi.Input[int]] = None, aws_attributes: Optional[pulumi.Input['ClusterAwsAttributesArgs']] = None, azure_attributes: Optional[pulumi.Input['ClusterAzureAttributesArgs']] = None, - clone_from: Optional[pulumi.Input['ClusterCloneFromArgs']] = None, cluster_id: Optional[pulumi.Input[str]] = None, cluster_log_conf: Optional[pulumi.Input['ClusterClusterLogConfArgs']] = None, cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterClusterMountInfoArgs']]]] = None, cluster_name: Optional[pulumi.Input[str]] = None, - cluster_source: Optional[pulumi.Input[str]] = None, custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, data_security_mode: Optional[pulumi.Input[str]] = None, default_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, @@ -697,8 +683,6 @@ def __init__(__self__, *, pulumi.set(__self__, "aws_attributes", aws_attributes) if azure_attributes is not None: pulumi.set(__self__, "azure_attributes", azure_attributes) - if clone_from is not None: - pulumi.set(__self__, "clone_from", clone_from) if cluster_id is not None: pulumi.set(__self__, "cluster_id", cluster_id) if cluster_log_conf is not None: @@ -707,8 +691,6 @@ def __init__(__self__, *, pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) if cluster_name is not None: pulumi.set(__self__, "cluster_name", cluster_name) - if cluster_source is not None: - pulumi.set(__self__, "cluster_source", cluster_source) if custom_tags is not None: pulumi.set(__self__, "custom_tags", custom_tags) if data_security_mode is not None: @@ -813,15 +795,6 @@ def azure_attributes(self) -> Optional[pulumi.Input['ClusterAzureAttributesArgs' def azure_attributes(self, value: Optional[pulumi.Input['ClusterAzureAttributesArgs']]): pulumi.set(self, "azure_attributes", value) - @property - @pulumi.getter(name="cloneFrom") - def clone_from(self) -> Optional[pulumi.Input['ClusterCloneFromArgs']]: - return pulumi.get(self, "clone_from") - - @clone_from.setter - def clone_from(self, value: Optional[pulumi.Input['ClusterCloneFromArgs']]): - pulumi.set(self, "clone_from", value) - @property @pulumi.getter(name="clusterId") def cluster_id(self) -> Optional[pulumi.Input[str]]: @@ -861,15 +834,6 @@ def cluster_name(self) -> Optional[pulumi.Input[str]]: def cluster_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "cluster_name", value) - @property - @pulumi.getter(name="clusterSource") - def cluster_source(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "cluster_source") - - @cluster_source.setter - def cluster_source(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_source", value) - @property @pulumi.getter(name="customTags") def custom_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: @@ -1218,7 +1182,6 @@ def __init__(__self__, autotermination_minutes: Optional[pulumi.Input[int]] = None, aws_attributes: Optional[pulumi.Input[pulumi.InputType['ClusterAwsAttributesArgs']]] = None, azure_attributes: Optional[pulumi.Input[pulumi.InputType['ClusterAzureAttributesArgs']]] = None, - clone_from: Optional[pulumi.Input[pulumi.InputType['ClusterCloneFromArgs']]] = None, cluster_log_conf: Optional[pulumi.Input[pulumi.InputType['ClusterClusterLogConfArgs']]] = None, cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterClusterMountInfoArgs']]]]] = None, cluster_name: Optional[pulumi.Input[str]] = None, @@ -1461,7 +1424,6 @@ def _internal_init(__self__, autotermination_minutes: Optional[pulumi.Input[int]] = None, aws_attributes: Optional[pulumi.Input[pulumi.InputType['ClusterAwsAttributesArgs']]] = None, azure_attributes: Optional[pulumi.Input[pulumi.InputType['ClusterAzureAttributesArgs']]] = None, - clone_from: Optional[pulumi.Input[pulumi.InputType['ClusterCloneFromArgs']]] = None, cluster_log_conf: Optional[pulumi.Input[pulumi.InputType['ClusterClusterLogConfArgs']]] = None, cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterClusterMountInfoArgs']]]]] = None, cluster_name: Optional[pulumi.Input[str]] = None, @@ -1502,7 +1464,6 @@ def _internal_init(__self__, __props__.__dict__["autotermination_minutes"] = autotermination_minutes __props__.__dict__["aws_attributes"] = aws_attributes __props__.__dict__["azure_attributes"] = azure_attributes - __props__.__dict__["clone_from"] = clone_from __props__.__dict__["cluster_log_conf"] = cluster_log_conf __props__.__dict__["cluster_mount_infos"] = cluster_mount_infos __props__.__dict__["cluster_name"] = cluster_name @@ -1532,7 +1493,6 @@ def _internal_init(__self__, __props__.__dict__["ssh_public_keys"] = ssh_public_keys __props__.__dict__["workload_type"] = workload_type __props__.__dict__["cluster_id"] = None - __props__.__dict__["cluster_source"] = None __props__.__dict__["default_tags"] = None __props__.__dict__["state"] = None __props__.__dict__["url"] = None @@ -1551,12 +1511,10 @@ def get(resource_name: str, autotermination_minutes: Optional[pulumi.Input[int]] = None, aws_attributes: Optional[pulumi.Input[pulumi.InputType['ClusterAwsAttributesArgs']]] = None, azure_attributes: Optional[pulumi.Input[pulumi.InputType['ClusterAzureAttributesArgs']]] = None, - clone_from: Optional[pulumi.Input[pulumi.InputType['ClusterCloneFromArgs']]] = None, cluster_id: Optional[pulumi.Input[str]] = None, cluster_log_conf: Optional[pulumi.Input[pulumi.InputType['ClusterClusterLogConfArgs']]] = None, cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterClusterMountInfoArgs']]]]] = None, cluster_name: Optional[pulumi.Input[str]] = None, - cluster_source: Optional[pulumi.Input[str]] = None, custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, data_security_mode: Optional[pulumi.Input[str]] = None, default_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, @@ -1668,12 +1626,10 @@ def get(resource_name: str, __props__.__dict__["autotermination_minutes"] = autotermination_minutes __props__.__dict__["aws_attributes"] = aws_attributes __props__.__dict__["azure_attributes"] = azure_attributes - __props__.__dict__["clone_from"] = clone_from __props__.__dict__["cluster_id"] = cluster_id __props__.__dict__["cluster_log_conf"] = cluster_log_conf __props__.__dict__["cluster_mount_infos"] = cluster_mount_infos __props__.__dict__["cluster_name"] = cluster_name - __props__.__dict__["cluster_source"] = cluster_source __props__.__dict__["custom_tags"] = custom_tags __props__.__dict__["data_security_mode"] = data_security_mode __props__.__dict__["default_tags"] = default_tags @@ -1733,11 +1689,6 @@ def aws_attributes(self) -> pulumi.Output[Optional['outputs.ClusterAwsAttributes def azure_attributes(self) -> pulumi.Output[Optional['outputs.ClusterAzureAttributes']]: return pulumi.get(self, "azure_attributes") - @property - @pulumi.getter(name="cloneFrom") - def clone_from(self) -> pulumi.Output[Optional['outputs.ClusterCloneFrom']]: - return pulumi.get(self, "clone_from") - @property @pulumi.getter(name="clusterId") def cluster_id(self) -> pulumi.Output[str]: @@ -1761,11 +1712,6 @@ def cluster_name(self) -> pulumi.Output[Optional[str]]: """ return pulumi.get(self, "cluster_name") - @property - @pulumi.getter(name="clusterSource") - def cluster_source(self) -> pulumi.Output[str]: - return pulumi.get(self, "cluster_source") - @property @pulumi.getter(name="customTags") def custom_tags(self) -> pulumi.Output[Optional[Mapping[str, Any]]]: diff --git a/sdk/python/pulumi_databricks/compliance_security_profile_workspace_setting.py b/sdk/python/pulumi_databricks/compliance_security_profile_workspace_setting.py new file mode 100644 index 00000000..e5cfcc56 --- /dev/null +++ b/sdk/python/pulumi_databricks/compliance_security_profile_workspace_setting.py @@ -0,0 +1,201 @@ +# 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__ = ['ComplianceSecurityProfileWorkspaceSettingArgs', 'ComplianceSecurityProfileWorkspaceSetting'] + +@pulumi.input_type +class ComplianceSecurityProfileWorkspaceSettingArgs: + def __init__(__self__, *, + compliance_security_profile_workspace: pulumi.Input['ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs'], + etag: Optional[pulumi.Input[str]] = None, + setting_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ComplianceSecurityProfileWorkspaceSetting resource. + """ + pulumi.set(__self__, "compliance_security_profile_workspace", compliance_security_profile_workspace) + if etag is not None: + pulumi.set(__self__, "etag", etag) + if setting_name is not None: + pulumi.set(__self__, "setting_name", setting_name) + + @property + @pulumi.getter(name="complianceSecurityProfileWorkspace") + def compliance_security_profile_workspace(self) -> pulumi.Input['ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs']: + return pulumi.get(self, "compliance_security_profile_workspace") + + @compliance_security_profile_workspace.setter + def compliance_security_profile_workspace(self, value: pulumi.Input['ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs']): + pulumi.set(self, "compliance_security_profile_workspace", value) + + @property + @pulumi.getter + def etag(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "etag") + + @etag.setter + def etag(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "etag", value) + + @property + @pulumi.getter(name="settingName") + def setting_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "setting_name") + + @setting_name.setter + def setting_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "setting_name", value) + + +@pulumi.input_type +class _ComplianceSecurityProfileWorkspaceSettingState: + def __init__(__self__, *, + compliance_security_profile_workspace: Optional[pulumi.Input['ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs']] = None, + etag: Optional[pulumi.Input[str]] = None, + setting_name: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering ComplianceSecurityProfileWorkspaceSetting resources. + """ + if compliance_security_profile_workspace is not None: + pulumi.set(__self__, "compliance_security_profile_workspace", compliance_security_profile_workspace) + if etag is not None: + pulumi.set(__self__, "etag", etag) + if setting_name is not None: + pulumi.set(__self__, "setting_name", setting_name) + + @property + @pulumi.getter(name="complianceSecurityProfileWorkspace") + def compliance_security_profile_workspace(self) -> Optional[pulumi.Input['ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs']]: + return pulumi.get(self, "compliance_security_profile_workspace") + + @compliance_security_profile_workspace.setter + def compliance_security_profile_workspace(self, value: Optional[pulumi.Input['ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs']]): + pulumi.set(self, "compliance_security_profile_workspace", value) + + @property + @pulumi.getter + def etag(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "etag") + + @etag.setter + def etag(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "etag", value) + + @property + @pulumi.getter(name="settingName") + def setting_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "setting_name") + + @setting_name.setter + def setting_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "setting_name", value) + + +class ComplianceSecurityProfileWorkspaceSetting(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compliance_security_profile_workspace: Optional[pulumi.Input[pulumi.InputType['ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs']]] = None, + etag: Optional[pulumi.Input[str]] = None, + setting_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a ComplianceSecurityProfileWorkspaceSetting resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ComplianceSecurityProfileWorkspaceSettingArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a ComplianceSecurityProfileWorkspaceSetting resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param ComplianceSecurityProfileWorkspaceSettingArgs 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(ComplianceSecurityProfileWorkspaceSettingArgs, 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, + compliance_security_profile_workspace: Optional[pulumi.Input[pulumi.InputType['ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs']]] = None, + etag: Optional[pulumi.Input[str]] = None, + setting_name: 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__ = ComplianceSecurityProfileWorkspaceSettingArgs.__new__(ComplianceSecurityProfileWorkspaceSettingArgs) + + if compliance_security_profile_workspace is None and not opts.urn: + raise TypeError("Missing required property 'compliance_security_profile_workspace'") + __props__.__dict__["compliance_security_profile_workspace"] = compliance_security_profile_workspace + __props__.__dict__["etag"] = etag + __props__.__dict__["setting_name"] = setting_name + super(ComplianceSecurityProfileWorkspaceSetting, __self__).__init__( + 'databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + compliance_security_profile_workspace: Optional[pulumi.Input[pulumi.InputType['ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs']]] = None, + etag: Optional[pulumi.Input[str]] = None, + setting_name: Optional[pulumi.Input[str]] = None) -> 'ComplianceSecurityProfileWorkspaceSetting': + """ + Get an existing ComplianceSecurityProfileWorkspaceSetting 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _ComplianceSecurityProfileWorkspaceSettingState.__new__(_ComplianceSecurityProfileWorkspaceSettingState) + + __props__.__dict__["compliance_security_profile_workspace"] = compliance_security_profile_workspace + __props__.__dict__["etag"] = etag + __props__.__dict__["setting_name"] = setting_name + return ComplianceSecurityProfileWorkspaceSetting(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="complianceSecurityProfileWorkspace") + def compliance_security_profile_workspace(self) -> pulumi.Output['outputs.ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace']: + return pulumi.get(self, "compliance_security_profile_workspace") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[str]: + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="settingName") + def setting_name(self) -> pulumi.Output[str]: + return pulumi.get(self, "setting_name") + diff --git a/sdk/python/pulumi_databricks/enhanced_security_monitoring_workspace_setting.py b/sdk/python/pulumi_databricks/enhanced_security_monitoring_workspace_setting.py new file mode 100644 index 00000000..4b25d45e --- /dev/null +++ b/sdk/python/pulumi_databricks/enhanced_security_monitoring_workspace_setting.py @@ -0,0 +1,201 @@ +# 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__ = ['EnhancedSecurityMonitoringWorkspaceSettingArgs', 'EnhancedSecurityMonitoringWorkspaceSetting'] + +@pulumi.input_type +class EnhancedSecurityMonitoringWorkspaceSettingArgs: + def __init__(__self__, *, + enhanced_security_monitoring_workspace: pulumi.Input['EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs'], + etag: Optional[pulumi.Input[str]] = None, + setting_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a EnhancedSecurityMonitoringWorkspaceSetting resource. + """ + pulumi.set(__self__, "enhanced_security_monitoring_workspace", enhanced_security_monitoring_workspace) + if etag is not None: + pulumi.set(__self__, "etag", etag) + if setting_name is not None: + pulumi.set(__self__, "setting_name", setting_name) + + @property + @pulumi.getter(name="enhancedSecurityMonitoringWorkspace") + def enhanced_security_monitoring_workspace(self) -> pulumi.Input['EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs']: + return pulumi.get(self, "enhanced_security_monitoring_workspace") + + @enhanced_security_monitoring_workspace.setter + def enhanced_security_monitoring_workspace(self, value: pulumi.Input['EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs']): + pulumi.set(self, "enhanced_security_monitoring_workspace", value) + + @property + @pulumi.getter + def etag(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "etag") + + @etag.setter + def etag(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "etag", value) + + @property + @pulumi.getter(name="settingName") + def setting_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "setting_name") + + @setting_name.setter + def setting_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "setting_name", value) + + +@pulumi.input_type +class _EnhancedSecurityMonitoringWorkspaceSettingState: + def __init__(__self__, *, + enhanced_security_monitoring_workspace: Optional[pulumi.Input['EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs']] = None, + etag: Optional[pulumi.Input[str]] = None, + setting_name: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering EnhancedSecurityMonitoringWorkspaceSetting resources. + """ + if enhanced_security_monitoring_workspace is not None: + pulumi.set(__self__, "enhanced_security_monitoring_workspace", enhanced_security_monitoring_workspace) + if etag is not None: + pulumi.set(__self__, "etag", etag) + if setting_name is not None: + pulumi.set(__self__, "setting_name", setting_name) + + @property + @pulumi.getter(name="enhancedSecurityMonitoringWorkspace") + def enhanced_security_monitoring_workspace(self) -> Optional[pulumi.Input['EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs']]: + return pulumi.get(self, "enhanced_security_monitoring_workspace") + + @enhanced_security_monitoring_workspace.setter + def enhanced_security_monitoring_workspace(self, value: Optional[pulumi.Input['EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs']]): + pulumi.set(self, "enhanced_security_monitoring_workspace", value) + + @property + @pulumi.getter + def etag(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "etag") + + @etag.setter + def etag(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "etag", value) + + @property + @pulumi.getter(name="settingName") + def setting_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "setting_name") + + @setting_name.setter + def setting_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "setting_name", value) + + +class EnhancedSecurityMonitoringWorkspaceSetting(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + enhanced_security_monitoring_workspace: Optional[pulumi.Input[pulumi.InputType['EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs']]] = None, + etag: Optional[pulumi.Input[str]] = None, + setting_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a EnhancedSecurityMonitoringWorkspaceSetting resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: EnhancedSecurityMonitoringWorkspaceSettingArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a EnhancedSecurityMonitoringWorkspaceSetting resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param EnhancedSecurityMonitoringWorkspaceSettingArgs 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(EnhancedSecurityMonitoringWorkspaceSettingArgs, 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, + enhanced_security_monitoring_workspace: Optional[pulumi.Input[pulumi.InputType['EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs']]] = None, + etag: Optional[pulumi.Input[str]] = None, + setting_name: 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__ = EnhancedSecurityMonitoringWorkspaceSettingArgs.__new__(EnhancedSecurityMonitoringWorkspaceSettingArgs) + + if enhanced_security_monitoring_workspace is None and not opts.urn: + raise TypeError("Missing required property 'enhanced_security_monitoring_workspace'") + __props__.__dict__["enhanced_security_monitoring_workspace"] = enhanced_security_monitoring_workspace + __props__.__dict__["etag"] = etag + __props__.__dict__["setting_name"] = setting_name + super(EnhancedSecurityMonitoringWorkspaceSetting, __self__).__init__( + 'databricks:index/enhancedSecurityMonitoringWorkspaceSetting:EnhancedSecurityMonitoringWorkspaceSetting', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + enhanced_security_monitoring_workspace: Optional[pulumi.Input[pulumi.InputType['EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs']]] = None, + etag: Optional[pulumi.Input[str]] = None, + setting_name: Optional[pulumi.Input[str]] = None) -> 'EnhancedSecurityMonitoringWorkspaceSetting': + """ + Get an existing EnhancedSecurityMonitoringWorkspaceSetting 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _EnhancedSecurityMonitoringWorkspaceSettingState.__new__(_EnhancedSecurityMonitoringWorkspaceSettingState) + + __props__.__dict__["enhanced_security_monitoring_workspace"] = enhanced_security_monitoring_workspace + __props__.__dict__["etag"] = etag + __props__.__dict__["setting_name"] = setting_name + return EnhancedSecurityMonitoringWorkspaceSetting(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="enhancedSecurityMonitoringWorkspace") + def enhanced_security_monitoring_workspace(self) -> pulumi.Output['outputs.EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace']: + return pulumi.get(self, "enhanced_security_monitoring_workspace") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[str]: + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="settingName") + def setting_name(self) -> pulumi.Output[str]: + return pulumi.get(self, "setting_name") + diff --git a/sdk/python/pulumi_databricks/get_external_location.py b/sdk/python/pulumi_databricks/get_external_location.py index 57ebd378..bf7dd994 100644 --- a/sdk/python/pulumi_databricks/get_external_location.py +++ b/sdk/python/pulumi_databricks/get_external_location.py @@ -37,13 +37,16 @@ def __init__(__self__, external_location_info=None, id=None, name=None): @property @pulumi.getter(name="externalLocationInfo") def external_location_info(self) -> 'outputs.GetExternalLocationExternalLocationInfoResult': + """ + array of objects with information about external location: + """ return pulumi.get(self, "external_location_info") @property @pulumi.getter def id(self) -> str: """ - The provider-assigned unique ID for this managed resource. + external location ID - same as name. """ return pulumi.get(self, "id") @@ -65,6 +68,7 @@ def __await__(self): def get_external_location(external_location_info: Optional[pulumi.InputType['GetExternalLocationExternalLocationInfoArgs']] = None, + id: Optional[str] = None, name: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExternalLocationResult: """ @@ -72,11 +76,29 @@ def get_external_location(external_location_info: Optional[pulumi.InputType['Get Getting details of an existing external location in the metastore + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.get_external_location(name="this") + pulumi.export("createdBy", this.external_location_info.created_by) + ``` + + ## Related Resources + + The following resources are used in the same context: + + * get_external_locations to get names of all external locations + * ExternalLocation to manage external locations within Unity Catalog. - :param str name: The name of the storage credential + + :param pulumi.InputType['GetExternalLocationExternalLocationInfoArgs'] external_location_info: array of objects with information about external location: + :param str id: external location ID - same as name. + :param str name: The name of the external location """ __args__ = dict() __args__['externalLocationInfo'] = external_location_info + __args__['id'] = id __args__['name'] = name opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('databricks:index/getExternalLocation:getExternalLocation', __args__, opts=opts, typ=GetExternalLocationResult).value @@ -89,6 +111,7 @@ def get_external_location(external_location_info: Optional[pulumi.InputType['Get @_utilities.lift_output_func(get_external_location) def get_external_location_output(external_location_info: Optional[pulumi.Input[Optional[pulumi.InputType['GetExternalLocationExternalLocationInfoArgs']]]] = None, + id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExternalLocationResult]: """ @@ -96,7 +119,24 @@ def get_external_location_output(external_location_info: Optional[pulumi.Input[O Getting details of an existing external location in the metastore + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.get_external_location(name="this") + pulumi.export("createdBy", this.external_location_info.created_by) + ``` + + ## Related Resources + + The following resources are used in the same context: + + * get_external_locations to get names of all external locations + * ExternalLocation to manage external locations within Unity Catalog. + - :param str name: The name of the storage credential + :param pulumi.InputType['GetExternalLocationExternalLocationInfoArgs'] external_location_info: array of objects with information about external location: + :param str id: external location ID - same as name. + :param str name: The name of the external location """ ... diff --git a/sdk/python/pulumi_databricks/get_storage_credential.py b/sdk/python/pulumi_databricks/get_storage_credential.py index 969dd714..73a31c00 100644 --- a/sdk/python/pulumi_databricks/get_storage_credential.py +++ b/sdk/python/pulumi_databricks/get_storage_credential.py @@ -38,7 +38,7 @@ def __init__(__self__, id=None, name=None, storage_credential_info=None): @pulumi.getter def id(self) -> str: """ - The provider-assigned unique ID for this managed resource. + Unique ID of storage credential. """ return pulumi.get(self, "id") @@ -50,6 +50,9 @@ def name(self) -> str: @property @pulumi.getter(name="storageCredentialInfo") def storage_credential_info(self) -> 'outputs.GetStorageCredentialStorageCredentialInfoResult': + """ + array of objects with information about storage credential. + """ return pulumi.get(self, "storage_credential_info") @@ -64,7 +67,8 @@ def __await__(self): storage_credential_info=self.storage_credential_info) -def get_storage_credential(name: Optional[str] = None, +def get_storage_credential(id: Optional[str] = None, + name: Optional[str] = None, storage_credential_info: Optional[pulumi.InputType['GetStorageCredentialStorageCredentialInfoArgs']] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageCredentialResult: """ @@ -72,10 +76,28 @@ def get_storage_credential(name: Optional[str] = None, Getting details of an existing storage credential in the metastore + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.get_storage_credential(name="this") + pulumi.export("createdBy", this.storage_credential_info.created_by) + ``` + + ## Related Resources + + The following resources are used in the same context: + + * get_storage_credentials to get names of all credentials + * StorageCredential to manage Storage Credentials within Unity Catalog. + + :param str id: Unique ID of storage credential. :param str name: The name of the storage credential + :param pulumi.InputType['GetStorageCredentialStorageCredentialInfoArgs'] storage_credential_info: array of objects with information about storage credential. """ __args__ = dict() + __args__['id'] = id __args__['name'] = name __args__['storageCredentialInfo'] = storage_credential_info opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) @@ -88,7 +110,8 @@ def get_storage_credential(name: Optional[str] = None, @_utilities.lift_output_func(get_storage_credential) -def get_storage_credential_output(name: Optional[pulumi.Input[str]] = None, +def get_storage_credential_output(id: Optional[pulumi.Input[Optional[str]]] = None, + name: Optional[pulumi.Input[str]] = None, storage_credential_info: Optional[pulumi.Input[Optional[pulumi.InputType['GetStorageCredentialStorageCredentialInfoArgs']]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStorageCredentialResult]: """ @@ -96,7 +119,24 @@ def get_storage_credential_output(name: Optional[pulumi.Input[str]] = None, Getting details of an existing storage credential in the metastore + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.get_storage_credential(name="this") + pulumi.export("createdBy", this.storage_credential_info.created_by) + ``` + + ## Related Resources + + The following resources are used in the same context: + + * get_storage_credentials to get names of all credentials + * StorageCredential to manage Storage Credentials within Unity Catalog. + + :param str id: Unique ID of storage credential. :param str name: The name of the storage credential + :param pulumi.InputType['GetStorageCredentialStorageCredentialInfoArgs'] storage_credential_info: array of objects with information about storage credential. """ ... diff --git a/sdk/python/pulumi_databricks/lakehouse_monitor.py b/sdk/python/pulumi_databricks/lakehouse_monitor.py index ed0bc256..3d487330 100644 --- a/sdk/python/pulumi_databricks/lakehouse_monitor.py +++ b/sdk/python/pulumi_databricks/lakehouse_monitor.py @@ -604,6 +604,8 @@ def __init__(__self__, warehouse_id: Optional[pulumi.Input[str]] = None, __props__=None): """ + NOTE: This resource has been deprecated and will be removed soon. Please use the QualityMonitor resource instead. + 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. @@ -671,6 +673,8 @@ def __init__(__self__, args: LakehouseMonitorArgs, opts: Optional[pulumi.ResourceOptions] = None): """ + NOTE: This resource has been deprecated and will be removed soon. Please use the QualityMonitor resource instead. + 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. diff --git a/sdk/python/pulumi_databricks/model_serving.py b/sdk/python/pulumi_databricks/model_serving.py index 1ebecd79..f4a048f2 100644 --- a/sdk/python/pulumi_databricks/model_serving.py +++ b/sdk/python/pulumi_databricks/model_serving.py @@ -19,12 +19,14 @@ def __init__(__self__, *, config: pulumi.Input['ModelServingConfigArgs'], name: Optional[pulumi.Input[str]] = None, rate_limits: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]]] = None, + route_optimized: Optional[pulumi.Input[bool]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingTagArgs']]]] = None): """ 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[bool] route_optimized: A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. :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) @@ -32,6 +34,8 @@ def __init__(__self__, *, pulumi.set(__self__, "name", name) if rate_limits is not None: pulumi.set(__self__, "rate_limits", rate_limits) + if route_optimized is not None: + pulumi.set(__self__, "route_optimized", route_optimized) if tags is not None: pulumi.set(__self__, "tags", tags) @@ -71,6 +75,18 @@ def rate_limits(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServi def rate_limits(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]]]): pulumi.set(self, "rate_limits", value) + @property + @pulumi.getter(name="routeOptimized") + def route_optimized(self) -> Optional[pulumi.Input[bool]]: + """ + A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + """ + return pulumi.get(self, "route_optimized") + + @route_optimized.setter + def route_optimized(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "route_optimized", value) + @property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingTagArgs']]]]: @@ -90,6 +106,7 @@ def __init__(__self__, *, config: Optional[pulumi.Input['ModelServingConfigArgs']] = None, name: Optional[pulumi.Input[str]] = None, rate_limits: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]]] = None, + route_optimized: Optional[pulumi.Input[bool]] = None, serving_endpoint_id: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingTagArgs']]]] = None): """ @@ -97,6 +114,7 @@ def __init__(__self__, *, :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[bool] route_optimized: A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. :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. """ @@ -106,6 +124,8 @@ def __init__(__self__, *, pulumi.set(__self__, "name", name) if rate_limits is not None: pulumi.set(__self__, "rate_limits", rate_limits) + if route_optimized is not None: + pulumi.set(__self__, "route_optimized", route_optimized) if serving_endpoint_id is not None: pulumi.set(__self__, "serving_endpoint_id", serving_endpoint_id) if tags is not None: @@ -147,6 +167,18 @@ def rate_limits(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServi def rate_limits(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]]]): pulumi.set(self, "rate_limits", value) + @property + @pulumi.getter(name="routeOptimized") + def route_optimized(self) -> Optional[pulumi.Input[bool]]: + """ + A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + """ + return pulumi.get(self, "route_optimized") + + @route_optimized.setter + def route_optimized(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "route_optimized", value) + @property @pulumi.getter(name="servingEndpointId") def serving_endpoint_id(self) -> Optional[pulumi.Input[str]]: @@ -180,6 +212,7 @@ def __init__(__self__, config: Optional[pulumi.Input[pulumi.InputType['ModelServingConfigArgs']]] = None, name: Optional[pulumi.Input[str]] = None, rate_limits: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ModelServingRateLimitArgs']]]]] = None, + route_optimized: Optional[pulumi.Input[bool]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ModelServingTagArgs']]]]] = None, __props__=None): """ @@ -258,6 +291,7 @@ def __init__(__self__, :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[bool] route_optimized: A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ModelServingTagArgs']]]] tags: Tags to be attached to the serving endpoint and automatically propagated to billing logs. """ ... @@ -355,6 +389,7 @@ def _internal_init(__self__, config: Optional[pulumi.Input[pulumi.InputType['ModelServingConfigArgs']]] = None, name: Optional[pulumi.Input[str]] = None, rate_limits: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ModelServingRateLimitArgs']]]]] = None, + route_optimized: Optional[pulumi.Input[bool]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ModelServingTagArgs']]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -370,6 +405,7 @@ def _internal_init(__self__, __props__.__dict__["config"] = config __props__.__dict__["name"] = name __props__.__dict__["rate_limits"] = rate_limits + __props__.__dict__["route_optimized"] = route_optimized __props__.__dict__["tags"] = tags __props__.__dict__["serving_endpoint_id"] = None super(ModelServing, __self__).__init__( @@ -385,6 +421,7 @@ def get(resource_name: str, config: Optional[pulumi.Input[pulumi.InputType['ModelServingConfigArgs']]] = None, name: Optional[pulumi.Input[str]] = None, rate_limits: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ModelServingRateLimitArgs']]]]] = None, + route_optimized: Optional[pulumi.Input[bool]] = None, serving_endpoint_id: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ModelServingTagArgs']]]]] = None) -> 'ModelServing': """ @@ -397,6 +434,7 @@ def get(resource_name: str, :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[bool] route_optimized: A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. :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. """ @@ -407,6 +445,7 @@ def get(resource_name: str, __props__.__dict__["config"] = config __props__.__dict__["name"] = name __props__.__dict__["rate_limits"] = rate_limits + __props__.__dict__["route_optimized"] = route_optimized __props__.__dict__["serving_endpoint_id"] = serving_endpoint_id __props__.__dict__["tags"] = tags return ModelServing(resource_name, opts=opts, __props__=__props__) @@ -435,6 +474,14 @@ def rate_limits(self) -> pulumi.Output[Optional[Sequence['outputs.ModelServingRa """ return pulumi.get(self, "rate_limits") + @property + @pulumi.getter(name="routeOptimized") + def route_optimized(self) -> pulumi.Output[Optional[bool]]: + """ + A boolean enabling route optimization for the endpoint. NOTE: only available for custom models. + """ + return pulumi.get(self, "route_optimized") + @property @pulumi.getter(name="servingEndpointId") def serving_endpoint_id(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_databricks/outputs.py b/sdk/python/pulumi_databricks/outputs.py index 5df465b1..5feef233 100644 --- a/sdk/python/pulumi_databricks/outputs.py +++ b/sdk/python/pulumi_databricks/outputs.py @@ -13,11 +13,15 @@ __all__ = [ 'AccessControlRuleSetGrantRule', 'ArtifactAllowlistArtifactMatcher', + 'AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace', + 'AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails', + 'AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow', + 'AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule', + 'AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime', 'ClusterAutoscale', 'ClusterAwsAttributes', 'ClusterAzureAttributes', 'ClusterAzureAttributesLogAnalyticsInfo', - 'ClusterCloneFrom', 'ClusterClusterLogConf', 'ClusterClusterLogConfDbfs', 'ClusterClusterLogConfS3', @@ -44,7 +48,9 @@ 'ClusterPolicyLibraryPypi', 'ClusterWorkloadType', 'ClusterWorkloadTypeClients', + 'ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace', 'DefaultNamespaceSettingNamespace', + 'EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace', 'ExternalLocationEncryptionDetails', 'ExternalLocationEncryptionDetailsSseEncryptionDetails', 'GrantsGrant', @@ -76,7 +82,6 @@ 'JobJobClusterNewClusterAwsAttributes', 'JobJobClusterNewClusterAzureAttributes', 'JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo', - 'JobJobClusterNewClusterCloneFrom', 'JobJobClusterNewClusterClusterLogConf', 'JobJobClusterNewClusterClusterLogConfDbfs', 'JobJobClusterNewClusterClusterLogConfS3', @@ -108,7 +113,6 @@ 'JobNewClusterAwsAttributes', 'JobNewClusterAzureAttributes', 'JobNewClusterAzureAttributesLogAnalyticsInfo', - 'JobNewClusterCloneFrom', 'JobNewClusterClusterLogConf', 'JobNewClusterClusterLogConfDbfs', 'JobNewClusterClusterLogConfS3', @@ -165,7 +169,6 @@ 'JobTaskForEachTaskTaskNewClusterAwsAttributes', 'JobTaskForEachTaskTaskNewClusterAzureAttributes', 'JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo', - 'JobTaskForEachTaskTaskNewClusterCloneFrom', 'JobTaskForEachTaskTaskNewClusterClusterLogConf', 'JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs', 'JobTaskForEachTaskTaskNewClusterClusterLogConfS3', @@ -220,7 +223,6 @@ 'JobTaskNewClusterAwsAttributes', 'JobTaskNewClusterAzureAttributes', 'JobTaskNewClusterAzureAttributesLogAnalyticsInfo', - 'JobTaskNewClusterCloneFrom', 'JobTaskNewClusterClusterLogConf', 'JobTaskNewClusterClusterLogConfDbfs', 'JobTaskNewClusterClusterLogConfS3', @@ -367,6 +369,15 @@ 'PipelineLibraryMaven', 'PipelineLibraryNotebook', 'PipelineNotification', + 'QualityMonitorCustomMetric', + 'QualityMonitorDataClassificationConfig', + 'QualityMonitorInferenceLog', + 'QualityMonitorNotifications', + 'QualityMonitorNotificationsOnFailure', + 'QualityMonitorNotificationsOnNewClassificationTagDetected', + 'QualityMonitorSchedule', + 'QualityMonitorSnapshot', + 'QualityMonitorTimeSeries', 'RecipientIpAccessList', 'RecipientPropertiesKvpairs', 'RecipientToken', @@ -784,6 +795,223 @@ def match_type(self) -> str: return pulumi.get(self, "match_type") +@pulumi.output_type +class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "canToggle": + suggest = "can_toggle" + elif key == "enablementDetails": + suggest = "enablement_details" + elif key == "maintenanceWindow": + suggest = "maintenance_window" + elif key == "restartEvenIfNoUpdatesAvailable": + suggest = "restart_even_if_no_updates_available" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + can_toggle: Optional[bool] = None, + enabled: Optional[bool] = None, + enablement_details: Optional['outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails'] = None, + maintenance_window: Optional['outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow'] = None, + restart_even_if_no_updates_available: Optional[bool] = None): + if can_toggle is not None: + pulumi.set(__self__, "can_toggle", can_toggle) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if enablement_details is not None: + pulumi.set(__self__, "enablement_details", enablement_details) + if maintenance_window is not None: + pulumi.set(__self__, "maintenance_window", maintenance_window) + if restart_even_if_no_updates_available is not None: + pulumi.set(__self__, "restart_even_if_no_updates_available", restart_even_if_no_updates_available) + + @property + @pulumi.getter(name="canToggle") + def can_toggle(self) -> Optional[bool]: + return pulumi.get(self, "can_toggle") + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="enablementDetails") + def enablement_details(self) -> Optional['outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails']: + return pulumi.get(self, "enablement_details") + + @property + @pulumi.getter(name="maintenanceWindow") + def maintenance_window(self) -> Optional['outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow']: + return pulumi.get(self, "maintenance_window") + + @property + @pulumi.getter(name="restartEvenIfNoUpdatesAvailable") + def restart_even_if_no_updates_available(self) -> Optional[bool]: + return pulumi.get(self, "restart_even_if_no_updates_available") + + +@pulumi.output_type +class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "forcedForComplianceMode": + suggest = "forced_for_compliance_mode" + elif key == "unavailableForDisabledEntitlement": + suggest = "unavailable_for_disabled_entitlement" + elif key == "unavailableForNonEnterpriseTier": + suggest = "unavailable_for_non_enterprise_tier" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + forced_for_compliance_mode: Optional[bool] = None, + unavailable_for_disabled_entitlement: Optional[bool] = None, + unavailable_for_non_enterprise_tier: Optional[bool] = None): + if forced_for_compliance_mode is not None: + pulumi.set(__self__, "forced_for_compliance_mode", forced_for_compliance_mode) + if unavailable_for_disabled_entitlement is not None: + pulumi.set(__self__, "unavailable_for_disabled_entitlement", unavailable_for_disabled_entitlement) + if unavailable_for_non_enterprise_tier is not None: + pulumi.set(__self__, "unavailable_for_non_enterprise_tier", unavailable_for_non_enterprise_tier) + + @property + @pulumi.getter(name="forcedForComplianceMode") + def forced_for_compliance_mode(self) -> Optional[bool]: + return pulumi.get(self, "forced_for_compliance_mode") + + @property + @pulumi.getter(name="unavailableForDisabledEntitlement") + def unavailable_for_disabled_entitlement(self) -> Optional[bool]: + return pulumi.get(self, "unavailable_for_disabled_entitlement") + + @property + @pulumi.getter(name="unavailableForNonEnterpriseTier") + def unavailable_for_non_enterprise_tier(self) -> Optional[bool]: + return pulumi.get(self, "unavailable_for_non_enterprise_tier") + + +@pulumi.output_type +class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "weekDayBasedSchedule": + suggest = "week_day_based_schedule" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + week_day_based_schedule: Optional['outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule'] = None): + if week_day_based_schedule is not None: + pulumi.set(__self__, "week_day_based_schedule", week_day_based_schedule) + + @property + @pulumi.getter(name="weekDayBasedSchedule") + def week_day_based_schedule(self) -> Optional['outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule']: + return pulumi.get(self, "week_day_based_schedule") + + +@pulumi.output_type +class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dayOfWeek": + suggest = "day_of_week" + elif key == "windowStartTime": + suggest = "window_start_time" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + day_of_week: Optional[str] = None, + frequency: Optional[str] = None, + window_start_time: Optional['outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime'] = None): + if day_of_week is not None: + pulumi.set(__self__, "day_of_week", day_of_week) + if frequency is not None: + pulumi.set(__self__, "frequency", frequency) + if window_start_time is not None: + pulumi.set(__self__, "window_start_time", window_start_time) + + @property + @pulumi.getter(name="dayOfWeek") + def day_of_week(self) -> Optional[str]: + return pulumi.get(self, "day_of_week") + + @property + @pulumi.getter + def frequency(self) -> Optional[str]: + return pulumi.get(self, "frequency") + + @property + @pulumi.getter(name="windowStartTime") + def window_start_time(self) -> Optional['outputs.AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime']: + return pulumi.get(self, "window_start_time") + + +@pulumi.output_type +class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime(dict): + def __init__(__self__, *, + hours: Optional[int] = None, + minutes: Optional[int] = None): + if hours is not None: + pulumi.set(__self__, "hours", hours) + if minutes is not None: + pulumi.set(__self__, "minutes", minutes) + + @property + @pulumi.getter + def hours(self) -> Optional[int]: + return pulumi.get(self, "hours") + + @property + @pulumi.getter + def minutes(self) -> Optional[int]: + return pulumi.get(self, "minutes") + + @pulumi.output_type class ClusterAutoscale(dict): @staticmethod @@ -1156,35 +1384,6 @@ def log_analytics_workspace_id(self) -> Optional[str]: return pulumi.get(self, "log_analytics_workspace_id") -@pulumi.output_type -class ClusterCloneFrom(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sourceClusterId": - suggest = "source_cluster_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ClusterCloneFrom. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ClusterCloneFrom.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ClusterCloneFrom.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - source_cluster_id: str): - pulumi.set(__self__, "source_cluster_id", source_cluster_id) - - @property - @pulumi.getter(name="sourceClusterId") - def source_cluster_id(self) -> str: - return pulumi.get(self, "source_cluster_id") - - @pulumi.output_type class ClusterClusterLogConf(dict): def __init__(__self__, *, @@ -2206,6 +2405,46 @@ def notebooks(self) -> Optional[bool]: return pulumi.get(self, "notebooks") +@pulumi.output_type +class ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "complianceStandards": + suggest = "compliance_standards" + elif key == "isEnabled": + suggest = "is_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + compliance_standards: Optional[Sequence[str]] = None, + is_enabled: Optional[bool] = None): + if compliance_standards is not None: + pulumi.set(__self__, "compliance_standards", compliance_standards) + if is_enabled is not None: + pulumi.set(__self__, "is_enabled", is_enabled) + + @property + @pulumi.getter(name="complianceStandards") + def compliance_standards(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "compliance_standards") + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> Optional[bool]: + return pulumi.get(self, "is_enabled") + + @pulumi.output_type class DefaultNamespaceSettingNamespace(dict): def __init__(__self__, *, @@ -2225,6 +2464,36 @@ def value(self) -> Optional[str]: return pulumi.get(self, "value") +@pulumi.output_type +class EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "isEnabled": + suggest = "is_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + is_enabled: Optional[bool] = None): + if is_enabled is not None: + pulumi.set(__self__, "is_enabled", is_enabled) + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> Optional[bool]: + return pulumi.get(self, "is_enabled") + + @pulumi.output_type class ExternalLocationEncryptionDetails(dict): @staticmethod @@ -3505,8 +3774,6 @@ def __key_warning(key: str): suggest = "aws_attributes" elif key == "azureAttributes": suggest = "azure_attributes" - elif key == "cloneFrom": - suggest = "clone_from" elif key == "clusterId": suggest = "cluster_id" elif key == "clusterLogConf": @@ -3574,7 +3841,6 @@ def __init__(__self__, *, autotermination_minutes: Optional[int] = None, aws_attributes: Optional['outputs.JobJobClusterNewClusterAwsAttributes'] = None, azure_attributes: Optional['outputs.JobJobClusterNewClusterAzureAttributes'] = None, - clone_from: Optional['outputs.JobJobClusterNewClusterCloneFrom'] = None, cluster_id: Optional[str] = None, cluster_log_conf: Optional['outputs.JobJobClusterNewClusterClusterLogConf'] = None, cluster_mount_infos: Optional[Sequence['outputs.JobJobClusterNewClusterClusterMountInfo']] = None, @@ -3614,8 +3880,6 @@ def __init__(__self__, *, pulumi.set(__self__, "aws_attributes", aws_attributes) if azure_attributes is not None: pulumi.set(__self__, "azure_attributes", azure_attributes) - if clone_from is not None: - pulumi.set(__self__, "clone_from", clone_from) if cluster_id is not None: pulumi.set(__self__, "cluster_id", cluster_id) if cluster_log_conf is not None: @@ -3697,11 +3961,6 @@ def aws_attributes(self) -> Optional['outputs.JobJobClusterNewClusterAwsAttribut def azure_attributes(self) -> Optional['outputs.JobJobClusterNewClusterAzureAttributes']: return pulumi.get(self, "azure_attributes") - @property - @pulumi.getter(name="cloneFrom") - def clone_from(self) -> Optional['outputs.JobJobClusterNewClusterCloneFrom']: - return pulumi.get(self, "clone_from") - @property @pulumi.getter(name="clusterId") def cluster_id(self) -> Optional[str]: @@ -4087,35 +4346,6 @@ def log_analytics_workspace_id(self) -> Optional[str]: return pulumi.get(self, "log_analytics_workspace_id") -@pulumi.output_type -class JobJobClusterNewClusterCloneFrom(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sourceClusterId": - suggest = "source_cluster_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in JobJobClusterNewClusterCloneFrom. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - JobJobClusterNewClusterCloneFrom.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - JobJobClusterNewClusterCloneFrom.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - source_cluster_id: str): - pulumi.set(__self__, "source_cluster_id", source_cluster_id) - - @property - @pulumi.getter(name="sourceClusterId") - def source_cluster_id(self) -> str: - return pulumi.get(self, "source_cluster_id") - - @pulumi.output_type class JobJobClusterNewClusterClusterLogConf(dict): def __init__(__self__, *, @@ -4984,8 +5214,6 @@ def __key_warning(key: str): suggest = "aws_attributes" elif key == "azureAttributes": suggest = "azure_attributes" - elif key == "cloneFrom": - suggest = "clone_from" elif key == "clusterId": suggest = "cluster_id" elif key == "clusterLogConf": @@ -5053,7 +5281,6 @@ def __init__(__self__, *, autotermination_minutes: Optional[int] = None, aws_attributes: Optional['outputs.JobNewClusterAwsAttributes'] = None, azure_attributes: Optional['outputs.JobNewClusterAzureAttributes'] = None, - clone_from: Optional['outputs.JobNewClusterCloneFrom'] = None, cluster_id: Optional[str] = None, cluster_log_conf: Optional['outputs.JobNewClusterClusterLogConf'] = None, cluster_mount_infos: Optional[Sequence['outputs.JobNewClusterClusterMountInfo']] = None, @@ -5093,8 +5320,6 @@ def __init__(__self__, *, pulumi.set(__self__, "aws_attributes", aws_attributes) if azure_attributes is not None: pulumi.set(__self__, "azure_attributes", azure_attributes) - if clone_from is not None: - pulumi.set(__self__, "clone_from", clone_from) if cluster_id is not None: pulumi.set(__self__, "cluster_id", cluster_id) if cluster_log_conf is not None: @@ -5176,11 +5401,6 @@ def aws_attributes(self) -> Optional['outputs.JobNewClusterAwsAttributes']: def azure_attributes(self) -> Optional['outputs.JobNewClusterAzureAttributes']: return pulumi.get(self, "azure_attributes") - @property - @pulumi.getter(name="cloneFrom") - def clone_from(self) -> Optional['outputs.JobNewClusterCloneFrom']: - return pulumi.get(self, "clone_from") - @property @pulumi.getter(name="clusterId") def cluster_id(self) -> Optional[str]: @@ -5566,35 +5786,6 @@ def log_analytics_workspace_id(self) -> Optional[str]: return pulumi.get(self, "log_analytics_workspace_id") -@pulumi.output_type -class JobNewClusterCloneFrom(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sourceClusterId": - suggest = "source_cluster_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in JobNewClusterCloneFrom. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - JobNewClusterCloneFrom.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - JobNewClusterCloneFrom.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - source_cluster_id: str): - pulumi.set(__self__, "source_cluster_id", source_cluster_id) - - @property - @pulumi.getter(name="sourceClusterId") - def source_cluster_id(self) -> str: - return pulumi.get(self, "source_cluster_id") - - @pulumi.output_type class JobNewClusterClusterLogConf(dict): def __init__(__self__, *, @@ -8539,8 +8730,6 @@ def __key_warning(key: str): suggest = "aws_attributes" elif key == "azureAttributes": suggest = "azure_attributes" - elif key == "cloneFrom": - suggest = "clone_from" elif key == "clusterId": suggest = "cluster_id" elif key == "clusterLogConf": @@ -8608,7 +8797,6 @@ def __init__(__self__, *, autotermination_minutes: Optional[int] = None, aws_attributes: Optional['outputs.JobTaskForEachTaskTaskNewClusterAwsAttributes'] = None, azure_attributes: Optional['outputs.JobTaskForEachTaskTaskNewClusterAzureAttributes'] = None, - clone_from: Optional['outputs.JobTaskForEachTaskTaskNewClusterCloneFrom'] = None, cluster_id: Optional[str] = None, cluster_log_conf: Optional['outputs.JobTaskForEachTaskTaskNewClusterClusterLogConf'] = None, cluster_mount_infos: Optional[Sequence['outputs.JobTaskForEachTaskTaskNewClusterClusterMountInfo']] = None, @@ -8648,8 +8836,6 @@ def __init__(__self__, *, pulumi.set(__self__, "aws_attributes", aws_attributes) if azure_attributes is not None: pulumi.set(__self__, "azure_attributes", azure_attributes) - if clone_from is not None: - pulumi.set(__self__, "clone_from", clone_from) if cluster_id is not None: pulumi.set(__self__, "cluster_id", cluster_id) if cluster_log_conf is not None: @@ -8731,11 +8917,6 @@ def aws_attributes(self) -> Optional['outputs.JobTaskForEachTaskTaskNewClusterAw def azure_attributes(self) -> Optional['outputs.JobTaskForEachTaskTaskNewClusterAzureAttributes']: return pulumi.get(self, "azure_attributes") - @property - @pulumi.getter(name="cloneFrom") - def clone_from(self) -> Optional['outputs.JobTaskForEachTaskTaskNewClusterCloneFrom']: - return pulumi.get(self, "clone_from") - @property @pulumi.getter(name="clusterId") def cluster_id(self) -> Optional[str]: @@ -9121,35 +9302,6 @@ def log_analytics_workspace_id(self) -> Optional[str]: return pulumi.get(self, "log_analytics_workspace_id") -@pulumi.output_type -class JobTaskForEachTaskTaskNewClusterCloneFrom(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sourceClusterId": - suggest = "source_cluster_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in JobTaskForEachTaskTaskNewClusterCloneFrom. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - JobTaskForEachTaskTaskNewClusterCloneFrom.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - JobTaskForEachTaskTaskNewClusterCloneFrom.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - source_cluster_id: str): - pulumi.set(__self__, "source_cluster_id", source_cluster_id) - - @property - @pulumi.getter(name="sourceClusterId") - def source_cluster_id(self) -> str: - return pulumi.get(self, "source_cluster_id") - - @pulumi.output_type class JobTaskForEachTaskTaskNewClusterClusterLogConf(dict): def __init__(__self__, *, @@ -11264,8 +11416,6 @@ def __key_warning(key: str): suggest = "aws_attributes" elif key == "azureAttributes": suggest = "azure_attributes" - elif key == "cloneFrom": - suggest = "clone_from" elif key == "clusterId": suggest = "cluster_id" elif key == "clusterLogConf": @@ -11333,7 +11483,6 @@ def __init__(__self__, *, autotermination_minutes: Optional[int] = None, aws_attributes: Optional['outputs.JobTaskNewClusterAwsAttributes'] = None, azure_attributes: Optional['outputs.JobTaskNewClusterAzureAttributes'] = None, - clone_from: Optional['outputs.JobTaskNewClusterCloneFrom'] = None, cluster_id: Optional[str] = None, cluster_log_conf: Optional['outputs.JobTaskNewClusterClusterLogConf'] = None, cluster_mount_infos: Optional[Sequence['outputs.JobTaskNewClusterClusterMountInfo']] = None, @@ -11373,8 +11522,6 @@ def __init__(__self__, *, pulumi.set(__self__, "aws_attributes", aws_attributes) if azure_attributes is not None: pulumi.set(__self__, "azure_attributes", azure_attributes) - if clone_from is not None: - pulumi.set(__self__, "clone_from", clone_from) if cluster_id is not None: pulumi.set(__self__, "cluster_id", cluster_id) if cluster_log_conf is not None: @@ -11456,11 +11603,6 @@ def aws_attributes(self) -> Optional['outputs.JobTaskNewClusterAwsAttributes']: def azure_attributes(self) -> Optional['outputs.JobTaskNewClusterAzureAttributes']: return pulumi.get(self, "azure_attributes") - @property - @pulumi.getter(name="cloneFrom") - def clone_from(self) -> Optional['outputs.JobTaskNewClusterCloneFrom']: - return pulumi.get(self, "clone_from") - @property @pulumi.getter(name="clusterId") def cluster_id(self) -> Optional[str]: @@ -11846,35 +11988,6 @@ def log_analytics_workspace_id(self) -> Optional[str]: return pulumi.get(self, "log_analytics_workspace_id") -@pulumi.output_type -class JobTaskNewClusterCloneFrom(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sourceClusterId": - suggest = "source_cluster_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in JobTaskNewClusterCloneFrom. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - JobTaskNewClusterCloneFrom.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - JobTaskNewClusterCloneFrom.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - source_cluster_id: str): - pulumi.set(__self__, "source_cluster_id", source_cluster_id) - - @property - @pulumi.getter(name="sourceClusterId") - def source_cluster_id(self) -> str: - return pulumi.get(self, "source_cluster_id") - - @pulumi.output_type class JobTaskNewClusterClusterLogConf(dict): def __init__(__self__, *, @@ -15731,10 +15844,16 @@ class ModelServingConfigServedEntityExternalModelOpenaiConfig(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "openaiApiKey": - suggest = "openai_api_key" + if key == "microsoftEntraClientId": + suggest = "microsoft_entra_client_id" + elif key == "microsoftEntraClientSecret": + suggest = "microsoft_entra_client_secret" + elif key == "microsoftEntraTenantId": + suggest = "microsoft_entra_tenant_id" elif key == "openaiApiBase": suggest = "openai_api_base" + elif key == "openaiApiKey": + suggest = "openai_api_key" elif key == "openaiApiType": suggest = "openai_api_type" elif key == "openaiApiVersion": @@ -15756,15 +15875,25 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - openai_api_key: str, + microsoft_entra_client_id: Optional[str] = None, + microsoft_entra_client_secret: Optional[str] = None, + microsoft_entra_tenant_id: Optional[str] = None, openai_api_base: Optional[str] = None, + openai_api_key: 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): - pulumi.set(__self__, "openai_api_key", openai_api_key) + if microsoft_entra_client_id is not None: + pulumi.set(__self__, "microsoft_entra_client_id", microsoft_entra_client_id) + if microsoft_entra_client_secret is not None: + pulumi.set(__self__, "microsoft_entra_client_secret", microsoft_entra_client_secret) + if microsoft_entra_tenant_id is not None: + pulumi.set(__self__, "microsoft_entra_tenant_id", microsoft_entra_tenant_id) if openai_api_base is not None: pulumi.set(__self__, "openai_api_base", openai_api_base) + if openai_api_key is not None: + pulumi.set(__self__, "openai_api_key", openai_api_key) if openai_api_type is not None: pulumi.set(__self__, "openai_api_type", openai_api_type) if openai_api_version is not None: @@ -15775,9 +15904,19 @@ def __init__(__self__, *, pulumi.set(__self__, "openai_organization", openai_organization) @property - @pulumi.getter(name="openaiApiKey") - def openai_api_key(self) -> str: - return pulumi.get(self, "openai_api_key") + @pulumi.getter(name="microsoftEntraClientId") + def microsoft_entra_client_id(self) -> Optional[str]: + return pulumi.get(self, "microsoft_entra_client_id") + + @property + @pulumi.getter(name="microsoftEntraClientSecret") + def microsoft_entra_client_secret(self) -> Optional[str]: + return pulumi.get(self, "microsoft_entra_client_secret") + + @property + @pulumi.getter(name="microsoftEntraTenantId") + def microsoft_entra_tenant_id(self) -> Optional[str]: + return pulumi.get(self, "microsoft_entra_tenant_id") @property @pulumi.getter(name="openaiApiBase") @@ -15785,9 +15924,14 @@ def openai_api_base(self) -> Optional[str]: return pulumi.get(self, "openai_api_base") @property - @pulumi.getter(name="openaiApiType") - def openai_api_type(self) -> Optional[str]: - return pulumi.get(self, "openai_api_type") + @pulumi.getter(name="openaiApiKey") + def openai_api_key(self) -> Optional[str]: + return pulumi.get(self, "openai_api_key") + + @property + @pulumi.getter(name="openaiApiType") + def openai_api_type(self) -> Optional[str]: + return pulumi.get(self, "openai_api_type") @property @pulumi.getter(name="openaiApiVersion") @@ -19044,6 +19188,437 @@ def email_recipients(self) -> Sequence[str]: return pulumi.get(self, "email_recipients") +@pulumi.output_type +class QualityMonitorCustomMetric(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "inputColumns": + suggest = "input_columns" + elif key == "outputDataType": + suggest = "output_data_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in QualityMonitorCustomMetric. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + QualityMonitorCustomMetric.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + QualityMonitorCustomMetric.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + definition: str, + input_columns: Sequence[str], + name: str, + output_data_type: str, + type: str): + """ + :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. + """ + pulumi.set(__self__, "definition", definition) + pulumi.set(__self__, "input_columns", input_columns) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "output_data_type", output_data_type) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def definition(self) -> 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) -> Sequence[str]: + """ + Columns on the monitored table to apply the custom metrics to. + """ + return pulumi.get(self, "input_columns") + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the custom metric. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="outputDataType") + def output_data_type(self) -> str: + """ + The output type of the custom metric. + """ + return pulumi.get(self, "output_data_type") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the custom metric. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class QualityMonitorDataClassificationConfig(dict): + def __init__(__self__, *, + enabled: Optional[bool] = None): + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + return pulumi.get(self, "enabled") + + +@pulumi.output_type +class QualityMonitorInferenceLog(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "modelIdCol": + suggest = "model_id_col" + elif key == "predictionCol": + suggest = "prediction_col" + elif key == "problemType": + suggest = "problem_type" + elif key == "timestampCol": + suggest = "timestamp_col" + elif key == "labelCol": + suggest = "label_col" + elif key == "predictionProbaCol": + suggest = "prediction_proba_col" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in QualityMonitorInferenceLog. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + QualityMonitorInferenceLog.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + QualityMonitorInferenceLog.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + granularities: Sequence[str], + model_id_col: str, + prediction_col: str, + problem_type: str, + timestamp_col: str, + label_col: Optional[str] = None, + prediction_proba_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 model_id_col: Column of the model id or version + :param str prediction_col: Column of the model prediction + :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 + :param str label_col: Column of the model label + :param str prediction_proba_col: Column of the model prediction probabilities + """ + pulumi.set(__self__, "granularities", granularities) + pulumi.set(__self__, "model_id_col", model_id_col) + pulumi.set(__self__, "prediction_col", prediction_col) + pulumi.set(__self__, "problem_type", problem_type) + pulumi.set(__self__, "timestamp_col", timestamp_col) + if label_col is not None: + pulumi.set(__self__, "label_col", label_col) + if prediction_proba_col is not None: + pulumi.set(__self__, "prediction_proba_col", prediction_proba_col) + + @property + @pulumi.getter + def granularities(self) -> 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="modelIdCol") + def model_id_col(self) -> str: + """ + Column of the model id or version + """ + return pulumi.get(self, "model_id_col") + + @property + @pulumi.getter(name="predictionCol") + def prediction_col(self) -> str: + """ + Column of the model prediction + """ + return pulumi.get(self, "prediction_col") + + @property + @pulumi.getter(name="problemType") + def problem_type(self) -> 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) -> str: + """ + Column of the timestamp of predictions + """ + return pulumi.get(self, "timestamp_col") + + @property + @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="predictionProbaCol") + def prediction_proba_col(self) -> Optional[str]: + """ + Column of the model prediction probabilities + """ + return pulumi.get(self, "prediction_proba_col") + + +@pulumi.output_type +class QualityMonitorNotifications(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "onFailure": + suggest = "on_failure" + elif key == "onNewClassificationTagDetected": + suggest = "on_new_classification_tag_detected" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in QualityMonitorNotifications. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + QualityMonitorNotifications.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + QualityMonitorNotifications.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + on_failure: Optional['outputs.QualityMonitorNotificationsOnFailure'] = None, + on_new_classification_tag_detected: Optional['outputs.QualityMonitorNotificationsOnNewClassificationTagDetected'] = None): + """ + :param 'QualityMonitorNotificationsOnFailureArgs' on_failure: who to send notifications to on monitor failure. + :param 'QualityMonitorNotificationsOnNewClassificationTagDetectedArgs' on_new_classification_tag_detected: Who to send notifications to when new data classification tags are detected. + """ + if on_failure is not None: + pulumi.set(__self__, "on_failure", on_failure) + if on_new_classification_tag_detected is not None: + pulumi.set(__self__, "on_new_classification_tag_detected", on_new_classification_tag_detected) + + @property + @pulumi.getter(name="onFailure") + def on_failure(self) -> Optional['outputs.QualityMonitorNotificationsOnFailure']: + """ + who to send notifications to on monitor failure. + """ + return pulumi.get(self, "on_failure") + + @property + @pulumi.getter(name="onNewClassificationTagDetected") + def on_new_classification_tag_detected(self) -> Optional['outputs.QualityMonitorNotificationsOnNewClassificationTagDetected']: + """ + Who to send notifications to when new data classification tags are detected. + """ + return pulumi.get(self, "on_new_classification_tag_detected") + + +@pulumi.output_type +class QualityMonitorNotificationsOnFailure(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 QualityMonitorNotificationsOnFailure. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + QualityMonitorNotificationsOnFailure.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + QualityMonitorNotificationsOnFailure.__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 QualityMonitorNotificationsOnNewClassificationTagDetected(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 QualityMonitorNotificationsOnNewClassificationTagDetected. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + QualityMonitorNotificationsOnNewClassificationTagDetected.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + QualityMonitorNotificationsOnNewClassificationTagDetected.__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 QualityMonitorSchedule(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "quartzCronExpression": + suggest = "quartz_cron_expression" + elif key == "timezoneId": + suggest = "timezone_id" + elif key == "pauseStatus": + suggest = "pause_status" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in QualityMonitorSchedule. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + QualityMonitorSchedule.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + QualityMonitorSchedule.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + quartz_cron_expression: str, + timezone_id: str, + pause_status: Optional[str] = None): + """ + :param str quartz_cron_expression: string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + :param str timezone_id: string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + :param str pause_status: optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + """ + pulumi.set(__self__, "quartz_cron_expression", quartz_cron_expression) + pulumi.set(__self__, "timezone_id", timezone_id) + if pause_status is not None: + pulumi.set(__self__, "pause_status", pause_status) + + @property + @pulumi.getter(name="quartzCronExpression") + def quartz_cron_expression(self) -> str: + """ + string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + """ + return pulumi.get(self, "quartz_cron_expression") + + @property + @pulumi.getter(name="timezoneId") + def timezone_id(self) -> str: + """ + string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + """ + return pulumi.get(self, "timezone_id") + + @property + @pulumi.getter(name="pauseStatus") + def pause_status(self) -> Optional[str]: + """ + optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + """ + return pulumi.get(self, "pause_status") + + +@pulumi.output_type +class QualityMonitorSnapshot(dict): + def __init__(__self__): + pass + + +@pulumi.output_type +class QualityMonitorTimeSeries(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 QualityMonitorTimeSeries. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + QualityMonitorTimeSeries.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + QualityMonitorTimeSeries.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + granularities: Sequence[str], + timestamp_col: str): + """ + :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 + """ + pulumi.set(__self__, "granularities", granularities) + pulumi.set(__self__, "timestamp_col", timestamp_col) + + @property + @pulumi.getter + def granularities(self) -> 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) -> str: + """ + Column of the timestamp of predictions + """ + return pulumi.get(self, "timestamp_col") + + @pulumi.output_type class RecipientIpAccessList(dict): @staticmethod @@ -21156,6 +21731,8 @@ def __key_warning(key: str): suggest = "embedding_source_columns" elif key == "embeddingVectorColumns": suggest = "embedding_vector_columns" + elif key == "embeddingWritebackTable": + suggest = "embedding_writeback_table" elif key == "pipelineId": suggest = "pipeline_id" elif key == "pipelineType": @@ -21177,6 +21754,7 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, embedding_source_columns: Optional[Sequence['outputs.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn']] = None, embedding_vector_columns: Optional[Sequence['outputs.VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn']] = None, + embedding_writeback_table: Optional[str] = None, pipeline_id: Optional[str] = None, pipeline_type: Optional[str] = None, source_table: Optional[str] = None): @@ -21189,6 +21767,8 @@ def __init__(__self__, *, pulumi.set(__self__, "embedding_source_columns", embedding_source_columns) if embedding_vector_columns is not None: pulumi.set(__self__, "embedding_vector_columns", embedding_vector_columns) + if embedding_writeback_table is not None: + pulumi.set(__self__, "embedding_writeback_table", embedding_writeback_table) if pipeline_id is not None: pulumi.set(__self__, "pipeline_id", pipeline_id) if pipeline_type is not None: @@ -21209,6 +21789,11 @@ def embedding_source_columns(self) -> Optional[Sequence['outputs.VectorSearchInd def embedding_vector_columns(self) -> Optional[Sequence['outputs.VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn']]: return pulumi.get(self, "embedding_vector_columns") + @property + @pulumi.getter(name="embeddingWritebackTable") + def embedding_writeback_table(self) -> Optional[str]: + return pulumi.get(self, "embedding_writeback_table") + @property @pulumi.getter(name="pipelineId") def pipeline_id(self) -> Optional[str]: @@ -23249,11 +23834,17 @@ def __init__(__self__, *, """ :param str access_point: The ARN of the s3 access point to use with the external location (AWS). :param str comment: User-supplied comment. + :param int created_at: Time at which this catalog was created, in epoch milliseconds. + :param str created_by: Username of catalog creator. + :param str credential_id: Unique ID of storage credential. :param str credential_name: Name of the StorageCredential to use with this external location. :param 'GetExternalLocationExternalLocationInfoEncryptionDetailsArgs' encryption_details: The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). - :param str name: The name of the storage credential + :param str metastore_id: Unique identifier of the parent Metastore. + :param str name: The name of the external location :param str owner: Username/groupname/sp application_id of the external location owner. :param bool read_only: Indicates whether the external location is read-only. + :param int updated_at: Time at which this catalog was last modified, in epoch milliseconds. + :param str updated_by: Username of user who last modified catalog. :param str url: Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). """ if access_point is not None: @@ -23311,16 +23902,25 @@ def comment(self) -> Optional[str]: @property @pulumi.getter(name="createdAt") def created_at(self) -> Optional[int]: + """ + Time at which this catalog was created, in epoch milliseconds. + """ return pulumi.get(self, "created_at") @property @pulumi.getter(name="createdBy") def created_by(self) -> Optional[str]: + """ + Username of catalog creator. + """ return pulumi.get(self, "created_by") @property @pulumi.getter(name="credentialId") def credential_id(self) -> Optional[str]: + """ + Unique ID of storage credential. + """ return pulumi.get(self, "credential_id") @property @@ -23342,13 +23942,16 @@ def encryption_details(self) -> Optional['outputs.GetExternalLocationExternalLoc @property @pulumi.getter(name="metastoreId") def metastore_id(self) -> Optional[str]: + """ + Unique identifier of the parent Metastore. + """ return pulumi.get(self, "metastore_id") @property @pulumi.getter def name(self) -> Optional[str]: """ - The name of the storage credential + The name of the external location """ return pulumi.get(self, "name") @@ -23371,11 +23974,17 @@ def read_only(self) -> Optional[bool]: @property @pulumi.getter(name="updatedAt") def updated_at(self) -> Optional[int]: + """ + Time at which this catalog was last modified, in epoch milliseconds. + """ return pulumi.get(self, "updated_at") @property @pulumi.getter(name="updatedBy") def updated_by(self) -> Optional[str]: + """ + Username of user who last modified catalog. + """ return pulumi.get(self, "updated_by") @property @@ -31332,10 +31941,19 @@ def __init__(__self__, *, updated_by: Optional[str] = None, used_for_managed_storage: Optional[bool] = None): """ + :param 'GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs' aws_iam_role: credential details for AWS: + :param 'GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs' azure_managed_identity: managed identity credential details for Azure + :param 'GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs' azure_service_principal: service principal credential details for Azure: + :param int created_at: Time at which this catalog was created, in epoch milliseconds. + :param str created_by: Username of catalog creator. + :param 'GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs' databricks_gcp_service_account: credential details for GCP: + :param str id: Unique ID of storage credential. :param str metastore_id: Unique identifier of the parent Metastore. :param str name: The name of the storage credential :param str owner: Username/groupname/sp application_id of the storage credential owner. :param bool read_only: Indicates whether the storage credential is only usable for read operations. + :param int updated_at: Time at which this catalog was last modified, in epoch milliseconds. + :param str updated_by: Username of user who last modified catalog. """ if aws_iam_role is not None: pulumi.set(__self__, "aws_iam_role", aws_iam_role) @@ -31373,16 +31991,25 @@ def __init__(__self__, *, @property @pulumi.getter(name="awsIamRole") def aws_iam_role(self) -> Optional['outputs.GetStorageCredentialStorageCredentialInfoAwsIamRoleResult']: + """ + credential details for AWS: + """ return pulumi.get(self, "aws_iam_role") @property @pulumi.getter(name="azureManagedIdentity") def azure_managed_identity(self) -> Optional['outputs.GetStorageCredentialStorageCredentialInfoAzureManagedIdentityResult']: + """ + managed identity credential details for Azure + """ return pulumi.get(self, "azure_managed_identity") @property @pulumi.getter(name="azureServicePrincipal") def azure_service_principal(self) -> Optional['outputs.GetStorageCredentialStorageCredentialInfoAzureServicePrincipalResult']: + """ + service principal credential details for Azure: + """ return pulumi.get(self, "azure_service_principal") @property @@ -31398,21 +32025,33 @@ def comment(self) -> Optional[str]: @property @pulumi.getter(name="createdAt") def created_at(self) -> Optional[int]: + """ + Time at which this catalog was created, in epoch milliseconds. + """ return pulumi.get(self, "created_at") @property @pulumi.getter(name="createdBy") def created_by(self) -> Optional[str]: + """ + Username of catalog creator. + """ return pulumi.get(self, "created_by") @property @pulumi.getter(name="databricksGcpServiceAccount") def databricks_gcp_service_account(self) -> Optional['outputs.GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountResult']: + """ + credential details for GCP: + """ return pulumi.get(self, "databricks_gcp_service_account") @property @pulumi.getter def id(self) -> Optional[str]: + """ + Unique ID of storage credential. + """ return pulumi.get(self, "id") @property @@ -31450,11 +32089,17 @@ def read_only(self) -> Optional[bool]: @property @pulumi.getter(name="updatedAt") def updated_at(self) -> Optional[int]: + """ + Time at which this catalog was last modified, in epoch milliseconds. + """ return pulumi.get(self, "updated_at") @property @pulumi.getter(name="updatedBy") def updated_by(self) -> Optional[str]: + """ + Username of user who last modified catalog. + """ return pulumi.get(self, "updated_by") @property diff --git a/sdk/python/pulumi_databricks/quality_monitor.py b/sdk/python/pulumi_databricks/quality_monitor.py new file mode 100644 index 00000000..54847fc0 --- /dev/null +++ b/sdk/python/pulumi_databricks/quality_monitor.py @@ -0,0 +1,1022 @@ +# 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__ = ['QualityMonitorArgs', 'QualityMonitor'] + +@pulumi.input_type +class QualityMonitorArgs: + 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['QualityMonitorCustomMetricArgs']]]] = None, + data_classification_config: Optional[pulumi.Input['QualityMonitorDataClassificationConfigArgs']] = None, + inference_log: Optional[pulumi.Input['QualityMonitorInferenceLogArgs']] = None, + latest_monitor_failure_msg: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input['QualityMonitorNotificationsArgs']] = None, + schedule: Optional[pulumi.Input['QualityMonitorScheduleArgs']] = None, + skip_builtin_dashboard: Optional[pulumi.Input[bool]] = None, + slicing_exprs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + snapshot: Optional[pulumi.Input['QualityMonitorSnapshotArgs']] = None, + time_series: Optional[pulumi.Input['QualityMonitorTimeSeriesArgs']] = None, + warehouse_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a QualityMonitor 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['QualityMonitorCustomMetricArgs']]] 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['QualityMonitorDataClassificationConfigArgs'] data_classification_config: The data classification config for the monitor + :param pulumi.Input['QualityMonitorInferenceLogArgs'] inference_log: Configuration for the inference log monitor + :param pulumi.Input['QualityMonitorNotificationsArgs'] notifications: The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + :param pulumi.Input['QualityMonitorScheduleArgs'] schedule: The schedule for automatically updating and refreshing metric tables. This block consists of following fields: + :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['QualityMonitorSnapshotArgs'] snapshot: Configuration for monitoring snapshot tables. + :param pulumi.Input['QualityMonitorTimeSeriesArgs'] 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['QualityMonitorCustomMetricArgs']]]]: + """ + 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['QualityMonitorCustomMetricArgs']]]]): + pulumi.set(self, "custom_metrics", value) + + @property + @pulumi.getter(name="dataClassificationConfig") + def data_classification_config(self) -> Optional[pulumi.Input['QualityMonitorDataClassificationConfigArgs']]: + """ + 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['QualityMonitorDataClassificationConfigArgs']]): + pulumi.set(self, "data_classification_config", value) + + @property + @pulumi.getter(name="inferenceLog") + def inference_log(self) -> Optional[pulumi.Input['QualityMonitorInferenceLogArgs']]: + """ + Configuration for the inference log monitor + """ + return pulumi.get(self, "inference_log") + + @inference_log.setter + def inference_log(self, value: Optional[pulumi.Input['QualityMonitorInferenceLogArgs']]): + 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['QualityMonitorNotificationsArgs']]: + """ + The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + """ + return pulumi.get(self, "notifications") + + @notifications.setter + def notifications(self, value: Optional[pulumi.Input['QualityMonitorNotificationsArgs']]): + pulumi.set(self, "notifications", value) + + @property + @pulumi.getter + def schedule(self) -> Optional[pulumi.Input['QualityMonitorScheduleArgs']]: + """ + The schedule for automatically updating and refreshing metric tables. This block consists of following fields: + """ + return pulumi.get(self, "schedule") + + @schedule.setter + def schedule(self, value: Optional[pulumi.Input['QualityMonitorScheduleArgs']]): + 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['QualityMonitorSnapshotArgs']]: + """ + Configuration for monitoring snapshot tables. + """ + return pulumi.get(self, "snapshot") + + @snapshot.setter + def snapshot(self, value: Optional[pulumi.Input['QualityMonitorSnapshotArgs']]): + pulumi.set(self, "snapshot", value) + + @property + @pulumi.getter(name="timeSeries") + def time_series(self) -> Optional[pulumi.Input['QualityMonitorTimeSeriesArgs']]: + """ + Configuration for monitoring timeseries tables. + """ + return pulumi.get(self, "time_series") + + @time_series.setter + def time_series(self, value: Optional[pulumi.Input['QualityMonitorTimeSeriesArgs']]): + 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 _QualityMonitorState: + 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['QualityMonitorCustomMetricArgs']]]] = None, + dashboard_id: Optional[pulumi.Input[str]] = None, + data_classification_config: Optional[pulumi.Input['QualityMonitorDataClassificationConfigArgs']] = None, + drift_metrics_table_name: Optional[pulumi.Input[str]] = None, + inference_log: Optional[pulumi.Input['QualityMonitorInferenceLogArgs']] = None, + latest_monitor_failure_msg: Optional[pulumi.Input[str]] = None, + monitor_version: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input['QualityMonitorNotificationsArgs']] = None, + output_schema_name: Optional[pulumi.Input[str]] = None, + profile_metrics_table_name: Optional[pulumi.Input[str]] = None, + schedule: Optional[pulumi.Input['QualityMonitorScheduleArgs']] = None, + skip_builtin_dashboard: Optional[pulumi.Input[bool]] = None, + slicing_exprs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + snapshot: Optional[pulumi.Input['QualityMonitorSnapshotArgs']] = None, + status: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + time_series: Optional[pulumi.Input['QualityMonitorTimeSeriesArgs']] = None, + warehouse_id: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering QualityMonitor 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['QualityMonitorCustomMetricArgs']]] 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['QualityMonitorDataClassificationConfigArgs'] 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['QualityMonitorInferenceLogArgs'] 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['QualityMonitorNotificationsArgs'] notifications: The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + :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['QualityMonitorScheduleArgs'] schedule: The schedule for automatically updating and refreshing metric tables. This block consists of following fields: + :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['QualityMonitorSnapshotArgs'] 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['QualityMonitorTimeSeriesArgs'] 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['QualityMonitorCustomMetricArgs']]]]: + """ + 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['QualityMonitorCustomMetricArgs']]]]): + 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['QualityMonitorDataClassificationConfigArgs']]: + """ + 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['QualityMonitorDataClassificationConfigArgs']]): + 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['QualityMonitorInferenceLogArgs']]: + """ + Configuration for the inference log monitor + """ + return pulumi.get(self, "inference_log") + + @inference_log.setter + def inference_log(self, value: Optional[pulumi.Input['QualityMonitorInferenceLogArgs']]): + 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['QualityMonitorNotificationsArgs']]: + """ + The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + """ + return pulumi.get(self, "notifications") + + @notifications.setter + def notifications(self, value: Optional[pulumi.Input['QualityMonitorNotificationsArgs']]): + 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['QualityMonitorScheduleArgs']]: + """ + The schedule for automatically updating and refreshing metric tables. This block consists of following fields: + """ + return pulumi.get(self, "schedule") + + @schedule.setter + def schedule(self, value: Optional[pulumi.Input['QualityMonitorScheduleArgs']]): + 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['QualityMonitorSnapshotArgs']]: + """ + Configuration for monitoring snapshot tables. + """ + return pulumi.get(self, "snapshot") + + @snapshot.setter + def snapshot(self, value: Optional[pulumi.Input['QualityMonitorSnapshotArgs']]): + 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['QualityMonitorTimeSeriesArgs']]: + """ + Configuration for monitoring timeseries tables. + """ + return pulumi.get(self, "time_series") + + @time_series.setter + def time_series(self, value: Optional[pulumi.Input['QualityMonitorTimeSeriesArgs']]): + 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 QualityMonitor(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['QualityMonitorCustomMetricArgs']]]]] = None, + data_classification_config: Optional[pulumi.Input[pulumi.InputType['QualityMonitorDataClassificationConfigArgs']]] = None, + inference_log: Optional[pulumi.Input[pulumi.InputType['QualityMonitorInferenceLogArgs']]] = None, + latest_monitor_failure_msg: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[pulumi.InputType['QualityMonitorNotificationsArgs']]] = None, + output_schema_name: Optional[pulumi.Input[str]] = None, + schedule: Optional[pulumi.Input[pulumi.InputType['QualityMonitorScheduleArgs']]] = 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['QualityMonitorSnapshotArgs']]] = None, + table_name: Optional[pulumi.Input[str]] = None, + time_series: Optional[pulumi.Input[pulumi.InputType['QualityMonitorTimeSeriesArgs']]] = 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 `QualityMonitor` 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.QualityMonitor("testMonitorInference", + table_name=f"{sandbox['name']}.{things['name']}.{my_test_table['name']}", + assets_dir=f"/Shared/provider-test/databricks_quality_monitoring/{my_test_table['name']}", + output_schema_name=f"{sandbox['name']}.{things['name']}", + inference_log=databricks.QualityMonitorInferenceLogArgs( + granularities=["1 hour"], + timestamp_col="timestamp", + prediction_col="prediction", + model_id_col="model_id", + problem_type="PROBLEM_TYPE_REGRESSION", + )) + ``` + ### Snapshot Monitor + ```python + import pulumi + import pulumi_databricks as databricks + + test_monitor_inference = databricks.QualityMonitor("testMonitorInference", + table_name=f"{sandbox['name']}.{things['name']}.{my_test_table['name']}", + assets_dir=f"/Shared/provider-test/databricks_quality_monitoring/{my_test_table['name']}", + output_schema_name=f"{sandbox['name']}.{things['name']}", + snapshot=databricks.QualityMonitorSnapshotArgs()) + ``` + + ## 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['QualityMonitorCustomMetricArgs']]]] 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['QualityMonitorDataClassificationConfigArgs']] data_classification_config: The data classification config for the monitor + :param pulumi.Input[pulumi.InputType['QualityMonitorInferenceLogArgs']] inference_log: Configuration for the inference log monitor + :param pulumi.Input[pulumi.InputType['QualityMonitorNotificationsArgs']] notifications: The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + :param pulumi.Input[str] output_schema_name: Schema where output metric tables are created + :param pulumi.Input[pulumi.InputType['QualityMonitorScheduleArgs']] schedule: The schedule for automatically updating and refreshing metric tables. This block consists of following fields: + :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['QualityMonitorSnapshotArgs']] 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['QualityMonitorTimeSeriesArgs']] 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: QualityMonitorArgs, + 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 `QualityMonitor` 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.QualityMonitor("testMonitorInference", + table_name=f"{sandbox['name']}.{things['name']}.{my_test_table['name']}", + assets_dir=f"/Shared/provider-test/databricks_quality_monitoring/{my_test_table['name']}", + output_schema_name=f"{sandbox['name']}.{things['name']}", + inference_log=databricks.QualityMonitorInferenceLogArgs( + granularities=["1 hour"], + timestamp_col="timestamp", + prediction_col="prediction", + model_id_col="model_id", + problem_type="PROBLEM_TYPE_REGRESSION", + )) + ``` + ### Snapshot Monitor + ```python + import pulumi + import pulumi_databricks as databricks + + test_monitor_inference = databricks.QualityMonitor("testMonitorInference", + table_name=f"{sandbox['name']}.{things['name']}.{my_test_table['name']}", + assets_dir=f"/Shared/provider-test/databricks_quality_monitoring/{my_test_table['name']}", + output_schema_name=f"{sandbox['name']}.{things['name']}", + snapshot=databricks.QualityMonitorSnapshotArgs()) + ``` + + ## 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 QualityMonitorArgs 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(QualityMonitorArgs, 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['QualityMonitorCustomMetricArgs']]]]] = None, + data_classification_config: Optional[pulumi.Input[pulumi.InputType['QualityMonitorDataClassificationConfigArgs']]] = None, + inference_log: Optional[pulumi.Input[pulumi.InputType['QualityMonitorInferenceLogArgs']]] = None, + latest_monitor_failure_msg: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[pulumi.InputType['QualityMonitorNotificationsArgs']]] = None, + output_schema_name: Optional[pulumi.Input[str]] = None, + schedule: Optional[pulumi.Input[pulumi.InputType['QualityMonitorScheduleArgs']]] = 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['QualityMonitorSnapshotArgs']]] = None, + table_name: Optional[pulumi.Input[str]] = None, + time_series: Optional[pulumi.Input[pulumi.InputType['QualityMonitorTimeSeriesArgs']]] = 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__ = QualityMonitorArgs.__new__(QualityMonitorArgs) + + 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(QualityMonitor, __self__).__init__( + 'databricks:index/qualityMonitor:QualityMonitor', + 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['QualityMonitorCustomMetricArgs']]]]] = None, + dashboard_id: Optional[pulumi.Input[str]] = None, + data_classification_config: Optional[pulumi.Input[pulumi.InputType['QualityMonitorDataClassificationConfigArgs']]] = None, + drift_metrics_table_name: Optional[pulumi.Input[str]] = None, + inference_log: Optional[pulumi.Input[pulumi.InputType['QualityMonitorInferenceLogArgs']]] = None, + latest_monitor_failure_msg: Optional[pulumi.Input[str]] = None, + monitor_version: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[pulumi.InputType['QualityMonitorNotificationsArgs']]] = None, + output_schema_name: Optional[pulumi.Input[str]] = None, + profile_metrics_table_name: Optional[pulumi.Input[str]] = None, + schedule: Optional[pulumi.Input[pulumi.InputType['QualityMonitorScheduleArgs']]] = 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['QualityMonitorSnapshotArgs']]] = None, + status: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + time_series: Optional[pulumi.Input[pulumi.InputType['QualityMonitorTimeSeriesArgs']]] = None, + warehouse_id: Optional[pulumi.Input[str]] = None) -> 'QualityMonitor': + """ + Get an existing QualityMonitor 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['QualityMonitorCustomMetricArgs']]]] 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['QualityMonitorDataClassificationConfigArgs']] 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['QualityMonitorInferenceLogArgs']] 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['QualityMonitorNotificationsArgs']] notifications: The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + :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['QualityMonitorScheduleArgs']] schedule: The schedule for automatically updating and refreshing metric tables. This block consists of following fields: + :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['QualityMonitorSnapshotArgs']] 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['QualityMonitorTimeSeriesArgs']] 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__ = _QualityMonitorState.__new__(_QualityMonitorState) + + __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 QualityMonitor(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.QualityMonitorCustomMetric']]]: + """ + 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.QualityMonitorDataClassificationConfig']]: + """ + 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.QualityMonitorInferenceLog']]: + """ + 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.QualityMonitorNotifications']]: + """ + The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify: + """ + 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.QualityMonitorSchedule']]: + """ + The schedule for automatically updating and refreshing metric tables. This block consists of following fields: + """ + 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.QualityMonitorSnapshot']]: + """ + 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.QualityMonitorTimeSeries']]: + """ + 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") +