From 157591a8e929e03769ae801e75c4e55052f558a6 Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Thu, 16 May 2024 03:10:02 +0000 Subject: [PATCH] make build_sdks --- sdk/dotnet/GetCatalog.cs | 192 + sdk/dotnet/GetMlflowExperiment.cs | 221 + sdk/dotnet/GetTable.cs | 185 + sdk/dotnet/Inputs/GetCatalogCatalogInfo.cs | 170 + .../Inputs/GetCatalogCatalogInfoArgs.cs | 170 + ...InfoEffectivePredictiveOptimizationFlag.cs | 29 + ...EffectivePredictiveOptimizationFlagArgs.cs | 29 + .../GetCatalogCatalogInfoProvisioningInfo.cs | 23 + ...tCatalogCatalogInfoProvisioningInfoArgs.cs | 23 + sdk/dotnet/Inputs/GetMlflowExperimentTag.cs | 26 + .../Inputs/GetMlflowExperimentTagArgs.cs | 26 + sdk/dotnet/Inputs/GetTableTableInfo.cs | 162 + sdk/dotnet/Inputs/GetTableTableInfoArgs.cs | 162 + sdk/dotnet/Inputs/GetTableTableInfoColumn.cs | 62 + .../Inputs/GetTableTableInfoColumnArgs.cs | 62 + .../Inputs/GetTableTableInfoColumnMask.cs | 31 + .../Inputs/GetTableTableInfoColumnMaskArgs.cs | 31 + ...eTableInfoDeltaRuntimePropertiesKvpairs.cs | 28 + ...leInfoDeltaRuntimePropertiesKvpairsArgs.cs | 28 + ...InfoEffectivePredictiveOptimizationFlag.cs | 29 + ...EffectivePredictiveOptimizationFlagArgs.cs | 29 + .../GetTableTableInfoEncryptionDetails.cs | 23 + .../GetTableTableInfoEncryptionDetailsArgs.cs | 23 + ...foEncryptionDetailsSseEncryptionDetails.cs | 26 + ...cryptionDetailsSseEncryptionDetailsArgs.cs | 26 + .../Inputs/GetTableTableInfoRowFilter.cs | 31 + .../Inputs/GetTableTableInfoRowFilterArgs.cs | 31 + .../GetTableTableInfoTableConstraint.cs | 29 + .../GetTableTableInfoTableConstraintArgs.cs | 29 + ...InfoTableConstraintForeignKeyConstraint.cs | 45 + ...TableConstraintForeignKeyConstraintArgs.cs | 45 + ...InfoTableConstraintNamedTableConstraint.cs | 26 + ...TableConstraintNamedTableConstraintArgs.cs | 26 + ...InfoTableConstraintPrimaryKeyConstraint.cs | 34 + ...TableConstraintPrimaryKeyConstraintArgs.cs | 34 + .../GetTableTableInfoViewDependencies.cs | 28 + .../GetTableTableInfoViewDependenciesArgs.cs | 28 + ...ableTableInfoViewDependenciesDependency.cs | 26 + ...TableInfoViewDependenciesDependencyArgs.cs | 26 + ...eInfoViewDependenciesDependencyFunction.cs | 23 + ...oViewDependenciesDependencyFunctionArgs.cs | 23 + ...ableInfoViewDependenciesDependencyTable.cs | 23 + ...InfoViewDependenciesDependencyTableArgs.cs | 23 + .../Inputs/JobJobClusterNewClusterArgs.cs | 2 +- .../Inputs/JobJobClusterNewClusterGetArgs.cs | 2 +- sdk/dotnet/Inputs/JobNewClusterArgs.cs | 2 +- sdk/dotnet/Inputs/JobNewClusterGetArgs.cs | 2 +- .../JobTaskForEachTaskTaskNewClusterArgs.cs | 2 +- ...JobTaskForEachTaskTaskNewClusterGetArgs.cs | 2 +- sdk/dotnet/Inputs/JobTaskNewClusterArgs.cs | 2 +- sdk/dotnet/Inputs/JobTaskNewClusterGetArgs.cs | 2 +- sdk/dotnet/Job.cs | 41 +- ...fectivePredictiveOptimizationFlagResult.cs | 33 + ...atalogCatalogInfoProvisioningInfoResult.cs | 24 + .../Outputs/GetCatalogCatalogInfoResult.cs | 183 + .../Outputs/GetMlflowExperimentTagResult.cs | 29 + .../GetTableTableInfoColumnMaskResult.cs | 29 + .../Outputs/GetTableTableInfoColumnResult.cs | 75 + ...InfoDeltaRuntimePropertiesKvpairsResult.cs | 24 + ...fectivePredictiveOptimizationFlagResult.cs | 33 + ...etTableTableInfoEncryptionDetailsResult.cs | 24 + ...yptionDetailsSseEncryptionDetailsResult.cs | 29 + sdk/dotnet/Outputs/GetTableTableInfoResult.cs | 179 + .../GetTableTableInfoRowFilterResult.cs | 29 + ...bleConstraintForeignKeyConstraintResult.cs | 40 + ...bleConstraintNamedTableConstraintResult.cs | 27 + ...bleConstraintPrimaryKeyConstraintResult.cs | 32 + .../GetTableTableInfoTableConstraintResult.cs | 33 + ...iewDependenciesDependencyFunctionResult.cs | 24 + ...bleInfoViewDependenciesDependencyResult.cs | 29 + ...foViewDependenciesDependencyTableResult.cs | 24 + ...GetTableTableInfoViewDependenciesResult.cs | 24 + sdk/dotnet/Outputs/JobJobClusterNewCluster.cs | 2 +- sdk/dotnet/Outputs/JobNewCluster.cs | 2 +- .../JobTaskForEachTaskTaskNewCluster.cs | 2 +- sdk/dotnet/Outputs/JobTaskNewCluster.cs | 2 +- sdk/dotnet/SqlTable.cs | 18 + sdk/go/databricks/getCatalog.go | 151 + sdk/go/databricks/getMlflowExperiment.go | 161 + sdk/go/databricks/getTable.go | 148 + sdk/go/databricks/job.go | 78 +- sdk/go/databricks/pulumiTypes.go | 1384 +- sdk/go/databricks/pulumiTypes1.go | 32601 +++++++++------- sdk/go/databricks/sqlTable.go | 15 + .../databricks/DatabricksFunctions.java | 551 + .../main/java/com/pulumi/databricks/Job.java | 32 +- .../java/com/pulumi/databricks/JobArgs.java | 84 +- .../java/com/pulumi/databricks/SqlTable.java | 14 + .../com/pulumi/databricks/SqlTableArgs.java | 37 + .../databricks/inputs/GetCatalogArgs.java | 162 + .../inputs/GetCatalogCatalogInfo.java | 671 + .../inputs/GetCatalogCatalogInfoArgs.java | 900 + ...foEffectivePredictiveOptimizationFlag.java | 88 + ...fectivePredictiveOptimizationFlagArgs.java | 101 + ...GetCatalogCatalogInfoProvisioningInfo.java | 58 + ...atalogCatalogInfoProvisioningInfoArgs.java | 63 + .../inputs/GetCatalogPlainArgs.java | 131 + .../inputs/GetMlflowExperimentArgs.java | 355 + .../inputs/GetMlflowExperimentPlainArgs.java | 274 + .../inputs/GetMlflowExperimentTag.java | 71 + .../inputs/GetMlflowExperimentTagArgs.java | 80 + .../databricks/inputs/GetTableArgs.java | 142 + .../databricks/inputs/GetTablePlainArgs.java | 117 + .../databricks/inputs/GetTableTableInfo.java | 627 + .../inputs/GetTableTableInfoArgs.java | 816 + .../inputs/GetTableTableInfoColumn.java | 232 + .../inputs/GetTableTableInfoColumnArgs.java | 293 + .../inputs/GetTableTableInfoColumnMask.java | 76 + .../GetTableTableInfoColumnMaskArgs.java | 85 + ...ableInfoDeltaRuntimePropertiesKvpairs.java | 62 + ...InfoDeltaRuntimePropertiesKvpairsArgs.java | 67 + ...foEffectivePredictiveOptimizationFlag.java | 88 + ...fectivePredictiveOptimizationFlagArgs.java | 101 + .../GetTableTableInfoEncryptionDetails.java | 58 + ...etTableTableInfoEncryptionDetailsArgs.java | 63 + ...EncryptionDetailsSseEncryptionDetails.java | 71 + ...yptionDetailsSseEncryptionDetailsArgs.java | 80 + .../inputs/GetTableTableInfoRowFilter.java | 81 + .../GetTableTableInfoRowFilterArgs.java | 90 + .../GetTableTableInfoTableConstraint.java | 86 + .../GetTableTableInfoTableConstraintArgs.java | 99 + ...foTableConstraintForeignKeyConstraint.java | 131 + ...bleConstraintForeignKeyConstraintArgs.java | 154 + ...foTableConstraintNamedTableConstraint.java | 74 + ...bleConstraintNamedTableConstraintArgs.java | 85 + ...foTableConstraintPrimaryKeyConstraint.java | 95 + ...bleConstraintPrimaryKeyConstraintArgs.java | 110 + .../GetTableTableInfoViewDependencies.java | 63 + ...GetTableTableInfoViewDependenciesArgs.java | 68 + ...leTableInfoViewDependenciesDependency.java | 72 + ...bleInfoViewDependenciesDependencyArgs.java | 81 + ...nfoViewDependenciesDependencyFunction.java | 60 + ...iewDependenciesDependencyFunctionArgs.java | 65 + ...leInfoViewDependenciesDependencyTable.java | 60 + ...foViewDependenciesDependencyTableArgs.java | 65 + .../inputs/JobJobClusterNewClusterArgs.java | 10 +- .../databricks/inputs/JobNewClusterArgs.java | 10 +- .../pulumi/databricks/inputs/JobState.java | 84 +- .../JobTaskForEachTaskTaskNewClusterArgs.java | 10 +- .../inputs/JobTaskNewClusterArgs.java | 10 +- .../databricks/inputs/SqlTableState.java | 37 + .../outputs/GetCatalogCatalogInfo.java | 530 + ...foEffectivePredictiveOptimizationFlag.java | 78 + ...GetCatalogCatalogInfoProvisioningInfo.java | 49 + .../databricks/outputs/GetCatalogResult.java | 105 + .../outputs/GetMlflowExperimentResult.java | 225 + .../outputs/GetMlflowExperimentTag.java | 62 + .../databricks/outputs/GetTableResult.java | 97 + .../databricks/outputs/GetTableTableInfo.java | 550 + .../outputs/GetTableTableInfoColumn.java | 211 + .../outputs/GetTableTableInfoColumnMask.java | 66 + ...ableInfoDeltaRuntimePropertiesKvpairs.java | 52 + ...foEffectivePredictiveOptimizationFlag.java | 78 + .../GetTableTableInfoEncryptionDetails.java | 49 + ...EncryptionDetailsSseEncryptionDetails.java | 62 + .../outputs/GetTableTableInfoRowFilter.java | 69 + .../GetTableTableInfoTableConstraint.java | 77 + ...foTableConstraintForeignKeyConstraint.java | 110 + ...foTableConstraintNamedTableConstraint.java | 58 + ...foTableConstraintPrimaryKeyConstraint.java | 77 + .../GetTableTableInfoViewDependencies.java | 52 + ...leTableInfoViewDependenciesDependency.java | 63 + ...nfoViewDependenciesDependencyFunction.java | 50 + ...leInfoViewDependenciesDependencyTable.java | 50 + .../outputs/JobJobClusterNewCluster.java | 4 +- .../databricks/outputs/JobNewCluster.java | 4 +- .../JobTaskForEachTaskTaskNewCluster.java | 4 +- .../databricks/outputs/JobTaskNewCluster.java | 4 +- sdk/nodejs/getCatalog.ts | 130 + sdk/nodejs/getMlflowExperiment.ts | 150 + sdk/nodejs/getTable.ts | 127 + sdk/nodejs/index.ts | 15 + sdk/nodejs/job.ts | 39 +- sdk/nodejs/sqlTable.ts | 14 + sdk/nodejs/tsconfig.json | 3 + sdk/nodejs/types/input.ts | 550 +- sdk/nodejs/types/output.ts | 279 +- sdk/python/pulumi_databricks/__init__.py | 3 + sdk/python/pulumi_databricks/_inputs.py | 1482 +- sdk/python/pulumi_databricks/get_catalog.py | 155 + .../get_mlflow_experiment.py | 205 + sdk/python/pulumi_databricks/get_table.py | 156 + sdk/python/pulumi_databricks/job.py | 67 +- sdk/python/pulumi_databricks/outputs.py | 1082 +- sdk/python/pulumi_databricks/sql_table.py | 47 + 185 files changed, 38355 insertions(+), 15226 deletions(-) create mode 100644 sdk/dotnet/GetCatalog.cs create mode 100644 sdk/dotnet/GetMlflowExperiment.cs create mode 100644 sdk/dotnet/GetTable.cs create mode 100644 sdk/dotnet/Inputs/GetCatalogCatalogInfo.cs create mode 100644 sdk/dotnet/Inputs/GetCatalogCatalogInfoArgs.cs create mode 100644 sdk/dotnet/Inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag.cs create mode 100644 sdk/dotnet/Inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs.cs create mode 100644 sdk/dotnet/Inputs/GetCatalogCatalogInfoProvisioningInfo.cs create mode 100644 sdk/dotnet/Inputs/GetCatalogCatalogInfoProvisioningInfoArgs.cs create mode 100644 sdk/dotnet/Inputs/GetMlflowExperimentTag.cs create mode 100644 sdk/dotnet/Inputs/GetMlflowExperimentTagArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfo.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoColumn.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoColumnArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoColumnMask.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoColumnMaskArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoEffectivePredictiveOptimizationFlag.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoEffectivePredictiveOptimizationFlagArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetails.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetailsArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetails.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoRowFilter.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoRowFilterArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoTableConstraint.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoTableConstraintArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoTableConstraintForeignKeyConstraint.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoTableConstraintForeignKeyConstraintArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoTableConstraintNamedTableConstraint.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoTableConstraintNamedTableConstraintArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraint.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoViewDependencies.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependency.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyFunction.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyFunctionArgs.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyTable.cs create mode 100644 sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyTableArgs.cs create mode 100644 sdk/dotnet/Outputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult.cs create mode 100644 sdk/dotnet/Outputs/GetCatalogCatalogInfoProvisioningInfoResult.cs create mode 100644 sdk/dotnet/Outputs/GetCatalogCatalogInfoResult.cs create mode 100644 sdk/dotnet/Outputs/GetMlflowExperimentTagResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoColumnMaskResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoColumnResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoDeltaRuntimePropertiesKvpairsResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoEffectivePredictiveOptimizationFlagResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoEncryptionDetailsResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetailsResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoRowFilterResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoTableConstraintForeignKeyConstraintResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoTableConstraintNamedTableConstraintResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoTableConstraintPrimaryKeyConstraintResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoTableConstraintResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesDependencyFunctionResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesDependencyResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesDependencyTableResult.cs create mode 100644 sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesResult.cs create mode 100644 sdk/go/databricks/getCatalog.go create mode 100644 sdk/go/databricks/getMlflowExperiment.go create mode 100644 sdk/go/databricks/getTable.go create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfo.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoProvisioningInfo.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoProvisioningInfoArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogPlainArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentPlainArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentTag.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentTagArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTablePlainArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfo.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumn.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumnArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumnMask.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumnMaskArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEffectivePredictiveOptimizationFlag.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEffectivePredictiveOptimizationFlagArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetails.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetailsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetails.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoRowFilter.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoRowFilterArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraint.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintForeignKeyConstraint.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintForeignKeyConstraintArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintNamedTableConstraint.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintNamedTableConstraintArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraint.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependencies.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependency.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyFunction.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyFunctionArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyTable.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyTableArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogCatalogInfo.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogCatalogInfoProvisioningInfo.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogResult.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMlflowExperimentResult.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMlflowExperimentTag.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableResult.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfo.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoColumn.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoColumnMask.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoDeltaRuntimePropertiesKvpairs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoEffectivePredictiveOptimizationFlag.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoEncryptionDetails.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetails.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoRowFilter.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraint.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraintForeignKeyConstraint.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraintNamedTableConstraint.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraintPrimaryKeyConstraint.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependencies.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependenciesDependency.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependenciesDependencyFunction.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependenciesDependencyTable.java create mode 100644 sdk/nodejs/getCatalog.ts create mode 100644 sdk/nodejs/getMlflowExperiment.ts create mode 100644 sdk/nodejs/getTable.ts create mode 100644 sdk/python/pulumi_databricks/get_catalog.py create mode 100644 sdk/python/pulumi_databricks/get_mlflow_experiment.py create mode 100644 sdk/python/pulumi_databricks/get_table.py diff --git a/sdk/dotnet/GetCatalog.cs b/sdk/dotnet/GetCatalog.cs new file mode 100644 index 00000000..49c206be --- /dev/null +++ b/sdk/dotnet/GetCatalog.cs @@ -0,0 +1,192 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + public static class GetCatalog + { + /// + /// ## Example Usage + /// + /// Read on a specific catalog `test`: + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var test = Databricks.GetCatalog.Invoke(new() + /// { + /// Name = "test", + /// }); + /// + /// var things = new Databricks.Grants("things", new() + /// { + /// Catalog = test.Apply(getCatalogResult => getCatalogResult.Name), + /// GrantDetails = new[] + /// { + /// new Databricks.Inputs.GrantsGrantArgs + /// { + /// Principal = "sensitive", + /// Privileges = new[] + /// { + /// "USE_CATALOG", + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.Grant to manage grants within Unity Catalog. + /// * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. + /// + public static Task InvokeAsync(GetCatalogArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("databricks:index/getCatalog:getCatalog", args ?? new GetCatalogArgs(), options.WithDefaults()); + + /// + /// ## Example Usage + /// + /// Read on a specific catalog `test`: + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var test = Databricks.GetCatalog.Invoke(new() + /// { + /// Name = "test", + /// }); + /// + /// var things = new Databricks.Grants("things", new() + /// { + /// Catalog = test.Apply(getCatalogResult => getCatalogResult.Name), + /// GrantDetails = new[] + /// { + /// new Databricks.Inputs.GrantsGrantArgs + /// { + /// Principal = "sensitive", + /// Privileges = new[] + /// { + /// "USE_CATALOG", + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.Grant to manage grants within Unity Catalog. + /// * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. + /// + public static Output Invoke(GetCatalogInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getCatalog:getCatalog", args ?? new GetCatalogInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCatalogArgs : global::Pulumi.InvokeArgs + { + /// + /// the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + /// + [Input("catalogInfo")] + public Inputs.GetCatalogCatalogInfoArgs? CatalogInfo { get; set; } + + /// + /// same as the `name` + /// + [Input("id")] + public string? Id { get; set; } + + /// + /// name of the catalog + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + public GetCatalogArgs() + { + } + public static new GetCatalogArgs Empty => new GetCatalogArgs(); + } + + public sealed class GetCatalogInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + /// + [Input("catalogInfo")] + public Input? CatalogInfo { get; set; } + + /// + /// same as the `name` + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// name of the catalog + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + public GetCatalogInvokeArgs() + { + } + public static new GetCatalogInvokeArgs Empty => new GetCatalogInvokeArgs(); + } + + + [OutputType] + public sealed class GetCatalogResult + { + /// + /// the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + /// + public readonly Outputs.GetCatalogCatalogInfoResult CatalogInfo; + /// + /// same as the `name` + /// + public readonly string Id; + /// + /// Name of the catalog + /// + public readonly string Name; + + [OutputConstructor] + private GetCatalogResult( + Outputs.GetCatalogCatalogInfoResult catalogInfo, + + string id, + + string name) + { + CatalogInfo = catalogInfo; + Id = id; + Name = name; + } + } +} diff --git a/sdk/dotnet/GetMlflowExperiment.cs b/sdk/dotnet/GetMlflowExperiment.cs new file mode 100644 index 00000000..e4b87b75 --- /dev/null +++ b/sdk/dotnet/GetMlflowExperiment.cs @@ -0,0 +1,221 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + public static class GetMlflowExperiment + { + /// + /// > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + /// + /// Retrieves the settings of databricks.MlflowExperiment by id or name. + /// + public static Task InvokeAsync(GetMlflowExperimentArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("databricks:index/getMlflowExperiment:getMlflowExperiment", args ?? new GetMlflowExperimentArgs(), options.WithDefaults()); + + /// + /// > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + /// + /// Retrieves the settings of databricks.MlflowExperiment by id or name. + /// + public static Output Invoke(GetMlflowExperimentInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getMlflowExperiment:getMlflowExperiment", args ?? new GetMlflowExperimentInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMlflowExperimentArgs : global::Pulumi.InvokeArgs + { + /// + /// Location where artifacts for the experiment are stored. + /// + [Input("artifactLocation")] + public string? ArtifactLocation { get; set; } + + /// + /// Creation time in unix time stamp. + /// + [Input("creationTime")] + public int? CreationTime { get; set; } + + /// + /// Unique identifier for the experiment. + /// + [Input("experimentId")] + public string? ExperimentId { get; set; } + + /// + /// Unique identifier for the experiment. (same as `experiment_id`) + /// + [Input("id")] + public string? Id { get; set; } + + /// + /// Last update time in unix time stamp. + /// + [Input("lastUpdateTime")] + public int? LastUpdateTime { get; set; } + + /// + /// Current life cycle stage of the experiment: `active` or `deleted`. + /// + [Input("lifecycleStage")] + public string? LifecycleStage { get; set; } + + /// + /// Path to experiment. + /// + [Input("name")] + public string? Name { get; set; } + + [Input("tags")] + private List? _tags; + + /// + /// Additional metadata key-value pairs. + /// + public List Tags + { + get => _tags ?? (_tags = new List()); + set => _tags = value; + } + + public GetMlflowExperimentArgs() + { + } + public static new GetMlflowExperimentArgs Empty => new GetMlflowExperimentArgs(); + } + + public sealed class GetMlflowExperimentInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Location where artifacts for the experiment are stored. + /// + [Input("artifactLocation")] + public Input? ArtifactLocation { get; set; } + + /// + /// Creation time in unix time stamp. + /// + [Input("creationTime")] + public Input? CreationTime { get; set; } + + /// + /// Unique identifier for the experiment. + /// + [Input("experimentId")] + public Input? ExperimentId { get; set; } + + /// + /// Unique identifier for the experiment. (same as `experiment_id`) + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// Last update time in unix time stamp. + /// + [Input("lastUpdateTime")] + public Input? LastUpdateTime { get; set; } + + /// + /// Current life cycle stage of the experiment: `active` or `deleted`. + /// + [Input("lifecycleStage")] + public Input? LifecycleStage { get; set; } + + /// + /// Path to experiment. + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("tags")] + private InputList? _tags; + + /// + /// Additional metadata key-value pairs. + /// + public InputList Tags + { + get => _tags ?? (_tags = new InputList()); + set => _tags = value; + } + + public GetMlflowExperimentInvokeArgs() + { + } + public static new GetMlflowExperimentInvokeArgs Empty => new GetMlflowExperimentInvokeArgs(); + } + + + [OutputType] + public sealed class GetMlflowExperimentResult + { + /// + /// Location where artifacts for the experiment are stored. + /// + public readonly string ArtifactLocation; + /// + /// Creation time in unix time stamp. + /// + public readonly int CreationTime; + /// + /// Unique identifier for the experiment. (same as `id`) + /// + public readonly string ExperimentId; + /// + /// Unique identifier for the experiment. (same as `experiment_id`) + /// + public readonly string Id; + /// + /// Last update time in unix time stamp. + /// + public readonly int LastUpdateTime; + /// + /// Current life cycle stage of the experiment: `active` or `deleted`. + /// + public readonly string LifecycleStage; + /// + /// Path to experiment. + /// + public readonly string Name; + /// + /// Additional metadata key-value pairs. + /// + public readonly ImmutableArray Tags; + + [OutputConstructor] + private GetMlflowExperimentResult( + string artifactLocation, + + int creationTime, + + string experimentId, + + string id, + + int lastUpdateTime, + + string lifecycleStage, + + string name, + + ImmutableArray tags) + { + ArtifactLocation = artifactLocation; + CreationTime = creationTime; + ExperimentId = experimentId; + Id = id; + LastUpdateTime = lastUpdateTime; + LifecycleStage = lifecycleStage; + Name = name; + Tags = tags; + } + } +} diff --git a/sdk/dotnet/GetTable.cs b/sdk/dotnet/GetTable.cs new file mode 100644 index 00000000..557b3b01 --- /dev/null +++ b/sdk/dotnet/GetTable.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + public static class GetTable + { + /// + /// ## Example Usage + /// + /// Read on a specific table `main.certified.fct_transactions`: + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fctTransactions = Databricks.GetTable.Invoke(new() + /// { + /// Name = "main.certified.fct_transactions", + /// }); + /// + /// var things = new Databricks.Grants("things", new() + /// { + /// Table = fctTransactions.Apply(getTableResult => getTableResult.Name), + /// GrantDetails = new[] + /// { + /// new Databricks.Inputs.GrantsGrantArgs + /// { + /// Principal = "sensitive", + /// Privileges = new[] + /// { + /// "SELECT", + /// "MODIFY", + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.Grant to manage grants within Unity Catalog. + /// * databricks.getTables to list all tables within a schema in Unity Catalog. + /// + public static Task InvokeAsync(GetTableArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("databricks:index/getTable:getTable", args ?? new GetTableArgs(), options.WithDefaults()); + + /// + /// ## Example Usage + /// + /// Read on a specific table `main.certified.fct_transactions`: + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fctTransactions = Databricks.GetTable.Invoke(new() + /// { + /// Name = "main.certified.fct_transactions", + /// }); + /// + /// var things = new Databricks.Grants("things", new() + /// { + /// Table = fctTransactions.Apply(getTableResult => getTableResult.Name), + /// GrantDetails = new[] + /// { + /// new Databricks.Inputs.GrantsGrantArgs + /// { + /// Principal = "sensitive", + /// Privileges = new[] + /// { + /// "SELECT", + /// "MODIFY", + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.Grant to manage grants within Unity Catalog. + /// * databricks.getTables to list all tables within a schema in Unity Catalog. + /// + public static Output Invoke(GetTableInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getTable:getTable", args ?? new GetTableInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetTableArgs : global::Pulumi.InvokeArgs + { + [Input("id")] + public string? Id { get; set; } + + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + /// + /// TableInfo object for a Unity Catalog table. This contains the following attributes: + /// + [Input("tableInfo")] + public Inputs.GetTableTableInfoArgs? TableInfo { get; set; } + + public GetTableArgs() + { + } + public static new GetTableArgs Empty => new GetTableArgs(); + } + + public sealed class GetTableInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("id")] + public Input? Id { get; set; } + + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// TableInfo object for a Unity Catalog table. This contains the following attributes: + /// + [Input("tableInfo")] + public Input? TableInfo { get; set; } + + public GetTableInvokeArgs() + { + } + public static new GetTableInvokeArgs Empty => new GetTableInvokeArgs(); + } + + + [OutputType] + public sealed class GetTableResult + { + public readonly string Id; + /// + /// Name of table, relative to parent schema. + /// + public readonly string Name; + /// + /// TableInfo object for a Unity Catalog table. This contains the following attributes: + /// + public readonly Outputs.GetTableTableInfoResult TableInfo; + + [OutputConstructor] + private GetTableResult( + string id, + + string name, + + Outputs.GetTableTableInfoResult tableInfo) + { + Id = id; + Name = name; + TableInfo = tableInfo; + } + } +} diff --git a/sdk/dotnet/Inputs/GetCatalogCatalogInfo.cs b/sdk/dotnet/Inputs/GetCatalogCatalogInfo.cs new file mode 100644 index 00000000..081c05e8 --- /dev/null +++ b/sdk/dotnet/Inputs/GetCatalogCatalogInfo.cs @@ -0,0 +1,170 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetCatalogCatalogInfoArgs : global::Pulumi.InvokeArgs + { + [Input("browseOnly")] + public bool? BrowseOnly { get; set; } + + /// + /// Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + /// + [Input("catalogType")] + public string? CatalogType { get; set; } + + /// + /// Free-form text description + /// + [Input("comment")] + public string? Comment { get; set; } + + /// + /// The name of the connection to an external data source. + /// + [Input("connectionName")] + public string? ConnectionName { 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; } + + /// + /// object describing applied predictive optimization flag. + /// + [Input("effectivePredictiveOptimizationFlag")] + public Inputs.GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs? EffectivePredictiveOptimizationFlag { get; set; } + + /// + /// Whether predictive optimization should be enabled for this object and objects under it. + /// + [Input("enablePredictiveOptimization")] + public string? EnablePredictiveOptimization { get; set; } + + /// + /// The full name of the catalog. Corresponds with the name field. + /// + [Input("fullName")] + public string? FullName { get; set; } + + /// + /// Whether the current securable is accessible from all workspaces or a specific set of workspaces. + /// + [Input("isolationMode")] + public string? IsolationMode { get; set; } + + /// + /// Unique identifier of parent metastore. + /// + [Input("metastoreId")] + public string? MetastoreId { get; set; } + + /// + /// name of the catalog + /// + [Input("name")] + public string? Name { get; set; } + + [Input("options")] + private Dictionary? _options; + + /// + /// A map of key-value properties attached to the securable. + /// + public Dictionary Options + { + get => _options ?? (_options = new Dictionary()); + set => _options = value; + } + + /// + /// Current owner of the catalog + /// + [Input("owner")] + public string? Owner { get; set; } + + [Input("properties")] + private Dictionary? _properties; + + /// + /// A map of key-value properties attached to the securable. + /// + public Dictionary Properties + { + get => _properties ?? (_properties = new Dictionary()); + set => _properties = value; + } + + /// + /// The name of delta sharing provider. + /// + [Input("providerName")] + public string? ProviderName { get; set; } + + [Input("provisioningInfo")] + public Inputs.GetCatalogCatalogInfoProvisioningInfoArgs? ProvisioningInfo { get; set; } + + /// + /// Kind of catalog securable. + /// + [Input("securableKind")] + public string? SecurableKind { get; set; } + + /// + /// Securable type. + /// + [Input("securableType")] + public string? SecurableType { get; set; } + + /// + /// The name of the share under the share provider. + /// + [Input("shareName")] + public string? ShareName { get; set; } + + /// + /// Storage Location URL (full path) for managed tables within catalog. + /// + [Input("storageLocation")] + public string? StorageLocation { get; set; } + + /// + /// Storage root URL for managed tables within catalog. + /// + [Input("storageRoot")] + public string? StorageRoot { 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; } + + public GetCatalogCatalogInfoArgs() + { + } + public static new GetCatalogCatalogInfoArgs Empty => new GetCatalogCatalogInfoArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetCatalogCatalogInfoArgs.cs b/sdk/dotnet/Inputs/GetCatalogCatalogInfoArgs.cs new file mode 100644 index 00000000..1afbb664 --- /dev/null +++ b/sdk/dotnet/Inputs/GetCatalogCatalogInfoArgs.cs @@ -0,0 +1,170 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetCatalogCatalogInfoInputArgs : global::Pulumi.ResourceArgs + { + [Input("browseOnly")] + public Input? BrowseOnly { get; set; } + + /// + /// Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + /// + [Input("catalogType")] + public Input? CatalogType { get; set; } + + /// + /// Free-form text description + /// + [Input("comment")] + public Input? Comment { get; set; } + + /// + /// The name of the connection to an external data source. + /// + [Input("connectionName")] + public Input? ConnectionName { 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; } + + /// + /// object describing applied predictive optimization flag. + /// + [Input("effectivePredictiveOptimizationFlag")] + public Input? EffectivePredictiveOptimizationFlag { get; set; } + + /// + /// Whether predictive optimization should be enabled for this object and objects under it. + /// + [Input("enablePredictiveOptimization")] + public Input? EnablePredictiveOptimization { get; set; } + + /// + /// The full name of the catalog. Corresponds with the name field. + /// + [Input("fullName")] + public Input? FullName { get; set; } + + /// + /// Whether the current securable is accessible from all workspaces or a specific set of workspaces. + /// + [Input("isolationMode")] + public Input? IsolationMode { get; set; } + + /// + /// Unique identifier of parent metastore. + /// + [Input("metastoreId")] + public Input? MetastoreId { get; set; } + + /// + /// name of the catalog + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("options")] + private InputMap? _options; + + /// + /// A map of key-value properties attached to the securable. + /// + public InputMap Options + { + get => _options ?? (_options = new InputMap()); + set => _options = value; + } + + /// + /// Current owner of the catalog + /// + [Input("owner")] + public Input? Owner { get; set; } + + [Input("properties")] + private InputMap? _properties; + + /// + /// A map of key-value properties attached to the securable. + /// + public InputMap Properties + { + get => _properties ?? (_properties = new InputMap()); + set => _properties = value; + } + + /// + /// The name of delta sharing provider. + /// + [Input("providerName")] + public Input? ProviderName { get; set; } + + [Input("provisioningInfo")] + public Input? ProvisioningInfo { get; set; } + + /// + /// Kind of catalog securable. + /// + [Input("securableKind")] + public Input? SecurableKind { get; set; } + + /// + /// Securable type. + /// + [Input("securableType")] + public Input? SecurableType { get; set; } + + /// + /// The name of the share under the share provider. + /// + [Input("shareName")] + public Input? ShareName { get; set; } + + /// + /// Storage Location URL (full path) for managed tables within catalog. + /// + [Input("storageLocation")] + public Input? StorageLocation { get; set; } + + /// + /// Storage root URL for managed tables within catalog. + /// + [Input("storageRoot")] + public Input? StorageRoot { 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; } + + public GetCatalogCatalogInfoInputArgs() + { + } + public static new GetCatalogCatalogInfoInputArgs Empty => new GetCatalogCatalogInfoInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag.cs b/sdk/dotnet/Inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag.cs new file mode 100644 index 00000000..f6d4d55a --- /dev/null +++ b/sdk/dotnet/Inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag.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 GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs : global::Pulumi.InvokeArgs + { + [Input("inheritedFromName")] + public string? InheritedFromName { get; set; } + + [Input("inheritedFromType")] + public string? InheritedFromType { get; set; } + + [Input("value", required: true)] + public string Value { get; set; } = null!; + + public GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs() + { + } + public static new GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs Empty => new GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs.cs b/sdk/dotnet/Inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs.cs new file mode 100644 index 00000000..6d170eea --- /dev/null +++ b/sdk/dotnet/Inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs.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 GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInputArgs : global::Pulumi.ResourceArgs + { + [Input("inheritedFromName")] + public Input? InheritedFromName { get; set; } + + [Input("inheritedFromType")] + public Input? InheritedFromType { get; set; } + + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInputArgs() + { + } + public static new GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInputArgs Empty => new GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetCatalogCatalogInfoProvisioningInfo.cs b/sdk/dotnet/Inputs/GetCatalogCatalogInfoProvisioningInfo.cs new file mode 100644 index 00000000..646e041f --- /dev/null +++ b/sdk/dotnet/Inputs/GetCatalogCatalogInfoProvisioningInfo.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 GetCatalogCatalogInfoProvisioningInfoArgs : global::Pulumi.InvokeArgs + { + [Input("state")] + public string? State { get; set; } + + public GetCatalogCatalogInfoProvisioningInfoArgs() + { + } + public static new GetCatalogCatalogInfoProvisioningInfoArgs Empty => new GetCatalogCatalogInfoProvisioningInfoArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetCatalogCatalogInfoProvisioningInfoArgs.cs b/sdk/dotnet/Inputs/GetCatalogCatalogInfoProvisioningInfoArgs.cs new file mode 100644 index 00000000..1c708c76 --- /dev/null +++ b/sdk/dotnet/Inputs/GetCatalogCatalogInfoProvisioningInfoArgs.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 GetCatalogCatalogInfoProvisioningInfoInputArgs : global::Pulumi.ResourceArgs + { + [Input("state")] + public Input? State { get; set; } + + public GetCatalogCatalogInfoProvisioningInfoInputArgs() + { + } + public static new GetCatalogCatalogInfoProvisioningInfoInputArgs Empty => new GetCatalogCatalogInfoProvisioningInfoInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetMlflowExperimentTag.cs b/sdk/dotnet/Inputs/GetMlflowExperimentTag.cs new file mode 100644 index 00000000..ac8ec571 --- /dev/null +++ b/sdk/dotnet/Inputs/GetMlflowExperimentTag.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 GetMlflowExperimentTagArgs : global::Pulumi.InvokeArgs + { + [Input("key")] + public string? Key { get; set; } + + [Input("value")] + public string? Value { get; set; } + + public GetMlflowExperimentTagArgs() + { + } + public static new GetMlflowExperimentTagArgs Empty => new GetMlflowExperimentTagArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetMlflowExperimentTagArgs.cs b/sdk/dotnet/Inputs/GetMlflowExperimentTagArgs.cs new file mode 100644 index 00000000..7be0641f --- /dev/null +++ b/sdk/dotnet/Inputs/GetMlflowExperimentTagArgs.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 GetMlflowExperimentTagInputArgs : global::Pulumi.ResourceArgs + { + [Input("key")] + public Input? Key { get; set; } + + [Input("value")] + public Input? Value { get; set; } + + public GetMlflowExperimentTagInputArgs() + { + } + public static new GetMlflowExperimentTagInputArgs Empty => new GetMlflowExperimentTagInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfo.cs b/sdk/dotnet/Inputs/GetTableTableInfo.cs new file mode 100644 index 00000000..dd3125d2 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfo.cs @@ -0,0 +1,162 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 GetTableTableInfoArgs : global::Pulumi.InvokeArgs + { + [Input("accessPoint")] + public string? AccessPoint { get; set; } + + [Input("browseOnly")] + public bool? BrowseOnly { get; set; } + + /// + /// Name of parent catalog. + /// + [Input("catalogName")] + public string? CatalogName { get; set; } + + [Input("columns")] + private List? _columns; + + /// + /// Array of ColumnInfo objects of the table's columns + /// + public List Columns + { + get => _columns ?? (_columns = new List()); + set => _columns = value; + } + + /// + /// Free-form text description + /// + [Input("comment")] + public string? Comment { get; set; } + + [Input("createdAt")] + public int? CreatedAt { get; set; } + + [Input("createdBy")] + public string? CreatedBy { get; set; } + + [Input("dataAccessConfigurationId")] + public string? DataAccessConfigurationId { get; set; } + + /// + /// Table format, e.g. DELTA, CSV, JSON + /// + [Input("dataSourceFormat")] + public string? DataSourceFormat { get; set; } + + [Input("deletedAt")] + public int? DeletedAt { get; set; } + + [Input("deltaRuntimePropertiesKvpairs")] + public Inputs.GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs? DeltaRuntimePropertiesKvpairs { get; set; } + + [Input("effectivePredictiveOptimizationFlag")] + public Inputs.GetTableTableInfoEffectivePredictiveOptimizationFlagArgs? EffectivePredictiveOptimizationFlag { get; set; } + + [Input("enablePredictiveOptimization")] + public string? EnablePredictiveOptimization { get; set; } + + [Input("encryptionDetails")] + public Inputs.GetTableTableInfoEncryptionDetailsArgs? EncryptionDetails { get; set; } + + [Input("fullName")] + public string? FullName { get; set; } + + [Input("metastoreId")] + public string? MetastoreId { get; set; } + + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + [Input("name")] + public string? Name { get; set; } + + /// + /// Current owner of the table + /// + [Input("owner")] + public string? Owner { get; set; } + + [Input("pipelineId")] + public string? PipelineId { get; set; } + + [Input("properties")] + private Dictionary? _properties; + public Dictionary Properties + { + get => _properties ?? (_properties = new Dictionary()); + set => _properties = value; + } + + [Input("rowFilter")] + public Inputs.GetTableTableInfoRowFilterArgs? RowFilter { get; set; } + + /// + /// Name of parent schema relative to its parent catalog. + /// + [Input("schemaName")] + public string? SchemaName { get; set; } + + [Input("sqlPath")] + public string? SqlPath { get; set; } + + [Input("storageCredentialName")] + public string? StorageCredentialName { get; set; } + + [Input("storageLocation")] + public string? StorageLocation { get; set; } + + [Input("tableConstraints")] + private List? _tableConstraints; + public List TableConstraints + { + get => _tableConstraints ?? (_tableConstraints = new List()); + set => _tableConstraints = value; + } + + [Input("tableId")] + public string? TableId { get; set; } + + /// + /// Table type, e.g. MANAGED, EXTERNAL, VIEW + /// + [Input("tableType")] + public string? TableType { get; set; } + + [Input("updatedAt")] + public int? UpdatedAt { get; set; } + + [Input("updatedBy")] + public string? UpdatedBy { get; set; } + + /// + /// View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + /// + [Input("viewDefinition")] + public string? ViewDefinition { get; set; } + + /// + /// View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + /// + [Input("viewDependencies")] + public Inputs.GetTableTableInfoViewDependenciesArgs? ViewDependencies { get; set; } + + public GetTableTableInfoArgs() + { + } + public static new GetTableTableInfoArgs Empty => new GetTableTableInfoArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoArgs.cs new file mode 100644 index 00000000..f43fc14f --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoArgs.cs @@ -0,0 +1,162 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 GetTableTableInfoInputArgs : global::Pulumi.ResourceArgs + { + [Input("accessPoint")] + public Input? AccessPoint { get; set; } + + [Input("browseOnly")] + public Input? BrowseOnly { get; set; } + + /// + /// Name of parent catalog. + /// + [Input("catalogName")] + public Input? CatalogName { get; set; } + + [Input("columns")] + private InputList? _columns; + + /// + /// Array of ColumnInfo objects of the table's columns + /// + public InputList Columns + { + get => _columns ?? (_columns = new InputList()); + set => _columns = value; + } + + /// + /// Free-form text description + /// + [Input("comment")] + public Input? Comment { get; set; } + + [Input("createdAt")] + public Input? CreatedAt { get; set; } + + [Input("createdBy")] + public Input? CreatedBy { get; set; } + + [Input("dataAccessConfigurationId")] + public Input? DataAccessConfigurationId { get; set; } + + /// + /// Table format, e.g. DELTA, CSV, JSON + /// + [Input("dataSourceFormat")] + public Input? DataSourceFormat { get; set; } + + [Input("deletedAt")] + public Input? DeletedAt { get; set; } + + [Input("deltaRuntimePropertiesKvpairs")] + public Input? DeltaRuntimePropertiesKvpairs { get; set; } + + [Input("effectivePredictiveOptimizationFlag")] + public Input? EffectivePredictiveOptimizationFlag { get; set; } + + [Input("enablePredictiveOptimization")] + public Input? EnablePredictiveOptimization { get; set; } + + [Input("encryptionDetails")] + public Input? EncryptionDetails { get; set; } + + [Input("fullName")] + public Input? FullName { get; set; } + + [Input("metastoreId")] + public Input? MetastoreId { get; set; } + + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Current owner of the table + /// + [Input("owner")] + public Input? Owner { get; set; } + + [Input("pipelineId")] + public Input? PipelineId { get; set; } + + [Input("properties")] + private InputMap? _properties; + public InputMap Properties + { + get => _properties ?? (_properties = new InputMap()); + set => _properties = value; + } + + [Input("rowFilter")] + public Input? RowFilter { get; set; } + + /// + /// Name of parent schema relative to its parent catalog. + /// + [Input("schemaName")] + public Input? SchemaName { get; set; } + + [Input("sqlPath")] + public Input? SqlPath { get; set; } + + [Input("storageCredentialName")] + public Input? StorageCredentialName { get; set; } + + [Input("storageLocation")] + public Input? StorageLocation { get; set; } + + [Input("tableConstraints")] + private InputList? _tableConstraints; + public InputList TableConstraints + { + get => _tableConstraints ?? (_tableConstraints = new InputList()); + set => _tableConstraints = value; + } + + [Input("tableId")] + public Input? TableId { get; set; } + + /// + /// Table type, e.g. MANAGED, EXTERNAL, VIEW + /// + [Input("tableType")] + public Input? TableType { get; set; } + + [Input("updatedAt")] + public Input? UpdatedAt { get; set; } + + [Input("updatedBy")] + public Input? UpdatedBy { get; set; } + + /// + /// View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + /// + [Input("viewDefinition")] + public Input? ViewDefinition { get; set; } + + /// + /// View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + /// + [Input("viewDependencies")] + public Input? ViewDependencies { get; set; } + + public GetTableTableInfoInputArgs() + { + } + public static new GetTableTableInfoInputArgs Empty => new GetTableTableInfoInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoColumn.cs b/sdk/dotnet/Inputs/GetTableTableInfoColumn.cs new file mode 100644 index 00000000..00a679dd --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoColumn.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetTableTableInfoColumnArgs : global::Pulumi.InvokeArgs + { + /// + /// Free-form text description + /// + [Input("comment")] + public string? Comment { get; set; } + + [Input("mask")] + public Inputs.GetTableTableInfoColumnMaskArgs? Mask { get; set; } + + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + [Input("name")] + public string? Name { get; set; } + + [Input("nullable")] + public bool? Nullable { get; set; } + + [Input("partitionIndex")] + public int? PartitionIndex { get; set; } + + [Input("position")] + public int? Position { get; set; } + + [Input("typeIntervalType")] + public string? TypeIntervalType { get; set; } + + [Input("typeJson")] + public string? TypeJson { get; set; } + + [Input("typeName")] + public string? TypeName { get; set; } + + [Input("typePrecision")] + public int? TypePrecision { get; set; } + + [Input("typeScale")] + public int? TypeScale { get; set; } + + [Input("typeText")] + public string? TypeText { get; set; } + + public GetTableTableInfoColumnArgs() + { + } + public static new GetTableTableInfoColumnArgs Empty => new GetTableTableInfoColumnArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoColumnArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoColumnArgs.cs new file mode 100644 index 00000000..4d22f6b9 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoColumnArgs.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetTableTableInfoColumnInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Free-form text description + /// + [Input("comment")] + public Input? Comment { get; set; } + + [Input("mask")] + public Input? Mask { get; set; } + + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("nullable")] + public Input? Nullable { get; set; } + + [Input("partitionIndex")] + public Input? PartitionIndex { get; set; } + + [Input("position")] + public Input? Position { get; set; } + + [Input("typeIntervalType")] + public Input? TypeIntervalType { get; set; } + + [Input("typeJson")] + public Input? TypeJson { get; set; } + + [Input("typeName")] + public Input? TypeName { get; set; } + + [Input("typePrecision")] + public Input? TypePrecision { get; set; } + + [Input("typeScale")] + public Input? TypeScale { get; set; } + + [Input("typeText")] + public Input? TypeText { get; set; } + + public GetTableTableInfoColumnInputArgs() + { + } + public static new GetTableTableInfoColumnInputArgs Empty => new GetTableTableInfoColumnInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoColumnMask.cs b/sdk/dotnet/Inputs/GetTableTableInfoColumnMask.cs new file mode 100644 index 00000000..48c62050 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoColumnMask.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 GetTableTableInfoColumnMaskArgs : global::Pulumi.InvokeArgs + { + [Input("functionName")] + public string? FunctionName { get; set; } + + [Input("usingColumnNames")] + private List? _usingColumnNames; + public List UsingColumnNames + { + get => _usingColumnNames ?? (_usingColumnNames = new List()); + set => _usingColumnNames = value; + } + + public GetTableTableInfoColumnMaskArgs() + { + } + public static new GetTableTableInfoColumnMaskArgs Empty => new GetTableTableInfoColumnMaskArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoColumnMaskArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoColumnMaskArgs.cs new file mode 100644 index 00000000..01e998a6 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoColumnMaskArgs.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 GetTableTableInfoColumnMaskInputArgs : global::Pulumi.ResourceArgs + { + [Input("functionName")] + public Input? FunctionName { get; set; } + + [Input("usingColumnNames")] + private InputList? _usingColumnNames; + public InputList UsingColumnNames + { + get => _usingColumnNames ?? (_usingColumnNames = new InputList()); + set => _usingColumnNames = value; + } + + public GetTableTableInfoColumnMaskInputArgs() + { + } + public static new GetTableTableInfoColumnMaskInputArgs Empty => new GetTableTableInfoColumnMaskInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairs.cs b/sdk/dotnet/Inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairs.cs new file mode 100644 index 00000000..a782e36c --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairs.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 GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs : global::Pulumi.InvokeArgs + { + [Input("deltaRuntimeProperties", required: true)] + private Dictionary? _deltaRuntimeProperties; + public Dictionary DeltaRuntimeProperties + { + get => _deltaRuntimeProperties ?? (_deltaRuntimeProperties = new Dictionary()); + set => _deltaRuntimeProperties = value; + } + + public GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs() + { + } + public static new GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs Empty => new GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs.cs new file mode 100644 index 00000000..caeacbc2 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs.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 GetTableTableInfoDeltaRuntimePropertiesKvpairsInputArgs : global::Pulumi.ResourceArgs + { + [Input("deltaRuntimeProperties", required: true)] + private InputMap? _deltaRuntimeProperties; + public InputMap DeltaRuntimeProperties + { + get => _deltaRuntimeProperties ?? (_deltaRuntimeProperties = new InputMap()); + set => _deltaRuntimeProperties = value; + } + + public GetTableTableInfoDeltaRuntimePropertiesKvpairsInputArgs() + { + } + public static new GetTableTableInfoDeltaRuntimePropertiesKvpairsInputArgs Empty => new GetTableTableInfoDeltaRuntimePropertiesKvpairsInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoEffectivePredictiveOptimizationFlag.cs b/sdk/dotnet/Inputs/GetTableTableInfoEffectivePredictiveOptimizationFlag.cs new file mode 100644 index 00000000..d9b31055 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoEffectivePredictiveOptimizationFlag.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 GetTableTableInfoEffectivePredictiveOptimizationFlagArgs : global::Pulumi.InvokeArgs + { + [Input("inheritedFromName")] + public string? InheritedFromName { get; set; } + + [Input("inheritedFromType")] + public string? InheritedFromType { get; set; } + + [Input("value", required: true)] + public string Value { get; set; } = null!; + + public GetTableTableInfoEffectivePredictiveOptimizationFlagArgs() + { + } + public static new GetTableTableInfoEffectivePredictiveOptimizationFlagArgs Empty => new GetTableTableInfoEffectivePredictiveOptimizationFlagArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoEffectivePredictiveOptimizationFlagArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoEffectivePredictiveOptimizationFlagArgs.cs new file mode 100644 index 00000000..0ce11bcd --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoEffectivePredictiveOptimizationFlagArgs.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 GetTableTableInfoEffectivePredictiveOptimizationFlagInputArgs : global::Pulumi.ResourceArgs + { + [Input("inheritedFromName")] + public Input? InheritedFromName { get; set; } + + [Input("inheritedFromType")] + public Input? InheritedFromType { get; set; } + + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public GetTableTableInfoEffectivePredictiveOptimizationFlagInputArgs() + { + } + public static new GetTableTableInfoEffectivePredictiveOptimizationFlagInputArgs Empty => new GetTableTableInfoEffectivePredictiveOptimizationFlagInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetails.cs b/sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetails.cs new file mode 100644 index 00000000..5a87e35e --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetails.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 GetTableTableInfoEncryptionDetailsArgs : global::Pulumi.InvokeArgs + { + [Input("sseEncryptionDetails")] + public Inputs.GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs? SseEncryptionDetails { get; set; } + + public GetTableTableInfoEncryptionDetailsArgs() + { + } + public static new GetTableTableInfoEncryptionDetailsArgs Empty => new GetTableTableInfoEncryptionDetailsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetailsArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetailsArgs.cs new file mode 100644 index 00000000..7da6f2f8 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetailsArgs.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 GetTableTableInfoEncryptionDetailsInputArgs : global::Pulumi.ResourceArgs + { + [Input("sseEncryptionDetails")] + public Input? SseEncryptionDetails { get; set; } + + public GetTableTableInfoEncryptionDetailsInputArgs() + { + } + public static new GetTableTableInfoEncryptionDetailsInputArgs Empty => new GetTableTableInfoEncryptionDetailsInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetails.cs b/sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetails.cs new file mode 100644 index 00000000..e8cdd70e --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetails.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 GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs : global::Pulumi.InvokeArgs + { + [Input("algorithm")] + public string? Algorithm { get; set; } + + [Input("awsKmsKeyArn")] + public string? AwsKmsKeyArn { get; set; } + + public GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs() + { + } + public static new GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs Empty => new GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs.cs new file mode 100644 index 00000000..e421871e --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs.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 GetTableTableInfoEncryptionDetailsSseEncryptionDetailsInputArgs : global::Pulumi.ResourceArgs + { + [Input("algorithm")] + public Input? Algorithm { get; set; } + + [Input("awsKmsKeyArn")] + public Input? AwsKmsKeyArn { get; set; } + + public GetTableTableInfoEncryptionDetailsSseEncryptionDetailsInputArgs() + { + } + public static new GetTableTableInfoEncryptionDetailsSseEncryptionDetailsInputArgs Empty => new GetTableTableInfoEncryptionDetailsSseEncryptionDetailsInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoRowFilter.cs b/sdk/dotnet/Inputs/GetTableTableInfoRowFilter.cs new file mode 100644 index 00000000..f11f8a67 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoRowFilter.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 GetTableTableInfoRowFilterArgs : global::Pulumi.InvokeArgs + { + [Input("functionName", required: true)] + public string FunctionName { get; set; } = null!; + + [Input("inputColumnNames", required: true)] + private List? _inputColumnNames; + public List InputColumnNames + { + get => _inputColumnNames ?? (_inputColumnNames = new List()); + set => _inputColumnNames = value; + } + + public GetTableTableInfoRowFilterArgs() + { + } + public static new GetTableTableInfoRowFilterArgs Empty => new GetTableTableInfoRowFilterArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoRowFilterArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoRowFilterArgs.cs new file mode 100644 index 00000000..b9cac2a3 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoRowFilterArgs.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 GetTableTableInfoRowFilterInputArgs : global::Pulumi.ResourceArgs + { + [Input("functionName", required: true)] + public Input FunctionName { get; set; } = null!; + + [Input("inputColumnNames", required: true)] + private InputList? _inputColumnNames; + public InputList InputColumnNames + { + get => _inputColumnNames ?? (_inputColumnNames = new InputList()); + set => _inputColumnNames = value; + } + + public GetTableTableInfoRowFilterInputArgs() + { + } + public static new GetTableTableInfoRowFilterInputArgs Empty => new GetTableTableInfoRowFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoTableConstraint.cs b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraint.cs new file mode 100644 index 00000000..735049ea --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraint.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 GetTableTableInfoTableConstraintArgs : global::Pulumi.InvokeArgs + { + [Input("foreignKeyConstraint")] + public Inputs.GetTableTableInfoTableConstraintForeignKeyConstraintArgs? ForeignKeyConstraint { get; set; } + + [Input("namedTableConstraint")] + public Inputs.GetTableTableInfoTableConstraintNamedTableConstraintArgs? NamedTableConstraint { get; set; } + + [Input("primaryKeyConstraint")] + public Inputs.GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs? PrimaryKeyConstraint { get; set; } + + public GetTableTableInfoTableConstraintArgs() + { + } + public static new GetTableTableInfoTableConstraintArgs Empty => new GetTableTableInfoTableConstraintArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintArgs.cs new file mode 100644 index 00000000..5331da95 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintArgs.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 GetTableTableInfoTableConstraintInputArgs : global::Pulumi.ResourceArgs + { + [Input("foreignKeyConstraint")] + public Input? ForeignKeyConstraint { get; set; } + + [Input("namedTableConstraint")] + public Input? NamedTableConstraint { get; set; } + + [Input("primaryKeyConstraint")] + public Input? PrimaryKeyConstraint { get; set; } + + public GetTableTableInfoTableConstraintInputArgs() + { + } + public static new GetTableTableInfoTableConstraintInputArgs Empty => new GetTableTableInfoTableConstraintInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintForeignKeyConstraint.cs b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintForeignKeyConstraint.cs new file mode 100644 index 00000000..7efe2b76 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintForeignKeyConstraint.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetTableTableInfoTableConstraintForeignKeyConstraintArgs : global::Pulumi.InvokeArgs + { + [Input("childColumns", required: true)] + private List? _childColumns; + public List ChildColumns + { + get => _childColumns ?? (_childColumns = new List()); + set => _childColumns = value; + } + + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + [Input("parentColumns", required: true)] + private List? _parentColumns; + public List ParentColumns + { + get => _parentColumns ?? (_parentColumns = new List()); + set => _parentColumns = value; + } + + [Input("parentTable", required: true)] + public string ParentTable { get; set; } = null!; + + public GetTableTableInfoTableConstraintForeignKeyConstraintArgs() + { + } + public static new GetTableTableInfoTableConstraintForeignKeyConstraintArgs Empty => new GetTableTableInfoTableConstraintForeignKeyConstraintArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintForeignKeyConstraintArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintForeignKeyConstraintArgs.cs new file mode 100644 index 00000000..aeeded77 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintForeignKeyConstraintArgs.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetTableTableInfoTableConstraintForeignKeyConstraintInputArgs : global::Pulumi.ResourceArgs + { + [Input("childColumns", required: true)] + private InputList? _childColumns; + public InputList ChildColumns + { + get => _childColumns ?? (_childColumns = new InputList()); + set => _childColumns = value; + } + + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + [Input("parentColumns", required: true)] + private InputList? _parentColumns; + public InputList ParentColumns + { + get => _parentColumns ?? (_parentColumns = new InputList()); + set => _parentColumns = value; + } + + [Input("parentTable", required: true)] + public Input ParentTable { get; set; } = null!; + + public GetTableTableInfoTableConstraintForeignKeyConstraintInputArgs() + { + } + public static new GetTableTableInfoTableConstraintForeignKeyConstraintInputArgs Empty => new GetTableTableInfoTableConstraintForeignKeyConstraintInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintNamedTableConstraint.cs b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintNamedTableConstraint.cs new file mode 100644 index 00000000..4f38fb3e --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintNamedTableConstraint.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 GetTableTableInfoTableConstraintNamedTableConstraintArgs : global::Pulumi.InvokeArgs + { + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + public GetTableTableInfoTableConstraintNamedTableConstraintArgs() + { + } + public static new GetTableTableInfoTableConstraintNamedTableConstraintArgs Empty => new GetTableTableInfoTableConstraintNamedTableConstraintArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintNamedTableConstraintArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintNamedTableConstraintArgs.cs new file mode 100644 index 00000000..d349865d --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintNamedTableConstraintArgs.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 GetTableTableInfoTableConstraintNamedTableConstraintInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + public GetTableTableInfoTableConstraintNamedTableConstraintInputArgs() + { + } + public static new GetTableTableInfoTableConstraintNamedTableConstraintInputArgs Empty => new GetTableTableInfoTableConstraintNamedTableConstraintInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraint.cs b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraint.cs new file mode 100644 index 00000000..34de7bab --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraint.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs : global::Pulumi.InvokeArgs + { + [Input("childColumns", required: true)] + private List? _childColumns; + public List ChildColumns + { + get => _childColumns ?? (_childColumns = new List()); + set => _childColumns = value; + } + + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + public GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs() + { + } + public static new GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs Empty => new GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs.cs new file mode 100644 index 00000000..e5ec78d9 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetTableTableInfoTableConstraintPrimaryKeyConstraintInputArgs : global::Pulumi.ResourceArgs + { + [Input("childColumns", required: true)] + private InputList? _childColumns; + public InputList ChildColumns + { + get => _childColumns ?? (_childColumns = new InputList()); + set => _childColumns = value; + } + + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + public GetTableTableInfoTableConstraintPrimaryKeyConstraintInputArgs() + { + } + public static new GetTableTableInfoTableConstraintPrimaryKeyConstraintInputArgs Empty => new GetTableTableInfoTableConstraintPrimaryKeyConstraintInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoViewDependencies.cs b/sdk/dotnet/Inputs/GetTableTableInfoViewDependencies.cs new file mode 100644 index 00000000..000b2dd8 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoViewDependencies.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 GetTableTableInfoViewDependenciesArgs : global::Pulumi.InvokeArgs + { + [Input("dependencies")] + private List? _dependencies; + public List Dependencies + { + get => _dependencies ?? (_dependencies = new List()); + set => _dependencies = value; + } + + public GetTableTableInfoViewDependenciesArgs() + { + } + public static new GetTableTableInfoViewDependenciesArgs Empty => new GetTableTableInfoViewDependenciesArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesArgs.cs new file mode 100644 index 00000000..cb3b450a --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesArgs.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 GetTableTableInfoViewDependenciesInputArgs : global::Pulumi.ResourceArgs + { + [Input("dependencies")] + private InputList? _dependencies; + public InputList Dependencies + { + get => _dependencies ?? (_dependencies = new InputList()); + set => _dependencies = value; + } + + public GetTableTableInfoViewDependenciesInputArgs() + { + } + public static new GetTableTableInfoViewDependenciesInputArgs Empty => new GetTableTableInfoViewDependenciesInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependency.cs b/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependency.cs new file mode 100644 index 00000000..46a0c84f --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependency.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 GetTableTableInfoViewDependenciesDependencyArgs : global::Pulumi.InvokeArgs + { + [Input("function")] + public Inputs.GetTableTableInfoViewDependenciesDependencyFunctionArgs? Function { get; set; } + + [Input("table")] + public Inputs.GetTableTableInfoViewDependenciesDependencyTableArgs? Table { get; set; } + + public GetTableTableInfoViewDependenciesDependencyArgs() + { + } + public static new GetTableTableInfoViewDependenciesDependencyArgs Empty => new GetTableTableInfoViewDependenciesDependencyArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyArgs.cs new file mode 100644 index 00000000..2393e64a --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyArgs.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 GetTableTableInfoViewDependenciesDependencyInputArgs : global::Pulumi.ResourceArgs + { + [Input("function")] + public Input? Function { get; set; } + + [Input("table")] + public Input? Table { get; set; } + + public GetTableTableInfoViewDependenciesDependencyInputArgs() + { + } + public static new GetTableTableInfoViewDependenciesDependencyInputArgs Empty => new GetTableTableInfoViewDependenciesDependencyInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyFunction.cs b/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyFunction.cs new file mode 100644 index 00000000..dbb40ec8 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyFunction.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 GetTableTableInfoViewDependenciesDependencyFunctionArgs : global::Pulumi.InvokeArgs + { + [Input("functionFullName", required: true)] + public string FunctionFullName { get; set; } = null!; + + public GetTableTableInfoViewDependenciesDependencyFunctionArgs() + { + } + public static new GetTableTableInfoViewDependenciesDependencyFunctionArgs Empty => new GetTableTableInfoViewDependenciesDependencyFunctionArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyFunctionArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyFunctionArgs.cs new file mode 100644 index 00000000..8d15e854 --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyFunctionArgs.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 GetTableTableInfoViewDependenciesDependencyFunctionInputArgs : global::Pulumi.ResourceArgs + { + [Input("functionFullName", required: true)] + public Input FunctionFullName { get; set; } = null!; + + public GetTableTableInfoViewDependenciesDependencyFunctionInputArgs() + { + } + public static new GetTableTableInfoViewDependenciesDependencyFunctionInputArgs Empty => new GetTableTableInfoViewDependenciesDependencyFunctionInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyTable.cs b/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyTable.cs new file mode 100644 index 00000000..3c84291e --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyTable.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 GetTableTableInfoViewDependenciesDependencyTableArgs : global::Pulumi.InvokeArgs + { + [Input("tableFullName", required: true)] + public string TableFullName { get; set; } = null!; + + public GetTableTableInfoViewDependenciesDependencyTableArgs() + { + } + public static new GetTableTableInfoViewDependenciesDependencyTableArgs Empty => new GetTableTableInfoViewDependenciesDependencyTableArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyTableArgs.cs b/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyTableArgs.cs new file mode 100644 index 00000000..38fcfc8e --- /dev/null +++ b/sdk/dotnet/Inputs/GetTableTableInfoViewDependenciesDependencyTableArgs.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 GetTableTableInfoViewDependenciesDependencyTableInputArgs : global::Pulumi.ResourceArgs + { + [Input("tableFullName", required: true)] + public Input TableFullName { get; set; } = null!; + + public GetTableTableInfoViewDependenciesDependencyTableInputArgs() + { + } + public static new GetTableTableInfoViewDependenciesDependencyTableInputArgs Empty => new GetTableTableInfoViewDependenciesDependencyTableInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/JobJobClusterNewClusterArgs.cs b/sdk/dotnet/Inputs/JobJobClusterNewClusterArgs.cs index 59e6008f..99447999 100644 --- a/sdk/dotnet/Inputs/JobJobClusterNewClusterArgs.cs +++ b/sdk/dotnet/Inputs/JobJobClusterNewClusterArgs.cs @@ -94,7 +94,7 @@ public InputList InitScripts private InputList? _libraries; /// - /// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// public InputList Libraries { diff --git a/sdk/dotnet/Inputs/JobJobClusterNewClusterGetArgs.cs b/sdk/dotnet/Inputs/JobJobClusterNewClusterGetArgs.cs index e1f742c2..30d9bc69 100644 --- a/sdk/dotnet/Inputs/JobJobClusterNewClusterGetArgs.cs +++ b/sdk/dotnet/Inputs/JobJobClusterNewClusterGetArgs.cs @@ -94,7 +94,7 @@ public InputList InitScripts private InputList? _libraries; /// - /// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// public InputList Libraries { diff --git a/sdk/dotnet/Inputs/JobNewClusterArgs.cs b/sdk/dotnet/Inputs/JobNewClusterArgs.cs index 3dee44ab..43e89029 100644 --- a/sdk/dotnet/Inputs/JobNewClusterArgs.cs +++ b/sdk/dotnet/Inputs/JobNewClusterArgs.cs @@ -94,7 +94,7 @@ public InputList InitScripts private InputList? _libraries; /// - /// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// public InputList Libraries { diff --git a/sdk/dotnet/Inputs/JobNewClusterGetArgs.cs b/sdk/dotnet/Inputs/JobNewClusterGetArgs.cs index cb5758e3..c0471eb8 100644 --- a/sdk/dotnet/Inputs/JobNewClusterGetArgs.cs +++ b/sdk/dotnet/Inputs/JobNewClusterGetArgs.cs @@ -94,7 +94,7 @@ public InputList InitScripts private InputList? _libraries; /// - /// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// public InputList Libraries { diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterArgs.cs index ab2e53cf..1d14159d 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterArgs.cs @@ -94,7 +94,7 @@ public InputList InitScri private InputList? _libraries; /// - /// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// public InputList Libraries { diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterGetArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterGetArgs.cs index 57be5893..45b4a49a 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterGetArgs.cs @@ -94,7 +94,7 @@ public InputList InitS private InputList? _libraries; /// - /// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// public InputList Libraries { diff --git a/sdk/dotnet/Inputs/JobTaskNewClusterArgs.cs b/sdk/dotnet/Inputs/JobTaskNewClusterArgs.cs index ee9e3b23..e51661e2 100644 --- a/sdk/dotnet/Inputs/JobTaskNewClusterArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskNewClusterArgs.cs @@ -94,7 +94,7 @@ public InputList InitScripts private InputList? _libraries; /// - /// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// public InputList Libraries { diff --git a/sdk/dotnet/Inputs/JobTaskNewClusterGetArgs.cs b/sdk/dotnet/Inputs/JobTaskNewClusterGetArgs.cs index 6d803936..9ab24ffc 100644 --- a/sdk/dotnet/Inputs/JobTaskNewClusterGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskNewClusterGetArgs.cs @@ -94,7 +94,7 @@ public InputList InitScripts private InputList? _libraries; /// - /// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// public InputList Libraries { diff --git a/sdk/dotnet/Job.cs b/sdk/dotnet/Job.cs index c90ffdd4..acabe092 100644 --- a/sdk/dotnet/Job.cs +++ b/sdk/dotnet/Job.cs @@ -29,6 +29,9 @@ public partial class Job : global::Pulumi.CustomResource [Output("alwaysRunning")] public Output AlwaysRunning { get; private set; } = null!; + /// + /// Configuration block to configure pause status. See continuous Configuration Block. + /// [Output("continuous")] public Output Continuous { get; private set; } = null!; @@ -77,7 +80,7 @@ public partial class Job : global::Pulumi.CustomResource public Output GitSource { get; private set; } = null!; /// - /// An optional block that specifies the health conditions for the job (described below). + /// An optional block that specifies the health conditions for the job documented below. /// [Output("health")] public Output Health { get; private set; } = null!; @@ -89,7 +92,7 @@ public partial class Job : global::Pulumi.CustomResource public Output> JobClusters { get; private set; } = null!; /// - /// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// [Output("libraries")] public Output> Libraries { get; private set; } = null!; @@ -127,6 +130,9 @@ public partial class Job : global::Pulumi.CustomResource [Output("notificationSettings")] public Output NotificationSettings { get; private set; } = null!; + /// + /// Specifices job parameter for the job. See parameter Configuration Block + /// [Output("parameters")] public Output> Parameters { get; private set; } = null!; @@ -136,6 +142,9 @@ public partial class Job : global::Pulumi.CustomResource [Output("pythonWheelTask")] public Output PythonWheelTask { get; private set; } = null!; + /// + /// The queue status for the job. See queue Configuration Block below. + /// [Output("queue")] public Output Queue { get; private set; } = null!; @@ -254,6 +263,9 @@ public sealed class JobArgs : global::Pulumi.ResourceArgs [Input("alwaysRunning")] public Input? AlwaysRunning { get; set; } + /// + /// Configuration block to configure pause status. See continuous Configuration Block. + /// [Input("continuous")] public Input? Continuous { get; set; } @@ -307,7 +319,7 @@ public InputList Environments public Input? GitSource { get; set; } /// - /// An optional block that specifies the health conditions for the job (described below). + /// An optional block that specifies the health conditions for the job documented below. /// [Input("health")] public Input? Health { get; set; } @@ -328,7 +340,7 @@ public InputList JobClusters private InputList? _libraries; /// - /// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// public InputList Libraries { @@ -371,6 +383,10 @@ public InputList Libraries [Input("parameters")] private InputList? _parameters; + + /// + /// Specifices job parameter for the job. See parameter Configuration Block + /// public InputList Parameters { get => _parameters ?? (_parameters = new InputList()); @@ -383,6 +399,9 @@ public InputList Parameters [Input("pythonWheelTask")] public Input? PythonWheelTask { get; set; } + /// + /// The queue status for the job. See queue Configuration Block below. + /// [Input("queue")] public Input? Queue { get; set; } @@ -469,6 +488,9 @@ public sealed class JobState : global::Pulumi.ResourceArgs [Input("alwaysRunning")] public Input? AlwaysRunning { get; set; } + /// + /// Configuration block to configure pause status. See continuous Configuration Block. + /// [Input("continuous")] public Input? Continuous { get; set; } @@ -522,7 +544,7 @@ public InputList Environments public Input? GitSource { get; set; } /// - /// An optional block that specifies the health conditions for the job (described below). + /// An optional block that specifies the health conditions for the job documented below. /// [Input("health")] public Input? Health { get; set; } @@ -543,7 +565,7 @@ public InputList JobClusters private InputList? _libraries; /// - /// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// public InputList Libraries { @@ -586,6 +608,10 @@ public InputList Libraries [Input("parameters")] private InputList? _parameters; + + /// + /// Specifices job parameter for the job. See parameter Configuration Block + /// public InputList Parameters { get => _parameters ?? (_parameters = new InputList()); @@ -598,6 +624,9 @@ public InputList Parameters [Input("pythonWheelTask")] public Input? PythonWheelTask { get; set; } + /// + /// The queue status for the job. See queue Configuration Block below. + /// [Input("queue")] public Input? Queue { get; set; } diff --git a/sdk/dotnet/Outputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult.cs b/sdk/dotnet/Outputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult.cs new file mode 100644 index 00000000..fca1fe60 --- /dev/null +++ b/sdk/dotnet/Outputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult.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 GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult + { + public readonly string? InheritedFromName; + public readonly string? InheritedFromType; + public readonly string Value; + + [OutputConstructor] + private GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult( + string? inheritedFromName, + + string? inheritedFromType, + + string value) + { + InheritedFromName = inheritedFromName; + InheritedFromType = inheritedFromType; + Value = value; + } + } +} diff --git a/sdk/dotnet/Outputs/GetCatalogCatalogInfoProvisioningInfoResult.cs b/sdk/dotnet/Outputs/GetCatalogCatalogInfoProvisioningInfoResult.cs new file mode 100644 index 00000000..24b2278a --- /dev/null +++ b/sdk/dotnet/Outputs/GetCatalogCatalogInfoProvisioningInfoResult.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 GetCatalogCatalogInfoProvisioningInfoResult + { + public readonly string? State; + + [OutputConstructor] + private GetCatalogCatalogInfoProvisioningInfoResult(string? state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/Outputs/GetCatalogCatalogInfoResult.cs b/sdk/dotnet/Outputs/GetCatalogCatalogInfoResult.cs new file mode 100644 index 00000000..4619c5cd --- /dev/null +++ b/sdk/dotnet/Outputs/GetCatalogCatalogInfoResult.cs @@ -0,0 +1,183 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 GetCatalogCatalogInfoResult + { + public readonly bool? BrowseOnly; + /// + /// Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + /// + public readonly string? CatalogType; + /// + /// Free-form text description + /// + public readonly string? Comment; + /// + /// The name of the connection to an external data source. + /// + public readonly string? ConnectionName; + /// + /// Time at which this catalog was created, in epoch milliseconds. + /// + public readonly int? CreatedAt; + /// + /// Username of catalog creator. + /// + public readonly string? CreatedBy; + /// + /// object describing applied predictive optimization flag. + /// + public readonly Outputs.GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult? EffectivePredictiveOptimizationFlag; + /// + /// Whether predictive optimization should be enabled for this object and objects under it. + /// + public readonly string? EnablePredictiveOptimization; + /// + /// The full name of the catalog. Corresponds with the name field. + /// + public readonly string? FullName; + /// + /// Whether the current securable is accessible from all workspaces or a specific set of workspaces. + /// + public readonly string? IsolationMode; + /// + /// Unique identifier of parent metastore. + /// + public readonly string? MetastoreId; + /// + /// name of the catalog + /// + public readonly string? Name; + /// + /// A map of key-value properties attached to the securable. + /// + public readonly ImmutableDictionary? Options; + /// + /// Current owner of the catalog + /// + public readonly string? Owner; + /// + /// A map of key-value properties attached to the securable. + /// + public readonly ImmutableDictionary? Properties; + /// + /// The name of delta sharing provider. + /// + public readonly string? ProviderName; + public readonly Outputs.GetCatalogCatalogInfoProvisioningInfoResult? ProvisioningInfo; + /// + /// Kind of catalog securable. + /// + public readonly string? SecurableKind; + /// + /// Securable type. + /// + public readonly string? SecurableType; + /// + /// The name of the share under the share provider. + /// + public readonly string? ShareName; + /// + /// Storage Location URL (full path) for managed tables within catalog. + /// + public readonly string? StorageLocation; + /// + /// Storage root URL for managed tables within catalog. + /// + public readonly string? StorageRoot; + /// + /// 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; + + [OutputConstructor] + private GetCatalogCatalogInfoResult( + bool? browseOnly, + + string? catalogType, + + string? comment, + + string? connectionName, + + int? createdAt, + + string? createdBy, + + Outputs.GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult? effectivePredictiveOptimizationFlag, + + string? enablePredictiveOptimization, + + string? fullName, + + string? isolationMode, + + string? metastoreId, + + string? name, + + ImmutableDictionary? options, + + string? owner, + + ImmutableDictionary? properties, + + string? providerName, + + Outputs.GetCatalogCatalogInfoProvisioningInfoResult? provisioningInfo, + + string? securableKind, + + string? securableType, + + string? shareName, + + string? storageLocation, + + string? storageRoot, + + int? updatedAt, + + string? updatedBy) + { + BrowseOnly = browseOnly; + CatalogType = catalogType; + Comment = comment; + ConnectionName = connectionName; + CreatedAt = createdAt; + CreatedBy = createdBy; + EffectivePredictiveOptimizationFlag = effectivePredictiveOptimizationFlag; + EnablePredictiveOptimization = enablePredictiveOptimization; + FullName = fullName; + IsolationMode = isolationMode; + MetastoreId = metastoreId; + Name = name; + Options = options; + Owner = owner; + Properties = properties; + ProviderName = providerName; + ProvisioningInfo = provisioningInfo; + SecurableKind = securableKind; + SecurableType = securableType; + ShareName = shareName; + StorageLocation = storageLocation; + StorageRoot = storageRoot; + UpdatedAt = updatedAt; + UpdatedBy = updatedBy; + } + } +} diff --git a/sdk/dotnet/Outputs/GetMlflowExperimentTagResult.cs b/sdk/dotnet/Outputs/GetMlflowExperimentTagResult.cs new file mode 100644 index 00000000..fd6ff747 --- /dev/null +++ b/sdk/dotnet/Outputs/GetMlflowExperimentTagResult.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 GetMlflowExperimentTagResult + { + public readonly string? Key; + public readonly string? Value; + + [OutputConstructor] + private GetMlflowExperimentTagResult( + string? key, + + string? value) + { + Key = key; + Value = value; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoColumnMaskResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoColumnMaskResult.cs new file mode 100644 index 00000000..d78caa5f --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoColumnMaskResult.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 GetTableTableInfoColumnMaskResult + { + public readonly string? FunctionName; + public readonly ImmutableArray UsingColumnNames; + + [OutputConstructor] + private GetTableTableInfoColumnMaskResult( + string? functionName, + + ImmutableArray usingColumnNames) + { + FunctionName = functionName; + UsingColumnNames = usingColumnNames; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoColumnResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoColumnResult.cs new file mode 100644 index 00000000..c377795a --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoColumnResult.cs @@ -0,0 +1,75 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 GetTableTableInfoColumnResult + { + /// + /// Free-form text description + /// + public readonly string? Comment; + public readonly Outputs.GetTableTableInfoColumnMaskResult? Mask; + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + public readonly string? Name; + public readonly bool? Nullable; + public readonly int? PartitionIndex; + public readonly int? Position; + public readonly string? TypeIntervalType; + public readonly string? TypeJson; + public readonly string? TypeName; + public readonly int? TypePrecision; + public readonly int? TypeScale; + public readonly string? TypeText; + + [OutputConstructor] + private GetTableTableInfoColumnResult( + string? comment, + + Outputs.GetTableTableInfoColumnMaskResult? mask, + + string? name, + + bool? nullable, + + int? partitionIndex, + + int? position, + + string? typeIntervalType, + + string? typeJson, + + string? typeName, + + int? typePrecision, + + int? typeScale, + + string? typeText) + { + Comment = comment; + Mask = mask; + Name = name; + Nullable = nullable; + PartitionIndex = partitionIndex; + Position = position; + TypeIntervalType = typeIntervalType; + TypeJson = typeJson; + TypeName = typeName; + TypePrecision = typePrecision; + TypeScale = typeScale; + TypeText = typeText; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoDeltaRuntimePropertiesKvpairsResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoDeltaRuntimePropertiesKvpairsResult.cs new file mode 100644 index 00000000..3d6b0ab8 --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoDeltaRuntimePropertiesKvpairsResult.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 GetTableTableInfoDeltaRuntimePropertiesKvpairsResult + { + public readonly ImmutableDictionary DeltaRuntimeProperties; + + [OutputConstructor] + private GetTableTableInfoDeltaRuntimePropertiesKvpairsResult(ImmutableDictionary deltaRuntimeProperties) + { + DeltaRuntimeProperties = deltaRuntimeProperties; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoEffectivePredictiveOptimizationFlagResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoEffectivePredictiveOptimizationFlagResult.cs new file mode 100644 index 00000000..5ae2cc57 --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoEffectivePredictiveOptimizationFlagResult.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 GetTableTableInfoEffectivePredictiveOptimizationFlagResult + { + public readonly string? InheritedFromName; + public readonly string? InheritedFromType; + public readonly string Value; + + [OutputConstructor] + private GetTableTableInfoEffectivePredictiveOptimizationFlagResult( + string? inheritedFromName, + + string? inheritedFromType, + + string value) + { + InheritedFromName = inheritedFromName; + InheritedFromType = inheritedFromType; + Value = value; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoEncryptionDetailsResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoEncryptionDetailsResult.cs new file mode 100644 index 00000000..b083a260 --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoEncryptionDetailsResult.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 GetTableTableInfoEncryptionDetailsResult + { + public readonly Outputs.GetTableTableInfoEncryptionDetailsSseEncryptionDetailsResult? SseEncryptionDetails; + + [OutputConstructor] + private GetTableTableInfoEncryptionDetailsResult(Outputs.GetTableTableInfoEncryptionDetailsSseEncryptionDetailsResult? sseEncryptionDetails) + { + SseEncryptionDetails = sseEncryptionDetails; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetailsResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetailsResult.cs new file mode 100644 index 00000000..79f635b9 --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetailsResult.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 GetTableTableInfoEncryptionDetailsSseEncryptionDetailsResult + { + public readonly string? Algorithm; + public readonly string? AwsKmsKeyArn; + + [OutputConstructor] + private GetTableTableInfoEncryptionDetailsSseEncryptionDetailsResult( + string? algorithm, + + string? awsKmsKeyArn) + { + Algorithm = algorithm; + AwsKmsKeyArn = awsKmsKeyArn; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoResult.cs new file mode 100644 index 00000000..be05cc13 --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoResult.cs @@ -0,0 +1,179 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 GetTableTableInfoResult + { + public readonly string? AccessPoint; + public readonly bool? BrowseOnly; + /// + /// Name of parent catalog. + /// + public readonly string? CatalogName; + /// + /// Array of ColumnInfo objects of the table's columns + /// + public readonly ImmutableArray Columns; + /// + /// Free-form text description + /// + public readonly string? Comment; + public readonly int? CreatedAt; + public readonly string? CreatedBy; + public readonly string? DataAccessConfigurationId; + /// + /// Table format, e.g. DELTA, CSV, JSON + /// + public readonly string? DataSourceFormat; + public readonly int? DeletedAt; + public readonly Outputs.GetTableTableInfoDeltaRuntimePropertiesKvpairsResult? DeltaRuntimePropertiesKvpairs; + public readonly Outputs.GetTableTableInfoEffectivePredictiveOptimizationFlagResult? EffectivePredictiveOptimizationFlag; + public readonly string? EnablePredictiveOptimization; + public readonly Outputs.GetTableTableInfoEncryptionDetailsResult? EncryptionDetails; + public readonly string? FullName; + public readonly string? MetastoreId; + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + public readonly string? Name; + /// + /// Current owner of the table + /// + public readonly string? Owner; + public readonly string? PipelineId; + public readonly ImmutableDictionary? Properties; + public readonly Outputs.GetTableTableInfoRowFilterResult? RowFilter; + /// + /// Name of parent schema relative to its parent catalog. + /// + public readonly string? SchemaName; + public readonly string? SqlPath; + public readonly string? StorageCredentialName; + public readonly string? StorageLocation; + public readonly ImmutableArray TableConstraints; + public readonly string? TableId; + /// + /// Table type, e.g. MANAGED, EXTERNAL, VIEW + /// + public readonly string? TableType; + public readonly int? UpdatedAt; + public readonly string? UpdatedBy; + /// + /// View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + /// + public readonly string? ViewDefinition; + /// + /// View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + /// + public readonly Outputs.GetTableTableInfoViewDependenciesResult? ViewDependencies; + + [OutputConstructor] + private GetTableTableInfoResult( + string? accessPoint, + + bool? browseOnly, + + string? catalogName, + + ImmutableArray columns, + + string? comment, + + int? createdAt, + + string? createdBy, + + string? dataAccessConfigurationId, + + string? dataSourceFormat, + + int? deletedAt, + + Outputs.GetTableTableInfoDeltaRuntimePropertiesKvpairsResult? deltaRuntimePropertiesKvpairs, + + Outputs.GetTableTableInfoEffectivePredictiveOptimizationFlagResult? effectivePredictiveOptimizationFlag, + + string? enablePredictiveOptimization, + + Outputs.GetTableTableInfoEncryptionDetailsResult? encryptionDetails, + + string? fullName, + + string? metastoreId, + + string? name, + + string? owner, + + string? pipelineId, + + ImmutableDictionary? properties, + + Outputs.GetTableTableInfoRowFilterResult? rowFilter, + + string? schemaName, + + string? sqlPath, + + string? storageCredentialName, + + string? storageLocation, + + ImmutableArray tableConstraints, + + string? tableId, + + string? tableType, + + int? updatedAt, + + string? updatedBy, + + string? viewDefinition, + + Outputs.GetTableTableInfoViewDependenciesResult? viewDependencies) + { + AccessPoint = accessPoint; + BrowseOnly = browseOnly; + CatalogName = catalogName; + Columns = columns; + Comment = comment; + CreatedAt = createdAt; + CreatedBy = createdBy; + DataAccessConfigurationId = dataAccessConfigurationId; + DataSourceFormat = dataSourceFormat; + DeletedAt = deletedAt; + DeltaRuntimePropertiesKvpairs = deltaRuntimePropertiesKvpairs; + EffectivePredictiveOptimizationFlag = effectivePredictiveOptimizationFlag; + EnablePredictiveOptimization = enablePredictiveOptimization; + EncryptionDetails = encryptionDetails; + FullName = fullName; + MetastoreId = metastoreId; + Name = name; + Owner = owner; + PipelineId = pipelineId; + Properties = properties; + RowFilter = rowFilter; + SchemaName = schemaName; + SqlPath = sqlPath; + StorageCredentialName = storageCredentialName; + StorageLocation = storageLocation; + TableConstraints = tableConstraints; + TableId = tableId; + TableType = tableType; + UpdatedAt = updatedAt; + UpdatedBy = updatedBy; + ViewDefinition = viewDefinition; + ViewDependencies = viewDependencies; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoRowFilterResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoRowFilterResult.cs new file mode 100644 index 00000000..d36a019f --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoRowFilterResult.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 GetTableTableInfoRowFilterResult + { + public readonly string FunctionName; + public readonly ImmutableArray InputColumnNames; + + [OutputConstructor] + private GetTableTableInfoRowFilterResult( + string functionName, + + ImmutableArray inputColumnNames) + { + FunctionName = functionName; + InputColumnNames = inputColumnNames; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoTableConstraintForeignKeyConstraintResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoTableConstraintForeignKeyConstraintResult.cs new file mode 100644 index 00000000..6292044c --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoTableConstraintForeignKeyConstraintResult.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetTableTableInfoTableConstraintForeignKeyConstraintResult + { + public readonly ImmutableArray ChildColumns; + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + public readonly string Name; + public readonly ImmutableArray ParentColumns; + public readonly string ParentTable; + + [OutputConstructor] + private GetTableTableInfoTableConstraintForeignKeyConstraintResult( + ImmutableArray childColumns, + + string name, + + ImmutableArray parentColumns, + + string parentTable) + { + ChildColumns = childColumns; + Name = name; + ParentColumns = parentColumns; + ParentTable = parentTable; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoTableConstraintNamedTableConstraintResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoTableConstraintNamedTableConstraintResult.cs new file mode 100644 index 00000000..76925f9d --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoTableConstraintNamedTableConstraintResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetTableTableInfoTableConstraintNamedTableConstraintResult + { + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + public readonly string Name; + + [OutputConstructor] + private GetTableTableInfoTableConstraintNamedTableConstraintResult(string name) + { + Name = name; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoTableConstraintPrimaryKeyConstraintResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoTableConstraintPrimaryKeyConstraintResult.cs new file mode 100644 index 00000000..d9eba364 --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoTableConstraintPrimaryKeyConstraintResult.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.Outputs +{ + + [OutputType] + public sealed class GetTableTableInfoTableConstraintPrimaryKeyConstraintResult + { + public readonly ImmutableArray ChildColumns; + /// + /// Full name of the databricks_table: _`catalog`.`schema`.`table`_ + /// + public readonly string Name; + + [OutputConstructor] + private GetTableTableInfoTableConstraintPrimaryKeyConstraintResult( + ImmutableArray childColumns, + + string name) + { + ChildColumns = childColumns; + Name = name; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoTableConstraintResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoTableConstraintResult.cs new file mode 100644 index 00000000..3f8aca05 --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoTableConstraintResult.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 GetTableTableInfoTableConstraintResult + { + public readonly Outputs.GetTableTableInfoTableConstraintForeignKeyConstraintResult? ForeignKeyConstraint; + public readonly Outputs.GetTableTableInfoTableConstraintNamedTableConstraintResult? NamedTableConstraint; + public readonly Outputs.GetTableTableInfoTableConstraintPrimaryKeyConstraintResult? PrimaryKeyConstraint; + + [OutputConstructor] + private GetTableTableInfoTableConstraintResult( + Outputs.GetTableTableInfoTableConstraintForeignKeyConstraintResult? foreignKeyConstraint, + + Outputs.GetTableTableInfoTableConstraintNamedTableConstraintResult? namedTableConstraint, + + Outputs.GetTableTableInfoTableConstraintPrimaryKeyConstraintResult? primaryKeyConstraint) + { + ForeignKeyConstraint = foreignKeyConstraint; + NamedTableConstraint = namedTableConstraint; + PrimaryKeyConstraint = primaryKeyConstraint; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesDependencyFunctionResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesDependencyFunctionResult.cs new file mode 100644 index 00000000..fa4c102e --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesDependencyFunctionResult.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 GetTableTableInfoViewDependenciesDependencyFunctionResult + { + public readonly string FunctionFullName; + + [OutputConstructor] + private GetTableTableInfoViewDependenciesDependencyFunctionResult(string functionFullName) + { + FunctionFullName = functionFullName; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesDependencyResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesDependencyResult.cs new file mode 100644 index 00000000..88c12329 --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesDependencyResult.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 GetTableTableInfoViewDependenciesDependencyResult + { + public readonly Outputs.GetTableTableInfoViewDependenciesDependencyFunctionResult? Function; + public readonly Outputs.GetTableTableInfoViewDependenciesDependencyTableResult? Table; + + [OutputConstructor] + private GetTableTableInfoViewDependenciesDependencyResult( + Outputs.GetTableTableInfoViewDependenciesDependencyFunctionResult? function, + + Outputs.GetTableTableInfoViewDependenciesDependencyTableResult? table) + { + Function = function; + Table = table; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesDependencyTableResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesDependencyTableResult.cs new file mode 100644 index 00000000..3de10302 --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesDependencyTableResult.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 GetTableTableInfoViewDependenciesDependencyTableResult + { + public readonly string TableFullName; + + [OutputConstructor] + private GetTableTableInfoViewDependenciesDependencyTableResult(string tableFullName) + { + TableFullName = tableFullName; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesResult.cs b/sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesResult.cs new file mode 100644 index 00000000..6d982538 --- /dev/null +++ b/sdk/dotnet/Outputs/GetTableTableInfoViewDependenciesResult.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 GetTableTableInfoViewDependenciesResult + { + public readonly ImmutableArray Dependencies; + + [OutputConstructor] + private GetTableTableInfoViewDependenciesResult(ImmutableArray dependencies) + { + Dependencies = dependencies; + } + } +} diff --git a/sdk/dotnet/Outputs/JobJobClusterNewCluster.cs b/sdk/dotnet/Outputs/JobJobClusterNewCluster.cs index 83801e13..e828eed1 100644 --- a/sdk/dotnet/Outputs/JobJobClusterNewCluster.cs +++ b/sdk/dotnet/Outputs/JobJobClusterNewCluster.cs @@ -35,7 +35,7 @@ public sealed class JobJobClusterNewCluster public readonly ImmutableArray InitScripts; public readonly string? InstancePoolId; /// - /// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// public readonly ImmutableArray Libraries; public readonly string? NodeTypeId; diff --git a/sdk/dotnet/Outputs/JobNewCluster.cs b/sdk/dotnet/Outputs/JobNewCluster.cs index b3970f62..5404412f 100644 --- a/sdk/dotnet/Outputs/JobNewCluster.cs +++ b/sdk/dotnet/Outputs/JobNewCluster.cs @@ -35,7 +35,7 @@ public sealed class JobNewCluster public readonly ImmutableArray InitScripts; public readonly string? InstancePoolId; /// - /// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// public readonly ImmutableArray Libraries; public readonly string? NodeTypeId; diff --git a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskNewCluster.cs b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskNewCluster.cs index 9b04c795..1936f99a 100644 --- a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskNewCluster.cs +++ b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskNewCluster.cs @@ -35,7 +35,7 @@ public sealed class JobTaskForEachTaskTaskNewCluster public readonly ImmutableArray InitScripts; public readonly string? InstancePoolId; /// - /// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// public readonly ImmutableArray Libraries; public readonly string? NodeTypeId; diff --git a/sdk/dotnet/Outputs/JobTaskNewCluster.cs b/sdk/dotnet/Outputs/JobTaskNewCluster.cs index d6b6de71..e0f96d70 100644 --- a/sdk/dotnet/Outputs/JobTaskNewCluster.cs +++ b/sdk/dotnet/Outputs/JobTaskNewCluster.cs @@ -35,7 +35,7 @@ public sealed class JobTaskNewCluster public readonly ImmutableArray InitScripts; public readonly string? InstancePoolId; /// - /// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// public readonly ImmutableArray Libraries; public readonly string? NodeTypeId; diff --git a/sdk/dotnet/SqlTable.cs b/sdk/dotnet/SqlTable.cs index dffe0f93..d422e8e0 100644 --- a/sdk/dotnet/SqlTable.cs +++ b/sdk/dotnet/SqlTable.cs @@ -71,6 +71,12 @@ public partial class SqlTable : global::Pulumi.CustomResource [Output("options")] public Output?> Options { get; private set; } = null!; + /// + /// Username/groupname/sp application_id of the schema owner. + /// + [Output("owner")] + public Output Owner { get; private set; } = null!; + /// /// a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `cluster_keys`. /// @@ -224,6 +230,12 @@ public InputMap Options set => _options = value; } + /// + /// Username/groupname/sp application_id of the schema owner. + /// + [Input("owner")] + public Input? Owner { get; set; } + [Input("partitions")] private InputList? _partitions; @@ -351,6 +363,12 @@ public InputMap Options set => _options = value; } + /// + /// Username/groupname/sp application_id of the schema owner. + /// + [Input("owner")] + public Input? Owner { get; set; } + [Input("partitions")] private InputList? _partitions; diff --git a/sdk/go/databricks/getCatalog.go b/sdk/go/databricks/getCatalog.go new file mode 100644 index 00000000..13d23fb1 --- /dev/null +++ b/sdk/go/databricks/getCatalog.go @@ -0,0 +1,151 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package databricks + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-databricks/sdk/go/databricks/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// ## Example Usage +// +// Read on a specific catalog `test`: +// +// ```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 { +// test, err := databricks.LookupCatalog(ctx, &databricks.LookupCatalogArgs{ +// Name: "test", +// }, nil) +// if err != nil { +// return err +// } +// _, err = databricks.NewGrants(ctx, "things", &databricks.GrantsArgs{ +// Catalog: pulumi.String(test.Name), +// Grants: databricks.GrantsGrantArray{ +// &databricks.GrantsGrantArgs{ +// Principal: pulumi.String("sensitive"), +// Privileges: pulumi.StringArray{ +// pulumi.String("USE_CATALOG"), +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Related Resources +// +// The following resources are used in the same context: +// +// * Grant to manage grants within Unity Catalog. +// * getCatalogs to list all catalogs within Unity Catalog metastore. +func LookupCatalog(ctx *pulumi.Context, args *LookupCatalogArgs, opts ...pulumi.InvokeOption) (*LookupCatalogResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCatalogResult + err := ctx.Invoke("databricks:index/getCatalog:getCatalog", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCatalog. +type LookupCatalogArgs struct { + // the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + CatalogInfo *GetCatalogCatalogInfo `pulumi:"catalogInfo"` + // same as the `name` + Id *string `pulumi:"id"` + // name of the catalog + Name string `pulumi:"name"` +} + +// A collection of values returned by getCatalog. +type LookupCatalogResult struct { + // the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + CatalogInfo GetCatalogCatalogInfo `pulumi:"catalogInfo"` + // same as the `name` + Id string `pulumi:"id"` + // Name of the catalog + Name string `pulumi:"name"` +} + +func LookupCatalogOutput(ctx *pulumi.Context, args LookupCatalogOutputArgs, opts ...pulumi.InvokeOption) LookupCatalogResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCatalogResult, error) { + args := v.(LookupCatalogArgs) + r, err := LookupCatalog(ctx, &args, opts...) + var s LookupCatalogResult + if r != nil { + s = *r + } + return s, err + }).(LookupCatalogResultOutput) +} + +// A collection of arguments for invoking getCatalog. +type LookupCatalogOutputArgs struct { + // the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + CatalogInfo GetCatalogCatalogInfoPtrInput `pulumi:"catalogInfo"` + // same as the `name` + Id pulumi.StringPtrInput `pulumi:"id"` + // name of the catalog + Name pulumi.StringInput `pulumi:"name"` +} + +func (LookupCatalogOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCatalogArgs)(nil)).Elem() +} + +// A collection of values returned by getCatalog. +type LookupCatalogResultOutput struct{ *pulumi.OutputState } + +func (LookupCatalogResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCatalogResult)(nil)).Elem() +} + +func (o LookupCatalogResultOutput) ToLookupCatalogResultOutput() LookupCatalogResultOutput { + return o +} + +func (o LookupCatalogResultOutput) ToLookupCatalogResultOutputWithContext(ctx context.Context) LookupCatalogResultOutput { + return o +} + +// the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): +func (o LookupCatalogResultOutput) CatalogInfo() GetCatalogCatalogInfoOutput { + return o.ApplyT(func(v LookupCatalogResult) GetCatalogCatalogInfo { return v.CatalogInfo }).(GetCatalogCatalogInfoOutput) +} + +// same as the `name` +func (o LookupCatalogResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCatalogResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Name of the catalog +func (o LookupCatalogResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupCatalogResult) string { return v.Name }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCatalogResultOutput{}) +} diff --git a/sdk/go/databricks/getMlflowExperiment.go b/sdk/go/databricks/getMlflowExperiment.go new file mode 100644 index 00000000..5e448cdf --- /dev/null +++ b/sdk/go/databricks/getMlflowExperiment.go @@ -0,0 +1,161 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package databricks + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-databricks/sdk/go/databricks/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors. +// +// Retrieves the settings of MlflowExperiment by id or name. +func LookupMlflowExperiment(ctx *pulumi.Context, args *LookupMlflowExperimentArgs, opts ...pulumi.InvokeOption) (*LookupMlflowExperimentResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupMlflowExperimentResult + err := ctx.Invoke("databricks:index/getMlflowExperiment:getMlflowExperiment", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMlflowExperiment. +type LookupMlflowExperimentArgs struct { + // Location where artifacts for the experiment are stored. + ArtifactLocation *string `pulumi:"artifactLocation"` + // Creation time in unix time stamp. + CreationTime *int `pulumi:"creationTime"` + // Unique identifier for the experiment. + ExperimentId *string `pulumi:"experimentId"` + // Unique identifier for the experiment. (same as `experimentId`) + Id *string `pulumi:"id"` + // Last update time in unix time stamp. + LastUpdateTime *int `pulumi:"lastUpdateTime"` + // Current life cycle stage of the experiment: `active` or `deleted`. + LifecycleStage *string `pulumi:"lifecycleStage"` + // Path to experiment. + Name *string `pulumi:"name"` + // Additional metadata key-value pairs. + Tags []GetMlflowExperimentTag `pulumi:"tags"` +} + +// A collection of values returned by getMlflowExperiment. +type LookupMlflowExperimentResult struct { + // Location where artifacts for the experiment are stored. + ArtifactLocation string `pulumi:"artifactLocation"` + // Creation time in unix time stamp. + CreationTime int `pulumi:"creationTime"` + // Unique identifier for the experiment. (same as `id`) + ExperimentId string `pulumi:"experimentId"` + // Unique identifier for the experiment. (same as `experimentId`) + Id string `pulumi:"id"` + // Last update time in unix time stamp. + LastUpdateTime int `pulumi:"lastUpdateTime"` + // Current life cycle stage of the experiment: `active` or `deleted`. + LifecycleStage string `pulumi:"lifecycleStage"` + // Path to experiment. + Name string `pulumi:"name"` + // Additional metadata key-value pairs. + Tags []GetMlflowExperimentTag `pulumi:"tags"` +} + +func LookupMlflowExperimentOutput(ctx *pulumi.Context, args LookupMlflowExperimentOutputArgs, opts ...pulumi.InvokeOption) LookupMlflowExperimentResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupMlflowExperimentResult, error) { + args := v.(LookupMlflowExperimentArgs) + r, err := LookupMlflowExperiment(ctx, &args, opts...) + var s LookupMlflowExperimentResult + if r != nil { + s = *r + } + return s, err + }).(LookupMlflowExperimentResultOutput) +} + +// A collection of arguments for invoking getMlflowExperiment. +type LookupMlflowExperimentOutputArgs struct { + // Location where artifacts for the experiment are stored. + ArtifactLocation pulumi.StringPtrInput `pulumi:"artifactLocation"` + // Creation time in unix time stamp. + CreationTime pulumi.IntPtrInput `pulumi:"creationTime"` + // Unique identifier for the experiment. + ExperimentId pulumi.StringPtrInput `pulumi:"experimentId"` + // Unique identifier for the experiment. (same as `experimentId`) + Id pulumi.StringPtrInput `pulumi:"id"` + // Last update time in unix time stamp. + LastUpdateTime pulumi.IntPtrInput `pulumi:"lastUpdateTime"` + // Current life cycle stage of the experiment: `active` or `deleted`. + LifecycleStage pulumi.StringPtrInput `pulumi:"lifecycleStage"` + // Path to experiment. + Name pulumi.StringPtrInput `pulumi:"name"` + // Additional metadata key-value pairs. + Tags GetMlflowExperimentTagArrayInput `pulumi:"tags"` +} + +func (LookupMlflowExperimentOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMlflowExperimentArgs)(nil)).Elem() +} + +// A collection of values returned by getMlflowExperiment. +type LookupMlflowExperimentResultOutput struct{ *pulumi.OutputState } + +func (LookupMlflowExperimentResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMlflowExperimentResult)(nil)).Elem() +} + +func (o LookupMlflowExperimentResultOutput) ToLookupMlflowExperimentResultOutput() LookupMlflowExperimentResultOutput { + return o +} + +func (o LookupMlflowExperimentResultOutput) ToLookupMlflowExperimentResultOutputWithContext(ctx context.Context) LookupMlflowExperimentResultOutput { + return o +} + +// Location where artifacts for the experiment are stored. +func (o LookupMlflowExperimentResultOutput) ArtifactLocation() pulumi.StringOutput { + return o.ApplyT(func(v LookupMlflowExperimentResult) string { return v.ArtifactLocation }).(pulumi.StringOutput) +} + +// Creation time in unix time stamp. +func (o LookupMlflowExperimentResultOutput) CreationTime() pulumi.IntOutput { + return o.ApplyT(func(v LookupMlflowExperimentResult) int { return v.CreationTime }).(pulumi.IntOutput) +} + +// Unique identifier for the experiment. (same as `id`) +func (o LookupMlflowExperimentResultOutput) ExperimentId() pulumi.StringOutput { + return o.ApplyT(func(v LookupMlflowExperimentResult) string { return v.ExperimentId }).(pulumi.StringOutput) +} + +// Unique identifier for the experiment. (same as `experimentId`) +func (o LookupMlflowExperimentResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMlflowExperimentResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Last update time in unix time stamp. +func (o LookupMlflowExperimentResultOutput) LastUpdateTime() pulumi.IntOutput { + return o.ApplyT(func(v LookupMlflowExperimentResult) int { return v.LastUpdateTime }).(pulumi.IntOutput) +} + +// Current life cycle stage of the experiment: `active` or `deleted`. +func (o LookupMlflowExperimentResultOutput) LifecycleStage() pulumi.StringOutput { + return o.ApplyT(func(v LookupMlflowExperimentResult) string { return v.LifecycleStage }).(pulumi.StringOutput) +} + +// Path to experiment. +func (o LookupMlflowExperimentResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupMlflowExperimentResult) string { return v.Name }).(pulumi.StringOutput) +} + +// Additional metadata key-value pairs. +func (o LookupMlflowExperimentResultOutput) Tags() GetMlflowExperimentTagArrayOutput { + return o.ApplyT(func(v LookupMlflowExperimentResult) []GetMlflowExperimentTag { return v.Tags }).(GetMlflowExperimentTagArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMlflowExperimentResultOutput{}) +} diff --git a/sdk/go/databricks/getTable.go b/sdk/go/databricks/getTable.go new file mode 100644 index 00000000..4606c3a4 --- /dev/null +++ b/sdk/go/databricks/getTable.go @@ -0,0 +1,148 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package databricks + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-databricks/sdk/go/databricks/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// ## Example Usage +// +// Read on a specific table `main.certified.fct_transactions`: +// +// ```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 { +// fctTransactions, err := databricks.LookupTable(ctx, &databricks.LookupTableArgs{ +// Name: "main.certified.fct_transactions", +// }, nil) +// if err != nil { +// return err +// } +// _, err = databricks.NewGrants(ctx, "things", &databricks.GrantsArgs{ +// Table: pulumi.String(fctTransactions.Name), +// Grants: databricks.GrantsGrantArray{ +// &databricks.GrantsGrantArgs{ +// Principal: pulumi.String("sensitive"), +// Privileges: pulumi.StringArray{ +// pulumi.String("SELECT"), +// pulumi.String("MODIFY"), +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Related Resources +// +// The following resources are used in the same context: +// +// * Grant to manage grants within Unity Catalog. +// * getTables to list all tables within a schema in Unity Catalog. +func LookupTable(ctx *pulumi.Context, args *LookupTableArgs, opts ...pulumi.InvokeOption) (*LookupTableResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupTableResult + err := ctx.Invoke("databricks:index/getTable:getTable", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getTable. +type LookupTableArgs struct { + Id *string `pulumi:"id"` + // Full name of the databricks_table: _`catalog`.`schema`.`table`_ + Name string `pulumi:"name"` + // TableInfo object for a Unity Catalog table. This contains the following attributes: + TableInfo *GetTableTableInfo `pulumi:"tableInfo"` +} + +// A collection of values returned by getTable. +type LookupTableResult struct { + Id string `pulumi:"id"` + // Name of table, relative to parent schema. + Name string `pulumi:"name"` + // TableInfo object for a Unity Catalog table. This contains the following attributes: + TableInfo GetTableTableInfo `pulumi:"tableInfo"` +} + +func LookupTableOutput(ctx *pulumi.Context, args LookupTableOutputArgs, opts ...pulumi.InvokeOption) LookupTableResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupTableResult, error) { + args := v.(LookupTableArgs) + r, err := LookupTable(ctx, &args, opts...) + var s LookupTableResult + if r != nil { + s = *r + } + return s, err + }).(LookupTableResultOutput) +} + +// A collection of arguments for invoking getTable. +type LookupTableOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + // Full name of the databricks_table: _`catalog`.`schema`.`table`_ + Name pulumi.StringInput `pulumi:"name"` + // TableInfo object for a Unity Catalog table. This contains the following attributes: + TableInfo GetTableTableInfoPtrInput `pulumi:"tableInfo"` +} + +func (LookupTableOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupTableArgs)(nil)).Elem() +} + +// A collection of values returned by getTable. +type LookupTableResultOutput struct{ *pulumi.OutputState } + +func (LookupTableResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupTableResult)(nil)).Elem() +} + +func (o LookupTableResultOutput) ToLookupTableResultOutput() LookupTableResultOutput { + return o +} + +func (o LookupTableResultOutput) ToLookupTableResultOutputWithContext(ctx context.Context) LookupTableResultOutput { + return o +} + +func (o LookupTableResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupTableResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Name of table, relative to parent schema. +func (o LookupTableResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupTableResult) string { return v.Name }).(pulumi.StringOutput) +} + +// TableInfo object for a Unity Catalog table. This contains the following attributes: +func (o LookupTableResultOutput) TableInfo() GetTableTableInfoOutput { + return o.ApplyT(func(v LookupTableResult) GetTableTableInfo { return v.TableInfo }).(GetTableTableInfoOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupTableResultOutput{}) +} diff --git a/sdk/go/databricks/job.go b/sdk/go/databricks/job.go index 0ec0f246..74433b8e 100644 --- a/sdk/go/databricks/job.go +++ b/sdk/go/databricks/job.go @@ -26,8 +26,9 @@ type Job struct { // (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with `parameters` specified in `sparkJarTask` or `sparkSubmitTask` or `sparkPythonTask` or `notebookTask` blocks. // // Deprecated: always_running will be replaced by controlRunState in the next major release. - AlwaysRunning pulumi.BoolPtrOutput `pulumi:"alwaysRunning"` - Continuous JobContinuousPtrOutput `pulumi:"continuous"` + AlwaysRunning pulumi.BoolPtrOutput `pulumi:"alwaysRunning"` + // Configuration block to configure pause status. See continuous Configuration Block. + Continuous JobContinuousPtrOutput `pulumi:"continuous"` // (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the `pauseStatus` by stopping the current active run. This flag cannot be set for non-continuous jobs. // // When migrating from `alwaysRunning` to `controlRunState`, set `continuous` as follows: @@ -45,11 +46,11 @@ type Job struct { Format pulumi.StringOutput `pulumi:"format"` // Specifices the a Git repository for task source code. See gitSource Configuration Block below. GitSource JobGitSourcePtrOutput `pulumi:"gitSource"` - // An optional block that specifies the health conditions for the job (described below). + // An optional block that specifies the health conditions for the job documented below. Health JobHealthPtrOutput `pulumi:"health"` // A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* JobClusters JobJobClusterArrayOutput `pulumi:"jobClusters"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. Libraries JobLibraryArrayOutput `pulumi:"libraries"` // (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. MaxConcurrentRuns pulumi.IntPtrOutput `pulumi:"maxConcurrentRuns"` @@ -66,12 +67,14 @@ type Job struct { NotebookTask JobNotebookTaskPtrOutput `pulumi:"notebookTask"` // An optional block controlling the notification settings on the job level documented below. NotificationSettings JobNotificationSettingsPtrOutput `pulumi:"notificationSettings"` - Parameters JobParameterArrayOutput `pulumi:"parameters"` + // Specifices job parameter for the job. See parameter Configuration Block + Parameters JobParameterArrayOutput `pulumi:"parameters"` // Deprecated: should be used inside a task block and not inside a job block PipelineTask JobPipelineTaskPtrOutput `pulumi:"pipelineTask"` // Deprecated: should be used inside a task block and not inside a job block PythonWheelTask JobPythonWheelTaskPtrOutput `pulumi:"pythonWheelTask"` - Queue JobQueuePtrOutput `pulumi:"queue"` + // The queue status for the job. See queue Configuration Block below. + Queue JobQueuePtrOutput `pulumi:"queue"` // Deprecated: should be used inside a task block and not inside a job block RetryOnTimeout pulumi.BoolPtrOutput `pulumi:"retryOnTimeout"` // The user or the service prinicipal the job runs as. See runAs Configuration Block below. @@ -133,8 +136,9 @@ type jobState struct { // (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with `parameters` specified in `sparkJarTask` or `sparkSubmitTask` or `sparkPythonTask` or `notebookTask` blocks. // // Deprecated: always_running will be replaced by controlRunState in the next major release. - AlwaysRunning *bool `pulumi:"alwaysRunning"` - Continuous *JobContinuous `pulumi:"continuous"` + AlwaysRunning *bool `pulumi:"alwaysRunning"` + // Configuration block to configure pause status. See continuous Configuration Block. + Continuous *JobContinuous `pulumi:"continuous"` // (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the `pauseStatus` by stopping the current active run. This flag cannot be set for non-continuous jobs. // // When migrating from `alwaysRunning` to `controlRunState`, set `continuous` as follows: @@ -152,11 +156,11 @@ type jobState struct { Format *string `pulumi:"format"` // Specifices the a Git repository for task source code. See gitSource Configuration Block below. GitSource *JobGitSource `pulumi:"gitSource"` - // An optional block that specifies the health conditions for the job (described below). + // An optional block that specifies the health conditions for the job documented below. Health *JobHealth `pulumi:"health"` // A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* JobClusters []JobJobCluster `pulumi:"jobClusters"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. Libraries []JobLibrary `pulumi:"libraries"` // (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. MaxConcurrentRuns *int `pulumi:"maxConcurrentRuns"` @@ -173,12 +177,14 @@ type jobState struct { NotebookTask *JobNotebookTask `pulumi:"notebookTask"` // An optional block controlling the notification settings on the job level documented below. NotificationSettings *JobNotificationSettings `pulumi:"notificationSettings"` - Parameters []JobParameter `pulumi:"parameters"` + // Specifices job parameter for the job. See parameter Configuration Block + Parameters []JobParameter `pulumi:"parameters"` // Deprecated: should be used inside a task block and not inside a job block PipelineTask *JobPipelineTask `pulumi:"pipelineTask"` // Deprecated: should be used inside a task block and not inside a job block PythonWheelTask *JobPythonWheelTask `pulumi:"pythonWheelTask"` - Queue *JobQueue `pulumi:"queue"` + // The queue status for the job. See queue Configuration Block below. + Queue *JobQueue `pulumi:"queue"` // Deprecated: should be used inside a task block and not inside a job block RetryOnTimeout *bool `pulumi:"retryOnTimeout"` // The user or the service prinicipal the job runs as. See runAs Configuration Block below. @@ -212,7 +218,8 @@ type JobState struct { // // Deprecated: always_running will be replaced by controlRunState in the next major release. AlwaysRunning pulumi.BoolPtrInput - Continuous JobContinuousPtrInput + // Configuration block to configure pause status. See continuous Configuration Block. + Continuous JobContinuousPtrInput // (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the `pauseStatus` by stopping the current active run. This flag cannot be set for non-continuous jobs. // // When migrating from `alwaysRunning` to `controlRunState`, set `continuous` as follows: @@ -230,11 +237,11 @@ type JobState struct { Format pulumi.StringPtrInput // Specifices the a Git repository for task source code. See gitSource Configuration Block below. GitSource JobGitSourcePtrInput - // An optional block that specifies the health conditions for the job (described below). + // An optional block that specifies the health conditions for the job documented below. Health JobHealthPtrInput // A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* JobClusters JobJobClusterArrayInput - // (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. Libraries JobLibraryArrayInput // (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. MaxConcurrentRuns pulumi.IntPtrInput @@ -251,12 +258,14 @@ type JobState struct { NotebookTask JobNotebookTaskPtrInput // An optional block controlling the notification settings on the job level documented below. NotificationSettings JobNotificationSettingsPtrInput - Parameters JobParameterArrayInput + // Specifices job parameter for the job. See parameter Configuration Block + Parameters JobParameterArrayInput // Deprecated: should be used inside a task block and not inside a job block PipelineTask JobPipelineTaskPtrInput // Deprecated: should be used inside a task block and not inside a job block PythonWheelTask JobPythonWheelTaskPtrInput - Queue JobQueuePtrInput + // The queue status for the job. See queue Configuration Block below. + Queue JobQueuePtrInput // Deprecated: should be used inside a task block and not inside a job block RetryOnTimeout pulumi.BoolPtrInput // The user or the service prinicipal the job runs as. See runAs Configuration Block below. @@ -293,8 +302,9 @@ type jobArgs struct { // (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with `parameters` specified in `sparkJarTask` or `sparkSubmitTask` or `sparkPythonTask` or `notebookTask` blocks. // // Deprecated: always_running will be replaced by controlRunState in the next major release. - AlwaysRunning *bool `pulumi:"alwaysRunning"` - Continuous *JobContinuous `pulumi:"continuous"` + AlwaysRunning *bool `pulumi:"alwaysRunning"` + // Configuration block to configure pause status. See continuous Configuration Block. + Continuous *JobContinuous `pulumi:"continuous"` // (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the `pauseStatus` by stopping the current active run. This flag cannot be set for non-continuous jobs. // // When migrating from `alwaysRunning` to `controlRunState`, set `continuous` as follows: @@ -312,11 +322,11 @@ type jobArgs struct { Format *string `pulumi:"format"` // Specifices the a Git repository for task source code. See gitSource Configuration Block below. GitSource *JobGitSource `pulumi:"gitSource"` - // An optional block that specifies the health conditions for the job (described below). + // An optional block that specifies the health conditions for the job documented below. Health *JobHealth `pulumi:"health"` // A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* JobClusters []JobJobCluster `pulumi:"jobClusters"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. Libraries []JobLibrary `pulumi:"libraries"` // (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. MaxConcurrentRuns *int `pulumi:"maxConcurrentRuns"` @@ -333,12 +343,14 @@ type jobArgs struct { NotebookTask *JobNotebookTask `pulumi:"notebookTask"` // An optional block controlling the notification settings on the job level documented below. NotificationSettings *JobNotificationSettings `pulumi:"notificationSettings"` - Parameters []JobParameter `pulumi:"parameters"` + // Specifices job parameter for the job. See parameter Configuration Block + Parameters []JobParameter `pulumi:"parameters"` // Deprecated: should be used inside a task block and not inside a job block PipelineTask *JobPipelineTask `pulumi:"pipelineTask"` // Deprecated: should be used inside a task block and not inside a job block PythonWheelTask *JobPythonWheelTask `pulumi:"pythonWheelTask"` - Queue *JobQueue `pulumi:"queue"` + // The queue status for the job. See queue Configuration Block below. + Queue *JobQueue `pulumi:"queue"` // Deprecated: should be used inside a task block and not inside a job block RetryOnTimeout *bool `pulumi:"retryOnTimeout"` // The user or the service prinicipal the job runs as. See runAs Configuration Block below. @@ -371,7 +383,8 @@ type JobArgs struct { // // Deprecated: always_running will be replaced by controlRunState in the next major release. AlwaysRunning pulumi.BoolPtrInput - Continuous JobContinuousPtrInput + // Configuration block to configure pause status. See continuous Configuration Block. + Continuous JobContinuousPtrInput // (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the `pauseStatus` by stopping the current active run. This flag cannot be set for non-continuous jobs. // // When migrating from `alwaysRunning` to `controlRunState`, set `continuous` as follows: @@ -389,11 +402,11 @@ type JobArgs struct { Format pulumi.StringPtrInput // Specifices the a Git repository for task source code. See gitSource Configuration Block below. GitSource JobGitSourcePtrInput - // An optional block that specifies the health conditions for the job (described below). + // An optional block that specifies the health conditions for the job documented below. Health JobHealthPtrInput // A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* JobClusters JobJobClusterArrayInput - // (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. Libraries JobLibraryArrayInput // (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. MaxConcurrentRuns pulumi.IntPtrInput @@ -410,12 +423,14 @@ type JobArgs struct { NotebookTask JobNotebookTaskPtrInput // An optional block controlling the notification settings on the job level documented below. NotificationSettings JobNotificationSettingsPtrInput - Parameters JobParameterArrayInput + // Specifices job parameter for the job. See parameter Configuration Block + Parameters JobParameterArrayInput // Deprecated: should be used inside a task block and not inside a job block PipelineTask JobPipelineTaskPtrInput // Deprecated: should be used inside a task block and not inside a job block PythonWheelTask JobPythonWheelTaskPtrInput - Queue JobQueuePtrInput + // The queue status for the job. See queue Configuration Block below. + Queue JobQueuePtrInput // Deprecated: should be used inside a task block and not inside a job block RetryOnTimeout pulumi.BoolPtrInput // The user or the service prinicipal the job runs as. See runAs Configuration Block below. @@ -536,6 +551,7 @@ func (o JobOutput) AlwaysRunning() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Job) pulumi.BoolPtrOutput { return v.AlwaysRunning }).(pulumi.BoolPtrOutput) } +// Configuration block to configure pause status. See continuous Configuration Block. func (o JobOutput) Continuous() JobContinuousPtrOutput { return o.ApplyT(func(v *Job) JobContinuousPtrOutput { return v.Continuous }).(JobContinuousPtrOutput) } @@ -587,7 +603,7 @@ func (o JobOutput) GitSource() JobGitSourcePtrOutput { return o.ApplyT(func(v *Job) JobGitSourcePtrOutput { return v.GitSource }).(JobGitSourcePtrOutput) } -// An optional block that specifies the health conditions for the job (described below). +// An optional block that specifies the health conditions for the job documented below. func (o JobOutput) Health() JobHealthPtrOutput { return o.ApplyT(func(v *Job) JobHealthPtrOutput { return v.Health }).(JobHealthPtrOutput) } @@ -597,7 +613,7 @@ func (o JobOutput) JobClusters() JobJobClusterArrayOutput { return o.ApplyT(func(v *Job) JobJobClusterArrayOutput { return v.JobClusters }).(JobJobClusterArrayOutput) } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. func (o JobOutput) Libraries() JobLibraryArrayOutput { return o.ApplyT(func(v *Job) JobLibraryArrayOutput { return v.Libraries }).(JobLibraryArrayOutput) } @@ -638,6 +654,7 @@ func (o JobOutput) NotificationSettings() JobNotificationSettingsPtrOutput { return o.ApplyT(func(v *Job) JobNotificationSettingsPtrOutput { return v.NotificationSettings }).(JobNotificationSettingsPtrOutput) } +// Specifices job parameter for the job. See parameter Configuration Block func (o JobOutput) Parameters() JobParameterArrayOutput { return o.ApplyT(func(v *Job) JobParameterArrayOutput { return v.Parameters }).(JobParameterArrayOutput) } @@ -652,6 +669,7 @@ func (o JobOutput) PythonWheelTask() JobPythonWheelTaskPtrOutput { return o.ApplyT(func(v *Job) JobPythonWheelTaskPtrOutput { return v.PythonWheelTask }).(JobPythonWheelTaskPtrOutput) } +// The queue status for the job. See queue Configuration Block below. func (o JobOutput) Queue() JobQueuePtrOutput { return o.ApplyT(func(v *Job) JobQueuePtrOutput { return v.Queue }).(JobQueuePtrOutput) } diff --git a/sdk/go/databricks/pulumiTypes.go b/sdk/go/databricks/pulumiTypes.go index 01072c21..aca4a301 100644 --- a/sdk/go/databricks/pulumiTypes.go +++ b/sdk/go/databricks/pulumiTypes.go @@ -9863,7 +9863,7 @@ type JobJobClusterNewCluster struct { IdempotencyToken *string `pulumi:"idempotencyToken"` InitScripts []JobJobClusterNewClusterInitScript `pulumi:"initScripts"` InstancePoolId *string `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. Libraries []JobJobClusterNewClusterLibrary `pulumi:"libraries"` NodeTypeId *string `pulumi:"nodeTypeId"` NumWorkers *int `pulumi:"numWorkers"` @@ -9910,7 +9910,7 @@ type JobJobClusterNewClusterArgs struct { IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` InitScripts JobJobClusterNewClusterInitScriptArrayInput `pulumi:"initScripts"` InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. Libraries JobJobClusterNewClusterLibraryArrayInput `pulumi:"libraries"` NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` @@ -10085,7 +10085,7 @@ func (o JobJobClusterNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. func (o JobJobClusterNewClusterOutput) Libraries() JobJobClusterNewClusterLibraryArrayOutput { return o.ApplyT(func(v JobJobClusterNewCluster) []JobJobClusterNewClusterLibrary { return v.Libraries }).(JobJobClusterNewClusterLibraryArrayOutput) } @@ -10343,7 +10343,7 @@ func (o JobJobClusterNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutpu }).(pulumi.StringPtrOutput) } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. func (o JobJobClusterNewClusterPtrOutput) Libraries() JobJobClusterNewClusterLibraryArrayOutput { return o.ApplyT(func(v *JobJobClusterNewCluster) []JobJobClusterNewClusterLibrary { if v == nil { @@ -15142,7 +15142,7 @@ type JobNewCluster struct { IdempotencyToken *string `pulumi:"idempotencyToken"` InitScripts []JobNewClusterInitScript `pulumi:"initScripts"` InstancePoolId *string `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. Libraries []JobNewClusterLibrary `pulumi:"libraries"` NodeTypeId *string `pulumi:"nodeTypeId"` NumWorkers *int `pulumi:"numWorkers"` @@ -15189,7 +15189,7 @@ type JobNewClusterArgs struct { IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` InitScripts JobNewClusterInitScriptArrayInput `pulumi:"initScripts"` InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. Libraries JobNewClusterLibraryArrayInput `pulumi:"libraries"` NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` @@ -15364,7 +15364,7 @@ func (o JobNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { return o.ApplyT(func(v JobNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. func (o JobNewClusterOutput) Libraries() JobNewClusterLibraryArrayOutput { return o.ApplyT(func(v JobNewCluster) []JobNewClusterLibrary { return v.Libraries }).(JobNewClusterLibraryArrayOutput) } @@ -15622,7 +15622,7 @@ func (o JobNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. func (o JobNewClusterPtrOutput) Libraries() JobNewClusterLibraryArrayOutput { return o.ApplyT(func(v *JobNewCluster) []JobNewClusterLibrary { if v == nil { @@ -25364,7 +25364,7 @@ type JobTaskForEachTaskTaskNewCluster struct { IdempotencyToken *string `pulumi:"idempotencyToken"` InitScripts []JobTaskForEachTaskTaskNewClusterInitScript `pulumi:"initScripts"` InstancePoolId *string `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. Libraries []JobTaskForEachTaskTaskNewClusterLibrary `pulumi:"libraries"` NodeTypeId *string `pulumi:"nodeTypeId"` NumWorkers *int `pulumi:"numWorkers"` @@ -25411,7 +25411,7 @@ type JobTaskForEachTaskTaskNewClusterArgs struct { IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` InitScripts JobTaskForEachTaskTaskNewClusterInitScriptArrayInput `pulumi:"initScripts"` InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. Libraries JobTaskForEachTaskTaskNewClusterLibraryArrayInput `pulumi:"libraries"` NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` @@ -25604,7 +25604,7 @@ func (o JobTaskForEachTaskTaskNewClusterOutput) InstancePoolId() pulumi.StringPt return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. func (o JobTaskForEachTaskTaskNewClusterOutput) Libraries() JobTaskForEachTaskTaskNewClusterLibraryArrayOutput { return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) []JobTaskForEachTaskTaskNewClusterLibrary { return v.Libraries }).(JobTaskForEachTaskTaskNewClusterLibraryArrayOutput) } @@ -25864,7 +25864,7 @@ func (o JobTaskForEachTaskTaskNewClusterPtrOutput) InstancePoolId() pulumi.Strin }).(pulumi.StringPtrOutput) } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. func (o JobTaskForEachTaskTaskNewClusterPtrOutput) Libraries() JobTaskForEachTaskTaskNewClusterLibraryArrayOutput { return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) []JobTaskForEachTaskTaskNewClusterLibrary { if v == nil { @@ -34524,7 +34524,7 @@ type JobTaskNewCluster struct { IdempotencyToken *string `pulumi:"idempotencyToken"` InitScripts []JobTaskNewClusterInitScript `pulumi:"initScripts"` InstancePoolId *string `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. Libraries []JobTaskNewClusterLibrary `pulumi:"libraries"` NodeTypeId *string `pulumi:"nodeTypeId"` NumWorkers *int `pulumi:"numWorkers"` @@ -34571,7 +34571,7 @@ type JobTaskNewClusterArgs struct { IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` InitScripts JobTaskNewClusterInitScriptArrayInput `pulumi:"initScripts"` InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. Libraries JobTaskNewClusterLibraryArrayInput `pulumi:"libraries"` NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` @@ -34746,7 +34746,7 @@ func (o JobTaskNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { return o.ApplyT(func(v JobTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. func (o JobTaskNewClusterOutput) Libraries() JobTaskNewClusterLibraryArrayOutput { return o.ApplyT(func(v JobTaskNewCluster) []JobTaskNewClusterLibrary { return v.Libraries }).(JobTaskNewClusterLibraryArrayOutput) } @@ -35004,7 +35004,7 @@ func (o JobTaskNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. func (o JobTaskNewClusterPtrOutput) Libraries() JobTaskNewClusterLibraryArrayOutput { return o.ApplyT(func(v *JobTaskNewCluster) []JobTaskNewClusterLibrary { if v == nil { @@ -67165,6 +67165,870 @@ func (o VectorSearchIndexStatusArrayOutput) Index(i pulumi.IntInput) VectorSearc }).(VectorSearchIndexStatusOutput) } +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 { + if v == nil { + return nil + } + return v.StorageRoot + }).(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 { + if v == nil { + return nil + } + return v.UpdatedBy + }).(pulumi.StringPtrOutput) +} + +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag struct { + InheritedFromName *string `pulumi:"inheritedFromName"` + InheritedFromType *string `pulumi:"inheritedFromType"` + Value string `pulumi:"value"` +} + +// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput is an input type that accepts GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs and GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput` via: +// +// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{...} +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput interface { + pulumi.Input + + ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput + ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput +} + +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs struct { + InheritedFromName pulumi.StringPtrInput `pulumi:"inheritedFromName"` + InheritedFromType pulumi.StringPtrInput `pulumi:"inheritedFromType"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() +} + +func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { + return i.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Background()) +} + +func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) +} + +func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return i.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) +} + +func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput).ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx) +} + +// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput is an input type that accepts GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs, GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtr and GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput` via: +// +// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{...} +// +// or: +// +// nil +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput interface { + pulumi.Input + + ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput + ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput +} + +type getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs + +func GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtr(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput { + return (*getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType)(v) +} + +func (*getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() +} + +func (i *getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return i.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) +} + +func (i *getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) +} + +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput struct{ *pulumi.OutputState } + +func (GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() +} + +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { + return o +} + +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { + return o +} + +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) +} + +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { + return &v + }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) +} + +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromName }).(pulumi.StringPtrOutput) +} + +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromType }).(pulumi.StringPtrOutput) +} + +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) string { return v.Value }).(pulumi.StringOutput) +} + +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput struct{ *pulumi.OutputState } + +func (GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() +} + +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o +} + +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o +} + +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) Elem() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { + if v != nil { + return *v + } + var ret GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag + return ret + }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) +} + +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { + if v == nil { + return nil + } + return v.InheritedFromName + }).(pulumi.StringPtrOutput) +} + +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { + if v == nil { + return nil + } + return v.InheritedFromType + }).(pulumi.StringPtrOutput) +} + +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type GetCatalogCatalogInfoProvisioningInfo struct { + State *string `pulumi:"state"` +} + +// GetCatalogCatalogInfoProvisioningInfoInput is an input type that accepts GetCatalogCatalogInfoProvisioningInfoArgs and GetCatalogCatalogInfoProvisioningInfoOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoProvisioningInfoInput` via: +// +// GetCatalogCatalogInfoProvisioningInfoArgs{...} +type GetCatalogCatalogInfoProvisioningInfoInput 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() +} + +func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoOutput() GetCatalogCatalogInfoProvisioningInfoOutput { + return i.ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(context.Background()) +} + +func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoProvisioningInfoOutput) +} + +func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return i.ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Background()) +} + +func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoProvisioningInfoOutput).ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx) +} + +// GetCatalogCatalogInfoProvisioningInfoPtrInput is an input type that accepts GetCatalogCatalogInfoProvisioningInfoArgs, GetCatalogCatalogInfoProvisioningInfoPtr and GetCatalogCatalogInfoProvisioningInfoPtrOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoProvisioningInfoPtrInput` via: +// +// GetCatalogCatalogInfoProvisioningInfoArgs{...} +// +// or: +// +// nil +type GetCatalogCatalogInfoProvisioningInfoPtrInput interface { + pulumi.Input + + ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput + ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput +} + +type getCatalogCatalogInfoProvisioningInfoPtrType GetCatalogCatalogInfoProvisioningInfoArgs + +func GetCatalogCatalogInfoProvisioningInfoPtr(v *GetCatalogCatalogInfoProvisioningInfoArgs) GetCatalogCatalogInfoProvisioningInfoPtrInput { + return (*getCatalogCatalogInfoProvisioningInfoPtrType)(v) +} + +func (*getCatalogCatalogInfoProvisioningInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() +} + +func (i *getCatalogCatalogInfoProvisioningInfoPtrType) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return i.ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Background()) +} + +func (i *getCatalogCatalogInfoProvisioningInfoPtrType) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) +} + +type GetCatalogCatalogInfoProvisioningInfoOutput struct{ *pulumi.OutputState } + +func (GetCatalogCatalogInfoProvisioningInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() +} + +func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoOutput() GetCatalogCatalogInfoProvisioningInfoOutput { + return o +} + +func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoOutput { + return o +} + +func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return o.ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Background()) +} + +func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCatalogCatalogInfoProvisioningInfo) *GetCatalogCatalogInfoProvisioningInfo { + return &v + }).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) +} + +func (o GetCatalogCatalogInfoProvisioningInfoOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfoProvisioningInfo) *string { return v.State }).(pulumi.StringPtrOutput) +} + +type GetCatalogCatalogInfoProvisioningInfoPtrOutput struct{ *pulumi.OutputState } + +func (GetCatalogCatalogInfoProvisioningInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() +} + +func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return o +} + +func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return o +} + +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 GetCatalogCatalogInfoProvisioningInfoPtrOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoProvisioningInfo) *string { + if v == nil { + return nil + } + return v.State + }).(pulumi.StringPtrOutput) +} + type GetClusterClusterInfo struct { Autoscale *GetClusterClusterInfoAutoscale `pulumi:"autoscale"` // Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. @@ -83290,470 +84154,6 @@ func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) S3() GetJobJ }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` -} - -// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput` via: -// -// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{...} -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput - ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput -} - -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) -} - -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) -} - -// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput - ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput -} - -type getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs - -func GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput { - return (*getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType)(v) -} - -func (*getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() -} - -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) -} - -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) -} - -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { - return o -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { - return o -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { - return &v - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) -} - -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs - return ret - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` -} - -// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input` via: -// -// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{...} -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output - ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output -} - -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` -} - -func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) -} - -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx) -} - -// GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput - ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput -} - -type getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args - -func GetJobJobSettingsSettingsNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput { - return (*getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType)(v) -} - -func (*getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() -} - -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) -} - -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) -} - -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { - return o -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { - return o -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { - return &v - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return o -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return o -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsNewClusterClusterLogConfS3 - return ret - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.KmsKey - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsNewClusterClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` -} - -// GetJobJobSettingsSettingsNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterMountInfoInput` via: -// -// GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs{...} -type GetJobJobSettingsSettingsNewClusterClusterMountInfoInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput -} - -type GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs struct { - LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` -} - -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) -} - -// GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput` via: -// -// GetJobJobSettingsSettingsNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs{...} } -type GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput -} - -type GetJobJobSettingsSettingsNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsNewClusterClusterMountInfoInput - -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) -} - -type GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { - return o -} - -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { - return o -} - -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return o -} - -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return o -} - -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsNewClusterClusterMountInfo { - return vs[0].([]GetJobJobSettingsSettingsNewClusterClusterMountInfo)[vs[1].(int)] - }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) -} - func init() { pulumi.RegisterInputType(reflect.TypeOf((*AccessControlRuleSetGrantRuleInput)(nil)).Elem(), AccessControlRuleSetGrantRuleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AccessControlRuleSetGrantRuleArrayInput)(nil)).Elem(), AccessControlRuleSetGrantRuleArray{}) @@ -84570,6 +84970,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput)(nil)).Elem(), VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray{}) pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexStatusInput)(nil)).Elem(), VectorSearchIndexStatusArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexStatusArrayInput)(nil)).Elem(), VectorSearchIndexStatusArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoInput)(nil)).Elem(), GetCatalogCatalogInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoPtrInput)(nil)).Elem(), GetCatalogCatalogInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput)(nil)).Elem(), GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput)(nil)).Elem(), GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoProvisioningInfoInput)(nil)).Elem(), GetCatalogCatalogInfoProvisioningInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoProvisioningInfoPtrInput)(nil)).Elem(), GetCatalogCatalogInfoProvisioningInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoInput)(nil)).Elem(), GetClusterClusterInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoPtrInput)(nil)).Elem(), GetClusterClusterInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAutoscaleInput)(nil)).Elem(), GetClusterClusterInfoAutoscaleArgs{}) @@ -84743,12 +85149,6 @@ func init() { 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{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterMountInfoArray{}) pulumi.RegisterOutputType(AccessControlRuleSetGrantRuleOutput{}) pulumi.RegisterOutputType(AccessControlRuleSetGrantRuleArrayOutput{}) pulumi.RegisterOutputType(ArtifactAllowlistArtifactMatcherOutput{}) @@ -85564,6 +85964,12 @@ func init() { pulumi.RegisterOutputType(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput{}) pulumi.RegisterOutputType(VectorSearchIndexStatusOutput{}) pulumi.RegisterOutputType(VectorSearchIndexStatusArrayOutput{}) + pulumi.RegisterOutputType(GetCatalogCatalogInfoOutput{}) + pulumi.RegisterOutputType(GetCatalogCatalogInfoPtrOutput{}) + pulumi.RegisterOutputType(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput{}) + pulumi.RegisterOutputType(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput{}) + pulumi.RegisterOutputType(GetCatalogCatalogInfoProvisioningInfoOutput{}) + pulumi.RegisterOutputType(GetCatalogCatalogInfoProvisioningInfoPtrOutput{}) pulumi.RegisterOutputType(GetClusterClusterInfoOutput{}) pulumi.RegisterOutputType(GetClusterClusterInfoPtrOutput{}) pulumi.RegisterOutputType(GetClusterClusterInfoAutoscaleOutput{}) @@ -85737,10 +86143,4 @@ func init() { pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput{}) } diff --git a/sdk/go/databricks/pulumiTypes1.go b/sdk/go/databricks/pulumiTypes1.go index 407c35ab..851bad86 100644 --- a/sdk/go/databricks/pulumiTypes1.go +++ b/sdk/go/databricks/pulumiTypes1.go @@ -13,1240 +13,1305 @@ import ( var _ = internal.GetEnvOrDefault -type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo struct { - MountOptions *string `pulumi:"mountOptions"` - ServerAddress string `pulumi:"serverAddress"` -} - -// GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: -// -// GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} -type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput -} - -type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` -} - -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) -} - -type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o -} - -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o -} - -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo) *string { - return v.MountOptions - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo) string { - return v.ServerAddress - }).(pulumi.StringOutput) -} - -type GetJobJobSettingsSettingsNewClusterDockerImage struct { - BasicAuth *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageArgs and GetJobJobSettingsSettingsNewClusterDockerImageOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageInput` via: +// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput` via: // -// GetJobJobSettingsSettingsNewClusterDockerImageArgs{...} -type GetJobJobSettingsSettingsNewClusterDockerImageInput interface { +// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{...} +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput - ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput } -type GetJobJobSettingsSettingsNewClusterDockerImageArgs struct { - BasicAuth GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsNewClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageArgs, GetJobJobSettingsSettingsNewClusterDockerImagePtr and GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImagePtrInput` via: +// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterDockerImageArgs{...} +// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterDockerImagePtrInput interface { +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput - ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput } -type getJobJobSettingsSettingsNewClusterDockerImagePtrType GetJobJobSettingsSettingsNewClusterDockerImageArgs +type getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs -func GetJobJobSettingsSettingsNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsNewClusterDockerImageArgs) GetJobJobSettingsSettingsNewClusterDockerImagePtrInput { - return (*getJobJobSettingsSettingsNewClusterDockerImagePtrType)(v) +func GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput { + return (*getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImageOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImage { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { return &v - }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { - return v.BasicAuth - }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterDockerImageOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) GetJobJobSettingsSettingsNewClusterDockerImage { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterDockerImage + var ret GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs return ret - }).(GetJobJobSettingsSettingsNewClusterDockerImageOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { - if v == nil { - return nil - } - return v.BasicAuth - }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) *string { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) *string { if v == nil { return nil } - return &v.Url + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput` via: +// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input` via: // -// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs{...} -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput interface { +// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{...} +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput - ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output } -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput` via: +// GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput` via: // -// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs{...} +// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput interface { +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput - ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput } -type getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs +type getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args -func GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput { - return (*getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType)(v) +func GetJobJobSettingsSettingsNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput { + return (*getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { return &v - }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +} -func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth + var ret GetJobJobSettingsSettingsNewClusterClusterLogConfS3 return ret - }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *string { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return &v.Password + return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *string { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return &v.Username + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterGcpAttributes struct { - Availability *string `pulumi:"availability"` - BootDiskSize *int `pulumi:"bootDiskSize"` - GoogleServiceAccount *string `pulumi:"googleServiceAccount"` - LocalSsdCount *int `pulumi:"localSsdCount"` - UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` - ZoneId *string `pulumi:"zoneId"` +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -// GetJobJobSettingsSettingsNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsNewClusterGcpAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterGcpAttributesInput` via: -// -// GetJobJobSettingsSettingsNewClusterGcpAttributesArgs{...} -type GetJobJobSettingsSettingsNewClusterGcpAttributesInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput - ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterGcpAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` -} - -func (GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { - return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx) +type GetJobJobSettingsSettingsNewClusterClusterMountInfo struct { + LocalMountDirPath string `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` } -// GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterGcpAttributesArgs{...} +// GetJobJobSettingsSettingsNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterMountInfoInput` via: // -// or: -// -// nil -type GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput interface { +// GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs{...} +type GetJobJobSettingsSettingsNewClusterClusterMountInfoInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput - ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput } -type getJobJobSettingsSettingsNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsNewClusterGcpAttributesArgs - -func GetJobJobSettingsSettingsNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput { - return (*getJobJobSettingsSettingsNewClusterGcpAttributesPtrType)(v) +type GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` } -func (*getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) } -type GetJobJobSettingsSettingsNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } +// GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput` via: +// +// GetJobJobSettingsSettingsNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs{...} } +type GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { - return o -} +type GetJobJobSettingsSettingsNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsNewClusterClusterMountInfoInput -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { - return o +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterGcpAttributes) *GetJobJobSettingsSettingsNewClusterGcpAttributes { - return &v - }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) GetJobJobSettingsSettingsNewClusterGcpAttributes { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsNewClusterGcpAttributes - return ret - }).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsNewClusterClusterMountInfo { + return vs[0].([]GetJobJobSettingsSettingsNewClusterClusterMountInfo)[vs[1].(int)] + }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo struct { + MountOptions *string `pulumi:"mountOptions"` + ServerAddress string `pulumi:"serverAddress"` } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.BootDiskSize - }).(pulumi.IntPtrOutput) -} +// GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: +// +// GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} +type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *bool { - if v == nil { - return nil - } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsNewClusterInitScript struct { - Abfss *GetJobJobSettingsSettingsNewClusterInitScriptAbfss `pulumi:"abfss"` - Dbfs *GetJobJobSettingsSettingsNewClusterInitScriptDbfs `pulumi:"dbfs"` - File *GetJobJobSettingsSettingsNewClusterInitScriptFile `pulumi:"file"` - Gcs *GetJobJobSettingsSettingsNewClusterInitScriptGcs `pulumi:"gcs"` - S3 *GetJobJobSettingsSettingsNewClusterInitScriptS3 `pulumi:"s3"` - Volumes *GetJobJobSettingsSettingsNewClusterInitScriptVolumes `pulumi:"volumes"` - Workspace *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace `pulumi:"workspace"` +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -// GetJobJobSettingsSettingsNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptArgs and GetJobJobSettingsSettingsNewClusterInitScriptOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptInput` via: -// -// GetJobJobSettingsSettingsNewClusterInitScriptArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptInput interface { - pulumi.Input +type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } - ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -type GetJobJobSettingsSettingsNewClusterInitScriptArgs struct { - Abfss GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` - Dbfs GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` - File GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput `pulumi:"file"` - Gcs GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` - S3 GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput `pulumi:"s3"` - Volumes GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` - Workspace GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (GetJobJobSettingsSettingsNewClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (i GetJobJobSettingsSettingsNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo) *string { + return v.MountOptions + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo) string { + return v.ServerAddress + }).(pulumi.StringOutput) } -// GetJobJobSettingsSettingsNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptArray and GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptArrayInput` via: +type GetJobJobSettingsSettingsNewClusterDockerImage struct { + BasicAuth *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` +} + +// GetJobJobSettingsSettingsNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageArgs and GetJobJobSettingsSettingsNewClusterDockerImageOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptArray{ GetJobJobSettingsSettingsNewClusterInitScriptArgs{...} } -type GetJobJobSettingsSettingsNewClusterInitScriptArrayInput interface { +// GetJobJobSettingsSettingsNewClusterDockerImageArgs{...} +type GetJobJobSettingsSettingsNewClusterDockerImageInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptArray []GetJobJobSettingsSettingsNewClusterInitScriptInput - -func (GetJobJobSettingsSettingsNewClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() +type GetJobJobSettingsSettingsNewClusterDockerImageArgs struct { + BasicAuth GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringInput `pulumi:"url"` } -func (i GetJobJobSettingsSettingsNewClusterInitScriptArray) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(context.Background()) +func (GetJobJobSettingsSettingsNewClusterDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptArray) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) +func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsNewClusterInitScriptOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() +func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput { - return o +func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput { - return o +func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptAbfss { - return v.Abfss - }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) +// GetJobJobSettingsSettingsNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageArgs, GetJobJobSettingsSettingsNewClusterDockerImagePtr and GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImagePtrInput` via: +// +// GetJobJobSettingsSettingsNewClusterDockerImageArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterDockerImagePtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) +type getJobJobSettingsSettingsNewClusterDockerImagePtrType GetJobJobSettingsSettingsNewClusterDockerImageArgs + +func GetJobJobSettingsSettingsNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsNewClusterDockerImageArgs) GetJobJobSettingsSettingsNewClusterDockerImagePtrInput { + return (*getJobJobSettingsSettingsNewClusterDockerImagePtrType)(v) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptFile { - return v.File - }).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) +func (*getJobJobSettingsSettingsNewClusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptGcs { - return v.Gcs - }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptS3 { - return v.S3 - }).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) +func (i *getJobJobSettingsSettingsNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptVolumes { - return v.Volumes - }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) +type GetJobJobSettingsSettingsNewClusterDockerImageOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { - return v.Workspace - }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput { + return o } -type GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput { + return o +} -func (GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImage { + return &v + }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { + return v.BasicAuth + }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +} + +type GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsNewClusterInitScriptOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsNewClusterInitScript { - return vs[0].([]GetJobJobSettingsSettingsNewClusterInitScript)[vs[1].(int)] - }).(GetJobJobSettingsSettingsNewClusterInitScriptOutput) +func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterDockerImageOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) GetJobJobSettingsSettingsNewClusterDockerImage { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsNewClusterDockerImage + return ret + }).(GetJobJobSettingsSettingsNewClusterDockerImageOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptAbfss struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { + if v == nil { + return nil + } + return v.BasicAuth + }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) } -// GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput` via: +func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) *string { + if v == nil { + return nil + } + return &v.Url + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` +} + +// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput interface { +// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs{...} +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) +func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput` via: +// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs{...} +// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput interface { +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput } -type getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs +type getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs -func GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType)(v) +func GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput { + return (*getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfss) GetJobJobSettingsSettingsNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterInitScriptAbfss + var ret GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) + }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfss) *string { +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *string { if v == nil { return nil } - return &v.Destination + return &v.Password }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Username + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput` via: -// -// GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput interface { +type GetJobJobSettingsSettingsNewClusterGcpAttributes struct { + Availability *string `pulumi:"availability"` + BootDiskSize *int `pulumi:"bootDiskSize"` + GoogleServiceAccount *string `pulumi:"googleServiceAccount"` + LocalSsdCount *int `pulumi:"localSsdCount"` + UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` + ZoneId *string `pulumi:"zoneId"` +} + +// GetJobJobSettingsSettingsNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsNewClusterGcpAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterGcpAttributesInput` via: +// +// GetJobJobSettingsSettingsNewClusterGcpAttributesArgs{...} +type GetJobJobSettingsSettingsNewClusterGcpAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsNewClusterGcpAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { + return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) +func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput` via: +// GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs{...} +// GetJobJobSettingsSettingsNewClusterGcpAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput interface { +type GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput } -type getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs +type getJobJobSettingsSettingsNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsNewClusterGcpAttributesArgs -func GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType)(v) +func GetJobJobSettingsSettingsNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput { + return (*getJobJobSettingsSettingsNewClusterGcpAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterGcpAttributes) *GetJobJobSettingsSettingsNewClusterGcpAttributes { return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfs) GetJobJobSettingsSettingsNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) GetJobJobSettingsSettingsNewClusterGcpAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterInitScriptDbfs + var ret GetJobJobSettingsSettingsNewClusterGcpAttributes return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) + }).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfs) *string { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { if v == nil { return nil } - return &v.Destination + return v.Availability }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptFile struct { - Destination string `pulumi:"destination"` -} - -// GetJobJobSettingsSettingsNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsNewClusterInitScriptFileOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptFileInput` via: -// -// GetJobJobSettingsSettingsNewClusterInitScriptFileArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptFileInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput -} - -type GetJobJobSettingsSettingsNewClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.BootDiskSize + }).(pulumi.IntPtrOutput) } -func (GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx) +type GetJobJobSettingsSettingsNewClusterInitScript struct { + Abfss *GetJobJobSettingsSettingsNewClusterInitScriptAbfss `pulumi:"abfss"` + Dbfs *GetJobJobSettingsSettingsNewClusterInitScriptDbfs `pulumi:"dbfs"` + File *GetJobJobSettingsSettingsNewClusterInitScriptFile `pulumi:"file"` + Gcs *GetJobJobSettingsSettingsNewClusterInitScriptGcs `pulumi:"gcs"` + S3 *GetJobJobSettingsSettingsNewClusterInitScriptS3 `pulumi:"s3"` + Volumes *GetJobJobSettingsSettingsNewClusterInitScriptVolumes `pulumi:"volumes"` + Workspace *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace `pulumi:"workspace"` } -// GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterInitScriptFileArgs{...} -// -// or: +// GetJobJobSettingsSettingsNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptArgs and GetJobJobSettingsSettingsNewClusterInitScriptOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptInput` via: // -// nil -type GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput } -type getJobJobSettingsSettingsNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsNewClusterInitScriptFileArgs +type GetJobJobSettingsSettingsNewClusterInitScriptArgs struct { + Abfss GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` + Dbfs GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` + File GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput `pulumi:"file"` + Gcs GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` + S3 GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput `pulumi:"s3"` + Volumes GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` + Workspace GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` +} -func GetJobJobSettingsSettingsNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptFilePtrType)(v) +func (GetJobJobSettingsSettingsNewClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() } -func (*getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() +func (i GetJobJobSettingsSettingsNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptOutput) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) +// GetJobJobSettingsSettingsNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptArray and GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptArrayInput` via: +// +// GetJobJobSettingsSettingsNewClusterInitScriptArray{ GetJobJobSettingsSettingsNewClusterInitScriptArgs{...} } +type GetJobJobSettingsSettingsNewClusterInitScriptArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptArray []GetJobJobSettingsSettingsNewClusterInitScriptInput -func (GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { +func (i GetJobJobSettingsSettingsNewClusterInitScriptArray) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsNewClusterInitScriptArray) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) +} + +type GetJobJobSettingsSettingsNewClusterInitScriptOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptAbfss { + return v.Abfss + }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptFile) *GetJobJobSettingsSettingsNewClusterInitScriptFile { - return &v +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptFile { + return v.File }).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptGcs { + return v.Gcs + }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptS3 { + return v.S3 + }).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) +} -func (GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptVolumes { + return v.Volumes + }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { + return v.Workspace + }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { +type GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptFile) GetJobJobSettingsSettingsNewClusterInitScriptFile { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsNewClusterInitScriptFile - return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptFile) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsNewClusterInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsNewClusterInitScript { + return vs[0].([]GetJobJobSettingsSettingsNewClusterInitScript)[vs[1].(int)] + }).(GetJobJobSettingsSettingsNewClusterInitScriptOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptGcs struct { +type GetJobJobSettingsSettingsNewClusterInitScriptAbfss struct { Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptGcsInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptGcsInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs struct { +type GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs struct { Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs{...} +// GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput } -type getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs +type getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs -func GetJobJobSettingsSettingsNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptGcs) *GetJobJobSettingsSettingsNewClusterInitScriptGcs { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsNewClusterInitScriptAbfss { return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptGcs) GetJobJobSettingsSettingsNewClusterInitScriptGcs { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfss) GetJobJobSettingsSettingsNewClusterInitScriptAbfss { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterInitScriptGcs + var ret GetJobJobSettingsSettingsNewClusterInitScriptAbfss return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptGcs) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfss) *string { if v == nil { return nil } @@ -1254,177 +1319,132 @@ func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) Destination() }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type GetJobJobSettingsSettingsNewClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptS3Args and GetJobJobSettingsSettingsNewClusterInitScriptS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptS3Input` via: +// GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptS3Args{...} -type GetJobJobSettingsSettingsNewClusterInitScriptS3Input interface { +// GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output - ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(context.Background()) -} +func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(context.Background()) +} -func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output) +func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptS3Args, GetJobJobSettingsSettingsNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptS3Args{...} +// GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput } -type getJobJobSettingsSettingsNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsNewClusterInitScriptS3Args +type getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs -func GetJobJobSettingsSettingsNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsNewClusterInitScriptS3Args) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptS3PtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptS3Output struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output { +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptS3) *GetJobJobSettingsSettingsNewClusterInitScriptS3 { +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsNewClusterInitScriptDbfs { return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) GetJobJobSettingsSettingsNewClusterInitScriptS3 { +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfs) GetJobJobSettingsSettingsNewClusterInitScriptDbfs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterInitScriptS3 + var ret GetJobJobSettingsSettingsNewClusterInitScriptDbfs return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfs) *string { if v == nil { return nil } @@ -1432,177 +1452,132 @@ func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Destination() }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.KmsKey - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsNewClusterInitScriptVolumes struct { +type GetJobJobSettingsSettingsNewClusterInitScriptFile struct { Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsNewClusterInitScriptFileOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptFileInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptFileArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptFileInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs struct { +type GetJobJobSettingsSettingsNewClusterInitScriptFileArgs struct { Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs{...} +// GetJobJobSettingsSettingsNewClusterInitScriptFileArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput } -type getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs +type getJobJobSettingsSettingsNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsNewClusterInitScriptFileArgs -func GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptFilePtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsNewClusterInitScriptVolumes { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptFile) *GetJobJobSettingsSettingsNewClusterInitScriptFile { return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumes) GetJobJobSettingsSettingsNewClusterInitScriptVolumes { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptFile) GetJobJobSettingsSettingsNewClusterInitScriptFile { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterInitScriptVolumes + var ret GetJobJobSettingsSettingsNewClusterInitScriptFile return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumes) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptFile) *string { if v == nil { return nil } @@ -1610,132 +1585,132 @@ func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) Destinati }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspace struct { +type GetJobJobSettingsSettingsNewClusterInitScriptGcs struct { Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptGcsInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptGcsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs struct { +type GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs struct { Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs{...} +// GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput } -type getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs +type getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs -func GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptGcs) *GetJobJobSettingsSettingsNewClusterInitScriptGcs { return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptGcs) GetJobJobSettingsSettingsNewClusterInitScriptGcs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterInitScriptWorkspace + var ret GetJobJobSettingsSettingsNewClusterInitScriptGcs return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptGcs) *string { if v == nil { return nil } @@ -1743,24040 +1718,27408 @@ func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) Destina }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadType struct { - Clients GetJobJobSettingsSettingsNewClusterWorkloadTypeClients `pulumi:"clients"` +type GetJobJobSettingsSettingsNewClusterInitScriptS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// GetJobJobSettingsSettingsNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptS3Args and GetJobJobSettingsSettingsNewClusterInitScriptS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptS3Input` via: // -// GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs{...} -type GetJobJobSettingsSettingsNewClusterWorkloadTypeInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptS3Args{...} +type GetJobJobSettingsSettingsNewClusterInitScriptS3Input interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs struct { - Clients GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +type GetJobJobSettingsSettingsNewClusterInitScriptS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptS3Args, GetJobJobSettingsSettingsNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput` via: // -// GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs{...} +// GetJobJobSettingsSettingsNewClusterInitScriptS3Args{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput - ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput } -type getJobJobSettingsSettingsNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs +type getJobJobSettingsSettingsNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsNewClusterInitScriptS3Args -func GetJobJobSettingsSettingsNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput { - return (*getJobJobSettingsSettingsNewClusterWorkloadTypePtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsNewClusterInitScriptS3Args) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptS3PtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptS3Output struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterWorkloadType) *GetJobJobSettingsSettingsNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptS3) *GetJobJobSettingsSettingsNewClusterInitScriptS3 { return &v - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadType) GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { - return v.Clients - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadType) GetJobJobSettingsSettingsNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) GetJobJobSettingsSettingsNewClusterInitScriptS3 { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterWorkloadType + var ret GetJobJobSettingsSettingsNewClusterInitScriptS3 return ret - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadType) *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { if v == nil { return nil } - return &v.Clients - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput` via: +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` +} + +// GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput` via: // -// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs{...} -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +type GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs{...} +// GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput } -type getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs +type getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs -func GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput { - return (*getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsNewClusterInitScriptVolumes { return &v - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumes) GetJobJobSettingsSettingsNewClusterInitScriptVolumes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterWorkloadTypeClients + var ret GetJobJobSettingsSettingsNewClusterInitScriptVolumes return ret - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Jobs - }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumes) *string { if v == nil { return nil } - return v.Notebooks - }).(pulumi.BoolPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNotebookTask struct { - BaseParameters map[string]interface{} `pulumi:"baseParameters"` - NotebookPath string `pulumi:"notebookPath"` - Source *string `pulumi:"source"` - WarehouseId *string `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsNotebookTaskInput is an input type that accepts GetJobJobSettingsSettingsNotebookTaskArgs and GetJobJobSettingsSettingsNotebookTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNotebookTaskInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput` via: // -// GetJobJobSettingsSettingsNotebookTaskArgs{...} -type GetJobJobSettingsSettingsNotebookTaskInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput - ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsNotebookTaskOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput } -type GetJobJobSettingsSettingsNotebookTaskArgs struct { - BaseParameters pulumi.MapInput `pulumi:"baseParameters"` - NotebookPath pulumi.StringInput `pulumi:"notebookPath"` - Source pulumi.StringPtrInput `pulumi:"source"` - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsNotebookTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput { - return i.ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) } -func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskOutput).ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNotebookTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsNotebookTaskArgs, GetJobJobSettingsSettingsNotebookTaskPtr and GetJobJobSettingsSettingsNotebookTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNotebookTaskPtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput` via: // -// GetJobJobSettingsSettingsNotebookTaskArgs{...} +// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNotebookTaskPtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput - ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput } -type getJobJobSettingsSettingsNotebookTaskPtrType GetJobJobSettingsSettingsNotebookTaskArgs +type getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs -func GetJobJobSettingsSettingsNotebookTaskPtr(v *GetJobJobSettingsSettingsNotebookTaskArgs) GetJobJobSettingsSettingsNotebookTaskPtrInput { - return (*getJobJobSettingsSettingsNotebookTaskPtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType)(v) } -func (*getJobJobSettingsSettingsNotebookTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNotebookTaskPtrType) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNotebookTaskPtrType) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) } -type GetJobJobSettingsSettingsNotebookTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNotebookTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNotebookTask) *GetJobJobSettingsSettingsNotebookTask { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { return &v - }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsNotebookTaskOutput) BaseParameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) map[string]interface{} { return v.BaseParameters }).(pulumi.MapOutput) -} - -func (o GetJobJobSettingsSettingsNotebookTaskOutput) NotebookPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsNotebookTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNotebookTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNotebookTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { return o } -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { return o } -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsNotebookTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) GetJobJobSettingsSettingsNotebookTask { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNotebookTask + var ret GetJobJobSettingsSettingsNewClusterInitScriptWorkspace return ret - }).(GetJobJobSettingsSettingsNotebookTaskOutput) -} - -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) BaseParameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) map[string]interface{} { - if v == nil { - return nil - } - return v.BaseParameters - }).(pulumi.MapOutput) -} - -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { - if v == nil { - return nil - } - return &v.NotebookPath - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { - if v == nil { - return nil - } - return v.Source - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) } -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) *string { if v == nil { return nil } - return v.WarehouseId + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNotificationSettings struct { - NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` +type GetJobJobSettingsSettingsNewClusterWorkloadType struct { + Clients GetJobJobSettingsSettingsNewClusterWorkloadTypeClients `pulumi:"clients"` } -// GetJobJobSettingsSettingsNotificationSettingsInput is an input type that accepts GetJobJobSettingsSettingsNotificationSettingsArgs and GetJobJobSettingsSettingsNotificationSettingsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNotificationSettingsInput` via: +// GetJobJobSettingsSettingsNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeInput` via: // -// GetJobJobSettingsSettingsNotificationSettingsArgs{...} -type GetJobJobSettingsSettingsNotificationSettingsInput interface { +// GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs{...} +type GetJobJobSettingsSettingsNewClusterWorkloadTypeInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput - ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput } -type GetJobJobSettingsSettingsNotificationSettingsArgs struct { - NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` +type GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs struct { + Clients GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput `pulumi:"clients"` } -func (GetJobJobSettingsSettingsNotificationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput { - return i.ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsOutput) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) } -func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsOutput).ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsNotificationSettingsArgs, GetJobJobSettingsSettingsNotificationSettingsPtr and GetJobJobSettingsSettingsNotificationSettingsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNotificationSettingsPtrInput` via: +// GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput` via: // -// GetJobJobSettingsSettingsNotificationSettingsArgs{...} +// GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNotificationSettingsPtrInput interface { +type GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput - ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput } -type getJobJobSettingsSettingsNotificationSettingsPtrType GetJobJobSettingsSettingsNotificationSettingsArgs +type getJobJobSettingsSettingsNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs -func GetJobJobSettingsSettingsNotificationSettingsPtr(v *GetJobJobSettingsSettingsNotificationSettingsArgs) GetJobJobSettingsSettingsNotificationSettingsPtrInput { - return (*getJobJobSettingsSettingsNotificationSettingsPtrType)(v) +func GetJobJobSettingsSettingsNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput { + return (*getJobJobSettingsSettingsNewClusterWorkloadTypePtrType)(v) } -func (*getJobJobSettingsSettingsNotificationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNotificationSettingsPtrType) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNotificationSettingsPtrType) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsNotificationSettingsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNotificationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { return o } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { return o } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return o.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNotificationSettings) *GetJobJobSettingsSettingsNotificationSettings { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterWorkloadType) *GetJobJobSettingsSettingsNewClusterWorkloadType { return &v - }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) -} - -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadType) GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { + return v.Clients + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) } -type GetJobJobSettingsSettingsNotificationSettingsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsNotificationSettingsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) GetJobJobSettingsSettingsNotificationSettings { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadType) GetJobJobSettingsSettingsNewClusterWorkloadType { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNotificationSettings + var ret GetJobJobSettingsSettingsNewClusterWorkloadType return ret - }).(GetJobJobSettingsSettingsNotificationSettingsOutput) -} - -func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) *bool { - if v == nil { - return nil - } - return v.NoAlertForCanceledRuns - }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) } -func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) *bool { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadType) *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { if v == nil { return nil } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) + return &v.Clients + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) } -type GetJobJobSettingsSettingsParameter struct { - Default string `pulumi:"default"` - // the job name of Job if the resource was matched by id. - Name string `pulumi:"name"` +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` } -// GetJobJobSettingsSettingsParameterInput is an input type that accepts GetJobJobSettingsSettingsParameterArgs and GetJobJobSettingsSettingsParameterOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsParameterInput` via: +// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput` via: // -// GetJobJobSettingsSettingsParameterArgs{...} -type GetJobJobSettingsSettingsParameterInput interface { +// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs{...} +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput - ToGetJobJobSettingsSettingsParameterOutputWithContext(context.Context) GetJobJobSettingsSettingsParameterOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput } -type GetJobJobSettingsSettingsParameterArgs struct { - Default pulumi.StringInput `pulumi:"default"` - // the job name of Job if the resource was matched by id. - Name pulumi.StringInput `pulumi:"name"` +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` } -func (GetJobJobSettingsSettingsParameterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsParameter)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i GetJobJobSettingsSettingsParameterArgs) ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput { - return i.ToGetJobJobSettingsSettingsParameterOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsParameterArgs) ToGetJobJobSettingsSettingsParameterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsParameterOutput) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) } -// GetJobJobSettingsSettingsParameterArrayInput is an input type that accepts GetJobJobSettingsSettingsParameterArray and GetJobJobSettingsSettingsParameterArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsParameterArrayInput` via: +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput` via: // -// GetJobJobSettingsSettingsParameterArray{ GetJobJobSettingsSettingsParameterArgs{...} } -type GetJobJobSettingsSettingsParameterArrayInput interface { +// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput - ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsParameterArrayOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput } -type GetJobJobSettingsSettingsParameterArray []GetJobJobSettingsSettingsParameterInput +type getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs -func (GetJobJobSettingsSettingsParameterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsParameter)(nil)).Elem() +func GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput { + return (*getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType)(v) } -func (i GetJobJobSettingsSettingsParameterArray) ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput { - return i.ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i GetJobJobSettingsSettingsParameterArray) ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsParameterArrayOutput) +func (i *getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsParameterOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) +} -func (GetJobJobSettingsSettingsParameterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsParameter)(nil)).Elem() +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsParameterOutput) ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { return o } -func (o GetJobJobSettingsSettingsParameterOutput) ToGetJobJobSettingsSettingsParameterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { return o } -func (o GetJobJobSettingsSettingsParameterOutput) Default() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsParameter) string { return v.Default }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -// the job name of Job if the resource was matched by id. -func (o GetJobJobSettingsSettingsParameterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsParameter) string { return v.Name }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { + return &v + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) } -type GetJobJobSettingsSettingsParameterArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +} -func (GetJobJobSettingsSettingsParameterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsParameter)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsParameterArrayOutput) ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput { +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsParameterArrayOutput) ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterArrayOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsParameterArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsParameterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsParameter { - return vs[0].([]GetJobJobSettingsSettingsParameter)[vs[1].(int)] - }).(GetJobJobSettingsSettingsParameterOutput) +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsNewClusterWorkloadTypeClients + return ret + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) } -type GetJobJobSettingsSettingsPipelineTask struct { - FullRefresh *bool `pulumi:"fullRefresh"` - PipelineId string `pulumi:"pipelineId"` +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { + if v == nil { + return nil + } + return v.Jobs + }).(pulumi.BoolPtrOutput) } -// GetJobJobSettingsSettingsPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsPipelineTaskArgs and GetJobJobSettingsSettingsPipelineTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsPipelineTaskInput` via: +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { + if v == nil { + return nil + } + return v.Notebooks + }).(pulumi.BoolPtrOutput) +} + +type GetJobJobSettingsSettingsNotebookTask struct { + BaseParameters map[string]interface{} `pulumi:"baseParameters"` + NotebookPath string `pulumi:"notebookPath"` + Source *string `pulumi:"source"` + WarehouseId *string `pulumi:"warehouseId"` +} + +// GetJobJobSettingsSettingsNotebookTaskInput is an input type that accepts GetJobJobSettingsSettingsNotebookTaskArgs and GetJobJobSettingsSettingsNotebookTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNotebookTaskInput` via: // -// GetJobJobSettingsSettingsPipelineTaskArgs{...} -type GetJobJobSettingsSettingsPipelineTaskInput interface { +// GetJobJobSettingsSettingsNotebookTaskArgs{...} +type GetJobJobSettingsSettingsNotebookTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput - ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsPipelineTaskOutput + ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput + ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsNotebookTaskOutput } -type GetJobJobSettingsSettingsPipelineTaskArgs struct { - FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` - PipelineId pulumi.StringInput `pulumi:"pipelineId"` +type GetJobJobSettingsSettingsNotebookTaskArgs struct { + BaseParameters pulumi.MapInput `pulumi:"baseParameters"` + NotebookPath pulumi.StringInput `pulumi:"notebookPath"` + Source pulumi.StringPtrInput `pulumi:"source"` + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (GetJobJobSettingsSettingsPipelineTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNotebookTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput { - return i.ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput { + return i.ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskOutput) +func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskOutput) } -func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskOutput).ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskOutput).ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsPipelineTaskArgs, GetJobJobSettingsSettingsPipelineTaskPtr and GetJobJobSettingsSettingsPipelineTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsPipelineTaskPtrInput` via: +// GetJobJobSettingsSettingsNotebookTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsNotebookTaskArgs, GetJobJobSettingsSettingsNotebookTaskPtr and GetJobJobSettingsSettingsNotebookTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNotebookTaskPtrInput` via: // -// GetJobJobSettingsSettingsPipelineTaskArgs{...} +// GetJobJobSettingsSettingsNotebookTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsPipelineTaskPtrInput interface { +type GetJobJobSettingsSettingsNotebookTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput - ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput + ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput + ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput } -type getJobJobSettingsSettingsPipelineTaskPtrType GetJobJobSettingsSettingsPipelineTaskArgs +type getJobJobSettingsSettingsNotebookTaskPtrType GetJobJobSettingsSettingsNotebookTaskArgs -func GetJobJobSettingsSettingsPipelineTaskPtr(v *GetJobJobSettingsSettingsPipelineTaskArgs) GetJobJobSettingsSettingsPipelineTaskPtrInput { - return (*getJobJobSettingsSettingsPipelineTaskPtrType)(v) +func GetJobJobSettingsSettingsNotebookTaskPtr(v *GetJobJobSettingsSettingsNotebookTaskArgs) GetJobJobSettingsSettingsNotebookTaskPtrInput { + return (*getJobJobSettingsSettingsNotebookTaskPtrType)(v) } -func (*getJobJobSettingsSettingsPipelineTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() +func (*getJobJobSettingsSettingsNotebookTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsPipelineTaskPtrType) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNotebookTaskPtrType) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsPipelineTaskPtrType) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) +func (i *getJobJobSettingsSettingsNotebookTaskPtrType) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) } -type GetJobJobSettingsSettingsPipelineTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNotebookTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsPipelineTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNotebookTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput { +func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput { return o } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskOutput { +func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskOutput { return o } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsPipelineTask) *GetJobJobSettingsSettingsPipelineTask { +func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNotebookTask) *GetJobJobSettingsSettingsNotebookTask { return &v - }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) + }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsNotebookTaskOutput) BaseParameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) map[string]interface{} { return v.BaseParameters }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) PipelineId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNotebookTaskOutput) NotebookPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsPipelineTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNotebookTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsPipelineTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { +type GetJobJobSettingsSettingsNotebookTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNotebookTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsPipelineTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) GetJobJobSettingsSettingsPipelineTask { +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsNotebookTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) GetJobJobSettingsSettingsNotebookTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsPipelineTask + var ret GetJobJobSettingsSettingsNotebookTask return ret - }).(GetJobJobSettingsSettingsPipelineTaskOutput) + }).(GetJobJobSettingsSettingsNotebookTaskOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) *bool { +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) BaseParameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) map[string]interface{} { if v == nil { return nil } - return v.FullRefresh - }).(pulumi.BoolPtrOutput) + return v.BaseParameters + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) *string { +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { if v == nil { return nil } - return &v.PipelineId + return &v.NotebookPath }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsPythonWheelTask struct { - EntryPoint *string `pulumi:"entryPoint"` - NamedParameters map[string]interface{} `pulumi:"namedParameters"` - PackageName *string `pulumi:"packageName"` - Parameters []string `pulumi:"parameters"` +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsPythonWheelTaskArgs and GetJobJobSettingsSettingsPythonWheelTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsPythonWheelTaskInput` via: +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { + if v == nil { + return nil + } + return v.WarehouseId + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsNotificationSettings struct { + NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` +} + +// GetJobJobSettingsSettingsNotificationSettingsInput is an input type that accepts GetJobJobSettingsSettingsNotificationSettingsArgs and GetJobJobSettingsSettingsNotificationSettingsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNotificationSettingsInput` via: // -// GetJobJobSettingsSettingsPythonWheelTaskArgs{...} -type GetJobJobSettingsSettingsPythonWheelTaskInput interface { +// GetJobJobSettingsSettingsNotificationSettingsArgs{...} +type GetJobJobSettingsSettingsNotificationSettingsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput - ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput + ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput + ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput } -type GetJobJobSettingsSettingsPythonWheelTaskArgs struct { - EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` - NamedParameters pulumi.MapInput `pulumi:"namedParameters"` - PackageName pulumi.StringPtrInput `pulumi:"packageName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsNotificationSettingsArgs struct { + NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` } -func (GetJobJobSettingsSettingsPythonWheelTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNotificationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() } -func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput { - return i.ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput { + return i.ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskOutput) +func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsOutput) } -func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskOutput).ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsOutput).ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsPythonWheelTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsPythonWheelTaskArgs, GetJobJobSettingsSettingsPythonWheelTaskPtr and GetJobJobSettingsSettingsPythonWheelTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsPythonWheelTaskPtrInput` via: +// GetJobJobSettingsSettingsNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsNotificationSettingsArgs, GetJobJobSettingsSettingsNotificationSettingsPtr and GetJobJobSettingsSettingsNotificationSettingsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNotificationSettingsPtrInput` via: // -// GetJobJobSettingsSettingsPythonWheelTaskArgs{...} +// GetJobJobSettingsSettingsNotificationSettingsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsPythonWheelTaskPtrInput interface { +type GetJobJobSettingsSettingsNotificationSettingsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput - ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput + ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput + ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput } -type getJobJobSettingsSettingsPythonWheelTaskPtrType GetJobJobSettingsSettingsPythonWheelTaskArgs +type getJobJobSettingsSettingsNotificationSettingsPtrType GetJobJobSettingsSettingsNotificationSettingsArgs -func GetJobJobSettingsSettingsPythonWheelTaskPtr(v *GetJobJobSettingsSettingsPythonWheelTaskArgs) GetJobJobSettingsSettingsPythonWheelTaskPtrInput { - return (*getJobJobSettingsSettingsPythonWheelTaskPtrType)(v) +func GetJobJobSettingsSettingsNotificationSettingsPtr(v *GetJobJobSettingsSettingsNotificationSettingsArgs) GetJobJobSettingsSettingsNotificationSettingsPtrInput { + return (*getJobJobSettingsSettingsNotificationSettingsPtrType)(v) } -func (*getJobJobSettingsSettingsPythonWheelTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() +func (*getJobJobSettingsSettingsNotificationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() } -func (i *getJobJobSettingsSettingsPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNotificationSettingsPtrType) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) +func (i *getJobJobSettingsSettingsNotificationSettingsPtrType) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) } -type GetJobJobSettingsSettingsPythonWheelTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNotificationSettingsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsPythonWheelTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNotificationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput { +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput { return o } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput { +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput { return o } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return o.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsPythonWheelTask) *GetJobJobSettingsSettingsPythonWheelTask { +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNotificationSettings) *GetJobJobSettingsSettingsNotificationSettings { return &v - }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) NamedParameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) map[string]interface{} { return v.NamedParameters }).(pulumi.MapOutput) + }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNotificationSettingsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { +func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { +func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsPythonWheelTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) GetJobJobSettingsSettingsPythonWheelTask { +func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsNotificationSettingsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) GetJobJobSettingsSettingsNotificationSettings { if v != nil { return *v } - var ret GetJobJobSettingsSettingsPythonWheelTask + var ret GetJobJobSettingsSettingsNotificationSettings return ret - }).(GetJobJobSettingsSettingsPythonWheelTaskOutput) + }).(GetJobJobSettingsSettingsNotificationSettingsOutput) } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) *string { +func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) *bool { if v == nil { return nil } - return v.EntryPoint - }).(pulumi.StringPtrOutput) + return v.NoAlertForCanceledRuns + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) NamedParameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) map[string]interface{} { +func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) *bool { if v == nil { return nil } - return v.NamedParameters - }).(pulumi.MapOutput) + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) *string { - if v == nil { - return nil - } - return v.PackageName - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsParameter struct { + Default string `pulumi:"default"` + // the job name of Job if the resource was matched by id. + Name string `pulumi:"name"` } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) -} +// GetJobJobSettingsSettingsParameterInput is an input type that accepts GetJobJobSettingsSettingsParameterArgs and GetJobJobSettingsSettingsParameterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsParameterInput` via: +// +// GetJobJobSettingsSettingsParameterArgs{...} +type GetJobJobSettingsSettingsParameterInput interface { + pulumi.Input -type GetJobJobSettingsSettingsQueue struct { - Enabled bool `pulumi:"enabled"` + ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput + ToGetJobJobSettingsSettingsParameterOutputWithContext(context.Context) GetJobJobSettingsSettingsParameterOutput } -// GetJobJobSettingsSettingsQueueInput is an input type that accepts GetJobJobSettingsSettingsQueueArgs and GetJobJobSettingsSettingsQueueOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsQueueInput` via: -// -// GetJobJobSettingsSettingsQueueArgs{...} -type GetJobJobSettingsSettingsQueueInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput - ToGetJobJobSettingsSettingsQueueOutputWithContext(context.Context) GetJobJobSettingsSettingsQueueOutput -} - -type GetJobJobSettingsSettingsQueueArgs struct { - Enabled pulumi.BoolInput `pulumi:"enabled"` -} - -func (GetJobJobSettingsSettingsQueueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsQueue)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput { - return i.ToGetJobJobSettingsSettingsQueueOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsParameterArgs struct { + Default pulumi.StringInput `pulumi:"default"` + // the job name of Job if the resource was matched by id. + Name pulumi.StringInput `pulumi:"name"` } -func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueueOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueueOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueueOutput) +func (GetJobJobSettingsSettingsParameterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsParameter)(nil)).Elem() } -func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { - return i.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsParameterArgs) ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput { + return i.ToGetJobJobSettingsSettingsParameterOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueueOutput).ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsParameterArgs) ToGetJobJobSettingsSettingsParameterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsParameterOutput) } -// GetJobJobSettingsSettingsQueuePtrInput is an input type that accepts GetJobJobSettingsSettingsQueueArgs, GetJobJobSettingsSettingsQueuePtr and GetJobJobSettingsSettingsQueuePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsQueuePtrInput` via: -// -// GetJobJobSettingsSettingsQueueArgs{...} -// -// or: +// GetJobJobSettingsSettingsParameterArrayInput is an input type that accepts GetJobJobSettingsSettingsParameterArray and GetJobJobSettingsSettingsParameterArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsParameterArrayInput` via: // -// nil -type GetJobJobSettingsSettingsQueuePtrInput interface { +// GetJobJobSettingsSettingsParameterArray{ GetJobJobSettingsSettingsParameterArgs{...} } +type GetJobJobSettingsSettingsParameterArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput - ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsQueuePtrOutput + ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput + ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsParameterArrayOutput } -type getJobJobSettingsSettingsQueuePtrType GetJobJobSettingsSettingsQueueArgs - -func GetJobJobSettingsSettingsQueuePtr(v *GetJobJobSettingsSettingsQueueArgs) GetJobJobSettingsSettingsQueuePtrInput { - return (*getJobJobSettingsSettingsQueuePtrType)(v) -} +type GetJobJobSettingsSettingsParameterArray []GetJobJobSettingsSettingsParameterInput -func (*getJobJobSettingsSettingsQueuePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsQueue)(nil)).Elem() +func (GetJobJobSettingsSettingsParameterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsParameter)(nil)).Elem() } -func (i *getJobJobSettingsSettingsQueuePtrType) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { - return i.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsParameterArray) ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput { + return i.ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsQueuePtrType) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueuePtrOutput) +func (i GetJobJobSettingsSettingsParameterArray) ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsParameterArrayOutput) } -type GetJobJobSettingsSettingsQueueOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsParameterOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsQueueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsQueue)(nil)).Elem() +func (GetJobJobSettingsSettingsParameterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsParameter)(nil)).Elem() } -func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput { +func (o GetJobJobSettingsSettingsParameterOutput) ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput { return o } -func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueueOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueueOutput { +func (o GetJobJobSettingsSettingsParameterOutput) ToGetJobJobSettingsSettingsParameterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterOutput { return o } -func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { - return o.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsQueue) *GetJobJobSettingsSettingsQueue { - return &v - }).(GetJobJobSettingsSettingsQueuePtrOutput) +func (o GetJobJobSettingsSettingsParameterOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsParameter) string { return v.Default }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsQueueOutput) Enabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsQueue) bool { return v.Enabled }).(pulumi.BoolOutput) +// the job name of Job if the resource was matched by id. +func (o GetJobJobSettingsSettingsParameterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsParameter) string { return v.Name }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsQueuePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsParameterArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsQueuePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsQueue)(nil)).Elem() +func (GetJobJobSettingsSettingsParameterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsParameter)(nil)).Elem() } -func (o GetJobJobSettingsSettingsQueuePtrOutput) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { +func (o GetJobJobSettingsSettingsParameterArrayOutput) ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput { return o } -func (o GetJobJobSettingsSettingsQueuePtrOutput) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { +func (o GetJobJobSettingsSettingsParameterArrayOutput) ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterArrayOutput { return o } -func (o GetJobJobSettingsSettingsQueuePtrOutput) Elem() GetJobJobSettingsSettingsQueueOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsQueue) GetJobJobSettingsSettingsQueue { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsQueue - return ret - }).(GetJobJobSettingsSettingsQueueOutput) -} - -func (o GetJobJobSettingsSettingsQueuePtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsQueue) *bool { - if v == nil { - return nil - } - return &v.Enabled - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsParameterArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsParameterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsParameter { + return vs[0].([]GetJobJobSettingsSettingsParameter)[vs[1].(int)] + }).(GetJobJobSettingsSettingsParameterOutput) } -type GetJobJobSettingsSettingsRunAs struct { - ServicePrincipalName *string `pulumi:"servicePrincipalName"` - UserName *string `pulumi:"userName"` +type GetJobJobSettingsSettingsPipelineTask struct { + FullRefresh *bool `pulumi:"fullRefresh"` + PipelineId string `pulumi:"pipelineId"` } -// GetJobJobSettingsSettingsRunAsInput is an input type that accepts GetJobJobSettingsSettingsRunAsArgs and GetJobJobSettingsSettingsRunAsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsRunAsInput` via: +// GetJobJobSettingsSettingsPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsPipelineTaskArgs and GetJobJobSettingsSettingsPipelineTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsPipelineTaskInput` via: // -// GetJobJobSettingsSettingsRunAsArgs{...} -type GetJobJobSettingsSettingsRunAsInput interface { +// GetJobJobSettingsSettingsPipelineTaskArgs{...} +type GetJobJobSettingsSettingsPipelineTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput - ToGetJobJobSettingsSettingsRunAsOutputWithContext(context.Context) GetJobJobSettingsSettingsRunAsOutput + ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput + ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsPipelineTaskOutput } -type GetJobJobSettingsSettingsRunAsArgs struct { - ServicePrincipalName pulumi.StringPtrInput `pulumi:"servicePrincipalName"` - UserName pulumi.StringPtrInput `pulumi:"userName"` +type GetJobJobSettingsSettingsPipelineTaskArgs struct { + FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` + PipelineId pulumi.StringInput `pulumi:"pipelineId"` } -func (GetJobJobSettingsSettingsRunAsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsRunAs)(nil)).Elem() +func (GetJobJobSettingsSettingsPipelineTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput { - return i.ToGetJobJobSettingsSettingsRunAsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput { + return i.ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsOutput) +func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskOutput) } -func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { - return i.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsOutput).ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskOutput).ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsRunAsPtrInput is an input type that accepts GetJobJobSettingsSettingsRunAsArgs, GetJobJobSettingsSettingsRunAsPtr and GetJobJobSettingsSettingsRunAsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsRunAsPtrInput` via: +// GetJobJobSettingsSettingsPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsPipelineTaskArgs, GetJobJobSettingsSettingsPipelineTaskPtr and GetJobJobSettingsSettingsPipelineTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsPipelineTaskPtrInput` via: // -// GetJobJobSettingsSettingsRunAsArgs{...} +// GetJobJobSettingsSettingsPipelineTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsRunAsPtrInput interface { +type GetJobJobSettingsSettingsPipelineTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput - ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsRunAsPtrOutput + ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput + ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput } -type getJobJobSettingsSettingsRunAsPtrType GetJobJobSettingsSettingsRunAsArgs +type getJobJobSettingsSettingsPipelineTaskPtrType GetJobJobSettingsSettingsPipelineTaskArgs -func GetJobJobSettingsSettingsRunAsPtr(v *GetJobJobSettingsSettingsRunAsArgs) GetJobJobSettingsSettingsRunAsPtrInput { - return (*getJobJobSettingsSettingsRunAsPtrType)(v) +func GetJobJobSettingsSettingsPipelineTaskPtr(v *GetJobJobSettingsSettingsPipelineTaskArgs) GetJobJobSettingsSettingsPipelineTaskPtrInput { + return (*getJobJobSettingsSettingsPipelineTaskPtrType)(v) } -func (*getJobJobSettingsSettingsRunAsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsRunAs)(nil)).Elem() +func (*getJobJobSettingsSettingsPipelineTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsRunAsPtrType) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { - return i.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsPipelineTaskPtrType) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsRunAsPtrType) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsPtrOutput) +func (i *getJobJobSettingsSettingsPipelineTaskPtrType) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) } -type GetJobJobSettingsSettingsRunAsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsPipelineTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsRunAsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsRunAs)(nil)).Elem() +func (GetJobJobSettingsSettingsPipelineTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput { +func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput { return o } -func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsOutput { +func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskOutput { return o } -func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { - return o.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsRunAs) *GetJobJobSettingsSettingsRunAs { +func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsPipelineTask) *GetJobJobSettingsSettingsPipelineTask { return &v - }).(GetJobJobSettingsSettingsRunAsPtrOutput) + }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) } -func (o GetJobJobSettingsSettingsRunAsOutput) ServicePrincipalName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsRunAs) *string { return v.ServicePrincipalName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsRunAsOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsRunAs) *string { return v.UserName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsPipelineTaskOutput) PipelineId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsRunAsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsPipelineTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsRunAsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsRunAs)(nil)).Elem() +func (GetJobJobSettingsSettingsPipelineTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsRunAsPtrOutput) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { +func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsRunAsPtrOutput) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { +func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsRunAsPtrOutput) Elem() GetJobJobSettingsSettingsRunAsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) GetJobJobSettingsSettingsRunAs { +func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsPipelineTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) GetJobJobSettingsSettingsPipelineTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsRunAs + var ret GetJobJobSettingsSettingsPipelineTask return ret - }).(GetJobJobSettingsSettingsRunAsOutput) + }).(GetJobJobSettingsSettingsPipelineTaskOutput) } -func (o GetJobJobSettingsSettingsRunAsPtrOutput) ServicePrincipalName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) *string { +func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) *bool { if v == nil { return nil } - return v.ServicePrincipalName - }).(pulumi.StringPtrOutput) + return v.FullRefresh + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsRunAsPtrOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) *string { - if v == nil { +func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) *string { + if v == nil { return nil } - return v.UserName + return &v.PipelineId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsRunJobTask struct { - JobId int `pulumi:"jobId"` - JobParameters map[string]interface{} `pulumi:"jobParameters"` +type GetJobJobSettingsSettingsPythonWheelTask struct { + EntryPoint *string `pulumi:"entryPoint"` + NamedParameters map[string]interface{} `pulumi:"namedParameters"` + PackageName *string `pulumi:"packageName"` + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsRunJobTaskArgs and GetJobJobSettingsSettingsRunJobTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsRunJobTaskInput` via: +// GetJobJobSettingsSettingsPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsPythonWheelTaskArgs and GetJobJobSettingsSettingsPythonWheelTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsPythonWheelTaskInput` via: // -// GetJobJobSettingsSettingsRunJobTaskArgs{...} -type GetJobJobSettingsSettingsRunJobTaskInput interface { +// GetJobJobSettingsSettingsPythonWheelTaskArgs{...} +type GetJobJobSettingsSettingsPythonWheelTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput - ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsRunJobTaskOutput + ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput + ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput } -type GetJobJobSettingsSettingsRunJobTaskArgs struct { - JobId pulumi.IntInput `pulumi:"jobId"` - JobParameters pulumi.MapInput `pulumi:"jobParameters"` +type GetJobJobSettingsSettingsPythonWheelTaskArgs struct { + EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` + NamedParameters pulumi.MapInput `pulumi:"namedParameters"` + PackageName pulumi.StringPtrInput `pulumi:"packageName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsRunJobTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() +func (GetJobJobSettingsSettingsPythonWheelTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput { - return i.ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput { + return i.ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskOutput) +func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskOutput) } -func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskOutput).ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskOutput).ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsRunJobTaskArgs, GetJobJobSettingsSettingsRunJobTaskPtr and GetJobJobSettingsSettingsRunJobTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsRunJobTaskPtrInput` via: +// GetJobJobSettingsSettingsPythonWheelTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsPythonWheelTaskArgs, GetJobJobSettingsSettingsPythonWheelTaskPtr and GetJobJobSettingsSettingsPythonWheelTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsPythonWheelTaskPtrInput` via: // -// GetJobJobSettingsSettingsRunJobTaskArgs{...} +// GetJobJobSettingsSettingsPythonWheelTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsRunJobTaskPtrInput interface { +type GetJobJobSettingsSettingsPythonWheelTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput - ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput + ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput + ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput } -type getJobJobSettingsSettingsRunJobTaskPtrType GetJobJobSettingsSettingsRunJobTaskArgs +type getJobJobSettingsSettingsPythonWheelTaskPtrType GetJobJobSettingsSettingsPythonWheelTaskArgs -func GetJobJobSettingsSettingsRunJobTaskPtr(v *GetJobJobSettingsSettingsRunJobTaskArgs) GetJobJobSettingsSettingsRunJobTaskPtrInput { - return (*getJobJobSettingsSettingsRunJobTaskPtrType)(v) +func GetJobJobSettingsSettingsPythonWheelTaskPtr(v *GetJobJobSettingsSettingsPythonWheelTaskArgs) GetJobJobSettingsSettingsPythonWheelTaskPtrInput { + return (*getJobJobSettingsSettingsPythonWheelTaskPtrType)(v) } -func (*getJobJobSettingsSettingsRunJobTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() +func (*getJobJobSettingsSettingsPythonWheelTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsRunJobTaskPtrType) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsRunJobTaskPtrType) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) +func (i *getJobJobSettingsSettingsPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) } -type GetJobJobSettingsSettingsRunJobTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsPythonWheelTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsRunJobTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() +func (GetJobJobSettingsSettingsPythonWheelTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput { +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput { return o } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskOutput { +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput { return o } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsRunJobTask) *GetJobJobSettingsSettingsRunJobTask { +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsPythonWheelTask) *GetJobJobSettingsSettingsPythonWheelTask { return &v - }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) + }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) JobId() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsRunJobTask) int { return v.JobId }).(pulumi.IntOutput) +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) JobParameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsRunJobTask) map[string]interface{} { return v.JobParameters }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) NamedParameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) map[string]interface{} { return v.NamedParameters }).(pulumi.MapOutput) } -type GetJobJobSettingsSettingsRunJobTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsRunJobTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { +type GetJobJobSettingsSettingsPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsRunJobTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) GetJobJobSettingsSettingsRunJobTask { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsPythonWheelTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) GetJobJobSettingsSettingsPythonWheelTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsRunJobTask + var ret GetJobJobSettingsSettingsPythonWheelTask return ret - }).(GetJobJobSettingsSettingsRunJobTaskOutput) + }).(GetJobJobSettingsSettingsPythonWheelTaskOutput) } -func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) *int { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) *string { if v == nil { return nil } - return &v.JobId - }).(pulumi.IntPtrOutput) + return v.EntryPoint + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) JobParameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) map[string]interface{} { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) NamedParameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) map[string]interface{} { if v == nil { return nil } - return v.JobParameters + return v.NamedParameters }).(pulumi.MapOutput) } -type GetJobJobSettingsSettingsSchedule struct { - PauseStatus *string `pulumi:"pauseStatus"` - QuartzCronExpression string `pulumi:"quartzCronExpression"` - TimezoneId string `pulumi:"timezoneId"` +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) *string { + if v == nil { + return nil + } + return v.PackageName + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsScheduleInput is an input type that accepts GetJobJobSettingsSettingsScheduleArgs and GetJobJobSettingsSettingsScheduleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsScheduleInput` via: +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) +} + +type GetJobJobSettingsSettingsQueue struct { + Enabled bool `pulumi:"enabled"` +} + +// GetJobJobSettingsSettingsQueueInput is an input type that accepts GetJobJobSettingsSettingsQueueArgs and GetJobJobSettingsSettingsQueueOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsQueueInput` via: // -// GetJobJobSettingsSettingsScheduleArgs{...} -type GetJobJobSettingsSettingsScheduleInput interface { +// GetJobJobSettingsSettingsQueueArgs{...} +type GetJobJobSettingsSettingsQueueInput interface { pulumi.Input - ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput - ToGetJobJobSettingsSettingsScheduleOutputWithContext(context.Context) GetJobJobSettingsSettingsScheduleOutput + ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput + ToGetJobJobSettingsSettingsQueueOutputWithContext(context.Context) GetJobJobSettingsSettingsQueueOutput } -type GetJobJobSettingsSettingsScheduleArgs struct { - PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` - QuartzCronExpression pulumi.StringInput `pulumi:"quartzCronExpression"` - TimezoneId pulumi.StringInput `pulumi:"timezoneId"` +type GetJobJobSettingsSettingsQueueArgs struct { + Enabled pulumi.BoolInput `pulumi:"enabled"` } -func (GetJobJobSettingsSettingsScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSchedule)(nil)).Elem() +func (GetJobJobSettingsSettingsQueueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsQueue)(nil)).Elem() } -func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput { - return i.ToGetJobJobSettingsSettingsScheduleOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput { + return i.ToGetJobJobSettingsSettingsQueueOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsScheduleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsScheduleOutput) +func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueueOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueueOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueueOutput) } -func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { - return i.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { + return i.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsScheduleOutput).ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueueOutput).ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsSchedulePtrInput is an input type that accepts GetJobJobSettingsSettingsScheduleArgs, GetJobJobSettingsSettingsSchedulePtr and GetJobJobSettingsSettingsSchedulePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSchedulePtrInput` via: +// GetJobJobSettingsSettingsQueuePtrInput is an input type that accepts GetJobJobSettingsSettingsQueueArgs, GetJobJobSettingsSettingsQueuePtr and GetJobJobSettingsSettingsQueuePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsQueuePtrInput` via: // -// GetJobJobSettingsSettingsScheduleArgs{...} +// GetJobJobSettingsSettingsQueueArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsSchedulePtrInput interface { +type GetJobJobSettingsSettingsQueuePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput - ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSchedulePtrOutput + ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput + ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsQueuePtrOutput } -type getJobJobSettingsSettingsSchedulePtrType GetJobJobSettingsSettingsScheduleArgs +type getJobJobSettingsSettingsQueuePtrType GetJobJobSettingsSettingsQueueArgs -func GetJobJobSettingsSettingsSchedulePtr(v *GetJobJobSettingsSettingsScheduleArgs) GetJobJobSettingsSettingsSchedulePtrInput { - return (*getJobJobSettingsSettingsSchedulePtrType)(v) +func GetJobJobSettingsSettingsQueuePtr(v *GetJobJobSettingsSettingsQueueArgs) GetJobJobSettingsSettingsQueuePtrInput { + return (*getJobJobSettingsSettingsQueuePtrType)(v) } -func (*getJobJobSettingsSettingsSchedulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSchedule)(nil)).Elem() +func (*getJobJobSettingsSettingsQueuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsQueue)(nil)).Elem() } -func (i *getJobJobSettingsSettingsSchedulePtrType) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { - return i.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsQueuePtrType) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { + return i.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsSchedulePtrType) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSchedulePtrOutput) +func (i *getJobJobSettingsSettingsQueuePtrType) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueuePtrOutput) } -type GetJobJobSettingsSettingsScheduleOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsQueueOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSchedule)(nil)).Elem() +func (GetJobJobSettingsSettingsQueueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsQueue)(nil)).Elem() } -func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput { +func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput { return o } -func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsScheduleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsScheduleOutput { +func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueueOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueueOutput { return o } -func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { - return o.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSchedule) *GetJobJobSettingsSettingsSchedule { - return &v - }).(GetJobJobSettingsSettingsSchedulePtrOutput) -} - -func (o GetJobJobSettingsSettingsScheduleOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { + return o.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsScheduleOutput) QuartzCronExpression() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) string { return v.QuartzCronExpression }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsQueue) *GetJobJobSettingsSettingsQueue { + return &v + }).(GetJobJobSettingsSettingsQueuePtrOutput) } -func (o GetJobJobSettingsSettingsScheduleOutput) TimezoneId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) string { return v.TimezoneId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsQueueOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsQueue) bool { return v.Enabled }).(pulumi.BoolOutput) } -type GetJobJobSettingsSettingsSchedulePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsQueuePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSchedulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSchedule)(nil)).Elem() +func (GetJobJobSettingsSettingsQueuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsQueue)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSchedulePtrOutput) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { +func (o GetJobJobSettingsSettingsQueuePtrOutput) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { return o } -func (o GetJobJobSettingsSettingsSchedulePtrOutput) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { +func (o GetJobJobSettingsSettingsQueuePtrOutput) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { return o } -func (o GetJobJobSettingsSettingsSchedulePtrOutput) Elem() GetJobJobSettingsSettingsScheduleOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) GetJobJobSettingsSettingsSchedule { +func (o GetJobJobSettingsSettingsQueuePtrOutput) Elem() GetJobJobSettingsSettingsQueueOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsQueue) GetJobJobSettingsSettingsQueue { if v != nil { return *v } - var ret GetJobJobSettingsSettingsSchedule + var ret GetJobJobSettingsSettingsQueue return ret - }).(GetJobJobSettingsSettingsScheduleOutput) -} - -func (o GetJobJobSettingsSettingsSchedulePtrOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { - if v == nil { - return nil - } - return v.PauseStatus - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsSchedulePtrOutput) QuartzCronExpression() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { - if v == nil { - return nil - } - return &v.QuartzCronExpression - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsQueueOutput) } -func (o GetJobJobSettingsSettingsSchedulePtrOutput) TimezoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { +func (o GetJobJobSettingsSettingsQueuePtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsQueue) *bool { if v == nil { return nil } - return &v.TimezoneId - }).(pulumi.StringPtrOutput) + return &v.Enabled + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsSparkJarTask struct { - JarUri *string `pulumi:"jarUri"` - MainClassName *string `pulumi:"mainClassName"` - Parameters []string `pulumi:"parameters"` +type GetJobJobSettingsSettingsRunAs struct { + ServicePrincipalName *string `pulumi:"servicePrincipalName"` + UserName *string `pulumi:"userName"` } -// GetJobJobSettingsSettingsSparkJarTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkJarTaskArgs and GetJobJobSettingsSettingsSparkJarTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkJarTaskInput` via: +// GetJobJobSettingsSettingsRunAsInput is an input type that accepts GetJobJobSettingsSettingsRunAsArgs and GetJobJobSettingsSettingsRunAsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsRunAsInput` via: // -// GetJobJobSettingsSettingsSparkJarTaskArgs{...} -type GetJobJobSettingsSettingsSparkJarTaskInput interface { +// GetJobJobSettingsSettingsRunAsArgs{...} +type GetJobJobSettingsSettingsRunAsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput - ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput + ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput + ToGetJobJobSettingsSettingsRunAsOutputWithContext(context.Context) GetJobJobSettingsSettingsRunAsOutput } -type GetJobJobSettingsSettingsSparkJarTaskArgs struct { - JarUri pulumi.StringPtrInput `pulumi:"jarUri"` - MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsRunAsArgs struct { + ServicePrincipalName pulumi.StringPtrInput `pulumi:"servicePrincipalName"` + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (GetJobJobSettingsSettingsSparkJarTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsRunAsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsRunAs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput { - return i.ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput { + return i.ToGetJobJobSettingsSettingsRunAsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskOutput) +func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsOutput) } -func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { + return i.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskOutput).ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsOutput).ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsSparkJarTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkJarTaskArgs, GetJobJobSettingsSettingsSparkJarTaskPtr and GetJobJobSettingsSettingsSparkJarTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkJarTaskPtrInput` via: +// GetJobJobSettingsSettingsRunAsPtrInput is an input type that accepts GetJobJobSettingsSettingsRunAsArgs, GetJobJobSettingsSettingsRunAsPtr and GetJobJobSettingsSettingsRunAsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsRunAsPtrInput` via: // -// GetJobJobSettingsSettingsSparkJarTaskArgs{...} +// GetJobJobSettingsSettingsRunAsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsSparkJarTaskPtrInput interface { +type GetJobJobSettingsSettingsRunAsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput - ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput + ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput + ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsRunAsPtrOutput } -type getJobJobSettingsSettingsSparkJarTaskPtrType GetJobJobSettingsSettingsSparkJarTaskArgs +type getJobJobSettingsSettingsRunAsPtrType GetJobJobSettingsSettingsRunAsArgs -func GetJobJobSettingsSettingsSparkJarTaskPtr(v *GetJobJobSettingsSettingsSparkJarTaskArgs) GetJobJobSettingsSettingsSparkJarTaskPtrInput { - return (*getJobJobSettingsSettingsSparkJarTaskPtrType)(v) +func GetJobJobSettingsSettingsRunAsPtr(v *GetJobJobSettingsSettingsRunAsArgs) GetJobJobSettingsSettingsRunAsPtrInput { + return (*getJobJobSettingsSettingsRunAsPtrType)(v) } -func (*getJobJobSettingsSettingsSparkJarTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() +func (*getJobJobSettingsSettingsRunAsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsRunAs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsSparkJarTaskPtrType) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsRunAsPtrType) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { + return i.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsSparkJarTaskPtrType) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) +func (i *getJobJobSettingsSettingsRunAsPtrType) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsPtrOutput) } -type GetJobJobSettingsSettingsSparkJarTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsRunAsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSparkJarTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsRunAsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsRunAs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput { +func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput { return o } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput { +func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsOutput { return o } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { + return o.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkJarTask) *GetJobJobSettingsSettingsSparkJarTask { +func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsRunAs) *GetJobJobSettingsSettingsRunAs { return &v - }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsRunAsPtrOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsRunAsOutput) ServicePrincipalName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsRunAs) *string { return v.ServicePrincipalName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsRunAsOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsRunAs) *string { return v.UserName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsSparkJarTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsRunAsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsRunAsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsRunAs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { +func (o GetJobJobSettingsSettingsRunAsPtrOutput) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { return o } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { +func (o GetJobJobSettingsSettingsRunAsPtrOutput) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { return o } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkJarTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) GetJobJobSettingsSettingsSparkJarTask { +func (o GetJobJobSettingsSettingsRunAsPtrOutput) Elem() GetJobJobSettingsSettingsRunAsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) GetJobJobSettingsSettingsRunAs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsSparkJarTask + var ret GetJobJobSettingsSettingsRunAs return ret - }).(GetJobJobSettingsSettingsSparkJarTaskOutput) + }).(GetJobJobSettingsSettingsRunAsOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) *string { +func (o GetJobJobSettingsSettingsRunAsPtrOutput) ServicePrincipalName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) *string { if v == nil { return nil } - return v.JarUri + return v.ServicePrincipalName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) *string { +func (o GetJobJobSettingsSettingsRunAsPtrOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) *string { if v == nil { return nil } - return v.MainClassName + return v.UserName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) -} - -type GetJobJobSettingsSettingsSparkPythonTask struct { - Parameters []string `pulumi:"parameters"` - PythonFile string `pulumi:"pythonFile"` - Source *string `pulumi:"source"` +type GetJobJobSettingsSettingsRunJobTask struct { + JobId int `pulumi:"jobId"` + JobParameters map[string]interface{} `pulumi:"jobParameters"` } -// GetJobJobSettingsSettingsSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkPythonTaskArgs and GetJobJobSettingsSettingsSparkPythonTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkPythonTaskInput` via: +// GetJobJobSettingsSettingsRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsRunJobTaskArgs and GetJobJobSettingsSettingsRunJobTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsRunJobTaskInput` via: // -// GetJobJobSettingsSettingsSparkPythonTaskArgs{...} -type GetJobJobSettingsSettingsSparkPythonTaskInput interface { +// GetJobJobSettingsSettingsRunJobTaskArgs{...} +type GetJobJobSettingsSettingsRunJobTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput - ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput + ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput + ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsRunJobTaskOutput } -type GetJobJobSettingsSettingsSparkPythonTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` - PythonFile pulumi.StringInput `pulumi:"pythonFile"` - Source pulumi.StringPtrInput `pulumi:"source"` +type GetJobJobSettingsSettingsRunJobTaskArgs struct { + JobId pulumi.IntInput `pulumi:"jobId"` + JobParameters pulumi.MapInput `pulumi:"jobParameters"` } -func (GetJobJobSettingsSettingsSparkPythonTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsRunJobTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput { - return i.ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput { + return i.ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskOutput) +func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskOutput) } -func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskOutput).ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskOutput).ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkPythonTaskArgs, GetJobJobSettingsSettingsSparkPythonTaskPtr and GetJobJobSettingsSettingsSparkPythonTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkPythonTaskPtrInput` via: +// GetJobJobSettingsSettingsRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsRunJobTaskArgs, GetJobJobSettingsSettingsRunJobTaskPtr and GetJobJobSettingsSettingsRunJobTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsRunJobTaskPtrInput` via: // -// GetJobJobSettingsSettingsSparkPythonTaskArgs{...} +// GetJobJobSettingsSettingsRunJobTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsSparkPythonTaskPtrInput interface { +type GetJobJobSettingsSettingsRunJobTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput - ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput + ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput + ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput } -type getJobJobSettingsSettingsSparkPythonTaskPtrType GetJobJobSettingsSettingsSparkPythonTaskArgs +type getJobJobSettingsSettingsRunJobTaskPtrType GetJobJobSettingsSettingsRunJobTaskArgs -func GetJobJobSettingsSettingsSparkPythonTaskPtr(v *GetJobJobSettingsSettingsSparkPythonTaskArgs) GetJobJobSettingsSettingsSparkPythonTaskPtrInput { - return (*getJobJobSettingsSettingsSparkPythonTaskPtrType)(v) +func GetJobJobSettingsSettingsRunJobTaskPtr(v *GetJobJobSettingsSettingsRunJobTaskArgs) GetJobJobSettingsSettingsRunJobTaskPtrInput { + return (*getJobJobSettingsSettingsRunJobTaskPtrType)(v) } -func (*getJobJobSettingsSettingsSparkPythonTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() +func (*getJobJobSettingsSettingsRunJobTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsRunJobTaskPtrType) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) +func (i *getJobJobSettingsSettingsRunJobTaskPtrType) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) } -type GetJobJobSettingsSettingsSparkPythonTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsRunJobTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSparkPythonTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsRunJobTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput { +func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput { return o } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput { +func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskOutput { return o } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkPythonTask) *GetJobJobSettingsSettingsSparkPythonTask { +func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsRunJobTask) *GetJobJobSettingsSettingsRunJobTask { return &v - }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsRunJobTaskOutput) JobId() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsRunJobTask) int { return v.JobId }).(pulumi.IntOutput) } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsRunJobTaskOutput) JobParameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsRunJobTask) map[string]interface{} { return v.JobParameters }).(pulumi.MapOutput) } -type GetJobJobSettingsSettingsSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsRunJobTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsRunJobTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { +func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { +func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkPythonTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) GetJobJobSettingsSettingsSparkPythonTask { +func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsRunJobTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) GetJobJobSettingsSettingsRunJobTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsSparkPythonTask + var ret GetJobJobSettingsSettingsRunJobTask return ret - }).(GetJobJobSettingsSettingsSparkPythonTaskOutput) -} - -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsRunJobTaskOutput) } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) *string { +func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) *int { if v == nil { return nil } - return &v.PythonFile - }).(pulumi.StringPtrOutput) + return &v.JobId + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) *string { +func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) JobParameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) map[string]interface{} { if v == nil { return nil } - return v.Source - }).(pulumi.StringPtrOutput) + return v.JobParameters + }).(pulumi.MapOutput) } -type GetJobJobSettingsSettingsSparkSubmitTask struct { - Parameters []string `pulumi:"parameters"` +type GetJobJobSettingsSettingsSchedule struct { + PauseStatus *string `pulumi:"pauseStatus"` + QuartzCronExpression string `pulumi:"quartzCronExpression"` + TimezoneId string `pulumi:"timezoneId"` } -// GetJobJobSettingsSettingsSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkSubmitTaskArgs and GetJobJobSettingsSettingsSparkSubmitTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkSubmitTaskInput` via: +// GetJobJobSettingsSettingsScheduleInput is an input type that accepts GetJobJobSettingsSettingsScheduleArgs and GetJobJobSettingsSettingsScheduleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsScheduleInput` via: // -// GetJobJobSettingsSettingsSparkSubmitTaskArgs{...} -type GetJobJobSettingsSettingsSparkSubmitTaskInput interface { +// GetJobJobSettingsSettingsScheduleArgs{...} +type GetJobJobSettingsSettingsScheduleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput - ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput + ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput + ToGetJobJobSettingsSettingsScheduleOutputWithContext(context.Context) GetJobJobSettingsSettingsScheduleOutput } -type GetJobJobSettingsSettingsSparkSubmitTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsScheduleArgs struct { + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` + QuartzCronExpression pulumi.StringInput `pulumi:"quartzCronExpression"` + TimezoneId pulumi.StringInput `pulumi:"timezoneId"` } -func (GetJobJobSettingsSettingsSparkSubmitTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() +func (GetJobJobSettingsSettingsScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSchedule)(nil)).Elem() } -func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput { - return i.ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput { + return i.ToGetJobJobSettingsSettingsScheduleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskOutput) +func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsScheduleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsScheduleOutput) } -func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { + return i.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsScheduleOutput).ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkSubmitTaskArgs, GetJobJobSettingsSettingsSparkSubmitTaskPtr and GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkSubmitTaskPtrInput` via: +// GetJobJobSettingsSettingsSchedulePtrInput is an input type that accepts GetJobJobSettingsSettingsScheduleArgs, GetJobJobSettingsSettingsSchedulePtr and GetJobJobSettingsSettingsSchedulePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSchedulePtrInput` via: // -// GetJobJobSettingsSettingsSparkSubmitTaskArgs{...} +// GetJobJobSettingsSettingsScheduleArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsSparkSubmitTaskPtrInput interface { +type GetJobJobSettingsSettingsSchedulePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput - ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput + ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput + ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSchedulePtrOutput } -type getJobJobSettingsSettingsSparkSubmitTaskPtrType GetJobJobSettingsSettingsSparkSubmitTaskArgs +type getJobJobSettingsSettingsSchedulePtrType GetJobJobSettingsSettingsScheduleArgs -func GetJobJobSettingsSettingsSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsSparkSubmitTaskArgs) GetJobJobSettingsSettingsSparkSubmitTaskPtrInput { - return (*getJobJobSettingsSettingsSparkSubmitTaskPtrType)(v) +func GetJobJobSettingsSettingsSchedulePtr(v *GetJobJobSettingsSettingsScheduleArgs) GetJobJobSettingsSettingsSchedulePtrInput { + return (*getJobJobSettingsSettingsSchedulePtrType)(v) } -func (*getJobJobSettingsSettingsSparkSubmitTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() +func (*getJobJobSettingsSettingsSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSchedule)(nil)).Elem() } -func (i *getJobJobSettingsSettingsSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsSchedulePtrType) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { + return i.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) +func (i *getJobJobSettingsSettingsSchedulePtrType) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSchedulePtrOutput) } -type GetJobJobSettingsSettingsSparkSubmitTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsScheduleOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSparkSubmitTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() +func (GetJobJobSettingsSettingsScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSchedule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput { +func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput { return o } -func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput { +func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsScheduleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsScheduleOutput { return o } -func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { + return o.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkSubmitTask) *GetJobJobSettingsSettingsSparkSubmitTask { +func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSchedule) *GetJobJobSettingsSettingsSchedule { return &v - }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) + }).(GetJobJobSettingsSettingsSchedulePtrOutput) } -func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsScheduleOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsScheduleOutput) QuartzCronExpression() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) string { return v.QuartzCronExpression }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsScheduleOutput) TimezoneId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) string { return v.TimezoneId }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { +type GetJobJobSettingsSettingsSchedulePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSchedule)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsSchedulePtrOutput) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { return o } -func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { +func (o GetJobJobSettingsSettingsSchedulePtrOutput) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { return o } -func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkSubmitTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkSubmitTask) GetJobJobSettingsSettingsSparkSubmitTask { +func (o GetJobJobSettingsSettingsSchedulePtrOutput) Elem() GetJobJobSettingsSettingsScheduleOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) GetJobJobSettingsSettingsSchedule { if v != nil { return *v } - var ret GetJobJobSettingsSettingsSparkSubmitTask + var ret GetJobJobSettingsSettingsSchedule return ret - }).(GetJobJobSettingsSettingsSparkSubmitTaskOutput) + }).(GetJobJobSettingsSettingsScheduleOutput) } -func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkSubmitTask) []string { +func (o GetJobJobSettingsSettingsSchedulePtrOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return v.PauseStatus + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTask struct { - ConditionTask *GetJobJobSettingsSettingsTaskConditionTask `pulumi:"conditionTask"` - DbtTask *GetJobJobSettingsSettingsTaskDbtTask `pulumi:"dbtTask"` - DependsOns []GetJobJobSettingsSettingsTaskDependsOn `pulumi:"dependsOns"` - Description *string `pulumi:"description"` - EmailNotifications *GetJobJobSettingsSettingsTaskEmailNotifications `pulumi:"emailNotifications"` - EnvironmentKey *string `pulumi:"environmentKey"` - ExistingClusterId *string `pulumi:"existingClusterId"` - ForEachTask *GetJobJobSettingsSettingsTaskForEachTask `pulumi:"forEachTask"` - Health *GetJobJobSettingsSettingsTaskHealth `pulumi:"health"` - JobClusterKey *string `pulumi:"jobClusterKey"` - Libraries []GetJobJobSettingsSettingsTaskLibrary `pulumi:"libraries"` - MaxRetries *int `pulumi:"maxRetries"` - MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` - NewCluster *GetJobJobSettingsSettingsTaskNewCluster `pulumi:"newCluster"` - NotebookTask *GetJobJobSettingsSettingsTaskNotebookTask `pulumi:"notebookTask"` - NotificationSettings *GetJobJobSettingsSettingsTaskNotificationSettings `pulumi:"notificationSettings"` - PipelineTask *GetJobJobSettingsSettingsTaskPipelineTask `pulumi:"pipelineTask"` - PythonWheelTask *GetJobJobSettingsSettingsTaskPythonWheelTask `pulumi:"pythonWheelTask"` - RetryOnTimeout bool `pulumi:"retryOnTimeout"` - RunIf *string `pulumi:"runIf"` - RunJobTask *GetJobJobSettingsSettingsTaskRunJobTask `pulumi:"runJobTask"` - SparkJarTask *GetJobJobSettingsSettingsTaskSparkJarTask `pulumi:"sparkJarTask"` - SparkPythonTask *GetJobJobSettingsSettingsTaskSparkPythonTask `pulumi:"sparkPythonTask"` - SparkSubmitTask *GetJobJobSettingsSettingsTaskSparkSubmitTask `pulumi:"sparkSubmitTask"` - SqlTask *GetJobJobSettingsSettingsTaskSqlTask `pulumi:"sqlTask"` - TaskKey *string `pulumi:"taskKey"` - TimeoutSeconds *int `pulumi:"timeoutSeconds"` - WebhookNotifications *GetJobJobSettingsSettingsTaskWebhookNotifications `pulumi:"webhookNotifications"` +func (o GetJobJobSettingsSettingsSchedulePtrOutput) QuartzCronExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { + if v == nil { + return nil + } + return &v.QuartzCronExpression + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskArgs and GetJobJobSettingsSettingsTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskInput` via: +func (o GetJobJobSettingsSettingsSchedulePtrOutput) TimezoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { + if v == nil { + return nil + } + return &v.TimezoneId + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsSparkJarTask struct { + JarUri *string `pulumi:"jarUri"` + MainClassName *string `pulumi:"mainClassName"` + Parameters []string `pulumi:"parameters"` +} + +// GetJobJobSettingsSettingsSparkJarTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkJarTaskArgs and GetJobJobSettingsSettingsSparkJarTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkJarTaskInput` via: // -// GetJobJobSettingsSettingsTaskArgs{...} -type GetJobJobSettingsSettingsTaskInput interface { +// GetJobJobSettingsSettingsSparkJarTaskArgs{...} +type GetJobJobSettingsSettingsSparkJarTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput - ToGetJobJobSettingsSettingsTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskOutput + ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput + ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput } -type GetJobJobSettingsSettingsTaskArgs struct { - ConditionTask GetJobJobSettingsSettingsTaskConditionTaskPtrInput `pulumi:"conditionTask"` - DbtTask GetJobJobSettingsSettingsTaskDbtTaskPtrInput `pulumi:"dbtTask"` - DependsOns GetJobJobSettingsSettingsTaskDependsOnArrayInput `pulumi:"dependsOns"` - Description pulumi.StringPtrInput `pulumi:"description"` - EmailNotifications GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` - EnvironmentKey pulumi.StringPtrInput `pulumi:"environmentKey"` - ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` - ForEachTask GetJobJobSettingsSettingsTaskForEachTaskPtrInput `pulumi:"forEachTask"` - Health GetJobJobSettingsSettingsTaskHealthPtrInput `pulumi:"health"` - JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` - Libraries GetJobJobSettingsSettingsTaskLibraryArrayInput `pulumi:"libraries"` - MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` - MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` - NewCluster GetJobJobSettingsSettingsTaskNewClusterPtrInput `pulumi:"newCluster"` - NotebookTask GetJobJobSettingsSettingsTaskNotebookTaskPtrInput `pulumi:"notebookTask"` - NotificationSettings GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput `pulumi:"notificationSettings"` - PipelineTask GetJobJobSettingsSettingsTaskPipelineTaskPtrInput `pulumi:"pipelineTask"` - PythonWheelTask GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` - RetryOnTimeout pulumi.BoolInput `pulumi:"retryOnTimeout"` - RunIf pulumi.StringPtrInput `pulumi:"runIf"` - RunJobTask GetJobJobSettingsSettingsTaskRunJobTaskPtrInput `pulumi:"runJobTask"` - SparkJarTask GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput `pulumi:"sparkJarTask"` - SparkPythonTask GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` - SparkSubmitTask GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` - SqlTask GetJobJobSettingsSettingsTaskSqlTaskPtrInput `pulumi:"sqlTask"` - TaskKey pulumi.StringPtrInput `pulumi:"taskKey"` - TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` - WebhookNotifications GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` +type GetJobJobSettingsSettingsSparkJarTaskArgs struct { + JarUri pulumi.StringPtrInput `pulumi:"jarUri"` + MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTask)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkJarTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskArgs) ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput { + return i.ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskArgs) ToGetJobJobSettingsSettingsTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskOutput) +func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskOutput) } -// GetJobJobSettingsSettingsTaskArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskArray and GetJobJobSettingsSettingsTaskArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskArrayInput` via: +func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskOutput).ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsSparkJarTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkJarTaskArgs, GetJobJobSettingsSettingsSparkJarTaskPtr and GetJobJobSettingsSettingsSparkJarTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkJarTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskArray{ GetJobJobSettingsSettingsTaskArgs{...} } -type GetJobJobSettingsSettingsTaskArrayInput interface { +// GetJobJobSettingsSettingsSparkJarTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsSparkJarTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput - ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskArrayOutput + ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput + ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput } -type GetJobJobSettingsSettingsTaskArray []GetJobJobSettingsSettingsTaskInput +type getJobJobSettingsSettingsSparkJarTaskPtrType GetJobJobSettingsSettingsSparkJarTaskArgs -func (GetJobJobSettingsSettingsTaskArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTask)(nil)).Elem() +func GetJobJobSettingsSettingsSparkJarTaskPtr(v *GetJobJobSettingsSettingsSparkJarTaskArgs) GetJobJobSettingsSettingsSparkJarTaskPtrInput { + return (*getJobJobSettingsSettingsSparkJarTaskPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskArray) ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsSparkJarTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskArray) ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskArrayOutput) +func (i *getJobJobSettingsSettingsSparkJarTaskPtrType) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsSparkJarTaskPtrType) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) +} -func (GetJobJobSettingsSettingsTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTask)(nil)).Elem() +type GetJobJobSettingsSettingsSparkJarTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsSparkJarTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskOutput) ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput { +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskOutput) ToGetJobJobSettingsSettingsTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskOutput { +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskOutput) ConditionTask() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskConditionTask { - return v.ConditionTask - }).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskOutput) DbtTask() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskDbtTask { return v.DbtTask }).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkJarTask) *GetJobJobSettingsSettingsSparkJarTask { + return &v + }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) DependsOns() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) []GetJobJobSettingsSettingsTaskDependsOn { return v.DependsOns }).(GetJobJobSettingsSettingsTaskDependsOnArrayOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.Description }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) EmailNotifications() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskEmailNotifications { - return v.EmailNotifications - }).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) EnvironmentKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.EnvironmentKey }).(pulumi.StringPtrOutput) -} +type GetJobJobSettingsSettingsSparkJarTaskPtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskOutput) ForEachTask() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskForEachTask { return v.ForEachTask }).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskOutput) Health() GetJobJobSettingsSettingsTaskHealthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskHealth { return v.Health }).(GetJobJobSettingsSettingsTaskHealthPtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskOutput) JobClusterKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkJarTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) GetJobJobSettingsSettingsSparkJarTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsSparkJarTask + return ret + }).(GetJobJobSettingsSettingsSparkJarTaskOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) Libraries() GetJobJobSettingsSettingsTaskLibraryArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) []GetJobJobSettingsSettingsTaskLibrary { return v.Libraries }).(GetJobJobSettingsSettingsTaskLibraryArrayOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) *string { + if v == nil { + return nil + } + return v.JarUri + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) *string { + if v == nil { + return nil + } + return v.MainClassName + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) NewCluster() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNewCluster { return v.NewCluster }).(GetJobJobSettingsSettingsTaskNewClusterPtrOutput) +type GetJobJobSettingsSettingsSparkPythonTask struct { + Parameters []string `pulumi:"parameters"` + PythonFile string `pulumi:"pythonFile"` + Source *string `pulumi:"source"` } -func (o GetJobJobSettingsSettingsTaskOutput) NotebookTask() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNotebookTask { - return v.NotebookTask - }).(GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) +// GetJobJobSettingsSettingsSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkPythonTaskArgs and GetJobJobSettingsSettingsSparkPythonTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkPythonTaskInput` via: +// +// GetJobJobSettingsSettingsSparkPythonTaskArgs{...} +type GetJobJobSettingsSettingsSparkPythonTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput + ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput } -func (o GetJobJobSettingsSettingsTaskOutput) NotificationSettings() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNotificationSettings { - return v.NotificationSettings - }).(GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) +type GetJobJobSettingsSettingsSparkPythonTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` + PythonFile pulumi.StringInput `pulumi:"pythonFile"` + Source pulumi.StringPtrInput `pulumi:"source"` } -func (o GetJobJobSettingsSettingsTaskOutput) PipelineTask() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskPipelineTask { - return v.PipelineTask - }).(GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) +func (GetJobJobSettingsSettingsSparkPythonTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskPythonWheelTask { - return v.PythonWheelTask - }).(GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) RetryOnTimeout() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) bool { return v.RetryOnTimeout }).(pulumi.BoolOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) RunIf() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) RunJobTask() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskRunJobTask { return v.RunJobTask }).(GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) SparkJarTask() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkJarTask { - return v.SparkJarTask - }).(GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkPythonTask { - return v.SparkPythonTask - }).(GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkSubmitTask { - return v.SparkSubmitTask - }).(GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) SqlTask() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSqlTask { return v.SqlTask }).(GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) TaskKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.TaskKey }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskWebhookNotifications { - return v.WebhookNotifications - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) -} - -type GetJobJobSettingsSettingsTaskArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTask)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsTaskArrayOutput) ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskArrayOutput) ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskArrayOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTask { - return vs[0].([]GetJobJobSettingsSettingsTask)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskOutput) -} - -type GetJobJobSettingsSettingsTaskConditionTask struct { - Left string `pulumi:"left"` - Op string `pulumi:"op"` - Right string `pulumi:"right"` -} - -// GetJobJobSettingsSettingsTaskConditionTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskConditionTaskArgs and GetJobJobSettingsSettingsTaskConditionTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskConditionTaskInput` via: -// -// GetJobJobSettingsSettingsTaskConditionTaskArgs{...} -type GetJobJobSettingsSettingsTaskConditionTaskInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput - ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput -} - -type GetJobJobSettingsSettingsTaskConditionTaskArgs struct { - Left pulumi.StringInput `pulumi:"left"` - Op pulumi.StringInput `pulumi:"op"` - Right pulumi.StringInput `pulumi:"right"` -} - -func (GetJobJobSettingsSettingsTaskConditionTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput { + return i.ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskOutput) +func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskOutput) } -func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskOutput).ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskOutput).ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskConditionTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskConditionTaskArgs, GetJobJobSettingsSettingsTaskConditionTaskPtr and GetJobJobSettingsSettingsTaskConditionTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskConditionTaskPtrInput` via: +// GetJobJobSettingsSettingsSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkPythonTaskArgs, GetJobJobSettingsSettingsSparkPythonTaskPtr and GetJobJobSettingsSettingsSparkPythonTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkPythonTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskConditionTaskArgs{...} +// GetJobJobSettingsSettingsSparkPythonTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskConditionTaskPtrInput interface { +type GetJobJobSettingsSettingsSparkPythonTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput - ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput + ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput + ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput } -type getJobJobSettingsSettingsTaskConditionTaskPtrType GetJobJobSettingsSettingsTaskConditionTaskArgs +type getJobJobSettingsSettingsSparkPythonTaskPtrType GetJobJobSettingsSettingsSparkPythonTaskArgs -func GetJobJobSettingsSettingsTaskConditionTaskPtr(v *GetJobJobSettingsSettingsTaskConditionTaskArgs) GetJobJobSettingsSettingsTaskConditionTaskPtrInput { - return (*getJobJobSettingsSettingsTaskConditionTaskPtrType)(v) +func GetJobJobSettingsSettingsSparkPythonTaskPtr(v *GetJobJobSettingsSettingsSparkPythonTaskArgs) GetJobJobSettingsSettingsSparkPythonTaskPtrInput { + return (*getJobJobSettingsSettingsSparkPythonTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskConditionTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() +func (*getJobJobSettingsSettingsSparkPythonTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) +func (i *getJobJobSettingsSettingsSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskConditionTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsSparkPythonTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskConditionTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkPythonTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput { +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput { +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskConditionTask) *GetJobJobSettingsSettingsTaskConditionTask { +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkPythonTask) *GetJobJobSettingsSettingsSparkPythonTask { return &v - }).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) + }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Left() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) string { return v.Left }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Op() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Right() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskConditionTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) GetJobJobSettingsSettingsTaskConditionTask { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkPythonTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) GetJobJobSettingsSettingsSparkPythonTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskConditionTask + var ret GetJobJobSettingsSettingsSparkPythonTask return ret - }).(GetJobJobSettingsSettingsTaskConditionTaskOutput) + }).(GetJobJobSettingsSettingsSparkPythonTaskOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) []string { if v == nil { return nil } - return &v.Left - }).(pulumi.StringPtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) *string { if v == nil { return nil } - return &v.Op + return &v.PythonFile }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) *string { if v == nil { return nil } - return &v.Right + return v.Source }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskDbtTask struct { - Catalog *string `pulumi:"catalog"` - Commands []string `pulumi:"commands"` - ProfilesDirectory *string `pulumi:"profilesDirectory"` - ProjectDirectory *string `pulumi:"projectDirectory"` - Schema *string `pulumi:"schema"` - Source *string `pulumi:"source"` - WarehouseId *string `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsSparkSubmitTask struct { + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsTaskDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskDbtTaskArgs and GetJobJobSettingsSettingsTaskDbtTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDbtTaskInput` via: +// GetJobJobSettingsSettingsSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkSubmitTaskArgs and GetJobJobSettingsSettingsSparkSubmitTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkSubmitTaskInput` via: // -// GetJobJobSettingsSettingsTaskDbtTaskArgs{...} -type GetJobJobSettingsSettingsTaskDbtTaskInput interface { +// GetJobJobSettingsSettingsSparkSubmitTaskArgs{...} +type GetJobJobSettingsSettingsSparkSubmitTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput - ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput + ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput + ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput } -type GetJobJobSettingsSettingsTaskDbtTaskArgs struct { - Catalog pulumi.StringPtrInput `pulumi:"catalog"` - Commands pulumi.StringArrayInput `pulumi:"commands"` - ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` - ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` - Schema pulumi.StringPtrInput `pulumi:"schema"` - Source pulumi.StringPtrInput `pulumi:"source"` - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsSparkSubmitTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsTaskDbtTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkSubmitTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput { + return i.ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskOutput) +func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskOutput) } -func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskOutput).ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskDbtTaskArgs, GetJobJobSettingsSettingsTaskDbtTaskPtr and GetJobJobSettingsSettingsTaskDbtTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDbtTaskPtrInput` via: +// GetJobJobSettingsSettingsSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkSubmitTaskArgs, GetJobJobSettingsSettingsSparkSubmitTaskPtr and GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkSubmitTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskDbtTaskArgs{...} +// GetJobJobSettingsSettingsSparkSubmitTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskDbtTaskPtrInput interface { +type GetJobJobSettingsSettingsSparkSubmitTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput - ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput + ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput + ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput } -type getJobJobSettingsSettingsTaskDbtTaskPtrType GetJobJobSettingsSettingsTaskDbtTaskArgs +type getJobJobSettingsSettingsSparkSubmitTaskPtrType GetJobJobSettingsSettingsSparkSubmitTaskArgs -func GetJobJobSettingsSettingsTaskDbtTaskPtr(v *GetJobJobSettingsSettingsTaskDbtTaskArgs) GetJobJobSettingsSettingsTaskDbtTaskPtrInput { - return (*getJobJobSettingsSettingsTaskDbtTaskPtrType)(v) +func GetJobJobSettingsSettingsSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsSparkSubmitTaskArgs) GetJobJobSettingsSettingsSparkSubmitTaskPtrInput { + return (*getJobJobSettingsSettingsSparkSubmitTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskDbtTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() +func (*getJobJobSettingsSettingsSparkSubmitTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) +func (i *getJobJobSettingsSettingsSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskDbtTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsSparkSubmitTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskDbtTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkSubmitTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput { +func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput { +func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskDbtTask) *GetJobJobSettingsSettingsTaskDbtTask { +func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkSubmitTask) *GetJobJobSettingsSettingsSparkSubmitTask { return &v - }).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { +func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { +func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskDbtTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) GetJobJobSettingsSettingsTaskDbtTask { +func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkSubmitTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkSubmitTask) GetJobJobSettingsSettingsSparkSubmitTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskDbtTask + var ret GetJobJobSettingsSettingsSparkSubmitTask return ret - }).(GetJobJobSettingsSettingsTaskDbtTaskOutput) -} - -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { - if v == nil { - return nil - } - return v.Catalog - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsSparkSubmitTaskOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) []string { +func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkSubmitTask) []string { if v == nil { return nil } - return v.Commands + return v.Parameters }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { - if v == nil { - return nil - } - return v.ProfilesDirectory - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTask struct { + ConditionTask *GetJobJobSettingsSettingsTaskConditionTask `pulumi:"conditionTask"` + DbtTask *GetJobJobSettingsSettingsTaskDbtTask `pulumi:"dbtTask"` + DependsOns []GetJobJobSettingsSettingsTaskDependsOn `pulumi:"dependsOns"` + Description *string `pulumi:"description"` + EmailNotifications *GetJobJobSettingsSettingsTaskEmailNotifications `pulumi:"emailNotifications"` + EnvironmentKey *string `pulumi:"environmentKey"` + ExistingClusterId *string `pulumi:"existingClusterId"` + ForEachTask *GetJobJobSettingsSettingsTaskForEachTask `pulumi:"forEachTask"` + Health *GetJobJobSettingsSettingsTaskHealth `pulumi:"health"` + JobClusterKey *string `pulumi:"jobClusterKey"` + Libraries []GetJobJobSettingsSettingsTaskLibrary `pulumi:"libraries"` + MaxRetries *int `pulumi:"maxRetries"` + MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` + NewCluster *GetJobJobSettingsSettingsTaskNewCluster `pulumi:"newCluster"` + NotebookTask *GetJobJobSettingsSettingsTaskNotebookTask `pulumi:"notebookTask"` + NotificationSettings *GetJobJobSettingsSettingsTaskNotificationSettings `pulumi:"notificationSettings"` + PipelineTask *GetJobJobSettingsSettingsTaskPipelineTask `pulumi:"pipelineTask"` + PythonWheelTask *GetJobJobSettingsSettingsTaskPythonWheelTask `pulumi:"pythonWheelTask"` + RetryOnTimeout bool `pulumi:"retryOnTimeout"` + RunIf *string `pulumi:"runIf"` + RunJobTask *GetJobJobSettingsSettingsTaskRunJobTask `pulumi:"runJobTask"` + SparkJarTask *GetJobJobSettingsSettingsTaskSparkJarTask `pulumi:"sparkJarTask"` + SparkPythonTask *GetJobJobSettingsSettingsTaskSparkPythonTask `pulumi:"sparkPythonTask"` + SparkSubmitTask *GetJobJobSettingsSettingsTaskSparkSubmitTask `pulumi:"sparkSubmitTask"` + SqlTask *GetJobJobSettingsSettingsTaskSqlTask `pulumi:"sqlTask"` + TaskKey *string `pulumi:"taskKey"` + TimeoutSeconds *int `pulumi:"timeoutSeconds"` + WebhookNotifications *GetJobJobSettingsSettingsTaskWebhookNotifications `pulumi:"webhookNotifications"` } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { - if v == nil { - return nil - } - return v.ProjectDirectory - }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskArgs and GetJobJobSettingsSettingsTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskInput` via: +// +// GetJobJobSettingsSettingsTaskArgs{...} +type GetJobJobSettingsSettingsTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput + ToGetJobJobSettingsSettingsTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskOutput } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { - if v == nil { - return nil - } - return v.Schema - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskArgs struct { + ConditionTask GetJobJobSettingsSettingsTaskConditionTaskPtrInput `pulumi:"conditionTask"` + DbtTask GetJobJobSettingsSettingsTaskDbtTaskPtrInput `pulumi:"dbtTask"` + DependsOns GetJobJobSettingsSettingsTaskDependsOnArrayInput `pulumi:"dependsOns"` + Description pulumi.StringPtrInput `pulumi:"description"` + EmailNotifications GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` + EnvironmentKey pulumi.StringPtrInput `pulumi:"environmentKey"` + ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` + ForEachTask GetJobJobSettingsSettingsTaskForEachTaskPtrInput `pulumi:"forEachTask"` + Health GetJobJobSettingsSettingsTaskHealthPtrInput `pulumi:"health"` + JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` + Libraries GetJobJobSettingsSettingsTaskLibraryArrayInput `pulumi:"libraries"` + MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` + MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` + NewCluster GetJobJobSettingsSettingsTaskNewClusterPtrInput `pulumi:"newCluster"` + NotebookTask GetJobJobSettingsSettingsTaskNotebookTaskPtrInput `pulumi:"notebookTask"` + NotificationSettings GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput `pulumi:"notificationSettings"` + PipelineTask GetJobJobSettingsSettingsTaskPipelineTaskPtrInput `pulumi:"pipelineTask"` + PythonWheelTask GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` + RetryOnTimeout pulumi.BoolInput `pulumi:"retryOnTimeout"` + RunIf pulumi.StringPtrInput `pulumi:"runIf"` + RunJobTask GetJobJobSettingsSettingsTaskRunJobTaskPtrInput `pulumi:"runJobTask"` + SparkJarTask GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput `pulumi:"sparkJarTask"` + SparkPythonTask GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` + SparkSubmitTask GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` + SqlTask GetJobJobSettingsSettingsTaskSqlTaskPtrInput `pulumi:"sqlTask"` + TaskKey pulumi.StringPtrInput `pulumi:"taskKey"` + TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` + WebhookNotifications GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { - if v == nil { - return nil - } - return v.Source - }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { - if v == nil { - return nil - } - return v.WarehouseId - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskArgs) ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskDependsOn struct { - Outcome *string `pulumi:"outcome"` - TaskKey string `pulumi:"taskKey"` +func (i GetJobJobSettingsSettingsTaskArgs) ToGetJobJobSettingsSettingsTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskOutput) } -// GetJobJobSettingsSettingsTaskDependsOnInput is an input type that accepts GetJobJobSettingsSettingsTaskDependsOnArgs and GetJobJobSettingsSettingsTaskDependsOnOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDependsOnInput` via: +// GetJobJobSettingsSettingsTaskArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskArray and GetJobJobSettingsSettingsTaskArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskArrayInput` via: // -// GetJobJobSettingsSettingsTaskDependsOnArgs{...} -type GetJobJobSettingsSettingsTaskDependsOnInput interface { +// GetJobJobSettingsSettingsTaskArray{ GetJobJobSettingsSettingsTaskArgs{...} } +type GetJobJobSettingsSettingsTaskArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput - ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput + ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput + ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskArrayOutput } -type GetJobJobSettingsSettingsTaskDependsOnArgs struct { - Outcome pulumi.StringPtrInput `pulumi:"outcome"` - TaskKey pulumi.StringInput `pulumi:"taskKey"` -} +type GetJobJobSettingsSettingsTaskArray []GetJobJobSettingsSettingsTaskInput -func (GetJobJobSettingsSettingsTaskDependsOnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput { - return i.ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskArray) ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDependsOnOutput) +func (i GetJobJobSettingsSettingsTaskArray) ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskArrayOutput) } -// GetJobJobSettingsSettingsTaskDependsOnArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskDependsOnArray and GetJobJobSettingsSettingsTaskDependsOnArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDependsOnArrayInput` via: -// -// GetJobJobSettingsSettingsTaskDependsOnArray{ GetJobJobSettingsSettingsTaskDependsOnArgs{...} } -type GetJobJobSettingsSettingsTaskDependsOnArrayInput interface { - pulumi.Input +type GetJobJobSettingsSettingsTaskOutput struct{ *pulumi.OutputState } - ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput - ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput +func (GetJobJobSettingsSettingsTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTask)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskDependsOnArray []GetJobJobSettingsSettingsTaskDependsOnInput - -func (GetJobJobSettingsSettingsTaskDependsOnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskOutput) ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput { + return o } -func (i GetJobJobSettingsSettingsTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskOutput) ToGetJobJobSettingsSettingsTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskOutput { + return o } -func (i GetJobJobSettingsSettingsTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDependsOnArrayOutput) +func (o GetJobJobSettingsSettingsTaskOutput) ConditionTask() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskConditionTask { + return v.ConditionTask + }).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskDependsOnOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskOutput) DbtTask() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskDbtTask { return v.DbtTask }).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) +} -func (GetJobJobSettingsSettingsTaskDependsOnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskOutput) DependsOns() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) []GetJobJobSettingsSettingsTaskDependsOn { return v.DependsOns }).(GetJobJobSettingsSettingsTaskDependsOnArrayOutput) } -func (o GetJobJobSettingsSettingsTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput { - return o +func (o GetJobJobSettingsSettingsTaskOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.Description }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput { - return o +func (o GetJobJobSettingsSettingsTaskOutput) EmailNotifications() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskEmailNotifications { + return v.EmailNotifications + }).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskOutput) EnvironmentKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.EnvironmentKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDependsOnOutput) TaskKey() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskDependsOnArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskOutput) ForEachTask() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskForEachTask { return v.ForEachTask }).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) +} -func (GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskOutput) Health() GetJobJobSettingsSettingsTaskHealthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskHealth { return v.Health }).(GetJobJobSettingsSettingsTaskHealthPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskOutput) JobClusterKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskOutput) Libraries() GetJobJobSettingsSettingsTaskLibraryArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) []GetJobJobSettingsSettingsTaskLibrary { return v.Libraries }).(GetJobJobSettingsSettingsTaskLibraryArrayOutput) } -func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskDependsOnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskDependsOn { - return vs[0].([]GetJobJobSettingsSettingsTaskDependsOn)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskDependsOnOutput) +func (o GetJobJobSettingsSettingsTaskOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskEmailNotifications struct { - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` - OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures []string `pulumi:"onFailures"` - OnStarts []string `pulumi:"onStarts"` - OnSuccesses []string `pulumi:"onSuccesses"` +func (o GetJobJobSettingsSettingsTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsTaskEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskEmailNotificationsArgs and GetJobJobSettingsSettingsTaskEmailNotificationsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskEmailNotificationsInput` via: -// -// GetJobJobSettingsSettingsTaskEmailNotificationsArgs{...} -type GetJobJobSettingsSettingsTaskEmailNotificationsInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskOutput) NewCluster() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNewCluster { return v.NewCluster }).(GetJobJobSettingsSettingsTaskNewClusterPtrOutput) +} - ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput - ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput +func (o GetJobJobSettingsSettingsTaskOutput) NotebookTask() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNotebookTask { + return v.NotebookTask + }).(GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskEmailNotificationsArgs struct { - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` - OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` - OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` - OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` +func (o GetJobJobSettingsSettingsTaskOutput) NotificationSettings() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNotificationSettings { + return v.NotificationSettings + }).(GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) } -func (GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskOutput) PipelineTask() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskPipelineTask { + return v.PipelineTask + }).(GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) } -func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { - return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskPythonWheelTask { + return v.PythonWheelTask + }).(GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) } -func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput) +func (o GetJobJobSettingsSettingsTaskOutput) RetryOnTimeout() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) bool { return v.RetryOnTimeout }).(pulumi.BoolOutput) } -func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskOutput) RunIf() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput).ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsTaskOutput) RunJobTask() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskRunJobTask { return v.RunJobTask }).(GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) } -// GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskEmailNotificationsArgs, GetJobJobSettingsSettingsTaskEmailNotificationsPtr and GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput` via: -// -// GetJobJobSettingsSettingsTaskEmailNotificationsArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskOutput) SparkJarTask() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkJarTask { + return v.SparkJarTask + }).(GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) +} - ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput - ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput +func (o GetJobJobSettingsSettingsTaskOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkPythonTask { + return v.SparkPythonTask + }).(GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) } -type getJobJobSettingsSettingsTaskEmailNotificationsPtrType GetJobJobSettingsSettingsTaskEmailNotificationsArgs +func (o GetJobJobSettingsSettingsTaskOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkSubmitTask { + return v.SparkSubmitTask + }).(GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) +} -func GetJobJobSettingsSettingsTaskEmailNotificationsPtr(v *GetJobJobSettingsSettingsTaskEmailNotificationsArgs) GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput { - return (*getJobJobSettingsSettingsTaskEmailNotificationsPtrType)(v) +func (o GetJobJobSettingsSettingsTaskOutput) SqlTask() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSqlTask { return v.SqlTask }).(GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) } -func (*getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskOutput) TaskKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.TaskKey }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) } -func (i *getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) +func (o GetJobJobSettingsSettingsTaskOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskWebhookNotifications { + return v.WebhookNotifications + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) } -type GetJobJobSettingsSettingsTaskEmailNotificationsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { +func (o GetJobJobSettingsSettingsTaskArrayOutput) ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput { +func (o GetJobJobSettingsSettingsTaskArrayOutput) ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTask { + return vs[0].([]GetJobJobSettingsSettingsTask)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskOutput) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskEmailNotifications) *GetJobJobSettingsSettingsTaskEmailNotifications { - return &v - }).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) +type GetJobJobSettingsSettingsTaskConditionTask struct { + Left string `pulumi:"left"` + Op string `pulumi:"op"` + Right string `pulumi:"right"` } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) -} +// GetJobJobSettingsSettingsTaskConditionTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskConditionTaskArgs and GetJobJobSettingsSettingsTaskConditionTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskConditionTaskInput` via: +// +// GetJobJobSettingsSettingsTaskConditionTaskArgs{...} +type GetJobJobSettingsSettingsTaskConditionTaskInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) + ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput + ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) +type GetJobJobSettingsSettingsTaskConditionTaskArgs struct { + Left pulumi.StringInput `pulumi:"left"` + Op pulumi.StringInput `pulumi:"op"` + Right pulumi.StringInput `pulumi:"right"` } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) +func (GetJobJobSettingsSettingsTaskConditionTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskOutput) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return o +func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return o +func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskOutput).ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) GetJobJobSettingsSettingsTaskEmailNotifications { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskEmailNotifications - return ret - }).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput) +// GetJobJobSettingsSettingsTaskConditionTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskConditionTaskArgs, GetJobJobSettingsSettingsTaskConditionTaskPtr and GetJobJobSettingsSettingsTaskConditionTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskConditionTaskPtrInput` via: +// +// GetJobJobSettingsSettingsTaskConditionTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskConditionTaskPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput + ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) *bool { - if v == nil { - return nil - } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) +type getJobJobSettingsSettingsTaskConditionTaskPtrType GetJobJobSettingsSettingsTaskConditionTaskArgs + +func GetJobJobSettingsSettingsTaskConditionTaskPtr(v *GetJobJobSettingsSettingsTaskConditionTaskArgs) GetJobJobSettingsSettingsTaskConditionTaskPtrInput { + return (*getJobJobSettingsSettingsTaskConditionTaskPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { - if v == nil { - return nil +func (*getJobJobSettingsSettingsTaskConditionTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) +} + +type GetJobJobSettingsSettingsTaskConditionTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskConditionTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskConditionTask) *GetJobJobSettingsSettingsTaskConditionTask { + return &v + }).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Left() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) string { return v.Left }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Right() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) +} + +type GetJobJobSettingsSettingsTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskConditionTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) GetJobJobSettingsSettingsTaskConditionTask { + if v != nil { + return *v } - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) + var ret GetJobJobSettingsSettingsTaskConditionTask + return ret + }).(GetJobJobSettingsSettingsTaskConditionTaskOutput) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { if v == nil { return nil } - return v.OnFailures - }).(pulumi.StringArrayOutput) + return &v.Left + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { if v == nil { return nil } - return v.OnStarts - }).(pulumi.StringArrayOutput) + return &v.Op + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { if v == nil { return nil } - return v.OnSuccesses - }).(pulumi.StringArrayOutput) + return &v.Right + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTask struct { - Concurrency *int `pulumi:"concurrency"` - Inputs string `pulumi:"inputs"` - Task GetJobJobSettingsSettingsTaskForEachTaskTask `pulumi:"task"` +type GetJobJobSettingsSettingsTaskDbtTask struct { + Catalog *string `pulumi:"catalog"` + Commands []string `pulumi:"commands"` + ProfilesDirectory *string `pulumi:"profilesDirectory"` + ProjectDirectory *string `pulumi:"projectDirectory"` + Schema *string `pulumi:"schema"` + Source *string `pulumi:"source"` + WarehouseId *string `pulumi:"warehouseId"` } -// GetJobJobSettingsSettingsTaskForEachTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskInput` via: +// GetJobJobSettingsSettingsTaskDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskDbtTaskArgs and GetJobJobSettingsSettingsTaskDbtTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDbtTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskInput interface { +// GetJobJobSettingsSettingsTaskDbtTaskArgs{...} +type GetJobJobSettingsSettingsTaskDbtTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput + ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput + ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskArgs struct { - Concurrency pulumi.IntPtrInput `pulumi:"concurrency"` - Inputs pulumi.StringInput `pulumi:"inputs"` - Task GetJobJobSettingsSettingsTaskForEachTaskTaskInput `pulumi:"task"` +type GetJobJobSettingsSettingsTaskDbtTaskArgs struct { + Catalog pulumi.StringPtrInput `pulumi:"catalog"` + Commands pulumi.StringArrayInput `pulumi:"commands"` + ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` + ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` + Schema pulumi.StringPtrInput `pulumi:"schema"` + Source pulumi.StringPtrInput `pulumi:"source"` + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (GetJobJobSettingsSettingsTaskForEachTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDbtTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskOutput) +func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskOutput).ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskDbtTaskArgs, GetJobJobSettingsSettingsTaskDbtTaskPtr and GetJobJobSettingsSettingsTaskDbtTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDbtTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskArgs{...} +// GetJobJobSettingsSettingsTaskDbtTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskDbtTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput + ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput + ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskArgs +type getJobJobSettingsSettingsTaskDbtTaskPtrType GetJobJobSettingsSettingsTaskDbtTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskDbtTaskPtr(v *GetJobJobSettingsSettingsTaskDbtTaskArgs) GetJobJobSettingsSettingsTaskDbtTaskPtrInput { + return (*getJobJobSettingsSettingsTaskDbtTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskDbtTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskDbtTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDbtTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput { +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput { +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTask) *GetJobJobSettingsSettingsTaskForEachTask { +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskDbtTask) *GetJobJobSettingsSettingsTaskDbtTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Concurrency() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) *int { return v.Concurrency }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Inputs() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) string { return v.Inputs }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Task() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) GetJobJobSettingsSettingsTaskForEachTaskTask { - return v.Task - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) GetJobJobSettingsSettingsTaskForEachTask { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskDbtTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) GetJobJobSettingsSettingsTaskDbtTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTask + var ret GetJobJobSettingsSettingsTaskDbtTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskOutput) + }).(GetJobJobSettingsSettingsTaskDbtTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Concurrency() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *int { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { if v == nil { return nil } - return v.Concurrency - }).(pulumi.IntPtrOutput) + return v.Catalog + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Inputs() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *string { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) []string { if v == nil { return nil } - return &v.Inputs + return v.Commands + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { + if v == nil { + return nil + } + return v.ProfilesDirectory }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Task() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *GetJobJobSettingsSettingsTaskForEachTaskTask { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { if v == nil { return nil } - return &v.Task - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) + return v.ProjectDirectory + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTask struct { - ConditionTask *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask `pulumi:"conditionTask"` - DbtTask *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask `pulumi:"dbtTask"` - DependsOns []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn `pulumi:"dependsOns"` - Description *string `pulumi:"description"` - EmailNotifications *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications `pulumi:"emailNotifications"` - EnvironmentKey *string `pulumi:"environmentKey"` - ExistingClusterId *string `pulumi:"existingClusterId"` - Health *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth `pulumi:"health"` - JobClusterKey *string `pulumi:"jobClusterKey"` - Libraries []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary `pulumi:"libraries"` - MaxRetries *int `pulumi:"maxRetries"` - MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` - NewCluster *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster `pulumi:"newCluster"` - NotebookTask *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask `pulumi:"notebookTask"` - NotificationSettings *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings `pulumi:"notificationSettings"` - PipelineTask *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask `pulumi:"pipelineTask"` - PythonWheelTask *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask `pulumi:"pythonWheelTask"` - RetryOnTimeout bool `pulumi:"retryOnTimeout"` - RunIf *string `pulumi:"runIf"` - RunJobTask *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask `pulumi:"runJobTask"` - SparkJarTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask `pulumi:"sparkJarTask"` - SparkPythonTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask `pulumi:"sparkPythonTask"` - SparkSubmitTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask `pulumi:"sparkSubmitTask"` - SqlTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask `pulumi:"sqlTask"` - TaskKey *string `pulumi:"taskKey"` - TimeoutSeconds *int `pulumi:"timeoutSeconds"` - WebhookNotifications *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications `pulumi:"webhookNotifications"` +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { + if v == nil { + return nil + } + return v.Schema + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { + if v == nil { + return nil + } + return v.WarehouseId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskArgs struct { - ConditionTask GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput `pulumi:"conditionTask"` - DbtTask GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput `pulumi:"dbtTask"` - DependsOns GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput `pulumi:"dependsOns"` - Description pulumi.StringPtrInput `pulumi:"description"` - EmailNotifications GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` - EnvironmentKey pulumi.StringPtrInput `pulumi:"environmentKey"` - ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` - Health GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput `pulumi:"health"` - JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` - Libraries GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput `pulumi:"libraries"` - MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` - MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` - NewCluster GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput `pulumi:"newCluster"` - NotebookTask GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput `pulumi:"notebookTask"` - NotificationSettings GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput `pulumi:"notificationSettings"` - PipelineTask GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput `pulumi:"pipelineTask"` - PythonWheelTask GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` - RetryOnTimeout pulumi.BoolInput `pulumi:"retryOnTimeout"` - RunIf pulumi.StringPtrInput `pulumi:"runIf"` - RunJobTask GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput `pulumi:"runJobTask"` - SparkJarTask GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput `pulumi:"sparkJarTask"` - SparkPythonTask GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` - SparkSubmitTask GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` - SqlTask GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput `pulumi:"sqlTask"` - TaskKey pulumi.StringPtrInput `pulumi:"taskKey"` - TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` - WebhookNotifications GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` +type GetJobJobSettingsSettingsTaskDependsOn struct { + Outcome *string `pulumi:"outcome"` + TaskKey string `pulumi:"taskKey"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +// GetJobJobSettingsSettingsTaskDependsOnInput is an input type that accepts GetJobJobSettingsSettingsTaskDependsOnArgs and GetJobJobSettingsSettingsTaskDependsOnOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDependsOnInput` via: +// +// GetJobJobSettingsSettingsTaskDependsOnArgs{...} +type GetJobJobSettingsSettingsTaskDependsOnInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput + ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskDependsOnArgs struct { + Outcome pulumi.StringPtrInput `pulumi:"outcome"` + TaskKey pulumi.StringInput `pulumi:"taskKey"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) +func (GetJobJobSettingsSettingsTaskDependsOnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput { + return i.ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDependsOnOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskDependsOnArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskDependsOnArray and GetJobJobSettingsSettingsTaskDependsOnArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDependsOnArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput interface { +// GetJobJobSettingsSettingsTaskDependsOnArray{ GetJobJobSettingsSettingsTaskDependsOnArgs{...} } +type GetJobJobSettingsSettingsTaskDependsOnArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput + ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput + ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskPtrType)(v) -} +type GetJobJobSettingsSettingsTaskDependsOnArray []GetJobJobSettingsSettingsTaskDependsOnInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDependsOnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) +func (i GetJobJobSettingsSettingsTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDependsOnArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskDependsOnOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDependsOnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { +func (o GetJobJobSettingsSettingsTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { +func (o GetJobJobSettingsSettingsTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTask { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskDependsOnOutput) TaskKey() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ConditionTask() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { - return v.ConditionTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) +type GetJobJobSettingsSettingsTaskDependsOnArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) DbtTask() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { - return v.DbtTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) DependsOns() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { - return v.DependsOns - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) +func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.Description }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskDependsOnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskDependsOn { + return vs[0].([]GetJobJobSettingsSettingsTaskDependsOn)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskDependsOnOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) EmailNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { - return v.EmailNotifications - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) +type GetJobJobSettingsSettingsTaskEmailNotifications struct { + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures []string `pulumi:"onFailures"` + OnStarts []string `pulumi:"onStarts"` + OnSuccesses []string `pulumi:"onSuccesses"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) EnvironmentKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.EnvironmentKey }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsTaskEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskEmailNotificationsArgs and GetJobJobSettingsSettingsTaskEmailNotificationsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskEmailNotificationsInput` via: +// +// GetJobJobSettingsSettingsTaskEmailNotificationsArgs{...} +type GetJobJobSettingsSettingsTaskEmailNotificationsInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput + ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskEmailNotificationsArgs struct { + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` + OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` + OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Health() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { - return v.Health - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) +func (GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) JobClusterKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { + return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Libraries() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { - return v.Libraries - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) +func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) +func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) +func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput).ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NewCluster() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { - return v.NewCluster - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +// GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskEmailNotificationsArgs, GetJobJobSettingsSettingsTaskEmailNotificationsPtr and GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput` via: +// +// GetJobJobSettingsSettingsTaskEmailNotificationsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput + ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NotebookTask() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { - return v.NotebookTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) +type getJobJobSettingsSettingsTaskEmailNotificationsPtrType GetJobJobSettingsSettingsTaskEmailNotificationsArgs + +func GetJobJobSettingsSettingsTaskEmailNotificationsPtr(v *GetJobJobSettingsSettingsTaskEmailNotificationsArgs) GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput { + return (*getJobJobSettingsSettingsTaskEmailNotificationsPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NotificationSettings() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { - return v.NotificationSettings - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) +func (*getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) PipelineTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { - return v.PipelineTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { - return v.PythonWheelTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RetryOnTimeout() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) bool { return v.RetryOnTimeout }).(pulumi.BoolOutput) +type GetJobJobSettingsSettingsTaskEmailNotificationsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RunIf() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RunJobTask() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { - return v.RunJobTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkJarTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { - return v.SparkJarTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { - return v.SparkPythonTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskEmailNotifications) *GetJobJobSettingsSettingsTaskEmailNotifications { + return &v + }).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { - return v.SparkSubmitTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SqlTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { - return v.SqlTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) TaskKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.TaskKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { - return v.WebhookNotifications - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) GetJobJobSettingsSettingsTaskForEachTaskTask { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) GetJobJobSettingsSettingsTaskEmailNotifications { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTask + var ret GetJobJobSettingsSettingsTaskEmailNotifications return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) + }).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ConditionTask() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) *bool { if v == nil { return nil } - return v.ConditionTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) DbtTask() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { if v == nil { return nil } - return v.DbtTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) DependsOns() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { if v == nil { return nil } - return v.DependsOns - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) + return v.OnFailures + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { if v == nil { return nil } - return v.Description - }).(pulumi.StringPtrOutput) + return v.OnStarts + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) EmailNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { if v == nil { return nil } - return v.EmailNotifications - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) + return v.OnSuccesses + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) EnvironmentKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.EnvironmentKey - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTask struct { + Concurrency *int `pulumi:"concurrency"` + Inputs string `pulumi:"inputs"` + Task GetJobJobSettingsSettingsTaskForEachTaskTask `pulumi:"task"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.ExistingClusterId - }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsTaskForEachTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Health() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { - if v == nil { - return nil - } - return v.Health - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskArgs struct { + Concurrency pulumi.IntPtrInput `pulumi:"concurrency"` + Inputs pulumi.StringInput `pulumi:"inputs"` + Task GetJobJobSettingsSettingsTaskForEachTaskTaskInput `pulumi:"task"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) JobClusterKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.JobClusterKey +func (GetJobJobSettingsSettingsTaskForEachTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskArgs + +func GetJobJobSettingsSettingsTaskForEachTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTask) *GetJobJobSettingsSettingsTaskForEachTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Concurrency() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) *int { return v.Concurrency }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Inputs() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) string { return v.Inputs }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Task() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) GetJobJobSettingsSettingsTaskForEachTaskTask { + return v.Task + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) GetJobJobSettingsSettingsTaskForEachTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTask + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Concurrency() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *int { + if v == nil { + return nil + } + return v.Concurrency + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Inputs() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *string { + if v == nil { + return nil + } + return &v.Inputs + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Task() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *GetJobJobSettingsSettingsTaskForEachTaskTask { + if v == nil { + return nil + } + return &v.Task + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTask struct { + ConditionTask *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask `pulumi:"conditionTask"` + DbtTask *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask `pulumi:"dbtTask"` + DependsOns []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn `pulumi:"dependsOns"` + Description *string `pulumi:"description"` + EmailNotifications *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications `pulumi:"emailNotifications"` + EnvironmentKey *string `pulumi:"environmentKey"` + ExistingClusterId *string `pulumi:"existingClusterId"` + Health *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth `pulumi:"health"` + JobClusterKey *string `pulumi:"jobClusterKey"` + Libraries []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary `pulumi:"libraries"` + MaxRetries *int `pulumi:"maxRetries"` + MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` + NewCluster *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster `pulumi:"newCluster"` + NotebookTask *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask `pulumi:"notebookTask"` + NotificationSettings *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings `pulumi:"notificationSettings"` + PipelineTask *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask `pulumi:"pipelineTask"` + PythonWheelTask *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask `pulumi:"pythonWheelTask"` + RetryOnTimeout bool `pulumi:"retryOnTimeout"` + RunIf *string `pulumi:"runIf"` + RunJobTask *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask `pulumi:"runJobTask"` + SparkJarTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask `pulumi:"sparkJarTask"` + SparkPythonTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask `pulumi:"sparkPythonTask"` + SparkSubmitTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask `pulumi:"sparkSubmitTask"` + SqlTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask `pulumi:"sqlTask"` + TaskKey *string `pulumi:"taskKey"` + TimeoutSeconds *int `pulumi:"timeoutSeconds"` + WebhookNotifications *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications `pulumi:"webhookNotifications"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskArgs struct { + ConditionTask GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput `pulumi:"conditionTask"` + DbtTask GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput `pulumi:"dbtTask"` + DependsOns GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput `pulumi:"dependsOns"` + Description pulumi.StringPtrInput `pulumi:"description"` + EmailNotifications GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` + EnvironmentKey pulumi.StringPtrInput `pulumi:"environmentKey"` + ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` + Health GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput `pulumi:"health"` + JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` + Libraries GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput `pulumi:"libraries"` + MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` + MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` + NewCluster GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput `pulumi:"newCluster"` + NotebookTask GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput `pulumi:"notebookTask"` + NotificationSettings GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput `pulumi:"notificationSettings"` + PipelineTask GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput `pulumi:"pipelineTask"` + PythonWheelTask GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` + RetryOnTimeout pulumi.BoolInput `pulumi:"retryOnTimeout"` + RunIf pulumi.StringPtrInput `pulumi:"runIf"` + RunJobTask GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput `pulumi:"runJobTask"` + SparkJarTask GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput `pulumi:"sparkJarTask"` + SparkPythonTask GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` + SparkSubmitTask GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` + SqlTask GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput `pulumi:"sqlTask"` + TaskKey pulumi.StringPtrInput `pulumi:"taskKey"` + TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` + WebhookNotifications GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ConditionTask() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { + return v.ConditionTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) DbtTask() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { + return v.DbtTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) DependsOns() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { + return v.DependsOns + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) EmailNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { + return v.EmailNotifications + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) EnvironmentKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.EnvironmentKey }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Health() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { + return v.Health + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) JobClusterKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Libraries() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { + return v.Libraries + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NewCluster() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { + return v.NewCluster + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NotebookTask() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { + return v.NotebookTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NotificationSettings() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { + return v.NotificationSettings + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) PipelineTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { + return v.PipelineTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { + return v.PythonWheelTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RetryOnTimeout() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) bool { return v.RetryOnTimeout }).(pulumi.BoolOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RunIf() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RunJobTask() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { + return v.RunJobTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkJarTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { + return v.SparkJarTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { + return v.SparkPythonTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { + return v.SparkSubmitTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SqlTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { + return v.SqlTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) TaskKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.TaskKey }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { + return v.WebhookNotifications + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) GetJobJobSettingsSettingsTaskForEachTaskTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTask + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ConditionTask() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { + if v == nil { + return nil + } + return v.ConditionTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) DbtTask() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { + if v == nil { + return nil + } + return v.DbtTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) DependsOns() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { + if v == nil { + return nil + } + return v.DependsOns + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return v.Description + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) EmailNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { + if v == nil { + return nil + } + return v.EmailNotifications + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) EnvironmentKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return v.EnvironmentKey + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return v.ExistingClusterId + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Health() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { + if v == nil { + return nil + } + return v.Health + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) JobClusterKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return v.JobClusterKey + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Libraries() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { + if v == nil { + return nil + } + return v.Libraries + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { + if v == nil { + return nil + } + return v.MaxRetries + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { + if v == nil { + return nil + } + return v.MinRetryIntervalMillis + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NewCluster() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { + if v == nil { + return nil + } + return v.NewCluster + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NotebookTask() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { + if v == nil { + return nil + } + return v.NotebookTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NotificationSettings() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { + if v == nil { + return nil + } + return v.NotificationSettings + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) PipelineTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { + if v == nil { + return nil + } + return v.PipelineTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { + if v == nil { + return nil + } + return v.PythonWheelTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RetryOnTimeout() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *bool { + if v == nil { + return nil + } + return &v.RetryOnTimeout + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RunIf() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return v.RunIf + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RunJobTask() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { + if v == nil { + return nil + } + return v.RunJobTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkJarTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { + if v == nil { + return nil + } + return v.SparkJarTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { + if v == nil { + return nil + } + return v.SparkPythonTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { + if v == nil { + return nil + } + return v.SparkSubmitTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SqlTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { + if v == nil { + return nil + } + return v.SqlTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) TaskKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return v.TaskKey + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { + if v == nil { + return nil + } + return v.TimeoutSeconds + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { + if v == nil { + return nil + } + return v.WebhookNotifications + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask struct { + Left string `pulumi:"left"` + Op string `pulumi:"op"` + Right string `pulumi:"right"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs struct { + Left pulumi.StringInput `pulumi:"left"` + Op pulumi.StringInput `pulumi:"op"` + Right pulumi.StringInput `pulumi:"right"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Left() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) string { return v.Left }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Right() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { + if v == nil { + return nil + } + return &v.Left + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { + if v == nil { + return nil + } + return &v.Op + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { + if v == nil { + return nil + } + return &v.Right + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask struct { + Catalog *string `pulumi:"catalog"` + Commands []string `pulumi:"commands"` + ProfilesDirectory *string `pulumi:"profilesDirectory"` + ProjectDirectory *string `pulumi:"projectDirectory"` + Schema *string `pulumi:"schema"` + Source *string `pulumi:"source"` + WarehouseId *string `pulumi:"warehouseId"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs struct { + Catalog pulumi.StringPtrInput `pulumi:"catalog"` + Commands pulumi.StringArrayInput `pulumi:"commands"` + ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` + ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` + Schema pulumi.StringPtrInput `pulumi:"schema"` + Source pulumi.StringPtrInput `pulumi:"source"` + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.Catalog + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) []string { + if v == nil { + return nil + } + return v.Commands + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.ProfilesDirectory + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.ProjectDirectory + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.Schema + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.WarehouseId + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn struct { + Outcome *string `pulumi:"outcome"` + TaskKey string `pulumi:"taskKey"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs struct { + Outcome pulumi.StringPtrInput `pulumi:"outcome"` + TaskKey pulumi.StringInput `pulumi:"taskKey"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray and GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) TaskKey() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications struct { + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures []string `pulumi:"onFailures"` + OnStarts []string `pulumi:"onStarts"` + OnSuccesses []string `pulumi:"onSuccesses"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs struct { + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` + OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` + OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *bool { + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *bool { + if v == nil { + return nil + } + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnFailures + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnStarts + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnSuccesses + }).(pulumi.StringArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealth struct { + Rules []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule `pulumi:"rules"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs struct { + Rules GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput `pulumi:"rules"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) Rules() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { + return v.Rules + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskHealth + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) Rules() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { + if v == nil { + return nil + } + return v.Rules + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule struct { + Metric *string `pulumi:"metric"` + Op *string `pulumi:"op"` + Value *int `pulumi:"value"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs struct { + Metric pulumi.StringPtrInput `pulumi:"metric"` + Op pulumi.StringPtrInput `pulumi:"op"` + Value pulumi.IntPtrInput `pulumi:"value"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) *string { return v.Metric }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Op() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) *string { return v.Op }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Value() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) *int { return v.Value }).(pulumi.IntPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary struct { + Cran *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven `pulumi:"maven"` + Pypi *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs struct { + Cran GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput `pulumi:"maven"` + Pypi GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray []GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Cran() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { + return v.Cran + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Maven() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { + return v.Maven + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Pypi() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { + return v.Pypi + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) string { return v.Package }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { + if v == nil { + return nil + } + return &v.Package + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { + if v == nil { + return nil + } + return &v.Coordinates + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) []string { + if v == nil { + return nil + } + return v.Exclusions + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { + if v == nil { + return nil + } + return &v.Package + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster struct { + ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` + Autoscale *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale `pulumi:"autoscale"` + AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` + AwsAttributes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes `pulumi:"azureAttributes"` + ClusterId *string `pulumi:"clusterId"` + ClusterLogConf *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf `pulumi:"clusterLogConf"` + ClusterMountInfos []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` + ClusterName *string `pulumi:"clusterName"` + CustomTags map[string]interface{} `pulumi:"customTags"` + DataSecurityMode *string `pulumi:"dataSecurityMode"` + DockerImage *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage `pulumi:"dockerImage"` + DriverInstancePoolId string `pulumi:"driverInstancePoolId"` + DriverNodeTypeId string `pulumi:"driverNodeTypeId"` + EnableElasticDisk bool `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption bool `pulumi:"enableLocalDiskEncryption"` + GcpAttributes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes `pulumi:"gcpAttributes"` + IdempotencyToken *string `pulumi:"idempotencyToken"` + InitScripts []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript `pulumi:"initScripts"` + InstancePoolId *string `pulumi:"instancePoolId"` + NodeTypeId string `pulumi:"nodeTypeId"` + NumWorkers int `pulumi:"numWorkers"` + PolicyId *string `pulumi:"policyId"` + RuntimeEngine *string `pulumi:"runtimeEngine"` + SingleUserName *string `pulumi:"singleUserName"` + SparkConf map[string]interface{} `pulumi:"sparkConf"` + SparkEnvVars map[string]interface{} `pulumi:"sparkEnvVars"` + SparkVersion string `pulumi:"sparkVersion"` + SshPublicKeys []string `pulumi:"sshPublicKeys"` + WorkloadType *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType `pulumi:"workloadType"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs struct { + ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` + Autoscale GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput `pulumi:"autoscale"` + AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` + AwsAttributes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` + AzureAttributes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + ClusterLogConf GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` + ClusterMountInfos GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` + ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` + CustomTags pulumi.MapInput `pulumi:"customTags"` + DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` + DockerImage GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput `pulumi:"dockerImage"` + DriverInstancePoolId pulumi.StringInput `pulumi:"driverInstancePoolId"` + DriverNodeTypeId pulumi.StringInput `pulumi:"driverNodeTypeId"` + EnableElasticDisk pulumi.BoolInput `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption pulumi.BoolInput `pulumi:"enableLocalDiskEncryption"` + GcpAttributes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` + IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` + InitScripts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput `pulumi:"initScripts"` + InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` + NodeTypeId pulumi.StringInput `pulumi:"nodeTypeId"` + NumWorkers pulumi.IntInput `pulumi:"numWorkers"` + PolicyId pulumi.StringPtrInput `pulumi:"policyId"` + RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` + SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` + SparkConf pulumi.MapInput `pulumi:"sparkConf"` + SparkEnvVars pulumi.MapInput `pulumi:"sparkEnvVars"` + SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + WorkloadType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { + return v.ApplyPolicyDefaultValues + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) Autoscale() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { + return v.Autoscale + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { + return v.AwsAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { + return v.AzureAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { + return v.CustomTags + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DockerImage() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { + return v.DockerImage + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) bool { + return v.EnableLocalDiskEncryption + }).(pulumi.BoolOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { + return v.GcpAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) InitScripts() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript { + return v.InitScripts + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) NodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) NumWorkers() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkConf() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { + return v.SparkConf + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkEnvVars() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { + return v.SparkEnvVars + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { + return v.WorkloadType + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { + if v == nil { + return nil + } + return v.ApplyPolicyDefaultValues + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { + if v == nil { + return nil + } + return v.Autoscale + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { + if v == nil { + return nil + } + return v.AutoterminationMinutes + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterId + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { + if v == nil { + return nil + } + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { + if v == nil { + return nil + } + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterName + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { + if v == nil { + return nil + } + return v.CustomTags + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { + if v == nil { + return nil + } + return v.DockerImage + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverInstancePoolId + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverNodeTypeId + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableLocalDiskEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.IdempotencyToken + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.InstancePoolId + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.NodeTypeId + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { + if v == nil { + return nil + } + return &v.NumWorkers + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.PolicyId + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.RuntimeEngine + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.SingleUserName + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkConf() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { + if v == nil { + return nil + } + return v.SparkConf + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkEnvVars() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { + if v == nil { + return nil + } + return v.SparkEnvVars + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.SparkVersion + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []string { + if v == nil { + return nil + } + return v.SshPublicKeys + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { + if v == nil { + return nil + } + return v.WorkloadType + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { + if v == nil { + return nil + } + return v.MaxWorkers + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { + if v == nil { + return nil + } + return v.MinWorkers + }).(pulumi.IntPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes struct { + Availability *string `pulumi:"availability"` + EbsVolumeCount *int `pulumi:"ebsVolumeCount"` + EbsVolumeSize *int `pulumi:"ebsVolumeSize"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId *string `pulumi:"zoneId"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` + EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { + return v.Availability + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *string { + return v.Availability + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *int { + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *string { + if v == nil { + return nil + } + return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Libraries() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *int { if v == nil { return nil } - return v.Libraries - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { + if v == nil { + return nil + } + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf struct { + Dbfs *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 `pulumi:"s3"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs struct { + Dbfs GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { - if v == nil { - return nil - } - return v.MaxRetries - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { + return v.S3 + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { + if v == nil { + return nil + } + return v.Dbfs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { + if v == nil { + return nil + } + return v.S3 + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { - if v == nil { - return nil - } - return v.MinRetryIntervalMillis - }).(pulumi.IntPtrOutput) -} +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NewCluster() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { - if v == nil { - return nil - } - return v.NewCluster - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NotebookTask() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { - if v == nil { - return nil - } - return v.NotebookTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NotificationSettings() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { - if v == nil { - return nil - } - return v.NotificationSettings - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) PipelineTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { - if v == nil { - return nil - } - return v.PipelineTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { - if v == nil { - return nil - } - return v.PythonWheelTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RetryOnTimeout() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *bool { - if v == nil { - return nil - } - return &v.RetryOnTimeout - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RunIf() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.RunIf - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RunJobTask() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { - if v == nil { - return nil - } - return v.RunJobTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkJarTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { - if v == nil { - return nil - } - return v.SparkJarTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { - if v == nil { - return nil - } - return v.SparkPythonTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) string { + return v.Destination + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { - if v == nil { - return nil - } - return v.SparkSubmitTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SqlTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { - if v == nil { - return nil - } - return v.SqlTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) TaskKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.TaskKey - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { + if v != nil { + return *v } - return v.TimeoutSeconds - }).(pulumi.IntPtrOutput) + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *string { if v == nil { return nil } - return v.WebhookNotifications - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask struct { - Left string `pulumi:"left"` - Op string `pulumi:"op"` - Right string `pulumi:"right"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output } -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs struct { - Left pulumi.StringInput `pulumi:"left"` - Op pulumi.StringInput `pulumi:"op"` - Right pulumi.StringInput `pulumi:"right"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args -func GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return o } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return o } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) string { + return v.Destination + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Left() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) string { return v.Left }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Op() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Right() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + return v.Region + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return &v.Left + return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return &v.Op + return &v.Destination }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { if v == nil { return nil } - return &v.Right + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask struct { - Catalog *string `pulumi:"catalog"` - Commands []string `pulumi:"commands"` - ProfilesDirectory *string `pulumi:"profilesDirectory"` - ProjectDirectory *string `pulumi:"projectDirectory"` - Schema *string `pulumi:"schema"` - Source *string `pulumi:"source"` - WarehouseId *string `pulumi:"warehouseId"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs struct { - Catalog pulumi.StringPtrInput `pulumi:"catalog"` - Commands pulumi.StringArrayInput `pulumi:"commands"` - ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` - ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` - Schema pulumi.StringPtrInput `pulumi:"schema"` - Source pulumi.StringPtrInput `pulumi:"source"` - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo struct { + LocalMountDirPath string `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType)(v) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) string { + return v.LocalMountDirPath + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) *string { + return v.RemoteMountDirPath + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct { + MountOptions *string `pulumi:"mountOptions"` + ServerAddress string `pulumi:"serverAddress"` } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return o +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return o +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.Catalog - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) []string { - if v == nil { - return nil - } - return v.Commands - }).(pulumi.StringArrayOutput) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.ProfilesDirectory - }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.ProjectDirectory - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.Schema - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.Source +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo) *string { + return v.MountOptions }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.WarehouseId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo) string { + return v.ServerAddress + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn struct { - Outcome *string `pulumi:"outcome"` - TaskKey string `pulumi:"taskKey"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage struct { + BasicAuth *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs struct { - Outcome pulumi.StringPtrInput `pulumi:"outcome"` - TaskKey pulumi.StringInput `pulumi:"taskKey"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs struct { + BasicAuth GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringInput `pulumi:"url"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray and GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput` via: +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType)(v) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) TaskKey() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { + return v.BasicAuth + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { + if v == nil { + return nil + } + return v.BasicAuth + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *string { + if v == nil { + return nil + } + return &v.Url + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications struct { - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` - OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures []string `pulumi:"onFailures"` - OnStarts []string `pulumi:"onStarts"` - OnSuccesses []string `pulumi:"onSuccesses"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs struct { - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` - OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` - OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` - OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *bool { - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) string { + return v.Password + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) string { + return v.Username + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *bool { - if v == nil { - return nil - } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnFailures - }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *string { if v == nil { return nil } - return v.OnStarts - }).(pulumi.StringArrayOutput) + return &v.Password + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *string { if v == nil { return nil } - return v.OnSuccesses - }).(pulumi.StringArrayOutput) + return &v.Username + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealth struct { - Rules []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule `pulumi:"rules"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes struct { + Availability *string `pulumi:"availability"` + BootDiskSize *int `pulumi:"bootDiskSize"` + GoogleServiceAccount *string `pulumi:"googleServiceAccount"` + LocalSsdCount *int `pulumi:"localSsdCount"` + UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` + ZoneId *string `pulumi:"zoneId"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs struct { - Rules GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput `pulumi:"rules"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) Rules() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { - return v.Rules - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { + return v.Availability + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { + return v.BootDiskSize + }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *bool { + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskHealth + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) Rules() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { if v == nil { return nil } - return v.Rules - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) + return v.Availability + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule struct { - Metric *string `pulumi:"metric"` - Op *string `pulumi:"op"` - Value *int `pulumi:"value"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.BootDiskSize + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput` via: +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript struct { + Abfss *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss `pulumi:"abfss"` + Dbfs *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs `pulumi:"dbfs"` + File *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile `pulumi:"file"` + Gcs *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs `pulumi:"gcs"` + S3 *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 `pulumi:"s3"` + Volumes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes `pulumi:"volumes"` + Workspace *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace `pulumi:"workspace"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs struct { - Metric pulumi.StringPtrInput `pulumi:"metric"` - Op pulumi.StringPtrInput `pulumi:"op"` - Value pulumi.IntPtrInput `pulumi:"value"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs struct { + Abfss GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` + Dbfs GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` + File GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput `pulumi:"file"` + Gcs GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` + S3 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput `pulumi:"s3"` + Volumes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` + Workspace GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { + return v.Abfss + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { + return v.File + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { + return v.Gcs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { + return v.S3 + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) *string { return v.Op }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { + return v.Volumes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Value() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) *int { return v.Value }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { + return v.Workspace + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary struct { - Cran *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven `pulumi:"maven"` - Pypi *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs struct { - Cran GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput `pulumi:"maven"` - Pypi GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray []GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Background()) -} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput interface { + pulumi.Input -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput struct{ *pulumi.OutputState } +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { - return o +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { - return o +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Cran() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { - return v.Cran - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Maven() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { - return v.Maven - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Pypi() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { - return v.Pypi - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) string { + return v.Destination + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput` via: +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput interface { pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) string { return v.Package }).(pulumi.StringOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) string { + return v.Destination + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) *string { if v == nil { return nil } - return v.Repo + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) string { + return v.Destination + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { - if v == nil { - return nil - } - return &v.Coordinates - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) []string { - if v == nil { - return nil - } - return v.Exclusions - }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) *string { if v == nil { return nil } - return v.Repo + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Background()) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput` via: +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) string { return v.Package }).(pulumi.StringOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) string { + return v.Destination + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) *string { if v == nil { return nil } - return &v.Package + return &v.Destination }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { - if v == nil { - return nil - } - return v.Repo - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster struct { - ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` - Autoscale *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale `pulumi:"autoscale"` - AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` - AwsAttributes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes `pulumi:"azureAttributes"` - ClusterId *string `pulumi:"clusterId"` - ClusterLogConf *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf `pulumi:"clusterLogConf"` - ClusterMountInfos []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` - ClusterName *string `pulumi:"clusterName"` - CustomTags map[string]interface{} `pulumi:"customTags"` - DataSecurityMode *string `pulumi:"dataSecurityMode"` - DockerImage *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage `pulumi:"dockerImage"` - DriverInstancePoolId string `pulumi:"driverInstancePoolId"` - DriverNodeTypeId string `pulumi:"driverNodeTypeId"` - EnableElasticDisk bool `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption bool `pulumi:"enableLocalDiskEncryption"` - GcpAttributes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes `pulumi:"gcpAttributes"` - IdempotencyToken *string `pulumi:"idempotencyToken"` - InitScripts []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript `pulumi:"initScripts"` - InstancePoolId *string `pulumi:"instancePoolId"` - NodeTypeId string `pulumi:"nodeTypeId"` - NumWorkers int `pulumi:"numWorkers"` - PolicyId *string `pulumi:"policyId"` - RuntimeEngine *string `pulumi:"runtimeEngine"` - SingleUserName *string `pulumi:"singleUserName"` - SparkConf map[string]interface{} `pulumi:"sparkConf"` - SparkEnvVars map[string]interface{} `pulumi:"sparkEnvVars"` - SparkVersion string `pulumi:"sparkVersion"` - SshPublicKeys []string `pulumi:"sshPublicKeys"` - WorkloadType *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType `pulumi:"workloadType"` +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput` via: +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs struct { - ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` - Autoscale GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput `pulumi:"autoscale"` - AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` - AwsAttributes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` - AzureAttributes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` - ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` - ClusterLogConf GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` - ClusterMountInfos GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` - ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` - CustomTags pulumi.MapInput `pulumi:"customTags"` - DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` - DockerImage GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput `pulumi:"dockerImage"` - DriverInstancePoolId pulumi.StringInput `pulumi:"driverInstancePoolId"` - DriverNodeTypeId pulumi.StringInput `pulumi:"driverNodeTypeId"` - EnableElasticDisk pulumi.BoolInput `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption pulumi.BoolInput `pulumi:"enableLocalDiskEncryption"` - GcpAttributes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` - IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` - InitScripts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput `pulumi:"initScripts"` - InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - NodeTypeId pulumi.StringInput `pulumi:"nodeTypeId"` - NumWorkers pulumi.IntInput `pulumi:"numWorkers"` - PolicyId pulumi.StringPtrInput `pulumi:"policyId"` - RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` - SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` - SparkConf pulumi.MapInput `pulumi:"sparkConf"` - SparkEnvVars pulumi.MapInput `pulumi:"sparkEnvVars"` - SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - WorkloadType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { + return o } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { + return o } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) string { + return v.Destination + }).(pulumi.StringOutput) } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *bool { + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType)(v) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { - return v.ApplyPolicyDefaultValues - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) Autoscale() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { - return v.Autoscale - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { - return v.AwsAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { - return v.AzureAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) -} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { - return v.CustomTags - }).(pulumi.MapOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DockerImage() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { - return v.DockerImage - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) bool { - return v.EnableLocalDiskEncryption - }).(pulumi.BoolOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { - return v.GcpAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) -} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) InitScripts() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript { - return v.InitScripts - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) -} +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) NodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) NumWorkers() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { - return v.SparkConf - }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { - return v.SparkEnvVars - }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { - return v.WorkloadType - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) string { + return v.Destination + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { - if v == nil { - return nil - } - return v.ApplyPolicyDefaultValues - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { - if v == nil { - return nil - } - return v.Autoscale - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) *string { if v == nil { return nil } - return v.AutoterminationMinutes - }).(pulumi.IntPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { - if v == nil { - return nil - } - return v.AwsAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { - if v == nil { - return nil - } - return v.AzureAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) -} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterId - }).(pulumi.StringPtrOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { - if v == nil { - return nil - } - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { - if v == nil { - return nil - } - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterName - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { - if v == nil { - return nil - } - return v.CustomTags - }).(pulumi.MapOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.DataSecurityMode - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { - if v == nil { - return nil - } - return v.DockerImage - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return &v.DriverInstancePoolId - }).(pulumi.StringPtrOutput) -} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return &v.DriverNodeTypeId - }).(pulumi.StringPtrOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) -} +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableLocalDiskEncryption - }).(pulumi.BoolPtrOutput) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.IdempotencyToken - }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript { - if v == nil { - return nil - } - return v.InitScripts - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.InstancePoolId - }).(pulumi.StringPtrOutput) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return &v.NodeTypeId - }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { - if v == nil { - return nil - } - return &v.NumWorkers - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.PolicyId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.RuntimeEngine - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.SingleUserName - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { - if v == nil { - return nil - } - return v.SparkConf - }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) string { + return v.Destination + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { - if v == nil { - return nil - } - return v.SparkEnvVars - }).(pulumi.MapOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return &v.SparkVersion - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []string { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { + if v != nil { + return *v } - return v.SshPublicKeys - }).(pulumi.StringArrayOutput) + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) *string { if v == nil { return nil } - return v.WorkloadType - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType struct { + Clients GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients `pulumi:"clients"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs struct { + Clients GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput `pulumi:"clients"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { + return v.Clients + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { - if v == nil { - return nil - } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { if v == nil { return nil } - return v.MinWorkers - }).(pulumi.IntPtrOutput) + return &v.Clients + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes struct { - Availability *string `pulumi:"availability"` - EbsVolumeCount *int `pulumi:"ebsVolumeCount"` - EbsVolumeSize *int `pulumi:"ebsVolumeSize"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - ZoneId *string `pulumi:"zoneId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` - EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { + return v.Notebooks + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) + return v.Jobs + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.ZoneId - }).(pulumi.StringPtrOutput) + return v.Notebooks + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask struct { + BaseParameters map[string]interface{} `pulumi:"baseParameters"` + NotebookPath string `pulumi:"notebookPath"` + Source *string `pulumi:"source"` + WarehouseId *string `pulumi:"warehouseId"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs struct { + BaseParameters pulumi.MapInput `pulumi:"baseParameters"` + NotebookPath pulumi.StringInput `pulumi:"notebookPath"` + Source pulumi.StringPtrInput `pulumi:"source"` + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() } - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(context.Background()) + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *string { - return v.Availability - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) BaseParameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) map[string]interface{} { + return v.BaseParameters + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *int { - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) NotebookPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) BaseParameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) map[string]interface{} { if v == nil { return nil } - return v.Availability + return v.BaseParameters + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { + if v == nil { + return nil + } + return &v.NotebookPath }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *int { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { if v == nil { return nil } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) + return v.Source + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { if v == nil { return nil } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) + return v.WarehouseId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf struct { - Dbfs *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 `pulumi:"s3"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings struct { + AlertOnLastAttempt *bool `pulumi:"alertOnLastAttempt"` + NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs struct { - Dbfs GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs struct { + AlertOnLastAttempt pulumi.BoolPtrInput `pulumi:"alertOnLastAttempt"` + NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { + return v.AlertOnLastAttempt + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { - return v.S3 - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { + return v.NoAlertForCanceledRuns + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { if v == nil { return nil } - return v.Dbfs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) + return v.AlertOnLastAttempt + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { if v == nil { return nil } - return v.S3 - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) + return v.NoAlertForCanceledRuns + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { + if v == nil { + return nil + } + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput` via: +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask struct { + FullRefresh *bool `pulumi:"fullRefresh"` + PipelineId string `pulumi:"pipelineId"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs struct { + FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` + PipelineId pulumi.StringInput `pulumi:"pipelineId"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) PipelineId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *bool { if v == nil { return nil } - return &v.Destination + return v.FullRefresh + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *string { + if v == nil { + return nil + } + return &v.PipelineId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask struct { + EntryPoint *string `pulumi:"entryPoint"` + NamedParameters map[string]interface{} `pulumi:"namedParameters"` + PackageName *string `pulumi:"packageName"` + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs struct { + EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` + NamedParameters pulumi.MapInput `pulumi:"namedParameters"` + PackageName pulumi.StringPtrInput `pulumi:"packageName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args +type getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - return v.CannedAcl - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) string { - return v.Destination - }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - return v.EncryptionType - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - return v.Endpoint - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) NamedParameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) map[string]interface{} { + return v.NamedParameters + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - return v.KmsKey - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - return v.Region - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { if v == nil { return nil } - return v.EncryptionType + return v.EntryPoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) NamedParameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) map[string]interface{} { if v == nil { return nil } - return v.Endpoint - }).(pulumi.StringPtrOutput) + return v.NamedParameters + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { if v == nil { return nil } - return v.KmsKey + return v.PackageName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) []string { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask struct { + JobId int `pulumi:"jobId"` + JobParameters map[string]interface{} `pulumi:"jobParameters"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs struct { - LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs struct { + JobId pulumi.IntInput `pulumi:"jobId"` + JobParameters pulumi.MapInput `pulumi:"jobParameters"` } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { - return o +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { - return o -} +// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) string { - return v.LocalMountDirPath - }).(pulumi.StringOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) -} +type getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) *string { - return v.RemoteMountDirPath - }).(pulumi.StringPtrOutput) +func GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType)(v) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return o +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return o +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput struct{ *pulumi.OutputState } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct { - MountOptions *string `pulumi:"mountOptions"` - ServerAddress string `pulumi:"serverAddress"` +func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { + return o +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { + return o } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) JobId() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) int { return v.JobId }).(pulumi.IntOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) JobParameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) map[string]interface{} { + return v.JobParameters + }).(pulumi.MapOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo) *string { - return v.MountOptions - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo) string { - return v.ServerAddress - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) *int { + if v == nil { + return nil + } + return &v.JobId + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage struct { - BasicAuth *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) JobParameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) map[string]interface{} { + if v == nil { + return nil + } + return v.JobParameters + }).(pulumi.MapOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput` via: +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask struct { + JarUri *string `pulumi:"jarUri"` + MainClassName *string `pulumi:"mainClassName"` + Parameters []string `pulumi:"parameters"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs struct { - BasicAuth GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs struct { + JarUri pulumi.StringPtrInput `pulumi:"jarUri"` + MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { - return v.BasicAuth - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { if v == nil { return nil } - return v.BasicAuth - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) + return v.JarUri + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { if v == nil { return nil } - return &v.Url + return v.MainClassName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput` via: +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask struct { + Parameters []string `pulumi:"parameters"` + PythonFile string `pulumi:"pythonFile"` + Source *string `pulumi:"source"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` + PythonFile pulumi.StringInput `pulumi:"pythonFile"` + Source pulumi.StringPtrInput `pulumi:"source"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) string { - return v.Password - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) string { - return v.Username - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) []string { if v == nil { return nil } - return &v.Password + return v.Parameters + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { + if v == nil { + return nil + } + return &v.PythonFile }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { if v == nil { return nil } - return &v.Username + return v.Source }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes struct { - Availability *string `pulumi:"availability"` - BootDiskSize *int `pulumi:"bootDiskSize"` - GoogleServiceAccount *string `pulumi:"googleServiceAccount"` - LocalSsdCount *int `pulumi:"localSsdCount"` - UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` - ZoneId *string `pulumi:"zoneId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask struct { + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { - return o +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { - return v.BootDiskSize - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *bool { - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) []string { if v == nil { return nil } - return v.Availability - }).(pulumi.StringPtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.BootDiskSize - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask struct { + Alert *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert `pulumi:"alert"` + Dashboard *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard `pulumi:"dashboard"` + File *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile `pulumi:"file"` + Parameters map[string]interface{} `pulumi:"parameters"` + Query *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery `pulumi:"query"` + WarehouseId *string `pulumi:"warehouseId"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs struct { + Alert GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput `pulumi:"alert"` + Dashboard GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput `pulumi:"dashboard"` + File GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput `pulumi:"file"` + Parameters pulumi.MapInput `pulumi:"parameters"` + Query GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput `pulumi:"query"` + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *bool { - if v == nil { - return nil - } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript struct { - Abfss *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss `pulumi:"abfss"` - Dbfs *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs `pulumi:"dbfs"` - File *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile `pulumi:"file"` - Gcs *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs `pulumi:"gcs"` - S3 *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 `pulumi:"s3"` - Volumes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes `pulumi:"volumes"` - Workspace *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace `pulumi:"workspace"` +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput` via: +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs struct { - Abfss GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` - Dbfs GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` - File GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput `pulumi:"file"` - Gcs GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` - S3 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput `pulumi:"s3"` - Volumes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` - Workspace GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` +type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType)(v) } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput interface { - pulumi.Input +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput struct{ *pulumi.OutputState } - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { + return o } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { + return o } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Alert() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { + return v.Alert + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Dashboard() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { + return v.Dashboard + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { + return v.File + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { - return v.Abfss - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) map[string]interface{} { + return v.Parameters + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Query() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { + return v.Query + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { - return v.File - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { - return v.Gcs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { - return v.S3 - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { - return v.Volumes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { - return v.Workspace - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Alert() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { + if v == nil { + return nil + } + return v.Alert + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Dashboard() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { + if v == nil { + return nil + } + return v.Dashboard + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { + if v == nil { + return nil + } + return v.File + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) map[string]interface{} { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Query() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { + if v == nil { + return nil + } + return v.Query + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *string { + if v == nil { + return nil + } + return v.WarehouseId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert struct { + AlertId string `pulumi:"alertId"` + PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` + Subscriptions []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription `pulumi:"subscriptions"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs struct { + AlertId pulumi.StringInput `pulumi:"alertId"` + PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` + Subscriptions GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput `pulumi:"subscriptions"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) AlertId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) string { return v.AlertId }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription { + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) AlertId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *string { if v == nil { return nil } - return &v.Destination + return &v.AlertId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *bool { + if v == nil { + return nil + } + return v.PauseSubscriptions + }).(pulumi.BoolPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription { + if v == nil { + return nil + } + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription struct { + DestinationId *string `pulumi:"destinationId"` + UserName *string `pulumi:"userName"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs struct { + DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType)(v) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription) *string { + return v.DestinationId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription) *string { + return v.UserName + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard struct { + CustomSubject *string `pulumi:"customSubject"` + DashboardId string `pulumi:"dashboardId"` + PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` + Subscriptions []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription `pulumi:"subscriptions"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs struct { + CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` + DashboardId pulumi.StringInput `pulumi:"dashboardId"` + PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` + Subscriptions GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput `pulumi:"subscriptions"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) CustomSubject() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *string { return v.CustomSubject }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) DashboardId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) string { return v.DashboardId }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *bool { + return v.PauseSubscriptions + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { - if v != nil { - return *v +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) CustomSubject() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *string { + if v == nil { + return nil + } + return v.CustomSubject + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) DashboardId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *string { + if v == nil { + return nil + } + return &v.DashboardId + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *bool { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) + return v.PauseSubscriptions + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription struct { + DestinationId *string `pulumi:"destinationId"` + UserName *string `pulumi:"userName"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs struct { + DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType)(v) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription) *string { + return v.DestinationId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription) *string { + return v.UserName + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile struct { + Path string `pulumi:"path"` + Source *string `pulumi:"source"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs struct { + Path pulumi.StringInput `pulumi:"path"` + Source pulumi.StringPtrInput `pulumi:"source"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput -} - -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType)(v) -} - -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() -} - -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) -} - -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output struct{ *pulumi.OutputState } +type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { - return o +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { - return o +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *bool { - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { - return v.EncryptionType - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) string { return v.Path }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *string { return v.Source }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *string { if v == nil { return nil } - return v.KmsKey + return &v.Path }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *string { if v == nil { return nil } - return v.Region + return v.Source }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery struct { + QueryId string `pulumi:"queryId"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs struct { + QueryId pulumi.StringInput `pulumi:"queryId"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) QueryId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) string { return v.QueryId }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) QueryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) *string { if v == nil { return nil } - return &v.Destination + return &v.QueryId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications struct { + OnDurationWarningThresholdExceededs []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure `pulumi:"onFailures"` + OnStarts []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart `pulumi:"onStarts"` + OnSuccesses []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs struct { + OnDurationWarningThresholdExceededs GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` + OnStarts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` + OnSuccesses GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { + return v.OnDurationWarningThresholdExceededs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnFailures() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure { + return v.OnFailures + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnStarts() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart { + return v.OnStarts + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnSuccesses() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess { + return v.OnSuccesses + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.OnDurationWarningThresholdExceededs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType struct { - Clients GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients `pulumi:"clients"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnFailures() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure { + if v == nil { + return nil + } + return v.OnFailures + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnStarts() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart { + if v == nil { + return nil + } + return v.OnStarts + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnSuccesses() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess { + if v == nil { + return nil + } + return v.OnSuccesses + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs struct { - Clients GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType)(v) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { - return v.Clients - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { + return v.Id + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { - if v == nil { - return nil - } - return &v.Clients - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType)(v) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { - return v.Notebooks - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { + return o } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { + return o +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return o +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return o +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Jobs - }).(pulumi.BoolPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Notebooks - }).(pulumi.BoolPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask struct { - BaseParameters map[string]interface{} `pulumi:"baseParameters"` - NotebookPath string `pulumi:"notebookPath"` - Source *string `pulumi:"source"` - WarehouseId *string `pulumi:"warehouseId"` +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs struct { - BaseParameters pulumi.MapInput `pulumi:"baseParameters"` - NotebookPath pulumi.StringInput `pulumi:"notebookPath"` - Source pulumi.StringPtrInput `pulumi:"source"` - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { + return o } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { + return o +} + +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput interface { - pulumi.Input +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() } -type getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType)(v) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return o } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return o } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput struct{ *pulumi.OutputState } +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { - return o +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { - return o +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) BaseParameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) map[string]interface{} { - return v.BaseParameters - }).(pulumi.MapOutput) +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) NotebookPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) BaseParameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) map[string]interface{} { - if v == nil { - return nil - } - return v.BaseParameters - }).(pulumi.MapOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { - if v == nil { - return nil - } - return &v.NotebookPath - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { - if v == nil { - return nil - } - return v.Source - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { - if v == nil { - return nil - } - return v.WarehouseId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings struct { - AlertOnLastAttempt *bool `pulumi:"alertOnLastAttempt"` - NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` +type GetJobJobSettingsSettingsTaskHealth struct { + Rules []GetJobJobSettingsSettingsTaskHealthRule `pulumi:"rules"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput` via: +// GetJobJobSettingsSettingsTaskHealthInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthArgs and GetJobJobSettingsSettingsTaskHealthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput interface { +// GetJobJobSettingsSettingsTaskHealthArgs{...} +type GetJobJobSettingsSettingsTaskHealthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput + ToGetJobJobSettingsSettingsTaskHealthOutput() GetJobJobSettingsSettingsTaskHealthOutput + ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs struct { - AlertOnLastAttempt pulumi.BoolPtrInput `pulumi:"alertOnLastAttempt"` - NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` +type GetJobJobSettingsSettingsTaskHealthArgs struct { + Rules GetJobJobSettingsSettingsTaskHealthRuleArrayInput `pulumi:"rules"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthOutput() GetJobJobSettingsSettingsTaskHealthOutput { + return i.ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) +func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthOutput).ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput` via: +// GetJobJobSettingsSettingsTaskHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthArgs, GetJobJobSettingsSettingsTaskHealthPtr and GetJobJobSettingsSettingsTaskHealthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{...} +// GetJobJobSettingsSettingsTaskHealthArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput interface { +type GetJobJobSettingsSettingsTaskHealthPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput + ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput + ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs +type getJobJobSettingsSettingsTaskHealthPtrType GetJobJobSettingsSettingsTaskHealthArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType)(v) +func GetJobJobSettingsSettingsTaskHealthPtr(v *GetJobJobSettingsSettingsTaskHealthArgs) GetJobJobSettingsSettingsTaskHealthPtrInput { + return (*getJobJobSettingsSettingsTaskHealthPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskHealthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) +func (i *getJobJobSettingsSettingsTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskHealthOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { +func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthOutput() GetJobJobSettingsSettingsTaskHealthOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { +func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { - return v.AlertOnLastAttempt - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { - return v.NoAlertForCanceledRuns - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskHealth) *GetJobJobSettingsSettingsTaskHealth { + return &v + }).(GetJobJobSettingsSettingsTaskHealthPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskHealthOutput) Rules() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealth) []GetJobJobSettingsSettingsTaskHealthRule { return v.Rules }).(GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskHealthPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskHealthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { +func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { +func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { +func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) Elem() GetJobJobSettingsSettingsTaskHealthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskHealth) GetJobJobSettingsSettingsTaskHealth { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings + var ret GetJobJobSettingsSettingsTaskHealth return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { - if v == nil { - return nil - } - return v.AlertOnLastAttempt - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { - if v == nil { - return nil - } - return v.NoAlertForCanceledRuns - }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsTaskHealthOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { +func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) Rules() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskHealth) []GetJobJobSettingsSettingsTaskHealthRule { if v == nil { return nil } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) + return v.Rules + }).(GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask struct { - FullRefresh *bool `pulumi:"fullRefresh"` - PipelineId string `pulumi:"pipelineId"` +type GetJobJobSettingsSettingsTaskHealthRule struct { + Metric *string `pulumi:"metric"` + Op *string `pulumi:"op"` + Value *int `pulumi:"value"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput` via: +// GetJobJobSettingsSettingsTaskHealthRuleInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthRuleArgs and GetJobJobSettingsSettingsTaskHealthRuleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthRuleInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput interface { +// GetJobJobSettingsSettingsTaskHealthRuleArgs{...} +type GetJobJobSettingsSettingsTaskHealthRuleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs struct { - FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` - PipelineId pulumi.StringInput `pulumi:"pipelineId"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskHealthRuleOutput + ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthRuleOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskHealthRuleArgs struct { + Metric pulumi.StringPtrInput `pulumi:"metric"` + Op pulumi.StringPtrInput `pulumi:"op"` + Value pulumi.IntPtrInput `pulumi:"value"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) +func (GetJobJobSettingsSettingsTaskHealthRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskHealthRuleOutput { + return i.ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthRuleOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthRuleArray and GetJobJobSettingsSettingsTaskHealthRuleArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthRuleArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput interface { +// GetJobJobSettingsSettingsTaskHealthRuleArray{ GetJobJobSettingsSettingsTaskHealthRuleArgs{...} } +type GetJobJobSettingsSettingsTaskHealthRuleArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput + ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput + ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthRuleArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType)(v) -} +type GetJobJobSettingsSettingsTaskHealthRuleArray []GetJobJobSettingsSettingsTaskHealthRuleInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskHealthRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) +func (i GetJobJobSettingsSettingsTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskHealthRuleOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskHealthRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { +func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskHealthRuleOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { +func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealthRule) *string { return v.Metric }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) Op() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealthRule) *string { return v.Op }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) PipelineId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) Value() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealthRule) *int { return v.Value }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskHealthRuleArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *bool { - if v == nil { - return nil - } - return v.FullRefresh - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *string { - if v == nil { - return nil - } - return &v.PipelineId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskHealthRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskHealthRule { + return vs[0].([]GetJobJobSettingsSettingsTaskHealthRule)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskHealthRuleOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask struct { - EntryPoint *string `pulumi:"entryPoint"` - NamedParameters map[string]interface{} `pulumi:"namedParameters"` - PackageName *string `pulumi:"packageName"` - Parameters []string `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskLibrary struct { + Cran *GetJobJobSettingsSettingsTaskLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *GetJobJobSettingsSettingsTaskLibraryMaven `pulumi:"maven"` + Pypi *GetJobJobSettingsSettingsTaskLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput` via: +// GetJobJobSettingsSettingsTaskLibraryInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryArgs and GetJobJobSettingsSettingsTaskLibraryOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput interface { +// GetJobJobSettingsSettingsTaskLibraryArgs{...} +type GetJobJobSettingsSettingsTaskLibraryInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs struct { - EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` - NamedParameters pulumi.MapInput `pulumi:"namedParameters"` - PackageName pulumi.StringPtrInput `pulumi:"packageName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskLibraryOutput() GetJobJobSettingsSettingsTaskLibraryOutput + ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskLibraryArgs struct { + Cran GetJobJobSettingsSettingsTaskLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven GetJobJobSettingsSettingsTaskLibraryMavenPtrInput `pulumi:"maven"` + Pypi GetJobJobSettingsSettingsTaskLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` } - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) + +func (GetJobJobSettingsSettingsTaskLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskLibraryOutput() GetJobJobSettingsSettingsTaskLibraryOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryArray and GetJobJobSettingsSettingsTaskLibraryArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput interface { +// GetJobJobSettingsSettingsTaskLibraryArray{ GetJobJobSettingsSettingsTaskLibraryArgs{...} } +type GetJobJobSettingsSettingsTaskLibraryArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput + ToGetJobJobSettingsSettingsTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskLibraryArrayOutput + ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType)(v) -} +type GetJobJobSettingsSettingsTaskLibraryArray []GetJobJobSettingsSettingsTaskLibraryInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryArray) ToGetJobJobSettingsSettingsTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskLibraryArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) +func (i GetJobJobSettingsSettingsTaskLibraryArray) ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskLibraryOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { +func (o GetJobJobSettingsSettingsTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskLibraryOutput() GetJobJobSettingsSettingsTaskLibraryOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { +func (o GetJobJobSettingsSettingsTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskLibraryOutput) Cran() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *GetJobJobSettingsSettingsTaskLibraryCran { return v.Cran }).(GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) NamedParameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) map[string]interface{} { - return v.NamedParameters - }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTaskLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskLibraryOutput) Maven() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *GetJobJobSettingsSettingsTaskLibraryMaven { + return v.Maven + }).(GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskLibraryOutput) Pypi() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *GetJobJobSettingsSettingsTaskLibraryPypi { return v.Pypi }).(GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) -} +type GetJobJobSettingsSettingsTaskLibraryArrayOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { - if v == nil { - return nil - } - return v.EntryPoint - }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsTaskLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) NamedParameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) map[string]interface{} { - if v == nil { - return nil - } - return v.NamedParameters - }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskLibraryArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { - if v == nil { - return nil - } - return v.PackageName - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskLibraryArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskLibrary { + return vs[0].([]GetJobJobSettingsSettingsTaskLibrary)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskLibraryOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask struct { - JobId int `pulumi:"jobId"` - JobParameters map[string]interface{} `pulumi:"jobParameters"` +type GetJobJobSettingsSettingsTaskLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput` via: +// GetJobJobSettingsSettingsTaskLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryCranArgs and GetJobJobSettingsSettingsTaskLibraryCranOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryCranInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput interface { +// GetJobJobSettingsSettingsTaskLibraryCranArgs{...} +type GetJobJobSettingsSettingsTaskLibraryCranInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput + ToGetJobJobSettingsSettingsTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskLibraryCranOutput + ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryCranOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs struct { - JobId pulumi.IntInput `pulumi:"jobId"` - JobParameters pulumi.MapInput `pulumi:"jobParameters"` +type GetJobJobSettingsSettingsTaskLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskLibraryCranOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) +func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryCranOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryCranOutput).ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryCranArgs, GetJobJobSettingsSettingsTaskLibraryCranPtr and GetJobJobSettingsSettingsTaskLibraryCranPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryCranPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{...} +// GetJobJobSettingsSettingsTaskLibraryCranArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskLibraryCranPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput + ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput + ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs +type getJobJobSettingsSettingsTaskLibraryCranPtrType GetJobJobSettingsSettingsTaskLibraryCranArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskLibraryCranPtr(v *GetJobJobSettingsSettingsTaskLibraryCranArgs) GetJobJobSettingsSettingsTaskLibraryCranPtrInput { + return (*getJobJobSettingsSettingsTaskLibraryCranPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskLibraryCranOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { +func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskLibraryCranOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { +func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { +func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskLibraryCran) *GetJobJobSettingsSettingsTaskLibraryCran { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) JobId() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) int { return v.JobId }).(pulumi.IntOutput) +func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryCran) string { return v.Package }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) JobParameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) map[string]interface{} { - return v.JobParameters - }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskLibraryCranPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { +func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsTaskLibraryCranOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryCran) GetJobJobSettingsSettingsTaskLibraryCran { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask + var ret GetJobJobSettingsSettingsTaskLibraryCran return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) + }).(GetJobJobSettingsSettingsTaskLibraryCranOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) *int { +func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryCran) *string { if v == nil { return nil } - return &v.JobId - }).(pulumi.IntPtrOutput) + return &v.Package + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) JobParameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) map[string]interface{} { +func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryCran) *string { if v == nil { return nil } - return v.JobParameters - }).(pulumi.MapOutput) + return v.Repo + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask struct { - JarUri *string `pulumi:"jarUri"` - MainClassName *string `pulumi:"mainClassName"` - Parameters []string `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput` via: +// GetJobJobSettingsSettingsTaskLibraryMavenInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryMavenArgs and GetJobJobSettingsSettingsTaskLibraryMavenOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryMavenInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput interface { +// GetJobJobSettingsSettingsTaskLibraryMavenArgs{...} +type GetJobJobSettingsSettingsTaskLibraryMavenInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput + ToGetJobJobSettingsSettingsTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskLibraryMavenOutput + ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryMavenOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs struct { - JarUri pulumi.StringPtrInput `pulumi:"jarUri"` - MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskLibraryMavenOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) +func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryMavenOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryMavenOutput).ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryMavenArgs, GetJobJobSettingsSettingsTaskLibraryMavenPtr and GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryMavenPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs{...} +// GetJobJobSettingsSettingsTaskLibraryMavenArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskLibraryMavenPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput + ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs +type getJobJobSettingsSettingsTaskLibraryMavenPtrType GetJobJobSettingsSettingsTaskLibraryMavenArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskLibraryMavenPtr(v *GetJobJobSettingsSettingsTaskLibraryMavenArgs) GetJobJobSettingsSettingsTaskLibraryMavenPtrInput { + return (*getJobJobSettingsSettingsTaskLibraryMavenPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskLibraryMavenOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { +func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskLibraryMavenOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { +func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { +func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskLibraryMaven) *GetJobJobSettingsSettingsTaskLibraryMaven { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { +func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsTaskLibraryMavenOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) GetJobJobSettingsSettingsTaskLibraryMaven { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask + var ret GetJobJobSettingsSettingsTaskLibraryMaven return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) + }).(GetJobJobSettingsSettingsTaskLibraryMavenOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { +func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) *string { if v == nil { return nil } - return v.JarUri + return &v.Coordinates }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { +func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) []string { if v == nil { return nil } - return v.MainClassName - }).(pulumi.StringPtrOutput) + return v.Exclusions + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) []string { +func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) *string { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return v.Repo + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask struct { - Parameters []string `pulumi:"parameters"` - PythonFile string `pulumi:"pythonFile"` - Source *string `pulumi:"source"` +type GetJobJobSettingsSettingsTaskLibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput` via: +// GetJobJobSettingsSettingsTaskLibraryPypiInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryPypiArgs and GetJobJobSettingsSettingsTaskLibraryPypiOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryPypiInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput interface { +// GetJobJobSettingsSettingsTaskLibraryPypiArgs{...} +type GetJobJobSettingsSettingsTaskLibraryPypiInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput + ToGetJobJobSettingsSettingsTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskLibraryPypiOutput + ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryPypiOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` - PythonFile pulumi.StringInput `pulumi:"pythonFile"` - Source pulumi.StringPtrInput `pulumi:"source"` +type GetJobJobSettingsSettingsTaskLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskLibraryPypiOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) +func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryPypiOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryPypiOutput).ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryPypiArgs, GetJobJobSettingsSettingsTaskLibraryPypiPtr and GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryPypiPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{...} +// GetJobJobSettingsSettingsTaskLibraryPypiArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskLibraryPypiPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput + ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs +type getJobJobSettingsSettingsTaskLibraryPypiPtrType GetJobJobSettingsSettingsTaskLibraryPypiArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskLibraryPypiPtr(v *GetJobJobSettingsSettingsTaskLibraryPypiArgs) GetJobJobSettingsSettingsTaskLibraryPypiPtrInput { + return (*getJobJobSettingsSettingsTaskLibraryPypiPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskLibraryPypiOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { +func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskLibraryPypiOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { +func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { +func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskLibraryPypi) *GetJobJobSettingsSettingsTaskLibraryPypi { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryPypi) string { return v.Package }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { +func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsTaskLibraryPypiOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryPypi) GetJobJobSettingsSettingsTaskLibraryPypi { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask + var ret GetJobJobSettingsSettingsTaskLibraryPypi return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsTaskLibraryPypiOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { +func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryPypi) *string { if v == nil { return nil } - return &v.PythonFile + return &v.Package }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { +func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryPypi) *string { if v == nil { return nil } - return v.Source + return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask struct { - Parameters []string `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskNewCluster struct { + ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` + Autoscale *GetJobJobSettingsSettingsTaskNewClusterAutoscale `pulumi:"autoscale"` + AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` + AwsAttributes *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes `pulumi:"azureAttributes"` + ClusterId *string `pulumi:"clusterId"` + ClusterLogConf *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf `pulumi:"clusterLogConf"` + ClusterMountInfos []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` + ClusterName *string `pulumi:"clusterName"` + CustomTags map[string]interface{} `pulumi:"customTags"` + DataSecurityMode *string `pulumi:"dataSecurityMode"` + DockerImage *GetJobJobSettingsSettingsTaskNewClusterDockerImage `pulumi:"dockerImage"` + DriverInstancePoolId string `pulumi:"driverInstancePoolId"` + DriverNodeTypeId string `pulumi:"driverNodeTypeId"` + EnableElasticDisk bool `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption bool `pulumi:"enableLocalDiskEncryption"` + GcpAttributes *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes `pulumi:"gcpAttributes"` + IdempotencyToken *string `pulumi:"idempotencyToken"` + InitScripts []GetJobJobSettingsSettingsTaskNewClusterInitScript `pulumi:"initScripts"` + InstancePoolId *string `pulumi:"instancePoolId"` + NodeTypeId string `pulumi:"nodeTypeId"` + NumWorkers int `pulumi:"numWorkers"` + PolicyId *string `pulumi:"policyId"` + RuntimeEngine *string `pulumi:"runtimeEngine"` + SingleUserName *string `pulumi:"singleUserName"` + SparkConf map[string]interface{} `pulumi:"sparkConf"` + SparkEnvVars map[string]interface{} `pulumi:"sparkEnvVars"` + SparkVersion string `pulumi:"sparkVersion"` + SshPublicKeys []string `pulumi:"sshPublicKeys"` + WorkloadType *GetJobJobSettingsSettingsTaskNewClusterWorkloadType `pulumi:"workloadType"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterArgs and GetJobJobSettingsSettingsTaskNewClusterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput interface { +// GetJobJobSettingsSettingsTaskNewClusterArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput + ToGetJobJobSettingsSettingsTaskNewClusterOutput() GetJobJobSettingsSettingsTaskNewClusterOutput + ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskNewClusterArgs struct { + ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` + Autoscale GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput `pulumi:"autoscale"` + AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` + AwsAttributes GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` + AzureAttributes GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + ClusterLogConf GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` + ClusterMountInfos GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` + ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` + CustomTags pulumi.MapInput `pulumi:"customTags"` + DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` + DockerImage GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput `pulumi:"dockerImage"` + DriverInstancePoolId pulumi.StringInput `pulumi:"driverInstancePoolId"` + DriverNodeTypeId pulumi.StringInput `pulumi:"driverNodeTypeId"` + EnableElasticDisk pulumi.BoolInput `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption pulumi.BoolInput `pulumi:"enableLocalDiskEncryption"` + GcpAttributes GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` + IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` + InitScripts GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput `pulumi:"initScripts"` + InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` + NodeTypeId pulumi.StringInput `pulumi:"nodeTypeId"` + NumWorkers pulumi.IntInput `pulumi:"numWorkers"` + PolicyId pulumi.StringPtrInput `pulumi:"policyId"` + RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` + SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` + SparkConf pulumi.MapInput `pulumi:"sparkConf"` + SparkEnvVars pulumi.MapInput `pulumi:"sparkEnvVars"` + SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + WorkloadType GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterOutput() GetJobJobSettingsSettingsTaskNewClusterOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterOutput).ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterArgs, GetJobJobSettingsSettingsTaskNewClusterPtr and GetJobJobSettingsSettingsTaskNewClusterPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs +type getJobJobSettingsSettingsTaskNewClusterPtrType GetJobJobSettingsSettingsTaskNewClusterArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterPtr(v *GetJobJobSettingsSettingsTaskNewClusterArgs) GetJobJobSettingsSettingsTaskNewClusterPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterOutput() GetJobJobSettingsSettingsTaskNewClusterOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewCluster { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o + }).(GetJobJobSettingsSettingsTaskNewClusterPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) Autoscale() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAutoscale { + return v.Autoscale + }).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask struct { - Alert *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert `pulumi:"alert"` - Dashboard *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard `pulumi:"dashboard"` - File *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile `pulumi:"file"` - Parameters map[string]interface{} `pulumi:"parameters"` - Query *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery `pulumi:"query"` - WarehouseId *string `pulumi:"warehouseId"` +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { + return v.AwsAttributes + }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { + return v.AzureAttributes + }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs struct { - Alert GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput `pulumi:"alert"` - Dashboard GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput `pulumi:"dashboard"` - File GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput `pulumi:"file"` - Parameters pulumi.MapInput `pulumi:"parameters"` - Query GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput `pulumi:"query"` - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo { + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DockerImage() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterDockerImage { + return v.DockerImage + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) } -type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +} -func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType)(v) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { + return v.GcpAttributes + }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) InitScripts() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterInitScript { + return v.InitScripts + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) NodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) NumWorkers() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Alert() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { - return v.Alert - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Dashboard() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { - return v.Dashboard - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SparkConf() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) map[string]interface{} { return v.SparkConf }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { - return v.File - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SparkEnvVars() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) map[string]interface{} { return v.SparkEnvVars }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Parameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) map[string]interface{} { - return v.Parameters - }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Query() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { - return v.Query - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterWorkloadType { + return v.WorkloadType + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) GetJobJobSettingsSettingsTaskNewCluster { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask + var ret GetJobJobSettingsSettingsTaskNewCluster return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Alert() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *bool { if v == nil { return nil } - return v.Alert - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) + return v.ApplyPolicyDefaultValues + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Dashboard() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAutoscale { + if v == nil { + return nil + } + return v.Autoscale + }).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *int { + if v == nil { + return nil + } + return v.AutoterminationMinutes + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterId + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { + if v == nil { + return nil + } + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo { + if v == nil { + return nil + } + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { if v == nil { return nil } - return v.Dashboard - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) + return v.ClusterName + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) map[string]interface{} { if v == nil { return nil } - return v.File - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) + return v.CustomTags + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Parameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) map[string]interface{} { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { if v == nil { return nil } - return v.Parameters - }).(pulumi.MapOutput) + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Query() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterDockerImage { if v == nil { return nil } - return v.Query - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) + return v.DockerImage + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { if v == nil { return nil } - return v.WarehouseId + return &v.DriverInstancePoolId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert struct { - AlertId string `pulumi:"alertId"` - PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` - Subscriptions []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription `pulumi:"subscriptions"` -} - -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs struct { - AlertId pulumi.StringInput `pulumi:"alertId"` - PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` - Subscriptions GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput `pulumi:"subscriptions"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx) -} - -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput -} - -type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType)(v) -} - -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() -} - -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverNodeTypeId + }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableLocalDiskEncryption + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return v.IdempotencyToken + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return v.InstancePoolId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) AlertId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) string { return v.AlertId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.NodeTypeId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *int { + if v == nil { + return nil + } + return &v.NumWorkers + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription { - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return v.PolicyId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return v.RuntimeEngine + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return v.SingleUserName + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SparkConf() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) map[string]interface{} { + if v == nil { + return nil + } + return v.SparkConf + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { - if v != nil { - return *v +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SparkEnvVars() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) map[string]interface{} { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) + return v.SparkEnvVars + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) AlertId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { if v == nil { return nil } - return &v.AlertId + return &v.SparkVersion }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *bool { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) []string { if v == nil { return nil } - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) + return v.SshPublicKeys + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterWorkloadType { if v == nil { return nil } - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) + return v.WorkloadType + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription struct { - DestinationId *string `pulumi:"destinationId"` - UserName *string `pulumi:"userName"` +type GetJobJobSettingsSettingsTaskNewClusterAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput` via: +// GetJobJobSettingsSettingsTaskNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs and GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAutoscaleInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput interface { +// GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterAutoscaleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput + ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs struct { - DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` - UserName pulumi.StringPtrInput `pulumi:"userName"` +type GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput` via: +func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs, GetJobJobSettingsSettingsTaskNewClusterAutoscalePtr and GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput interface { +// GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput + ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput +type getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +func GetJobJobSettingsSettingsTaskNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType)(v) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription) *string { - return v.DestinationId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription) *string { - return v.UserName - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterAutoscale) *GetJobJobSettingsSettingsTaskNewClusterAutoscale { + return &v + }).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { +type GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAutoscale) GetJobJobSettingsSettingsTaskNewClusterAutoscale { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskNewClusterAutoscale + return ret + }).(GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard struct { - CustomSubject *string `pulumi:"customSubject"` - DashboardId string `pulumi:"dashboardId"` - PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` - Subscriptions []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription `pulumi:"subscriptions"` +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { + if v == nil { + return nil + } + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput` via: +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { + if v == nil { + return nil + } + return v.MinWorkers + }).(pulumi.IntPtrOutput) +} + +type GetJobJobSettingsSettingsTaskNewClusterAwsAttributes struct { + Availability *string `pulumi:"availability"` + EbsVolumeCount *int `pulumi:"ebsVolumeCount"` + EbsVolumeSize *int `pulumi:"ebsVolumeSize"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId *string `pulumi:"zoneId"` +} + +// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAwsAttributesInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput interface { +// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput + ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs struct { - CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` - DashboardId pulumi.StringInput `pulumi:"dashboardId"` - PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` - Subscriptions GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput `pulumi:"subscriptions"` +type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` + EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs +type getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) +} + +type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { + return o } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { + return o } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { + return &v + }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) CustomSubject() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *string { return v.CustomSubject }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) DashboardId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) string { return v.DashboardId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *bool { - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard + var ret GetJobJobSettingsSettingsTaskNewClusterAwsAttributes return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) CustomSubject() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { if v == nil { return nil } - return v.CustomSubject + return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) DashboardId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { if v == nil { return nil } - return &v.DashboardId - }).(pulumi.StringPtrOutput) + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *bool { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { if v == nil { return nil } - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { if v == nil { return nil } - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription struct { - DestinationId *string `pulumi:"destinationId"` - UserName *string `pulumi:"userName"` -} - -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs struct { - DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` - UserName pulumi.StringPtrInput `pulumi:"userName"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) -} - -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription) *string { - return v.DestinationId - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription) *string { - return v.UserName + return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile struct { - Path string `pulumi:"path"` - Source *string `pulumi:"source"` +type GetJobJobSettingsSettingsTaskNewClusterAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileInput` via: +// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAzureAttributesInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileInput interface { +// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput + ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs struct { - Path pulumi.StringInput `pulumi:"path"` - Source pulumi.StringPtrInput `pulumi:"source"` +type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs +type getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) string { return v.Path }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile + var ret GetJobJobSettingsSettingsTaskNewClusterAzureAttributes return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *string { if v == nil { return nil } - return &v.Path + return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *int { if v == nil { return nil } - return v.Source - }).(pulumi.StringPtrOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery struct { - QueryId string `pulumi:"queryId"` +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *float64 { + if v == nil { + return nil + } + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryInput` via: +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConf struct { + Dbfs *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 `pulumi:"s3"` +} + +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryInput interface { +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs struct { - QueryId pulumi.StringInput `pulumi:"queryId"` +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs struct { + Dbfs GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs +type getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) QueryId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) string { return v.QueryId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { + return v.S3 + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery + var ret GetJobJobSettingsSettingsTaskNewClusterClusterLogConf return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) QueryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { if v == nil { return nil } - return &v.QueryId - }).(pulumi.StringPtrOutput) + return v.Dbfs + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications struct { - OnDurationWarningThresholdExceededs []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure `pulumi:"onFailures"` - OnStarts []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart `pulumi:"onStarts"` - OnSuccesses []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { + if v == nil { + return nil + } + return v.S3 + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsInput` via: +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` +} + +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsInput interface { +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs struct { - OnDurationWarningThresholdExceededs GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` - OnStarts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` - OnSuccesses GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs +type getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - return v.OnDurationWarningThresholdExceededs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnFailures() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure { - return v.OnFailures - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnStarts() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart { - return v.OnStarts - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnSuccesses() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess { - return v.OnSuccesses - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications + var ret GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnFailures() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure { - if v == nil { - return nil - } - return v.OnFailures - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnStarts() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart { - if v == nil { - return nil - } - return v.OnStarts - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnSuccesses() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) *string { if v == nil { return nil } - return v.OnSuccesses - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput` via: +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Input` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput interface { +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args{...} +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Input interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) -} +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput` via: +// +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput interface { + pulumi.Input -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } +type getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return o +func (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return o +func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { - return v.Id - }).(pulumi.StringOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { + return &v + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return o } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return o } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 + return ret + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo struct { + LocalMountDirPath string `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput` via: +// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput interface { +// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput` via: +// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput interface { +// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs{...} } +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) + ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() -} +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { - return o +func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { - return o +func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { + return o } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { + return o } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo { + return vs[0].([]GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct { + MountOptions *string `pulumi:"mountOptions"` + ServerAddress string `pulumi:"serverAddress"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput` via: +// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput interface { +// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) +func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { - return o +func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { - return o -} +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) +func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo) *string { + return v.MountOptions + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo) string { + return v.ServerAddress + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskHealth struct { - Rules []GetJobJobSettingsSettingsTaskHealthRule `pulumi:"rules"` +type GetJobJobSettingsSettingsTaskNewClusterDockerImage struct { + BasicAuth *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` } -// GetJobJobSettingsSettingsTaskHealthInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthArgs and GetJobJobSettingsSettingsTaskHealthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthInput` via: +// GetJobJobSettingsSettingsTaskNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs and GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImageInput` via: // -// GetJobJobSettingsSettingsTaskHealthArgs{...} -type GetJobJobSettingsSettingsTaskHealthInput interface { +// GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterDockerImageInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskHealthOutput() GetJobJobSettingsSettingsTaskHealthOutput - ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput } -type GetJobJobSettingsSettingsTaskHealthArgs struct { - Rules GetJobJobSettingsSettingsTaskHealthRuleArrayInput `pulumi:"rules"` +type GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs struct { + BasicAuth GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringInput `pulumi:"url"` } -func (GetJobJobSettingsSettingsTaskHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthOutput() GetJobJobSettingsSettingsTaskHealthOutput { - return i.ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) } -func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthOutput).ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthArgs, GetJobJobSettingsSettingsTaskHealthPtr and GetJobJobSettingsSettingsTaskHealthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs, GetJobJobSettingsSettingsTaskNewClusterDockerImagePtr and GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput` via: // -// GetJobJobSettingsSettingsTaskHealthArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskHealthPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput - ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput } -type getJobJobSettingsSettingsTaskHealthPtrType GetJobJobSettingsSettingsTaskHealthArgs +type getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs -func GetJobJobSettingsSettingsTaskHealthPtr(v *GetJobJobSettingsSettingsTaskHealthArgs) GetJobJobSettingsSettingsTaskHealthPtrInput { - return (*getJobJobSettingsSettingsTaskHealthPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType)(v) } -func (*getJobJobSettingsSettingsTaskHealthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) } -type GetJobJobSettingsSettingsTaskHealthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthOutput() GetJobJobSettingsSettingsTaskHealthOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskHealth) *GetJobJobSettingsSettingsTaskHealth { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskNewClusterDockerImage { return &v - }).(GetJobJobSettingsSettingsTaskHealthPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) } -func (o GetJobJobSettingsSettingsTaskHealthOutput) Rules() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealth) []GetJobJobSettingsSettingsTaskHealthRule { return v.Rules }).(GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { + return v.BasicAuth + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) } -type GetJobJobSettingsSettingsTaskHealthPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskHealthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) Elem() GetJobJobSettingsSettingsTaskHealthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskHealth) GetJobJobSettingsSettingsTaskHealth { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImage) GetJobJobSettingsSettingsTaskNewClusterDockerImage { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskHealth + var ret GetJobJobSettingsSettingsTaskNewClusterDockerImage return ret - }).(GetJobJobSettingsSettingsTaskHealthOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { + if v == nil { + return nil + } + return v.BasicAuth + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) Rules() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskHealth) []GetJobJobSettingsSettingsTaskHealthRule { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImage) *string { if v == nil { return nil } - return v.Rules - }).(GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) + return &v.Url + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskHealthRule struct { - Metric *string `pulumi:"metric"` - Op *string `pulumi:"op"` - Value *int `pulumi:"value"` +type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// GetJobJobSettingsSettingsTaskHealthRuleInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthRuleArgs and GetJobJobSettingsSettingsTaskHealthRuleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthRuleInput` via: +// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthInput` via: // -// GetJobJobSettingsSettingsTaskHealthRuleArgs{...} -type GetJobJobSettingsSettingsTaskHealthRuleInput interface { +// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskHealthRuleOutput - ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthRuleOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput } -type GetJobJobSettingsSettingsTaskHealthRuleArgs struct { - Metric pulumi.StringPtrInput `pulumi:"metric"` - Op pulumi.StringPtrInput `pulumi:"op"` - Value pulumi.IntPtrInput `pulumi:"value"` +type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (GetJobJobSettingsSettingsTaskHealthRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskHealthRuleOutput { - return i.ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthRuleOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) } -// GetJobJobSettingsSettingsTaskHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthRuleArray and GetJobJobSettingsSettingsTaskHealthRuleArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthRuleArrayInput` via: +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput` via: // -// GetJobJobSettingsSettingsTaskHealthRuleArray{ GetJobJobSettingsSettingsTaskHealthRuleArgs{...} } -type GetJobJobSettingsSettingsTaskHealthRuleArrayInput interface { +// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput - ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthRuleArrayOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput } -type GetJobJobSettingsSettingsTaskHealthRuleArray []GetJobJobSettingsSettingsTaskHealthRuleInput +type getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs -func (GetJobJobSettingsSettingsTaskHealthRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() +func GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskHealthRuleOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) +} -func (GetJobJobSettingsSettingsTaskHealthRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskHealthRuleOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealthRule) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealthRule) *string { return v.Op }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { + return &v + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) Value() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealthRule) *int { return v.Value }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskHealthRuleArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskHealthRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskHealthRule { - return vs[0].([]GetJobJobSettingsSettingsTaskHealthRule)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskHealthRuleOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth + return ret + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) } -type GetJobJobSettingsSettingsTaskLibrary struct { - Cran *GetJobJobSettingsSettingsTaskLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *GetJobJobSettingsSettingsTaskLibraryMaven `pulumi:"maven"` - Pypi *GetJobJobSettingsSettingsTaskLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Password + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskLibraryInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryArgs and GetJobJobSettingsSettingsTaskLibraryOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryInput` via: +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Username + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskNewClusterGcpAttributes struct { + Availability *string `pulumi:"availability"` + BootDiskSize *int `pulumi:"bootDiskSize"` + GoogleServiceAccount *string `pulumi:"googleServiceAccount"` + LocalSsdCount *int `pulumi:"localSsdCount"` + UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` + ZoneId *string `pulumi:"zoneId"` +} + +// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterGcpAttributesInput` via: // -// GetJobJobSettingsSettingsTaskLibraryArgs{...} -type GetJobJobSettingsSettingsTaskLibraryInput interface { +// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskLibraryOutput() GetJobJobSettingsSettingsTaskLibraryOutput - ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryOutput + ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput } -type GetJobJobSettingsSettingsTaskLibraryArgs struct { - Cran GetJobJobSettingsSettingsTaskLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven GetJobJobSettingsSettingsTaskLibraryMavenPtrInput `pulumi:"maven"` - Pypi GetJobJobSettingsSettingsTaskLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (GetJobJobSettingsSettingsTaskLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskLibraryOutput() GetJobJobSettingsSettingsTaskLibraryOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) } -// GetJobJobSettingsSettingsTaskLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryArray and GetJobJobSettingsSettingsTaskLibraryArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryArrayInput` via: +func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput` via: // -// GetJobJobSettingsSettingsTaskLibraryArray{ GetJobJobSettingsSettingsTaskLibraryArgs{...} } -type GetJobJobSettingsSettingsTaskLibraryArrayInput interface { +// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskLibraryArrayOutput - ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryArrayOutput + ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput } -type GetJobJobSettingsSettingsTaskLibraryArray []GetJobJobSettingsSettingsTaskLibraryInput +type getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs -func (GetJobJobSettingsSettingsTaskLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() +func GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskLibraryArray) ToGetJobJobSettingsSettingsTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskLibraryArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskLibraryArray) ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryArrayOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskLibraryOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) +} -func (GetJobJobSettingsSettingsTaskLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskLibraryOutput() GetJobJobSettingsSettingsTaskLibraryOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) Cran() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *GetJobJobSettingsSettingsTaskLibraryCran { return v.Cran }).(GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { + return &v + }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) Maven() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *GetJobJobSettingsSettingsTaskLibraryMaven { - return v.Maven - }).(GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) Pypi() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *GetJobJobSettingsSettingsTaskLibraryPypi { return v.Pypi }).(GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskLibraryArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskLibraryArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskLibrary { - return vs[0].([]GetJobJobSettingsSettingsTaskLibrary)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskLibraryOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskNewClusterGcpAttributes + return ret + }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) } -type GetJobJobSettingsSettingsTaskLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryCranArgs and GetJobJobSettingsSettingsTaskLibraryCranOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryCranInput` via: -// -// GetJobJobSettingsSettingsTaskLibraryCranArgs{...} -type GetJobJobSettingsSettingsTaskLibraryCranInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.BootDiskSize + }).(pulumi.IntPtrOutput) +} - ToGetJobJobSettingsSettingsTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskLibraryCranOutput - ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryCranOutput +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) } -func (GetJobJobSettingsSettingsTaskLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) } -func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskLibraryCranOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryCranOutput) +type GetJobJobSettingsSettingsTaskNewClusterInitScript struct { + Abfss *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss `pulumi:"abfss"` + Dbfs *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs `pulumi:"dbfs"` + File *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile `pulumi:"file"` + Gcs *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs `pulumi:"gcs"` + S3 *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 `pulumi:"s3"` + Volumes *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes `pulumi:"volumes"` + Workspace *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace `pulumi:"workspace"` } -func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Background()) +// GetJobJobSettingsSettingsTaskNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptInput` via: +// +// GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput } -func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryCranOutput).ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx) +type GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs struct { + Abfss GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` + Dbfs GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` + File GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput `pulumi:"file"` + Gcs GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` + S3 GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput `pulumi:"s3"` + Volumes GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` + Workspace GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` } -// GetJobJobSettingsSettingsTaskLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryCranArgs, GetJobJobSettingsSettingsTaskLibraryCranPtr and GetJobJobSettingsSettingsTaskLibraryCranPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryCranPtrInput` via: -// -// GetJobJobSettingsSettingsTaskLibraryCranArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskLibraryCranPtrInput interface { - pulumi.Input +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() +} - ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput - ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(context.Background()) } -type getJobJobSettingsSettingsTaskLibraryCranPtrType GetJobJobSettingsSettingsTaskLibraryCranArgs +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) +} -func GetJobJobSettingsSettingsTaskLibraryCranPtr(v *GetJobJobSettingsSettingsTaskLibraryCranArgs) GetJobJobSettingsSettingsTaskLibraryCranPtrInput { - return (*getJobJobSettingsSettingsTaskLibraryCranPtrType)(v) +// GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptArray and GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput` via: +// +// GetJobJobSettingsSettingsTaskNewClusterInitScriptArray{ GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs{...} } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput } -func (*getJobJobSettingsSettingsTaskLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterInitScriptArray []GetJobJobSettingsSettingsTaskNewClusterInitScriptInput + +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) } -type GetJobJobSettingsSettingsTaskLibraryCranOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskLibraryCranOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss { + return v.Abfss + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskLibraryCran) *GetJobJobSettingsSettingsTaskLibraryCran { - return &v - }).(GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryCran) string { return v.Package }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile { + return v.File + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs { + return v.Gcs + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) } -type GetJobJobSettingsSettingsTaskLibraryCranPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 { + return v.S3 + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) +} -func (GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes { + return v.Volumes + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace { + return v.Workspace + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return o -} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return o +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsTaskLibraryCranOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryCran) GetJobJobSettingsSettingsTaskLibraryCran { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskLibraryCran - return ret - }).(GetJobJobSettingsSettingsTaskLibraryCranOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryCran) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryCran) *string { - if v == nil { - return nil - } - return v.Repo - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskNewClusterInitScript { + return vs[0].([]GetJobJobSettingsSettingsTaskNewClusterInitScript)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) } -type GetJobJobSettingsSettingsTaskLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskLibraryMavenInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryMavenArgs and GetJobJobSettingsSettingsTaskLibraryMavenOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryMavenInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssInput` via: // -// GetJobJobSettingsSettingsTaskLibraryMavenArgs{...} -type GetJobJobSettingsSettingsTaskLibraryMavenInput interface { +// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskLibraryMavenOutput - ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryMavenOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput } -type GetJobJobSettingsSettingsTaskLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskLibraryMavenOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryMavenOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) } -func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryMavenOutput).ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryMavenArgs, GetJobJobSettingsSettingsTaskLibraryMavenPtr and GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryMavenPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput` via: // -// GetJobJobSettingsSettingsTaskLibraryMavenArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskLibraryMavenPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput - ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput } -type getJobJobSettingsSettingsTaskLibraryMavenPtrType GetJobJobSettingsSettingsTaskLibraryMavenArgs +type getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs -func GetJobJobSettingsSettingsTaskLibraryMavenPtr(v *GetJobJobSettingsSettingsTaskLibraryMavenArgs) GetJobJobSettingsSettingsTaskLibraryMavenPtrInput { - return (*getJobJobSettingsSettingsTaskLibraryMavenPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType)(v) } -func (*getJobJobSettingsSettingsTaskLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) } -type GetJobJobSettingsSettingsTaskLibraryMavenOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskLibraryMavenOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskLibraryMaven) *GetJobJobSettingsSettingsTaskLibraryMaven { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss { return &v - }).(GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsTaskLibraryMavenOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) GetJobJobSettingsSettingsTaskLibraryMaven { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskLibraryMaven + var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss return ret - }).(GetJobJobSettingsSettingsTaskLibraryMavenOutput) -} - -func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) *string { - if v == nil { - return nil - } - return &v.Coordinates - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) []string { - if v == nil { - return nil - } - return v.Exclusions - }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) *string { if v == nil { return nil } - return v.Repo + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskLibraryPypiInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryPypiArgs and GetJobJobSettingsSettingsTaskLibraryPypiOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryPypiInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsInput` via: // -// GetJobJobSettingsSettingsTaskLibraryPypiArgs{...} -type GetJobJobSettingsSettingsTaskLibraryPypiInput interface { +// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskLibraryPypiOutput - ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryPypiOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput } -type GetJobJobSettingsSettingsTaskLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskLibraryPypiOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryPypiOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) } -func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryPypiOutput).ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryPypiArgs, GetJobJobSettingsSettingsTaskLibraryPypiPtr and GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryPypiPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput` via: // -// GetJobJobSettingsSettingsTaskLibraryPypiArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskLibraryPypiPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput - ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput } -type getJobJobSettingsSettingsTaskLibraryPypiPtrType GetJobJobSettingsSettingsTaskLibraryPypiArgs +type getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs -func GetJobJobSettingsSettingsTaskLibraryPypiPtr(v *GetJobJobSettingsSettingsTaskLibraryPypiArgs) GetJobJobSettingsSettingsTaskLibraryPypiPtrInput { - return (*getJobJobSettingsSettingsTaskLibraryPypiPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) } -type GetJobJobSettingsSettingsTaskLibraryPypiOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskLibraryPypiOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskLibraryPypi) *GetJobJobSettingsSettingsTaskLibraryPypi { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs { return &v - }).(GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryPypi) string { return v.Package }).(pulumi.StringOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsTaskLibraryPypiOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryPypi) GetJobJobSettingsSettingsTaskLibraryPypi { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskLibraryPypi + var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs return ret - }).(GetJobJobSettingsSettingsTaskLibraryPypiOutput) -} - -func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryPypi) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryPypi) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) *string { if v == nil { return nil } - return v.Repo + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewCluster struct { - ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` - Autoscale *GetJobJobSettingsSettingsTaskNewClusterAutoscale `pulumi:"autoscale"` - AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` - AwsAttributes *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes `pulumi:"azureAttributes"` - ClusterId *string `pulumi:"clusterId"` - ClusterLogConf *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf `pulumi:"clusterLogConf"` - ClusterMountInfos []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` - ClusterName *string `pulumi:"clusterName"` - CustomTags map[string]interface{} `pulumi:"customTags"` - DataSecurityMode *string `pulumi:"dataSecurityMode"` - DockerImage *GetJobJobSettingsSettingsTaskNewClusterDockerImage `pulumi:"dockerImage"` - DriverInstancePoolId string `pulumi:"driverInstancePoolId"` - DriverNodeTypeId string `pulumi:"driverNodeTypeId"` - EnableElasticDisk bool `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption bool `pulumi:"enableLocalDiskEncryption"` - GcpAttributes *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes `pulumi:"gcpAttributes"` - IdempotencyToken *string `pulumi:"idempotencyToken"` - InitScripts []GetJobJobSettingsSettingsTaskNewClusterInitScript `pulumi:"initScripts"` - InstancePoolId *string `pulumi:"instancePoolId"` - NodeTypeId string `pulumi:"nodeTypeId"` - NumWorkers int `pulumi:"numWorkers"` - PolicyId *string `pulumi:"policyId"` - RuntimeEngine *string `pulumi:"runtimeEngine"` - SingleUserName *string `pulumi:"singleUserName"` - SparkConf map[string]interface{} `pulumi:"sparkConf"` - SparkEnvVars map[string]interface{} `pulumi:"sparkEnvVars"` - SparkVersion string `pulumi:"sparkVersion"` - SshPublicKeys []string `pulumi:"sshPublicKeys"` - WorkloadType *GetJobJobSettingsSettingsTaskNewClusterWorkloadType `pulumi:"workloadType"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptFile struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskNewClusterInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterArgs and GetJobJobSettingsSettingsTaskNewClusterOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptFileInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInput interface { +// GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptFileInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterOutput() GetJobJobSettingsSettingsTaskNewClusterOutput - ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput } -type GetJobJobSettingsSettingsTaskNewClusterArgs struct { - ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` - Autoscale GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput `pulumi:"autoscale"` - AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` - AwsAttributes GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` - AzureAttributes GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` - ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` - ClusterLogConf GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` - ClusterMountInfos GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` - ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` - CustomTags pulumi.MapInput `pulumi:"customTags"` - DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` - DockerImage GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput `pulumi:"dockerImage"` - DriverInstancePoolId pulumi.StringInput `pulumi:"driverInstancePoolId"` - DriverNodeTypeId pulumi.StringInput `pulumi:"driverNodeTypeId"` - EnableElasticDisk pulumi.BoolInput `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption pulumi.BoolInput `pulumi:"enableLocalDiskEncryption"` - GcpAttributes GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` - IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` - InitScripts GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput `pulumi:"initScripts"` - InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - NodeTypeId pulumi.StringInput `pulumi:"nodeTypeId"` - NumWorkers pulumi.IntInput `pulumi:"numWorkers"` - PolicyId pulumi.StringPtrInput `pulumi:"policyId"` - RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` - SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` - SparkConf pulumi.MapInput `pulumi:"sparkConf"` - SparkEnvVars pulumi.MapInput `pulumi:"sparkEnvVars"` - SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - WorkloadType GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskNewClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterOutput() GetJobJobSettingsSettingsTaskNewClusterOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterOutput).ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterArgs, GetJobJobSettingsSettingsTaskNewClusterPtr and GetJobJobSettingsSettingsTaskNewClusterPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput } -type getJobJobSettingsSettingsTaskNewClusterPtrType GetJobJobSettingsSettingsTaskNewClusterArgs +type getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs -func GetJobJobSettingsSettingsTaskNewClusterPtr(v *GetJobJobSettingsSettingsTaskNewClusterArgs) GetJobJobSettingsSettingsTaskNewClusterPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterOutput() GetJobJobSettingsSettingsTaskNewClusterOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewCluster { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) Autoscale() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAutoscale { - return v.Autoscale - }).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) -} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { - return v.AwsAttributes - }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { - return v.AzureAttributes - }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) GetJobJobSettingsSettingsTaskNewClusterInitScriptFile { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptFile + return ret + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo { - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) +type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs struct { + Destination string `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) -} +// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsInput` via: +// +// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DockerImage() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterDockerImage { - return v.DockerImage - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { - return v.GcpAttributes - }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) -} +// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput` via: +// +// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) InitScripts() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterInitScript { - return v.InitScripts - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) -} +type getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +func GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) NodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +func (*getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) NumWorkers() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) -} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) map[string]interface{} { return v.SparkConf }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) map[string]interface{} { return v.SparkEnvVars }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs { + return &v + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterWorkloadType { - return v.WorkloadType - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskNewClusterPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) GetJobJobSettingsSettingsTaskNewCluster { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewCluster + var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs return ret - }).(GetJobJobSettingsSettingsTaskNewClusterOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *bool { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) *string { if v == nil { return nil } - return v.ApplyPolicyDefaultValues - }).(pulumi.BoolPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAutoscale { - if v == nil { - return nil - } - return v.Autoscale - }).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) +type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *int { - if v == nil { - return nil - } - return v.AutoterminationMinutes - }).(pulumi.IntPtrOutput) +// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args and GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Input` via: +// +// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Input interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { - if v == nil { - return nil - } - return v.AwsAttributes - }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) +type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { - if v == nil { - return nil - } - return v.AzureAttributes - }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterId - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { - if v == nil { - return nil - } - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) +} + +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args, GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput` via: +// +// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput +} + +type getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args + +func GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo { - if v == nil { - return nil - } - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterName - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) map[string]interface{} { - if v == nil { - return nil - } - return v.CustomTags - }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return v.DataSecurityMode - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterDockerImage { - if v == nil { - return nil - } - return v.DockerImage - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return &v.DriverInstancePoolId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 { + return &v + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return &v.DriverNodeTypeId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableLocalDiskEncryption - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return v.IdempotencyToken - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterInitScript { - if v == nil { - return nil - } - return v.InitScripts - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return v.InstancePoolId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return &v.NodeTypeId - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *int { - if v == nil { - return nil - } - return &v.NumWorkers - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 { + if v != nil { + return *v } - return v.PolicyId - }).(pulumi.StringPtrOutput) + var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 + return ret + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.RuntimeEngine + return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.SingleUserName + return &v.Destination }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) map[string]interface{} { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *bool { if v == nil { return nil } - return v.SparkConf - }).(pulumi.MapOutput) + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) map[string]interface{} { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.SparkEnvVars - }).(pulumi.MapOutput) + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { if v == nil { return nil } - return &v.SparkVersion + return v.Endpoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) []string { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.SshPublicKeys - }).(pulumi.StringArrayOutput) + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.WorkloadType - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) + return v.Region + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs and GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAutoscaleInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterAutoscaleInput interface { +// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput - ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput } -type GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs, GetJobJobSettingsSettingsTaskNewClusterAutoscalePtr and GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs +type getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs -func GetJobJobSettingsSettingsTaskNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterAutoscale) *GetJobJobSettingsSettingsTaskNewClusterAutoscale { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAutoscale) GetJobJobSettingsSettingsTaskNewClusterAutoscale { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterAutoscale + var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes return ret - }).(GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { - if v == nil { - return nil - } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) *string { if v == nil { return nil } - return v.MinWorkers - }).(pulumi.IntPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAwsAttributes struct { - Availability *string `pulumi:"availability"` - EbsVolumeCount *int `pulumi:"ebsVolumeCount"` - EbsVolumeSize *int `pulumi:"ebsVolumeSize"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - ZoneId *string `pulumi:"zoneId"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAwsAttributesInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesInput interface { +// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput - ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput } -type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` - EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput -} - -type getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs - -func GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType)(v) -} - -func (*getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() -} - -func (i *getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) -} - -func (i *getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) -} - -type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { - return &v - }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) -} +type getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType)(v) } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +func (*getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNewClusterAwsAttributes - return ret - }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace { + return &v + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace { + if v != nil { + return *v } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) + var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace + return ret + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) *string { if v == nil { return nil } - return v.ZoneId + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsTaskNewClusterWorkloadType struct { + Clients GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients `pulumi:"clients"` } -// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAzureAttributesInput` via: +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesInput interface { +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput - ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput } -type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs struct { + Clients GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput `pulumi:"clients"` } -func (GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput } -type getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs +type getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs -func GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskNewClusterWorkloadType { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { + return v.Clients + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskNewClusterWorkloadType { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterAzureAttributes + var ret GetJobJobSettingsSettingsTaskNewClusterWorkloadType return ret - }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *float64 { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { if v == nil { return nil } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) + return &v.Clients + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConf struct { - Dbfs *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 `pulumi:"s3"` +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` } -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfInput` via: +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfInput interface { +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs struct { - Dbfs GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs +type getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs -func GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { - return v.S3 - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterClusterLogConf + var ret GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients return ret - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.Dbfs - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) + return v.Jobs + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.S3 - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) + return v.Notebooks + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskNotebookTask struct { + BaseParameters map[string]interface{} `pulumi:"baseParameters"` + NotebookPath string `pulumi:"notebookPath"` + Source *string `pulumi:"source"` + WarehouseId *string `pulumi:"warehouseId"` } -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsInput` via: +// GetJobJobSettingsSettingsTaskNotebookTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskNotebookTaskArgs and GetJobJobSettingsSettingsTaskNotebookTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotebookTaskInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsInput interface { +// GetJobJobSettingsSettingsTaskNotebookTaskArgs{...} +type GetJobJobSettingsSettingsTaskNotebookTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskNotebookTaskOutput + ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotebookTaskOutput } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskNotebookTaskArgs struct { + BaseParameters pulumi.MapInput `pulumi:"baseParameters"` + NotebookPath pulumi.StringInput `pulumi:"notebookPath"` + Source pulumi.StringPtrInput `pulumi:"source"` + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNotebookTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskNotebookTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) +func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotebookTaskOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotebookTaskOutput).ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput` via: +// GetJobJobSettingsSettingsTaskNotebookTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNotebookTaskArgs, GetJobJobSettingsSettingsTaskNotebookTaskPtr and GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotebookTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs{...} +// GetJobJobSettingsSettingsTaskNotebookTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput interface { +type GetJobJobSettingsSettingsTaskNotebookTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput + ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs +type getJobJobSettingsSettingsTaskNotebookTaskPtrType GetJobJobSettingsSettingsTaskNotebookTaskArgs -func GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType)(v) +func GetJobJobSettingsSettingsTaskNotebookTaskPtr(v *GetJobJobSettingsSettingsTaskNotebookTaskArgs) GetJobJobSettingsSettingsTaskNotebookTaskPtrInput { + return (*getJobJobSettingsSettingsTaskNotebookTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNotebookTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) +func (i *getJobJobSettingsSettingsTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNotebookTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNotebookTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskNotebookTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNotebookTask) *GetJobJobSettingsSettingsTaskNotebookTask { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) + }).(GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) BaseParameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) map[string]interface{} { return v.BaseParameters }).(pulumi.MapOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) NotebookPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { - if v != nil { - return *v +func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskNotebookTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) GetJobJobSettingsSettingsTaskNotebookTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskNotebookTask + return ret + }).(GetJobJobSettingsSettingsTaskNotebookTaskOutput) +} + +func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) BaseParameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) map[string]interface{} { + if v == nil { + return nil + } + return v.BaseParameters + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) *string { + if v == nil { + return nil + } + return &v.NotebookPath + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) *string { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs - return ret - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) + return v.Source + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) *string { +func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) *string { if v == nil { return nil } - return &v.Destination + return v.WarehouseId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type GetJobJobSettingsSettingsTaskNotificationSettings struct { + AlertOnLastAttempt *bool `pulumi:"alertOnLastAttempt"` + NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` } -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Input` via: +// GetJobJobSettingsSettingsTaskNotificationSettingsInput is an input type that accepts GetJobJobSettingsSettingsTaskNotificationSettingsArgs and GetJobJobSettingsSettingsTaskNotificationSettingsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotificationSettingsInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args{...} -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Input interface { +// GetJobJobSettingsSettingsTaskNotificationSettingsArgs{...} +type GetJobJobSettingsSettingsTaskNotificationSettingsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskNotificationSettingsOutput + ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsOutput } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type GetJobJobSettingsSettingsTaskNotificationSettingsArgs struct { + AlertOnLastAttempt pulumi.BoolPtrInput `pulumi:"alertOnLastAttempt"` + NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskNotificationSettingsOutput { + return i.ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) +func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotificationSettingsOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotificationSettingsOutput).ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput` via: +// GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNotificationSettingsArgs, GetJobJobSettingsSettingsTaskNotificationSettingsPtr and GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args{...} +// GetJobJobSettingsSettingsTaskNotificationSettingsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput interface { +type GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput + ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args +type getJobJobSettingsSettingsTaskNotificationSettingsPtrType GetJobJobSettingsSettingsTaskNotificationSettingsArgs -func GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType)(v) +func GetJobJobSettingsSettingsTaskNotificationSettingsPtr(v *GetJobJobSettingsSettingsTaskNotificationSettingsArgs) GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput { + return (*getJobJobSettingsSettingsTaskNotificationSettingsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNotificationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) +func (i *getJobJobSettingsSettingsTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNotificationSettingsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { +func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskNotificationSettingsOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { +func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNotificationSettings) *GetJobJobSettingsSettingsTaskNotificationSettings { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotificationSettings) *bool { return v.AlertOnLastAttempt }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNotificationSettingsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) GetJobJobSettingsSettingsTaskNotificationSettings { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 + var ret GetJobJobSettingsSettingsTaskNotificationSettings return ret - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.KmsKey - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskNotificationSettingsOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) *bool { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` -} - -// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput -} - -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs struct { - LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` + return v.AlertOnLastAttempt + }).(pulumi.BoolPtrOutput) } -func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) *bool { + if v == nil { + return nil + } + return v.NoAlertForCanceledRuns + }).(pulumi.BoolPtrOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) *bool { + if v == nil { + return nil + } + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) +type GetJobJobSettingsSettingsTaskPipelineTask struct { + FullRefresh *bool `pulumi:"fullRefresh"` + PipelineId string `pulumi:"pipelineId"` } -// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput` via: +// GetJobJobSettingsSettingsTaskPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskPipelineTaskArgs and GetJobJobSettingsSettingsTaskPipelineTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPipelineTaskInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs{...} } -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput interface { +// GetJobJobSettingsSettingsTaskPipelineTaskArgs{...} +type GetJobJobSettingsSettingsTaskPipelineTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput + ToGetJobJobSettingsSettingsTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskPipelineTaskOutput + ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPipelineTaskOutput } -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput +type GetJobJobSettingsSettingsTaskPipelineTaskArgs struct { + FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` + PipelineId pulumi.StringInput `pulumi:"pipelineId"` +} -func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskPipelineTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskPipelineTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) +func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPipelineTaskOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } +func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Background()) +} -func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPipelineTaskOutput).ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { - return o +// GetJobJobSettingsSettingsTaskPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskPipelineTaskArgs, GetJobJobSettingsSettingsTaskPipelineTaskPtr and GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPipelineTaskPtrInput` via: +// +// GetJobJobSettingsSettingsTaskPipelineTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskPipelineTaskPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput + ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { - return o +type getJobJobSettingsSettingsTaskPipelineTaskPtrType GetJobJobSettingsSettingsTaskPipelineTaskArgs + +func GetJobJobSettingsSettingsTaskPipelineTaskPtr(v *GetJobJobSettingsSettingsTaskPipelineTaskArgs) GetJobJobSettingsSettingsTaskPipelineTaskPtrInput { + return (*getJobJobSettingsSettingsTaskPipelineTaskPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) +func (*getJobJobSettingsSettingsTaskPipelineTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (i *getJobJobSettingsSettingsTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskPipelineTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskPipelineTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { +func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskPipelineTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { +func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo { - return vs[0].([]GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) -} - -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct { - MountOptions *string `pulumi:"mountOptions"` - ServerAddress string `pulumi:"serverAddress"` +func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Background()) } -// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput +func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskPipelineTask) *GetJobJobSettingsSettingsTaskPipelineTask { + return &v + }).(GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) } -func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) PipelineId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) -} +type GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput struct{ *pulumi.OutputState } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o +func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskPipelineTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPipelineTask) GetJobJobSettingsSettingsTaskPipelineTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskPipelineTask + return ret + }).(GetJobJobSettingsSettingsTaskPipelineTaskOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo) *string { - return v.MountOptions - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPipelineTask) *bool { + if v == nil { + return nil + } + return v.FullRefresh + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo) string { - return v.ServerAddress - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPipelineTask) *string { + if v == nil { + return nil + } + return &v.PipelineId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterDockerImage struct { - BasicAuth *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` +type GetJobJobSettingsSettingsTaskPythonWheelTask struct { + EntryPoint *string `pulumi:"entryPoint"` + NamedParameters map[string]interface{} `pulumi:"namedParameters"` + PackageName *string `pulumi:"packageName"` + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsTaskNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs and GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImageInput` via: +// GetJobJobSettingsSettingsTaskPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskPythonWheelTaskArgs and GetJobJobSettingsSettingsTaskPythonWheelTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPythonWheelTaskInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterDockerImageInput interface { +// GetJobJobSettingsSettingsTaskPythonWheelTaskArgs{...} +type GetJobJobSettingsSettingsTaskPythonWheelTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput - ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput + ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskOutput } -type GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs struct { - BasicAuth GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` +type GetJobJobSettingsSettingsTaskPythonWheelTaskArgs struct { + EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` + NamedParameters pulumi.MapInput `pulumi:"namedParameters"` + PackageName pulumi.StringPtrInput `pulumi:"packageName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) +func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPythonWheelTaskOutput).ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs, GetJobJobSettingsSettingsTaskNewClusterDockerImagePtr and GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput` via: +// GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskPythonWheelTaskArgs, GetJobJobSettingsSettingsTaskPythonWheelTaskPtr and GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs{...} +// GetJobJobSettingsSettingsTaskPythonWheelTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput interface { +type GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput + ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs +type getJobJobSettingsSettingsTaskPythonWheelTaskPtrType GetJobJobSettingsSettingsTaskPythonWheelTaskArgs -func GetJobJobSettingsSettingsTaskNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType)(v) +func GetJobJobSettingsSettingsTaskPythonWheelTaskPtr(v *GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput { + return (*getJobJobSettingsSettingsTaskPythonWheelTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskPythonWheelTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) +func (i *getJobJobSettingsSettingsTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskPythonWheelTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskNewClusterDockerImage { +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskPythonWheelTask) *GetJobJobSettingsSettingsTaskPythonWheelTask { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) + }).(GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { - return v.BasicAuth - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) NamedParameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) map[string]interface{} { return v.NamedParameters }).(pulumi.MapOutput) } -type GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { +type GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImage) GetJobJobSettingsSettingsTaskNewClusterDockerImage { +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) GetJobJobSettingsSettingsTaskPythonWheelTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterDockerImage + var ret GetJobJobSettingsSettingsTaskPythonWheelTask return ret - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) + }).(GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) *string { if v == nil { return nil } - return v.BasicAuth - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) + return v.EntryPoint + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImage) *string { +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) NamedParameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) map[string]interface{} { if v == nil { return nil } - return &v.Url + return v.NamedParameters + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) *string { + if v == nil { + return nil + } + return v.PackageName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) } -// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthInput` via: +type GetJobJobSettingsSettingsTaskRunJobTask struct { + JobId int `pulumi:"jobId"` + JobParameters map[string]interface{} `pulumi:"jobParameters"` +} + +// GetJobJobSettingsSettingsTaskRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskRunJobTaskArgs and GetJobJobSettingsSettingsTaskRunJobTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskRunJobTaskInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthInput interface { +// GetJobJobSettingsSettingsTaskRunJobTaskArgs{...} +type GetJobJobSettingsSettingsTaskRunJobTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput - ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskRunJobTaskOutput + ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskRunJobTaskOutput } -type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type GetJobJobSettingsSettingsTaskRunJobTaskArgs struct { + JobId pulumi.IntInput `pulumi:"jobId"` + JobParameters pulumi.MapInput `pulumi:"jobParameters"` } -func (GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskRunJobTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskRunJobTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) +func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskRunJobTaskOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskRunJobTaskOutput).ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput` via: +// GetJobJobSettingsSettingsTaskRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskRunJobTaskArgs, GetJobJobSettingsSettingsTaskRunJobTaskPtr and GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskRunJobTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs{...} +// GetJobJobSettingsSettingsTaskRunJobTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput interface { +type GetJobJobSettingsSettingsTaskRunJobTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput + ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs +type getJobJobSettingsSettingsTaskRunJobTaskPtrType GetJobJobSettingsSettingsTaskRunJobTaskArgs -func GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType)(v) +func GetJobJobSettingsSettingsTaskRunJobTaskPtr(v *GetJobJobSettingsSettingsTaskRunJobTaskArgs) GetJobJobSettingsSettingsTaskRunJobTaskPtrInput { + return (*getJobJobSettingsSettingsTaskRunJobTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskRunJobTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) +func (i *getJobJobSettingsSettingsTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskRunJobTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskRunJobTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskRunJobTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskRunJobTask) *GetJobJobSettingsSettingsTaskRunJobTask { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) + }).(GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) JobId() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskRunJobTask) int { return v.JobId }).(pulumi.IntOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) JobParameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskRunJobTask) map[string]interface{} { return v.JobParameters }).(pulumi.MapOutput) } -type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { +func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { +func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskRunJobTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskRunJobTask) GetJobJobSettingsSettingsTaskRunJobTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth + var ret GetJobJobSettingsSettingsTaskRunJobTask return ret - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) + }).(GetJobJobSettingsSettingsTaskRunJobTaskOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) *string { +func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskRunJobTask) *int { if v == nil { return nil } - return &v.Password - }).(pulumi.StringPtrOutput) + return &v.JobId + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) *string { +func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) JobParameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskRunJobTask) map[string]interface{} { if v == nil { return nil } - return &v.Username - }).(pulumi.StringPtrOutput) + return v.JobParameters + }).(pulumi.MapOutput) } -type GetJobJobSettingsSettingsTaskNewClusterGcpAttributes struct { - Availability *string `pulumi:"availability"` - BootDiskSize *int `pulumi:"bootDiskSize"` - GoogleServiceAccount *string `pulumi:"googleServiceAccount"` - LocalSsdCount *int `pulumi:"localSsdCount"` - UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` - ZoneId *string `pulumi:"zoneId"` +type GetJobJobSettingsSettingsTaskSparkJarTask struct { + JarUri *string `pulumi:"jarUri"` + MainClassName *string `pulumi:"mainClassName"` + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterGcpAttributesInput` via: +// GetJobJobSettingsSettingsTaskSparkJarTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkJarTaskArgs and GetJobJobSettingsSettingsTaskSparkJarTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkJarTaskInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesInput interface { +// GetJobJobSettingsSettingsTaskSparkJarTaskArgs{...} +type GetJobJobSettingsSettingsTaskSparkJarTaskInput interface { pulumi.Input - - ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput - ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput + + ToGetJobJobSettingsSettingsTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskSparkJarTaskOutput + ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskOutput } -type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type GetJobJobSettingsSettingsTaskSparkJarTaskArgs struct { + JarUri pulumi.StringPtrInput `pulumi:"jarUri"` + MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskSparkJarTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) +func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkJarTaskOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkJarTaskOutput).ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput` via: +// GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkJarTaskArgs, GetJobJobSettingsSettingsTaskSparkJarTaskPtr and GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs{...} +// GetJobJobSettingsSettingsTaskSparkJarTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput interface { +type GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput + ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs +type getJobJobSettingsSettingsTaskSparkJarTaskPtrType GetJobJobSettingsSettingsTaskSparkJarTaskArgs -func GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType)(v) +func GetJobJobSettingsSettingsTaskSparkJarTaskPtr(v *GetJobJobSettingsSettingsTaskSparkJarTaskArgs) GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput { + return (*getJobJobSettingsSettingsTaskSparkJarTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskSparkJarTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) +func (i *getJobJobSettingsSettingsTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSparkJarTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskSparkJarTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSparkJarTask) *GetJobJobSettingsSettingsTaskSparkJarTask { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSparkJarTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) GetJobJobSettingsSettingsTaskSparkJarTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterGcpAttributes + var ret GetJobJobSettingsSettingsTaskSparkJarTask return ret - }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) + }).(GetJobJobSettingsSettingsTaskSparkJarTaskOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) *string { if v == nil { return nil } - return v.Availability + return v.JarUri }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.BootDiskSize - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) *string { if v == nil { return nil } - return v.GoogleServiceAccount + return v.MainClassName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) []string { if v == nil { return nil } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *bool { - if v == nil { - return nil - } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) +type GetJobJobSettingsSettingsTaskSparkPythonTask struct { + Parameters []string `pulumi:"parameters"` + PythonFile string `pulumi:"pythonFile"` + Source *string `pulumi:"source"` } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) -} +// GetJobJobSettingsSettingsTaskSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkPythonTaskArgs and GetJobJobSettingsSettingsTaskSparkPythonTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkPythonTaskInput` via: +// +// GetJobJobSettingsSettingsTaskSparkPythonTaskArgs{...} +type GetJobJobSettingsSettingsTaskSparkPythonTaskInput interface { + pulumi.Input -type GetJobJobSettingsSettingsTaskNewClusterInitScript struct { - Abfss *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss `pulumi:"abfss"` - Dbfs *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs `pulumi:"dbfs"` - File *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile `pulumi:"file"` - Gcs *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs `pulumi:"gcs"` - S3 *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 `pulumi:"s3"` - Volumes *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes `pulumi:"volumes"` - Workspace *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace `pulumi:"workspace"` + ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput + ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskOutput } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptInput interface { - pulumi.Input +type GetJobJobSettingsSettingsTaskSparkPythonTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` + PythonFile pulumi.StringInput `pulumi:"pythonFile"` + Source pulumi.StringPtrInput `pulumi:"source"` +} - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput +func (GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs struct { - Abfss GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` - Dbfs GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` - File GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput `pulumi:"file"` - Gcs GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` - S3 GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput `pulumi:"s3"` - Volumes GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` - Workspace GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` +func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(context.Background()) } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) +func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkPythonTaskOutput).ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptArray and GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput` via: +// GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkPythonTaskArgs, GetJobJobSettingsSettingsTaskSparkPythonTaskPtr and GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptArray{ GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs{...} } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput interface { +// GetJobJobSettingsSettingsTaskSparkPythonTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput + ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptArray []GetJobJobSettingsSettingsTaskNewClusterInitScriptInput +type getJobJobSettingsSettingsTaskSparkPythonTaskPtrType GetJobJobSettingsSettingsTaskSparkPythonTaskArgs -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() +func GetJobJobSettingsSettingsTaskSparkPythonTaskPtr(v *GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput { + return (*getJobJobSettingsSettingsTaskSparkPythonTaskPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsTaskSparkPythonTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) +func (i *getJobJobSettingsSettingsTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSparkPythonTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss { - return v.Abfss - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSparkPythonTask) *GetJobJobSettingsSettingsTaskSparkPythonTask { + return &v + }).(GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile { - return v.File - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs { - return v.Gcs - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 { - return v.S3 - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes { - return v.Volumes - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) +type GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace { - return v.Workspace - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return o } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return o +} -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) GetJobJobSettingsSettingsTaskSparkPythonTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskSparkPythonTask + return ret + }).(GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) *string { + if v == nil { + return nil + } + return &v.PythonFile + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskNewClusterInitScript { - return vs[0].([]GetJobJobSettingsSettingsTaskNewClusterInitScript)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskSparkSubmitTask struct { + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssInput` via: +// GetJobJobSettingsSettingsTaskSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs and GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkSubmitTaskInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssInput interface { +// GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs{...} +type GetJobJobSettingsSettingsTaskSparkSubmitTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput + ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) +func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput` via: +// GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs, GetJobJobSettingsSettingsTaskSparkSubmitTaskPtr and GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs{...} +// GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput interface { +type GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput + ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs +type getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs -func GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType)(v) +func GetJobJobSettingsSettingsTaskSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput { + return (*getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) +func (i *getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSparkSubmitTask) *GetJobJobSettingsSettingsTaskSparkSubmitTask { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) + }).(GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkSubmitTask) GetJobJobSettingsSettingsTaskSparkSubmitTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss + var ret GetJobJobSettingsSettingsTaskSparkSubmitTask return ret - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) + }).(GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) *string { +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkSubmitTask) []string { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskSqlTask struct { + Alert *GetJobJobSettingsSettingsTaskSqlTaskAlert `pulumi:"alert"` + Dashboard *GetJobJobSettingsSettingsTaskSqlTaskDashboard `pulumi:"dashboard"` + File *GetJobJobSettingsSettingsTaskSqlTaskFile `pulumi:"file"` + Parameters map[string]interface{} `pulumi:"parameters"` + Query *GetJobJobSettingsSettingsTaskSqlTaskQuery `pulumi:"query"` + WarehouseId *string `pulumi:"warehouseId"` } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsInput` via: +// GetJobJobSettingsSettingsTaskSqlTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskArgs and GetJobJobSettingsSettingsTaskSqlTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsInput interface { +// GetJobJobSettingsSettingsTaskSqlTaskArgs{...} +type GetJobJobSettingsSettingsTaskSqlTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskSqlTaskOutput + ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskOutput } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskSqlTaskArgs struct { + Alert GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput `pulumi:"alert"` + Dashboard GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput `pulumi:"dashboard"` + File GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput `pulumi:"file"` + Parameters pulumi.MapInput `pulumi:"parameters"` + Query GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput `pulumi:"query"` + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskSqlTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskOutput).ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput` via: +// GetJobJobSettingsSettingsTaskSqlTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskArgs, GetJobJobSettingsSettingsTaskSqlTaskPtr and GetJobJobSettingsSettingsTaskSqlTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs{...} +// GetJobJobSettingsSettingsTaskSqlTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput interface { +type GetJobJobSettingsSettingsTaskSqlTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs +type getJobJobSettingsSettingsTaskSqlTaskPtrType GetJobJobSettingsSettingsTaskSqlTaskArgs -func GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType)(v) +func GetJobJobSettingsSettingsTaskSqlTaskPtr(v *GetJobJobSettingsSettingsTaskSqlTaskArgs) GetJobJobSettingsSettingsTaskSqlTaskPtrInput { + return (*getJobJobSettingsSettingsTaskSqlTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskSqlTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) +func (i *getJobJobSettingsSettingsTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskSqlTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTask { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) + }).(GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Alert() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskAlert { + return v.Alert + }).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Dashboard() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskDashboard { + return v.Dashboard + }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) +} -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) File() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskFile { return v.File }).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) map[string]interface{} { return v.Parameters }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Query() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskQuery { + return v.Query + }).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskSqlTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) GetJobJobSettingsSettingsTaskSqlTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs + var ret GetJobJobSettingsSettingsTaskSqlTask return ret - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) + }).(GetJobJobSettingsSettingsTaskSqlTaskOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) *string { +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Alert() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskAlert { if v == nil { return nil } - return &v.Destination + return v.Alert + }).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Dashboard() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskDashboard { + if v == nil { + return nil + } + return v.Dashboard + }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) File() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskFile { + if v == nil { + return nil + } + return v.File + }).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) map[string]interface{} { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Query() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskQuery { + if v == nil { + return nil + } + return v.Query + }).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *string { + if v == nil { + return nil + } + return v.WarehouseId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskSqlTaskAlert struct { + AlertId string `pulumi:"alertId"` + PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` + Subscriptions []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription `pulumi:"subscriptions"` } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptFileInput` via: +// GetJobJobSettingsSettingsTaskSqlTaskAlertInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertArgs and GetJobJobSettingsSettingsTaskSqlTaskAlertOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptFileInput interface { +// GetJobJobSettingsSettingsTaskSqlTaskAlertArgs{...} +type GetJobJobSettingsSettingsTaskSqlTaskAlertInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput + ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertOutput } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskSqlTaskAlertArgs struct { + AlertId pulumi.StringInput `pulumi:"alertId"` + PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` + Subscriptions GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput `pulumi:"subscriptions"` } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertOutput).ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput` via: +// GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertArgs, GetJobJobSettingsSettingsTaskSqlTaskAlertPtr and GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs{...} +// GetJobJobSettingsSettingsTaskSqlTaskAlertArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput interface { +type GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs +type getJobJobSettingsSettingsTaskSqlTaskAlertPtrType GetJobJobSettingsSettingsTaskSqlTaskAlertArgs -func GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType)(v) +func GetJobJobSettingsSettingsTaskSqlTaskAlertPtr(v *GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput { + return (*getJobJobSettingsSettingsTaskSqlTaskAlertPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskSqlTaskAlertPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) +func (i *getJobJobSettingsSettingsTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskAlertOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskAlert) *GetJobJobSettingsSettingsTaskSqlTaskAlert { + return &v + }).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) AlertId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlert) string { return v.AlertId }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile { - return &v - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlert) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription { + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) GetJobJobSettingsSettingsTaskNewClusterInitScriptFile { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) GetJobJobSettingsSettingsTaskSqlTaskAlert { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptFile + var ret GetJobJobSettingsSettingsTaskSqlTaskAlert return ret - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) + }).(GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) *string { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) AlertId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) *string { if v == nil { return nil } - return &v.Destination + return &v.AlertId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) *bool { + if v == nil { + return nil + } + return v.PauseSubscriptions + }).(pulumi.BoolPtrOutput) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription { + if v == nil { + return nil + } + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription struct { + DestinationId *string `pulumi:"destinationId"` + UserName *string `pulumi:"userName"` } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() +// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs and GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput` via: +// +// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs{...} +type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput + ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs struct { + DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) +func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray and GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput interface { +// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray{ GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs{...} } +type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput + ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput } -type getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs - -func GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType)(v) -} +type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput -func (*getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs { - return &v - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs - return ret - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription { + return vs[0].([]GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type GetJobJobSettingsSettingsTaskSqlTaskDashboard struct { + CustomSubject *string `pulumi:"customSubject"` + DashboardId string `pulumi:"dashboardId"` + PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` + Subscriptions []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription `pulumi:"subscriptions"` } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args and GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Input` via: +// GetJobJobSettingsSettingsTaskSqlTaskDashboardInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs and GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Input interface { +// GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs{...} +type GetJobJobSettingsSettingsTaskSqlTaskDashboardInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs struct { + CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` + DashboardId pulumi.StringInput `pulumi:"dashboardId"` + PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` + Subscriptions GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput `pulumi:"subscriptions"` } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput).ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args, GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput` via: +// GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs, GetJobJobSettingsSettingsTaskSqlTaskDashboardPtr and GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args{...} +// GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput interface { +type GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args +type getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs -func GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType)(v) +func GetJobJobSettingsSettingsTaskSqlTaskDashboardPtr(v *GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput { + return (*getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) +func (i *getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskDashboard) *GetJobJobSettingsSettingsTaskSqlTaskDashboard { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) CustomSubject() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) *string { return v.CustomSubject }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) DashboardId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) string { return v.DashboardId }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription { + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) GetJobJobSettingsSettingsTaskSqlTaskDashboard { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 + var ret GetJobJobSettingsSettingsTaskSqlTaskDashboard return ret - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) + }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) CustomSubject() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) *string { if v == nil { return nil } - return v.CannedAcl + return v.CustomSubject }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) DashboardId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) *string { if v == nil { return nil } - return &v.Destination + return &v.DashboardId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *bool { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) *bool { if v == nil { return nil } - return v.EnableEncryption + return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription { if v == nil { return nil } - return v.EncryptionType - }).(pulumi.StringPtrOutput) + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription struct { + DestinationId *string `pulumi:"destinationId"` + UserName *string `pulumi:"userName"` } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.KmsKey - }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs and GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput` via: +// +// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs{...} +type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs struct { + DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` + UserName pulumi.StringPtrInput `pulumi:"userName"` } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesInput` via: +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) +} + +// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray and GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesInput interface { +// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray{ GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs{...} } +type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput + +func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) +} + +type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription { + return vs[0].([]GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) +} + +type GetJobJobSettingsSettingsTaskSqlTaskFile struct { + Path string `pulumi:"path"` + Source *string `pulumi:"source"` +} + +// GetJobJobSettingsSettingsTaskSqlTaskFileInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskFileArgs and GetJobJobSettingsSettingsTaskSqlTaskFileOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskFileInput` via: +// +// GetJobJobSettingsSettingsTaskSqlTaskFileArgs{...} +type GetJobJobSettingsSettingsTaskSqlTaskFileInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskSqlTaskFileOutput + ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskFileOutput +} + +type GetJobJobSettingsSettingsTaskSqlTaskFileArgs struct { + Path pulumi.StringInput `pulumi:"path"` + Source pulumi.StringPtrInput `pulumi:"source"` +} + +func (GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskSqlTaskFileOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskFileOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskFileOutput).ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput` via: +// GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskFileArgs, GetJobJobSettingsSettingsTaskSqlTaskFilePtr and GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs{...} +// GetJobJobSettingsSettingsTaskSqlTaskFileArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput interface { +type GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput } -type getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs +type getJobJobSettingsSettingsTaskSqlTaskFilePtrType GetJobJobSettingsSettingsTaskSqlTaskFileArgs -func GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType)(v) +func GetJobJobSettingsSettingsTaskSqlTaskFilePtr(v *GetJobJobSettingsSettingsTaskSqlTaskFileArgs) GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput { + return (*getJobJobSettingsSettingsTaskSqlTaskFilePtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskSqlTaskFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) +func (i *getJobJobSettingsSettingsTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskFileOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskSqlTaskFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes { +func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskFile) *GetJobJobSettingsSettingsTaskSqlTaskFile { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) + }).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskFile) string { return v.Path }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskFile) *string { return v.Source }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() +type GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes { +func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskFileOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskFile) GetJobJobSettingsSettingsTaskSqlTaskFile { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes + var ret GetJobJobSettingsSettingsTaskSqlTaskFile return ret - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) + }).(GetJobJobSettingsSettingsTaskSqlTaskFileOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) *string { +func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskFile) *string { if v == nil { return nil } - return &v.Destination + return &v.Path }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskFile) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceInput` via: +type GetJobJobSettingsSettingsTaskSqlTaskQuery struct { + QueryId string `pulumi:"queryId"` +} + +// GetJobJobSettingsSettingsTaskSqlTaskQueryInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskQueryArgs and GetJobJobSettingsSettingsTaskSqlTaskQueryOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskQueryInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceInput interface { +// GetJobJobSettingsSettingsTaskSqlTaskQueryArgs{...} +type GetJobJobSettingsSettingsTaskSqlTaskQueryInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput + ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput + ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryOutput } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskSqlTaskQueryArgs struct { + QueryId pulumi.StringInput `pulumi:"queryId"` } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskQueryOutput).ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput` via: +// GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskQueryArgs, GetJobJobSettingsSettingsTaskSqlTaskQueryPtr and GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs{...} +// GetJobJobSettingsSettingsTaskSqlTaskQueryArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput interface { +type GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs +type getJobJobSettingsSettingsTaskSqlTaskQueryPtrType GetJobJobSettingsSettingsTaskSqlTaskQueryArgs -func GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType)(v) +func GetJobJobSettingsSettingsTaskSqlTaskQueryPtr(v *GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput { + return (*getJobJobSettingsSettingsTaskSqlTaskQueryPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskSqlTaskQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) +func (i *getJobJobSettingsSettingsTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskQueryOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace { +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskQuery) *GetJobJobSettingsSettingsTaskSqlTaskQuery { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) + }).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) QueryId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskQuery) string { return v.QueryId }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace { +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskQuery) GetJobJobSettingsSettingsTaskSqlTaskQuery { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace + var ret GetJobJobSettingsSettingsTaskSqlTaskQuery return ret - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) + }).(GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) *string { +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) QueryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskQuery) *string { if v == nil { return nil } - return &v.Destination + return &v.QueryId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterWorkloadType struct { - Clients GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients `pulumi:"clients"` +type GetJobJobSettingsSettingsTaskWebhookNotifications struct { + OnDurationWarningThresholdExceededs []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure `pulumi:"onFailures"` + OnStarts []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart `pulumi:"onStarts"` + OnSuccesses []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` } -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeInput` via: +// GetJobJobSettingsSettingsTaskWebhookNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeInput interface { +// GetJobJobSettingsSettingsTaskWebhookNotificationsArgs{...} +type GetJobJobSettingsSettingsTaskWebhookNotificationsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOutput } -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs struct { - Clients GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +type GetJobJobSettingsSettingsTaskWebhookNotificationsArgs struct { + OnDurationWarningThresholdExceededs GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` + OnStarts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` + OnSuccesses GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` } -func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOutput).ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput` via: +// GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsArgs, GetJobJobSettingsSettingsTaskWebhookNotificationsPtr and GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs{...} +// GetJobJobSettingsSettingsTaskWebhookNotificationsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput interface { +type GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs +type getJobJobSettingsSettingsTaskWebhookNotificationsPtrType GetJobJobSettingsSettingsTaskWebhookNotificationsArgs -func GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType)(v) +func GetJobJobSettingsSettingsTaskWebhookNotificationsPtr(v *GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput { + return (*getJobJobSettingsSettingsTaskWebhookNotificationsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskWebhookNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) +func (i *getJobJobSettingsSettingsTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskWebhookNotifications) *GetJobJobSettingsSettingsTaskWebhookNotifications { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { - return v.Clients - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded { + return v.OnDurationWarningThresholdExceededs + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnFailures() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { + return v.OnFailures + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) +} -func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnStarts() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { + return v.OnStarts + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnSuccesses() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { + return v.OnSuccesses + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) +} + +type GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) GetJobJobSettingsSettingsTaskWebhookNotifications { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterWorkloadType + var ret GetJobJobSettingsSettingsTaskWebhookNotifications return ret - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded { if v == nil { return nil } - return &v.Clients - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) -} - -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` -} - -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput -} - -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` -} - -func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() + return v.OnDurationWarningThresholdExceededs + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnFailures() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { + if v == nil { + return nil + } + return v.OnFailures + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnStarts() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { + if v == nil { + return nil + } + return v.OnStarts + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnSuccesses() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { + if v == nil { + return nil + } + return v.OnSuccesses + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput` via: // -// nil -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput interface { +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput -} - -type getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs - -func GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType)(v) + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput } -func (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { - return o -} +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: +// +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { - return o + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) -} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { - return &v - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients - return ret - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { + return v.Id + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Jobs - }).(pulumi.BoolPtrOutput) -} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Notebooks - }).(pulumi.BoolPtrOutput) +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskNotebookTask struct { - BaseParameters map[string]interface{} `pulumi:"baseParameters"` - NotebookPath string `pulumi:"notebookPath"` - Source *string `pulumi:"source"` - WarehouseId *string `pulumi:"warehouseId"` +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o } -// GetJobJobSettingsSettingsTaskNotebookTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskNotebookTaskArgs and GetJobJobSettingsSettingsTaskNotebookTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotebookTaskInput` via: -// -// GetJobJobSettingsSettingsTaskNotebookTaskArgs{...} -type GetJobJobSettingsSettingsTaskNotebookTaskInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o +} - ToGetJobJobSettingsSettingsTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskNotebookTaskOutput - ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotebookTaskOutput +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded { + return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -type GetJobJobSettingsSettingsTaskNotebookTaskArgs struct { - BaseParameters pulumi.MapInput `pulumi:"baseParameters"` - NotebookPath pulumi.StringInput `pulumi:"notebookPath"` - Source pulumi.StringPtrInput `pulumi:"source"` - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -func (GetJobJobSettingsSettingsTaskNotebookTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput` via: +// +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs{...} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput } -func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskNotebookTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotebookTaskOutput) +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotebookTaskOutput).ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) } -// GetJobJobSettingsSettingsTaskNotebookTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNotebookTaskArgs, GetJobJobSettingsSettingsTaskNotebookTaskPtr and GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotebookTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskNotebookTaskArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskNotebookTaskPtrInput interface { +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs{...} } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput - ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput } -type getJobJobSettingsSettingsTaskNotebookTaskPtrType GetJobJobSettingsSettingsTaskNotebookTaskArgs - -func GetJobJobSettingsSettingsTaskNotebookTaskPtr(v *GetJobJobSettingsSettingsTaskNotebookTaskArgs) GetJobJobSettingsSettingsTaskNotebookTaskPtrInput { - return (*getJobJobSettingsSettingsTaskNotebookTaskPtrType)(v) -} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput -func (*getJobJobSettingsSettingsTaskNotebookTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) } -type GetJobJobSettingsSettingsTaskNotebookTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNotebookTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskNotebookTaskOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { return o } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { return o } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Background()) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNotebookTask) *GetJobJobSettingsSettingsTaskNotebookTask { - return &v - }).(GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) BaseParameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) map[string]interface{} { return v.BaseParameters }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) NotebookPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { + return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -type GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput struct{ *pulumi.OutputState } +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput` via: +// +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs{...} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput } -func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return o +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return o +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskNotebookTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) GetJobJobSettingsSettingsTaskNotebookTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNotebookTask - return ret - }).(GetJobJobSettingsSettingsTaskNotebookTaskOutput) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) BaseParameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) map[string]interface{} { - if v == nil { - return nil - } - return v.BaseParameters - }).(pulumi.MapOutput) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) *string { - if v == nil { - return nil - } - return &v.NotebookPath - }).(pulumi.StringPtrOutput) -} +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput` via: +// +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs{...} } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) *string { - if v == nil { - return nil - } - return v.Source - }).(pulumi.StringPtrOutput) + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput } -func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) *string { - if v == nil { - return nil - } - return v.WarehouseId - }).(pulumi.StringPtrOutput) -} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput -type GetJobJobSettingsSettingsTaskNotificationSettings struct { - AlertOnLastAttempt *bool `pulumi:"alertOnLastAttempt"` - NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskNotificationSettingsInput is an input type that accepts GetJobJobSettingsSettingsTaskNotificationSettingsArgs and GetJobJobSettingsSettingsTaskNotificationSettingsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotificationSettingsInput` via: -// -// GetJobJobSettingsSettingsTaskNotificationSettingsArgs{...} -type GetJobJobSettingsSettingsTaskNotificationSettingsInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskNotificationSettingsOutput - ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsOutput +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskNotificationSettingsArgs struct { - AlertOnLastAttempt pulumi.BoolPtrInput `pulumi:"alertOnLastAttempt"` - NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) } -func (GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() -} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } -func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskNotificationSettingsOutput { - return i.ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(context.Background()) +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotificationSettingsOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { + return o } -func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { + return o } -func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotificationSettingsOutput).ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) } -// GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNotificationSettingsArgs, GetJobJobSettingsSettingsTaskNotificationSettingsPtr and GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput` via: -// -// GetJobJobSettingsSettingsTaskNotificationSettingsArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput interface { - pulumi.Input +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } - ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput - ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() } -type getJobJobSettingsSettingsTaskNotificationSettingsPtrType GetJobJobSettingsSettingsTaskNotificationSettingsArgs - -func GetJobJobSettingsSettingsTaskNotificationSettingsPtr(v *GetJobJobSettingsSettingsTaskNotificationSettingsArgs) GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput { - return (*getJobJobSettingsSettingsTaskNotificationSettingsPtrType)(v) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { + return o } -func (*getJobJobSettingsSettingsTaskNotificationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { + return o } -func (i *getJobJobSettingsSettingsTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { + return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) } -func (i *getJobJobSettingsSettingsTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -type GetJobJobSettingsSettingsTaskNotificationSettingsOutput struct{ *pulumi.OutputState } +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput` via: +// +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs{...} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskNotificationSettingsOutput { - return o +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsOutput { - return o +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNotificationSettings) *GetJobJobSettingsSettingsTaskNotificationSettings { - return &v - }).(GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotificationSettings) *bool { return v.AlertOnLastAttempt }).(pulumi.BoolPtrOutput) +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput` via: +// +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs{...} } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput + +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput struct{ *pulumi.OutputState } +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) +} -func (GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { return o } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { return o } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNotificationSettingsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) GetJobJobSettingsSettingsTaskNotificationSettings { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNotificationSettings - return ret - }).(GetJobJobSettingsSettingsTaskNotificationSettingsOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) *bool { - if v == nil { - return nil - } - return v.AlertOnLastAttempt - }).(pulumi.BoolPtrOutput) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) *bool { - if v == nil { - return nil - } - return v.NoAlertForCanceledRuns - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) *bool { - if v == nil { - return nil - } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { + return o } -type GetJobJobSettingsSettingsTaskPipelineTask struct { - FullRefresh *bool `pulumi:"fullRefresh"` - PipelineId string `pulumi:"pipelineId"` +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { + return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) } -// GetJobJobSettingsSettingsTaskPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskPipelineTaskArgs and GetJobJobSettingsSettingsTaskPipelineTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPipelineTaskInput` via: +type GetJobJobSettingsSettingsTrigger struct { + FileArrival *GetJobJobSettingsSettingsTriggerFileArrival `pulumi:"fileArrival"` + PauseStatus *string `pulumi:"pauseStatus"` + TableUpdate *GetJobJobSettingsSettingsTriggerTableUpdate `pulumi:"tableUpdate"` +} + +// GetJobJobSettingsSettingsTriggerInput is an input type that accepts GetJobJobSettingsSettingsTriggerArgs and GetJobJobSettingsSettingsTriggerOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerInput` via: // -// GetJobJobSettingsSettingsTaskPipelineTaskArgs{...} -type GetJobJobSettingsSettingsTaskPipelineTaskInput interface { +// GetJobJobSettingsSettingsTriggerArgs{...} +type GetJobJobSettingsSettingsTriggerInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskPipelineTaskOutput - ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPipelineTaskOutput + ToGetJobJobSettingsSettingsTriggerOutput() GetJobJobSettingsSettingsTriggerOutput + ToGetJobJobSettingsSettingsTriggerOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerOutput } -type GetJobJobSettingsSettingsTaskPipelineTaskArgs struct { - FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` - PipelineId pulumi.StringInput `pulumi:"pipelineId"` +type GetJobJobSettingsSettingsTriggerArgs struct { + FileArrival GetJobJobSettingsSettingsTriggerFileArrivalPtrInput `pulumi:"fileArrival"` + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` + TableUpdate GetJobJobSettingsSettingsTriggerTableUpdatePtrInput `pulumi:"tableUpdate"` } -func (GetJobJobSettingsSettingsTaskPipelineTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTriggerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTrigger)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskPipelineTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerOutput() GetJobJobSettingsSettingsTriggerOutput { + return i.ToGetJobJobSettingsSettingsTriggerOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPipelineTaskOutput) +func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerOutput) } -func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPipelineTaskOutput).ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerOutput).ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskPipelineTaskArgs, GetJobJobSettingsSettingsTaskPipelineTaskPtr and GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPipelineTaskPtrInput` via: +// GetJobJobSettingsSettingsTriggerPtrInput is an input type that accepts GetJobJobSettingsSettingsTriggerArgs, GetJobJobSettingsSettingsTriggerPtr and GetJobJobSettingsSettingsTriggerPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerPtrInput` via: // -// GetJobJobSettingsSettingsTaskPipelineTaskArgs{...} +// GetJobJobSettingsSettingsTriggerArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskPipelineTaskPtrInput interface { +type GetJobJobSettingsSettingsTriggerPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput - ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput + ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput + ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerPtrOutput } -type getJobJobSettingsSettingsTaskPipelineTaskPtrType GetJobJobSettingsSettingsTaskPipelineTaskArgs +type getJobJobSettingsSettingsTriggerPtrType GetJobJobSettingsSettingsTriggerArgs -func GetJobJobSettingsSettingsTaskPipelineTaskPtr(v *GetJobJobSettingsSettingsTaskPipelineTaskArgs) GetJobJobSettingsSettingsTaskPipelineTaskPtrInput { - return (*getJobJobSettingsSettingsTaskPipelineTaskPtrType)(v) +func GetJobJobSettingsSettingsTriggerPtr(v *GetJobJobSettingsSettingsTriggerArgs) GetJobJobSettingsSettingsTriggerPtrInput { + return (*getJobJobSettingsSettingsTriggerPtrType)(v) } -func (*getJobJobSettingsSettingsTaskPipelineTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTriggerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTrigger)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTriggerPtrType) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) +func (i *getJobJobSettingsSettingsTriggerPtrType) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerPtrOutput) } -type GetJobJobSettingsSettingsTaskPipelineTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTriggerOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskPipelineTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTriggerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTrigger)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskPipelineTaskOutput { +func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerOutput() GetJobJobSettingsSettingsTriggerOutput { return o } -func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskOutput { +func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerOutput { return o } -func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { + return o.ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskPipelineTask) *GetJobJobSettingsSettingsTaskPipelineTask { +func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTrigger { return &v - }).(GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) + }).(GetJobJobSettingsSettingsTriggerPtrOutput) } -func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTriggerOutput) FileArrival() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerFileArrival { + return v.FileArrival + }).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) } -func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) PipelineId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTriggerOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTriggerOutput) TableUpdate() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerTableUpdate { + return v.TableUpdate + }).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) +} -func (GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() +type GetJobJobSettingsSettingsTriggerPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTriggerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTrigger)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { +func (o GetJobJobSettingsSettingsTriggerPtrOutput) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { +func (o GetJobJobSettingsSettingsTriggerPtrOutput) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskPipelineTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPipelineTask) GetJobJobSettingsSettingsTaskPipelineTask { +func (o GetJobJobSettingsSettingsTriggerPtrOutput) Elem() GetJobJobSettingsSettingsTriggerOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) GetJobJobSettingsSettingsTrigger { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskPipelineTask + var ret GetJobJobSettingsSettingsTrigger return ret - }).(GetJobJobSettingsSettingsTaskPipelineTaskOutput) + }).(GetJobJobSettingsSettingsTriggerOutput) } -func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPipelineTask) *bool { +func (o GetJobJobSettingsSettingsTriggerPtrOutput) FileArrival() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerFileArrival { if v == nil { return nil } - return v.FullRefresh - }).(pulumi.BoolPtrOutput) + return v.FileArrival + }).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) } -func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPipelineTask) *string { +func (o GetJobJobSettingsSettingsTriggerPtrOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) *string { if v == nil { return nil } - return &v.PipelineId + return v.PauseStatus }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskPythonWheelTask struct { - EntryPoint *string `pulumi:"entryPoint"` - NamedParameters map[string]interface{} `pulumi:"namedParameters"` - PackageName *string `pulumi:"packageName"` - Parameters []string `pulumi:"parameters"` +func (o GetJobJobSettingsSettingsTriggerPtrOutput) TableUpdate() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerTableUpdate { + if v == nil { + return nil + } + return v.TableUpdate + }).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) } -// GetJobJobSettingsSettingsTaskPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskPythonWheelTaskArgs and GetJobJobSettingsSettingsTaskPythonWheelTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPythonWheelTaskInput` via: +type GetJobJobSettingsSettingsTriggerFileArrival struct { + MinTimeBetweenTriggersSeconds *int `pulumi:"minTimeBetweenTriggersSeconds"` + Url string `pulumi:"url"` + WaitAfterLastChangeSeconds *int `pulumi:"waitAfterLastChangeSeconds"` +} + +// GetJobJobSettingsSettingsTriggerFileArrivalInput is an input type that accepts GetJobJobSettingsSettingsTriggerFileArrivalArgs and GetJobJobSettingsSettingsTriggerFileArrivalOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerFileArrivalInput` via: // -// GetJobJobSettingsSettingsTaskPythonWheelTaskArgs{...} -type GetJobJobSettingsSettingsTaskPythonWheelTaskInput interface { +// GetJobJobSettingsSettingsTriggerFileArrivalArgs{...} +type GetJobJobSettingsSettingsTriggerFileArrivalInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput - ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskOutput + ToGetJobJobSettingsSettingsTriggerFileArrivalOutput() GetJobJobSettingsSettingsTriggerFileArrivalOutput + ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerFileArrivalOutput } -type GetJobJobSettingsSettingsTaskPythonWheelTaskArgs struct { - EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` - NamedParameters pulumi.MapInput `pulumi:"namedParameters"` - PackageName pulumi.StringPtrInput `pulumi:"packageName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsTriggerFileArrivalArgs struct { + MinTimeBetweenTriggersSeconds pulumi.IntPtrInput `pulumi:"minTimeBetweenTriggersSeconds"` + Url pulumi.StringInput `pulumi:"url"` + WaitAfterLastChangeSeconds pulumi.IntPtrInput `pulumi:"waitAfterLastChangeSeconds"` } -func (GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTriggerFileArrivalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalOutput() GetJobJobSettingsSettingsTriggerFileArrivalOutput { + return i.ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) +func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerFileArrivalOutput) } -func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPythonWheelTaskOutput).ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerFileArrivalOutput).ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskPythonWheelTaskArgs, GetJobJobSettingsSettingsTaskPythonWheelTaskPtr and GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput` via: +// GetJobJobSettingsSettingsTriggerFileArrivalPtrInput is an input type that accepts GetJobJobSettingsSettingsTriggerFileArrivalArgs, GetJobJobSettingsSettingsTriggerFileArrivalPtr and GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerFileArrivalPtrInput` via: // -// GetJobJobSettingsSettingsTaskPythonWheelTaskArgs{...} +// GetJobJobSettingsSettingsTriggerFileArrivalArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput interface { +type GetJobJobSettingsSettingsTriggerFileArrivalPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput - ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput + ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput + ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput } -type getJobJobSettingsSettingsTaskPythonWheelTaskPtrType GetJobJobSettingsSettingsTaskPythonWheelTaskArgs +type getJobJobSettingsSettingsTriggerFileArrivalPtrType GetJobJobSettingsSettingsTriggerFileArrivalArgs -func GetJobJobSettingsSettingsTaskPythonWheelTaskPtr(v *GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput { - return (*getJobJobSettingsSettingsTaskPythonWheelTaskPtrType)(v) +func GetJobJobSettingsSettingsTriggerFileArrivalPtr(v *GetJobJobSettingsSettingsTriggerFileArrivalArgs) GetJobJobSettingsSettingsTriggerFileArrivalPtrInput { + return (*getJobJobSettingsSettingsTriggerFileArrivalPtrType)(v) } -func (*getJobJobSettingsSettingsTaskPythonWheelTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTriggerFileArrivalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTriggerFileArrivalPtrType) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) +func (i *getJobJobSettingsSettingsTriggerFileArrivalPtrType) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) } -type GetJobJobSettingsSettingsTaskPythonWheelTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTriggerFileArrivalOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTriggerFileArrivalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { +func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalOutput() GetJobJobSettingsSettingsTriggerFileArrivalOutput { return o } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { +func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalOutput { return o } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return o.ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskPythonWheelTask) *GetJobJobSettingsSettingsTaskPythonWheelTask { +func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTriggerFileArrival) *GetJobJobSettingsSettingsTriggerFileArrival { return &v - }).(GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) NamedParameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) map[string]interface{} { return v.NamedParameters }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerFileArrival) *int { return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerFileArrival) string { return v.Url }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerFileArrival) *int { return v.WaitAfterLastChangeSeconds }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { +func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { +func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) GetJobJobSettingsSettingsTaskPythonWheelTask { +func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) Elem() GetJobJobSettingsSettingsTriggerFileArrivalOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) GetJobJobSettingsSettingsTriggerFileArrival { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskPythonWheelTask + var ret GetJobJobSettingsSettingsTriggerFileArrival return ret - }).(GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) -} - -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) *string { - if v == nil { - return nil - } - return v.EntryPoint - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTriggerFileArrivalOutput) } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) NamedParameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) map[string]interface{} { +func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) *int { if v == nil { return nil } - return v.NamedParameters - }).(pulumi.MapOutput) + return v.MinTimeBetweenTriggersSeconds + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) *string { +func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) *string { if v == nil { return nil } - return v.PackageName + return &v.Url }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) []string { +func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) *int { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return v.WaitAfterLastChangeSeconds + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskRunJobTask struct { - JobId int `pulumi:"jobId"` - JobParameters map[string]interface{} `pulumi:"jobParameters"` +type GetJobJobSettingsSettingsTriggerTableUpdate struct { + Condition *string `pulumi:"condition"` + MinTimeBetweenTriggersSeconds *int `pulumi:"minTimeBetweenTriggersSeconds"` + TableNames []string `pulumi:"tableNames"` + WaitAfterLastChangeSeconds *int `pulumi:"waitAfterLastChangeSeconds"` } -// GetJobJobSettingsSettingsTaskRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskRunJobTaskArgs and GetJobJobSettingsSettingsTaskRunJobTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskRunJobTaskInput` via: +// GetJobJobSettingsSettingsTriggerTableUpdateInput is an input type that accepts GetJobJobSettingsSettingsTriggerTableUpdateArgs and GetJobJobSettingsSettingsTriggerTableUpdateOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerTableUpdateInput` via: // -// GetJobJobSettingsSettingsTaskRunJobTaskArgs{...} -type GetJobJobSettingsSettingsTaskRunJobTaskInput interface { +// GetJobJobSettingsSettingsTriggerTableUpdateArgs{...} +type GetJobJobSettingsSettingsTriggerTableUpdateInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskRunJobTaskOutput - ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskRunJobTaskOutput + ToGetJobJobSettingsSettingsTriggerTableUpdateOutput() GetJobJobSettingsSettingsTriggerTableUpdateOutput + ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerTableUpdateOutput } -type GetJobJobSettingsSettingsTaskRunJobTaskArgs struct { - JobId pulumi.IntInput `pulumi:"jobId"` - JobParameters pulumi.MapInput `pulumi:"jobParameters"` +type GetJobJobSettingsSettingsTriggerTableUpdateArgs struct { + Condition pulumi.StringPtrInput `pulumi:"condition"` + MinTimeBetweenTriggersSeconds pulumi.IntPtrInput `pulumi:"minTimeBetweenTriggersSeconds"` + TableNames pulumi.StringArrayInput `pulumi:"tableNames"` + WaitAfterLastChangeSeconds pulumi.IntPtrInput `pulumi:"waitAfterLastChangeSeconds"` } -func (GetJobJobSettingsSettingsTaskRunJobTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTriggerTableUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskRunJobTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdateOutput() GetJobJobSettingsSettingsTriggerTableUpdateOutput { + return i.ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskRunJobTaskOutput) +func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerTableUpdateOutput) } -func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskRunJobTaskOutput).ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerTableUpdateOutput).ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskRunJobTaskArgs, GetJobJobSettingsSettingsTaskRunJobTaskPtr and GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskRunJobTaskPtrInput` via: +// GetJobJobSettingsSettingsTriggerTableUpdatePtrInput is an input type that accepts GetJobJobSettingsSettingsTriggerTableUpdateArgs, GetJobJobSettingsSettingsTriggerTableUpdatePtr and GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerTableUpdatePtrInput` via: // -// GetJobJobSettingsSettingsTaskRunJobTaskArgs{...} +// GetJobJobSettingsSettingsTriggerTableUpdateArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskRunJobTaskPtrInput interface { +type GetJobJobSettingsSettingsTriggerTableUpdatePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput - ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput + ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput + ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput } -type getJobJobSettingsSettingsTaskRunJobTaskPtrType GetJobJobSettingsSettingsTaskRunJobTaskArgs +type getJobJobSettingsSettingsTriggerTableUpdatePtrType GetJobJobSettingsSettingsTriggerTableUpdateArgs -func GetJobJobSettingsSettingsTaskRunJobTaskPtr(v *GetJobJobSettingsSettingsTaskRunJobTaskArgs) GetJobJobSettingsSettingsTaskRunJobTaskPtrInput { - return (*getJobJobSettingsSettingsTaskRunJobTaskPtrType)(v) +func GetJobJobSettingsSettingsTriggerTableUpdatePtr(v *GetJobJobSettingsSettingsTriggerTableUpdateArgs) GetJobJobSettingsSettingsTriggerTableUpdatePtrInput { + return (*getJobJobSettingsSettingsTriggerTableUpdatePtrType)(v) } -func (*getJobJobSettingsSettingsTaskRunJobTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTriggerTableUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTriggerTableUpdatePtrType) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) +func (i *getJobJobSettingsSettingsTriggerTableUpdatePtrType) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) } -type GetJobJobSettingsSettingsTaskRunJobTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTriggerTableUpdateOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskRunJobTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTriggerTableUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskRunJobTaskOutput { +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdateOutput() GetJobJobSettingsSettingsTriggerTableUpdateOutput { return o } -func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskOutput { +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdateOutput { return o } -func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return o.ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskRunJobTask) *GetJobJobSettingsSettingsTaskRunJobTask { +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTriggerTableUpdate) *GetJobJobSettingsSettingsTriggerTableUpdate { return &v - }).(GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) + }).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) } -func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) JobId() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskRunJobTask) int { return v.JobId }).(pulumi.IntOutput) +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) *string { return v.Condition }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) JobParameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskRunJobTask) map[string]interface{} { return v.JobParameters }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) *int { return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) TableNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) []string { return v.TableNames }).(pulumi.StringArrayOutput) +} -func (GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) *int { return v.WaitAfterLastChangeSeconds }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { +type GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskRunJobTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskRunJobTask) GetJobJobSettingsSettingsTaskRunJobTask { +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) Elem() GetJobJobSettingsSettingsTriggerTableUpdateOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) GetJobJobSettingsSettingsTriggerTableUpdate { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskRunJobTask + var ret GetJobJobSettingsSettingsTriggerTableUpdate return ret - }).(GetJobJobSettingsSettingsTaskRunJobTaskOutput) + }).(GetJobJobSettingsSettingsTriggerTableUpdateOutput) } -func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskRunJobTask) *int { +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) *string { if v == nil { return nil } - return &v.JobId + return v.Condition + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) *int { + if v == nil { + return nil + } + return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) JobParameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskRunJobTask) map[string]interface{} { +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) TableNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) []string { if v == nil { return nil } - return v.JobParameters - }).(pulumi.MapOutput) + return v.TableNames + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskSparkJarTask struct { - JarUri *string `pulumi:"jarUri"` - MainClassName *string `pulumi:"mainClassName"` - Parameters []string `pulumi:"parameters"` +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) *int { + if v == nil { + return nil + } + return v.WaitAfterLastChangeSeconds + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsTaskSparkJarTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkJarTaskArgs and GetJobJobSettingsSettingsTaskSparkJarTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkJarTaskInput` via: +type GetJobJobSettingsSettingsWebhookNotifications struct { + OnDurationWarningThresholdExceededs []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures []GetJobJobSettingsSettingsWebhookNotificationsOnFailure `pulumi:"onFailures"` + OnStarts []GetJobJobSettingsSettingsWebhookNotificationsOnStart `pulumi:"onStarts"` + OnSuccesses []GetJobJobSettingsSettingsWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` +} + +// GetJobJobSettingsSettingsWebhookNotificationsInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsArgs and GetJobJobSettingsSettingsWebhookNotificationsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsInput` via: // -// GetJobJobSettingsSettingsTaskSparkJarTaskArgs{...} -type GetJobJobSettingsSettingsTaskSparkJarTaskInput interface { +// GetJobJobSettingsSettingsWebhookNotificationsArgs{...} +type GetJobJobSettingsSettingsWebhookNotificationsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskSparkJarTaskOutput - ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOutput() GetJobJobSettingsSettingsWebhookNotificationsOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOutput } -type GetJobJobSettingsSettingsTaskSparkJarTaskArgs struct { - JarUri pulumi.StringPtrInput `pulumi:"jarUri"` - MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsWebhookNotificationsArgs struct { + OnDurationWarningThresholdExceededs GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` + OnStarts GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` + OnSuccesses GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` } -func (GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskSparkJarTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOutput() GetJobJobSettingsSettingsWebhookNotificationsOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkJarTaskOutput) +func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOutput) } -func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkJarTaskOutput).ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOutput).ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkJarTaskArgs, GetJobJobSettingsSettingsTaskSparkJarTaskPtr and GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput` via: +// GetJobJobSettingsSettingsWebhookNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsArgs, GetJobJobSettingsSettingsWebhookNotificationsPtr and GetJobJobSettingsSettingsWebhookNotificationsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsPtrInput` via: // -// GetJobJobSettingsSettingsTaskSparkJarTaskArgs{...} +// GetJobJobSettingsSettingsWebhookNotificationsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput interface { +type GetJobJobSettingsSettingsWebhookNotificationsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput - ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput + ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput + ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput } -type getJobJobSettingsSettingsTaskSparkJarTaskPtrType GetJobJobSettingsSettingsTaskSparkJarTaskArgs +type getJobJobSettingsSettingsWebhookNotificationsPtrType GetJobJobSettingsSettingsWebhookNotificationsArgs -func GetJobJobSettingsSettingsTaskSparkJarTaskPtr(v *GetJobJobSettingsSettingsTaskSparkJarTaskArgs) GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput { - return (*getJobJobSettingsSettingsTaskSparkJarTaskPtrType)(v) +func GetJobJobSettingsSettingsWebhookNotificationsPtr(v *GetJobJobSettingsSettingsWebhookNotificationsArgs) GetJobJobSettingsSettingsWebhookNotificationsPtrInput { + return (*getJobJobSettingsSettingsWebhookNotificationsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskSparkJarTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() +func (*getJobJobSettingsSettingsWebhookNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) +func (i *getJobJobSettingsSettingsWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) } -type GetJobJobSettingsSettingsTaskSparkJarTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsWebhookNotificationsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskSparkJarTaskOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOutput() GetJobJobSettingsSettingsWebhookNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return o.ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSparkJarTask) *GetJobJobSettingsSettingsTaskSparkJarTask { +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsWebhookNotifications) *GetJobJobSettingsSettingsWebhookNotifications { return &v - }).(GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) + }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded { + return v.OnDurationWarningThresholdExceededs + }).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) +} + +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnFailures() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnFailure { + return v.OnFailures + }).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnStarts() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnStart { + return v.OnStarts + }).(GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnSuccesses() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { + return v.OnSuccesses + }).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) } -type GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSparkJarTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) GetJobJobSettingsSettingsTaskSparkJarTask { +func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsWebhookNotificationsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) GetJobJobSettingsSettingsWebhookNotifications { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskSparkJarTask + var ret GetJobJobSettingsSettingsWebhookNotifications return ret - }).(GetJobJobSettingsSettingsTaskSparkJarTaskOutput) + }).(GetJobJobSettingsSettingsWebhookNotificationsOutput) } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) *string { +func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded { if v == nil { return nil } - return v.JarUri - }).(pulumi.StringPtrOutput) + return v.OnDurationWarningThresholdExceededs + }).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) *string { +func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnFailures() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnFailure { if v == nil { return nil } - return v.MainClassName - }).(pulumi.StringPtrOutput) + return v.OnFailures + }).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) []string { +func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnStarts() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnStart { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return v.OnStarts + }).(GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) } -type GetJobJobSettingsSettingsTaskSparkPythonTask struct { - Parameters []string `pulumi:"parameters"` - PythonFile string `pulumi:"pythonFile"` - Source *string `pulumi:"source"` +func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnSuccesses() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { + if v == nil { + return nil + } + return v.OnSuccesses + }).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) } -// GetJobJobSettingsSettingsTaskSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkPythonTaskArgs and GetJobJobSettingsSettingsTaskSparkPythonTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkPythonTaskInput` via: +type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` +} + +// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs and GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput` via: // -// GetJobJobSettingsSettingsTaskSparkPythonTaskArgs{...} -type GetJobJobSettingsSettingsTaskSparkPythonTaskInput interface { +// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} +type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput - ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput } -type GetJobJobSettingsSettingsTaskSparkPythonTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` - PythonFile pulumi.StringInput `pulumi:"pythonFile"` - Source pulumi.StringPtrInput `pulumi:"source"` +type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray and GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: +// +// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray{ GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } +type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput } -func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkPythonTaskOutput).ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx) +type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput + +func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkPythonTaskArgs, GetJobJobSettingsSettingsTaskSparkPythonTaskPtr and GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskSparkPythonTaskArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput interface { - pulumi.Input +func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) +} - ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput - ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput +func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -type getJobJobSettingsSettingsTaskSparkPythonTaskPtrType GetJobJobSettingsSettingsTaskSparkPythonTaskArgs +type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } -func GetJobJobSettingsSettingsTaskSparkPythonTaskPtr(v *GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput { - return (*getJobJobSettingsSettingsTaskSparkPythonTaskPtrType)(v) +func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (*getJobJobSettingsSettingsTaskSparkPythonTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return o } -func (i *getJobJobSettingsSettingsTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return o } -func (i *getJobJobSettingsSettingsTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded) string { + return v.Id + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskSparkPythonTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded { + return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] + }).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSparkPythonTask) *GetJobJobSettingsSettingsTaskSparkPythonTask { - return &v - }).(GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) +type GetJobJobSettingsSettingsWebhookNotificationsOnFailure struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) -} +// GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs and GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput` via: +// +// GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs{...} +type GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) + ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -type GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return o +func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return o +func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) GetJobJobSettingsSettingsTaskSparkPythonTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskSparkPythonTask - return ret - }).(GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) +// GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray and GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput` via: +// +// GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray{ GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs{...} } +type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) +type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray []GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput + +func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) *string { - if v == nil { - return nil - } - return &v.PythonFile - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) *string { - if v == nil { - return nil - } - return v.Source - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) } -type GetJobJobSettingsSettingsTaskSparkSubmitTask struct { - Parameters []string `pulumi:"parameters"` +type GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs and GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkSubmitTaskInput` via: -// -// GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs{...} -type GetJobJobSettingsSettingsTaskSparkSubmitTaskInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { + return o +} - ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput - ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput +func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { + return o } -type GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) } -func (GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() +type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { + return o } -func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { + return o } -func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnFailure { + return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnFailure)[vs[1].(int)] + }).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) } -func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx) +type GetJobJobSettingsSettingsWebhookNotificationsOnStart struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -// GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs, GetJobJobSettingsSettingsTaskSparkSubmitTaskPtr and GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs{...} -// -// or: +// GetJobJobSettingsSettingsWebhookNotificationsOnStartInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs and GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnStartInput` via: // -// nil -type GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput interface { +// GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs{...} +type GetJobJobSettingsSettingsWebhookNotificationsOnStartInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput - ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput } -type getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs - -func GetJobJobSettingsSettingsTaskSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput { - return (*getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType)(v) +type GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (*getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) } -type GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput struct{ *pulumi.OutputState } +// GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnStartArray and GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput` via: +// +// GetJobJobSettingsSettingsWebhookNotificationsOnStartArray{ GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs{...} } +type GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() + ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { - return o +type GetJobJobSettingsSettingsWebhookNotificationsOnStartArray []GetJobJobSettingsSettingsWebhookNotificationsOnStartInput + +func (GetJobJobSettingsSettingsWebhookNotificationsOnStartArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { - return o +func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSparkSubmitTask) *GetJobJobSettingsSettingsTaskSparkSubmitTask { - return &v - }).(GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) +type GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { + return o } -type GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { + return o +} -func (GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return o +type GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkSubmitTask) GetJobJobSettingsSettingsTaskSparkSubmitTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskSparkSubmitTask - return ret - }).(GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkSubmitTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnStart { + return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnStart)[vs[1].(int)] + }).(GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) } -type GetJobJobSettingsSettingsTaskSqlTask struct { - Alert *GetJobJobSettingsSettingsTaskSqlTaskAlert `pulumi:"alert"` - Dashboard *GetJobJobSettingsSettingsTaskSqlTaskDashboard `pulumi:"dashboard"` - File *GetJobJobSettingsSettingsTaskSqlTaskFile `pulumi:"file"` - Parameters map[string]interface{} `pulumi:"parameters"` - Query *GetJobJobSettingsSettingsTaskSqlTaskQuery `pulumi:"query"` - WarehouseId *string `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsWebhookNotificationsOnSuccess struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -// GetJobJobSettingsSettingsTaskSqlTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskArgs and GetJobJobSettingsSettingsTaskSqlTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskInput` via: +// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs and GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput` via: // -// GetJobJobSettingsSettingsTaskSqlTaskArgs{...} -type GetJobJobSettingsSettingsTaskSqlTaskInput interface { +// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs{...} +type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskSqlTaskOutput - ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput } -type GetJobJobSettingsSettingsTaskSqlTaskArgs struct { - Alert GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput `pulumi:"alert"` - Dashboard GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput `pulumi:"dashboard"` - File GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput `pulumi:"file"` - Parameters pulumi.MapInput `pulumi:"parameters"` - Query GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput `pulumi:"query"` - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (GetJobJobSettingsSettingsTaskSqlTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskSqlTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskOutput) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Background()) +// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray and GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput` via: +// +// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray{ GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs{...} } +type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput } -func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskOutput).ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx) +type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray []GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput + +func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskSqlTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskArgs, GetJobJobSettingsSettingsTaskSqlTaskPtr and GetJobJobSettingsSettingsTaskSqlTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskSqlTaskArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskSqlTaskPtrInput interface { - pulumi.Input +func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) +} - ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput - ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput +func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) } -type getJobJobSettingsSettingsTaskSqlTaskPtrType GetJobJobSettingsSettingsTaskSqlTaskArgs +type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } -func GetJobJobSettingsSettingsTaskSqlTaskPtr(v *GetJobJobSettingsSettingsTaskSqlTaskArgs) GetJobJobSettingsSettingsTaskSqlTaskPtrInput { - return (*getJobJobSettingsSettingsTaskSqlTaskPtrType)(v) +func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() } -func (*getJobJobSettingsSettingsTaskSqlTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { + return o } -func (i *getJobJobSettingsSettingsTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { + return o } -func (i *getJobJobSettingsSettingsTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSqlTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskSqlTaskOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { + return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)[vs[1].(int)] + }).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTask { - return &v - }).(GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) +type GetMetastoreMetastoreInfo struct { + Cloud *string `pulumi:"cloud"` + CreatedAt *int `pulumi:"createdAt"` + CreatedBy *string `pulumi:"createdBy"` + DefaultDataAccessConfigId *string `pulumi:"defaultDataAccessConfigId"` + // The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + DeltaSharingOrganizationName *string `pulumi:"deltaSharingOrganizationName"` + // Used to set expiration duration in seconds on recipient data access tokens. + DeltaSharingRecipientTokenLifetimeInSeconds *int `pulumi:"deltaSharingRecipientTokenLifetimeInSeconds"` + // Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + DeltaSharingScope *string `pulumi:"deltaSharingScope"` + GlobalMetastoreId *string `pulumi:"globalMetastoreId"` + // ID of the metastore + MetastoreId *string `pulumi:"metastoreId"` + // Name of the metastore + Name *string `pulumi:"name"` + // Username/groupname/sp applicationId of the metastore owner. + Owner *string `pulumi:"owner"` + PrivilegeModelVersion *string `pulumi:"privilegeModelVersion"` + // Region of the metastore + Region *string `pulumi:"region"` + // Path on cloud storage account, where managed `Table` are stored. + StorageRoot *string `pulumi:"storageRoot"` + StorageRootCredentialId *string `pulumi:"storageRootCredentialId"` + StorageRootCredentialName *string `pulumi:"storageRootCredentialName"` + UpdatedAt *int `pulumi:"updatedAt"` + UpdatedBy *string `pulumi:"updatedBy"` } -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Alert() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskAlert { - return v.Alert - }).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) -} +// GetMetastoreMetastoreInfoInput is an input type that accepts GetMetastoreMetastoreInfoArgs and GetMetastoreMetastoreInfoOutput values. +// You can construct a concrete instance of `GetMetastoreMetastoreInfoInput` via: +// +// GetMetastoreMetastoreInfoArgs{...} +type GetMetastoreMetastoreInfoInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Dashboard() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskDashboard { - return v.Dashboard - }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) + ToGetMetastoreMetastoreInfoOutput() GetMetastoreMetastoreInfoOutput + ToGetMetastoreMetastoreInfoOutputWithContext(context.Context) GetMetastoreMetastoreInfoOutput } -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) File() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskFile { return v.File }).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) +type GetMetastoreMetastoreInfoArgs struct { + Cloud pulumi.StringPtrInput `pulumi:"cloud"` + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + DefaultDataAccessConfigId pulumi.StringPtrInput `pulumi:"defaultDataAccessConfigId"` + // The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + DeltaSharingOrganizationName pulumi.StringPtrInput `pulumi:"deltaSharingOrganizationName"` + // Used to set expiration duration in seconds on recipient data access tokens. + DeltaSharingRecipientTokenLifetimeInSeconds pulumi.IntPtrInput `pulumi:"deltaSharingRecipientTokenLifetimeInSeconds"` + // Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + DeltaSharingScope pulumi.StringPtrInput `pulumi:"deltaSharingScope"` + GlobalMetastoreId pulumi.StringPtrInput `pulumi:"globalMetastoreId"` + // ID of the metastore + MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` + // Name of the metastore + Name pulumi.StringPtrInput `pulumi:"name"` + // Username/groupname/sp applicationId of the metastore owner. + Owner pulumi.StringPtrInput `pulumi:"owner"` + PrivilegeModelVersion pulumi.StringPtrInput `pulumi:"privilegeModelVersion"` + // Region of the metastore + Region pulumi.StringPtrInput `pulumi:"region"` + // Path on cloud storage account, where managed `Table` are stored. + StorageRoot pulumi.StringPtrInput `pulumi:"storageRoot"` + StorageRootCredentialId pulumi.StringPtrInput `pulumi:"storageRootCredentialId"` + StorageRootCredentialName pulumi.StringPtrInput `pulumi:"storageRootCredentialName"` + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` } -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Parameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) map[string]interface{} { return v.Parameters }).(pulumi.MapOutput) +func (GetMetastoreMetastoreInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetastoreMetastoreInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Query() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskQuery { - return v.Query - }).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) +func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoOutput() GetMetastoreMetastoreInfoOutput { + return i.ToGetMetastoreMetastoreInfoOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetastoreMetastoreInfoOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() +func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { + return i.ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return o +func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetastoreMetastoreInfoOutput).ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return o -} +// GetMetastoreMetastoreInfoPtrInput is an input type that accepts GetMetastoreMetastoreInfoArgs, GetMetastoreMetastoreInfoPtr and GetMetastoreMetastoreInfoPtrOutput values. +// You can construct a concrete instance of `GetMetastoreMetastoreInfoPtrInput` via: +// +// GetMetastoreMetastoreInfoArgs{...} +// +// or: +// +// nil +type GetMetastoreMetastoreInfoPtrInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) GetJobJobSettingsSettingsTaskSqlTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskSqlTask - return ret - }).(GetJobJobSettingsSettingsTaskSqlTaskOutput) + ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput + ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Context) GetMetastoreMetastoreInfoPtrOutput } -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Alert() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskAlert { - if v == nil { - return nil - } - return v.Alert - }).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) -} +type getMetastoreMetastoreInfoPtrType GetMetastoreMetastoreInfoArgs -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Dashboard() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskDashboard { - if v == nil { - return nil - } - return v.Dashboard - }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) +func GetMetastoreMetastoreInfoPtr(v *GetMetastoreMetastoreInfoArgs) GetMetastoreMetastoreInfoPtrInput { + return (*getMetastoreMetastoreInfoPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) File() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskFile { - if v == nil { - return nil - } - return v.File - }).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) +func (*getMetastoreMetastoreInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetMetastoreMetastoreInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Parameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) map[string]interface{} { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.MapOutput) +func (i *getMetastoreMetastoreInfoPtrType) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { + return i.ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Query() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskQuery { - if v == nil { - return nil - } - return v.Query - }).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) +func (i *getMetastoreMetastoreInfoPtrType) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetastoreMetastoreInfoPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *string { - if v == nil { - return nil - } - return v.WarehouseId - }).(pulumi.StringPtrOutput) -} +type GetMetastoreMetastoreInfoOutput struct{ *pulumi.OutputState } -type GetJobJobSettingsSettingsTaskSqlTaskAlert struct { - AlertId string `pulumi:"alertId"` - PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` - Subscriptions []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription `pulumi:"subscriptions"` +func (GetMetastoreMetastoreInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetastoreMetastoreInfo)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskSqlTaskAlertInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertArgs and GetJobJobSettingsSettingsTaskSqlTaskAlertOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertInput` via: -// -// GetJobJobSettingsSettingsTaskSqlTaskAlertArgs{...} -type GetJobJobSettingsSettingsTaskSqlTaskAlertInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput - ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertOutput +func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoOutput() GetMetastoreMetastoreInfoOutput { + return o } -type GetJobJobSettingsSettingsTaskSqlTaskAlertArgs struct { - AlertId pulumi.StringInput `pulumi:"alertId"` - PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` - Subscriptions GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput `pulumi:"subscriptions"` +func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoOutput { + return o } -func (GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() +func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { + return o.ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(context.Background()) +func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetMetastoreMetastoreInfo) *GetMetastoreMetastoreInfo { + return &v + }).(GetMetastoreMetastoreInfoPtrOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) +func (o GetMetastoreMetastoreInfoOutput) Cloud() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Cloud }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (o GetMetastoreMetastoreInfoOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertOutput).ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx) +func (o GetMetastoreMetastoreInfoOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertArgs, GetJobJobSettingsSettingsTaskSqlTaskAlertPtr and GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput` via: -// -// GetJobJobSettingsSettingsTaskSqlTaskAlertArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput interface { - pulumi.Input +func (o GetMetastoreMetastoreInfoOutput) DefaultDataAccessConfigId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.DefaultDataAccessConfigId }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput - ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput +// The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. +func (o GetMetastoreMetastoreInfoOutput) DeltaSharingOrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.DeltaSharingOrganizationName }).(pulumi.StringPtrOutput) } -type getJobJobSettingsSettingsTaskSqlTaskAlertPtrType GetJobJobSettingsSettingsTaskSqlTaskAlertArgs - -func GetJobJobSettingsSettingsTaskSqlTaskAlertPtr(v *GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput { - return (*getJobJobSettingsSettingsTaskSqlTaskAlertPtrType)(v) +// Used to set expiration duration in seconds on recipient data access tokens. +func (o GetMetastoreMetastoreInfoOutput) DeltaSharingRecipientTokenLifetimeInSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *int { return v.DeltaSharingRecipientTokenLifetimeInSeconds }).(pulumi.IntPtrOutput) } -func (*getJobJobSettingsSettingsTaskSqlTaskAlertPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() +// Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. +func (o GetMetastoreMetastoreInfoOutput) DeltaSharingScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.DeltaSharingScope }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (o GetMetastoreMetastoreInfoOutput) GlobalMetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.GlobalMetastoreId }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) +// ID of the metastore +func (o GetMetastoreMetastoreInfoOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskAlertOutput struct{ *pulumi.OutputState } +// Name of the metastore +func (o GetMetastoreMetastoreInfoOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Name }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() +// Username/groupname/sp applicationId of the metastore owner. +func (o GetMetastoreMetastoreInfoOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { - return o +func (o GetMetastoreMetastoreInfoOutput) PrivilegeModelVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.PrivilegeModelVersion }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { - return o +// Region of the metastore +func (o GetMetastoreMetastoreInfoOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Region }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +// Path on cloud storage account, where managed `Table` are stored. +func (o GetMetastoreMetastoreInfoOutput) StorageRoot() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.StorageRoot }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskAlert) *GetJobJobSettingsSettingsTaskSqlTaskAlert { - return &v - }).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) +func (o GetMetastoreMetastoreInfoOutput) StorageRootCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.StorageRootCredentialId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) AlertId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlert) string { return v.AlertId }).(pulumi.StringOutput) +func (o GetMetastoreMetastoreInfoOutput) StorageRootCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.StorageRootCredentialName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlert) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) +func (o GetMetastoreMetastoreInfoOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription { - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) +func (o GetMetastoreMetastoreInfoOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput struct{ *pulumi.OutputState } +type GetMetastoreMetastoreInfoPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() +func (GetMetastoreMetastoreInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetMetastoreMetastoreInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { +func (o GetMetastoreMetastoreInfoPtrOutput) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { +func (o GetMetastoreMetastoreInfoPtrOutput) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) GetJobJobSettingsSettingsTaskSqlTaskAlert { +func (o GetMetastoreMetastoreInfoPtrOutput) Elem() GetMetastoreMetastoreInfoOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) GetMetastoreMetastoreInfo { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskSqlTaskAlert + var ret GetMetastoreMetastoreInfo return ret - }).(GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) + }).(GetMetastoreMetastoreInfoOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) AlertId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) *string { +func (o GetMetastoreMetastoreInfoPtrOutput) Cloud() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { if v == nil { return nil } - return &v.AlertId + return v.Cloud }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) *bool { +func (o GetMetastoreMetastoreInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *int { if v == nil { return nil } - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) + return v.CreatedAt + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription { +func (o GetMetastoreMetastoreInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { if v == nil { return nil } - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) -} - -type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription struct { - DestinationId *string `pulumi:"destinationId"` - UserName *string `pulumi:"userName"` -} - -// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs and GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput` via: -// -// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs{...} -type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput - ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput -} - -type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs struct { - DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` - UserName pulumi.StringPtrInput `pulumi:"userName"` -} - -func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() + return v.CreatedBy + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(context.Background()) +func (o GetMetastoreMetastoreInfoPtrOutput) DefaultDataAccessConfigId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.DefaultDataAccessConfigId + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) +// The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. +func (o GetMetastoreMetastoreInfoPtrOutput) DeltaSharingOrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.DeltaSharingOrganizationName + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray and GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput` via: -// -// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray{ GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs{...} } -type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput - ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput +// Used to set expiration duration in seconds on recipient data access tokens. +func (o GetMetastoreMetastoreInfoPtrOutput) DeltaSharingRecipientTokenLifetimeInSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *int { + if v == nil { + return nil + } + return v.DeltaSharingRecipientTokenLifetimeInSeconds + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput - -func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() +// Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. +func (o GetMetastoreMetastoreInfoPtrOutput) DeltaSharingScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.DeltaSharingScope + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Background()) +func (o GetMetastoreMetastoreInfoPtrOutput) GlobalMetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.GlobalMetastoreId + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) +// ID of the metastore +func (o GetMetastoreMetastoreInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.MetastoreId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() +// Name of the metastore +func (o GetMetastoreMetastoreInfoPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { - return o +// Username/groupname/sp applicationId of the metastore owner. +func (o GetMetastoreMetastoreInfoPtrOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.Owner + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { - return o +func (o GetMetastoreMetastoreInfoPtrOutput) PrivilegeModelVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.PrivilegeModelVersion + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) +// Region of the metastore +func (o GetMetastoreMetastoreInfoPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) +// Path on cloud storage account, where managed `Table` are stored. +func (o GetMetastoreMetastoreInfoPtrOutput) StorageRoot() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.StorageRoot + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() +func (o GetMetastoreMetastoreInfoPtrOutput) StorageRootCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.StorageRootCredentialId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { - return o +func (o GetMetastoreMetastoreInfoPtrOutput) StorageRootCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.StorageRootCredentialName + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { - return o +func (o GetMetastoreMetastoreInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *int { + if v == nil { + return nil + } + return v.UpdatedAt + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription { - return vs[0].([]GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) +func (o GetMetastoreMetastoreInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.UpdatedBy + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskDashboard struct { - CustomSubject *string `pulumi:"customSubject"` - DashboardId string `pulumi:"dashboardId"` - PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` - Subscriptions []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription `pulumi:"subscriptions"` +type GetMlflowExperimentTag struct { + Key *string `pulumi:"key"` + Value *string `pulumi:"value"` } -// GetJobJobSettingsSettingsTaskSqlTaskDashboardInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs and GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardInput` via: +// GetMlflowExperimentTagInput is an input type that accepts GetMlflowExperimentTagArgs and GetMlflowExperimentTagOutput values. +// You can construct a concrete instance of `GetMlflowExperimentTagInput` via: // -// GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs{...} -type GetJobJobSettingsSettingsTaskSqlTaskDashboardInput interface { +// GetMlflowExperimentTagArgs{...} +type GetMlflowExperimentTagInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput -} - -type GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs struct { - CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` - DashboardId pulumi.StringInput `pulumi:"dashboardId"` - PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` - Subscriptions GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput `pulumi:"subscriptions"` -} - -func (GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() + ToGetMlflowExperimentTagOutput() GetMlflowExperimentTagOutput + ToGetMlflowExperimentTagOutputWithContext(context.Context) GetMlflowExperimentTagOutput } -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(context.Background()) +type GetMlflowExperimentTagArgs struct { + Key pulumi.StringPtrInput `pulumi:"key"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) +func (GetMlflowExperimentTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowExperimentTag)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (i GetMlflowExperimentTagArgs) ToGetMlflowExperimentTagOutput() GetMlflowExperimentTagOutput { + return i.ToGetMlflowExperimentTagOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput).ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx) +func (i GetMlflowExperimentTagArgs) ToGetMlflowExperimentTagOutputWithContext(ctx context.Context) GetMlflowExperimentTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowExperimentTagOutput) } -// GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs, GetJobJobSettingsSettingsTaskSqlTaskDashboardPtr and GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput` via: -// -// GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs{...} +// GetMlflowExperimentTagArrayInput is an input type that accepts GetMlflowExperimentTagArray and GetMlflowExperimentTagArrayOutput values. +// You can construct a concrete instance of `GetMlflowExperimentTagArrayInput` via: // -// or: -// -// nil -type GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput interface { +// GetMlflowExperimentTagArray{ GetMlflowExperimentTagArgs{...} } +type GetMlflowExperimentTagArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput + ToGetMlflowExperimentTagArrayOutput() GetMlflowExperimentTagArrayOutput + ToGetMlflowExperimentTagArrayOutputWithContext(context.Context) GetMlflowExperimentTagArrayOutput } -type getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs - -func GetJobJobSettingsSettingsTaskSqlTaskDashboardPtr(v *GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput { - return (*getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType)(v) -} +type GetMlflowExperimentTagArray []GetMlflowExperimentTagInput -func (*getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() +func (GetMlflowExperimentTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowExperimentTag)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (i GetMlflowExperimentTagArray) ToGetMlflowExperimentTagArrayOutput() GetMlflowExperimentTagArrayOutput { + return i.ToGetMlflowExperimentTagArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) +func (i GetMlflowExperimentTagArray) ToGetMlflowExperimentTagArrayOutputWithContext(ctx context.Context) GetMlflowExperimentTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowExperimentTagArrayOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput struct{ *pulumi.OutputState } +type GetMlflowExperimentTagOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() +func (GetMlflowExperimentTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowExperimentTag)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { +func (o GetMlflowExperimentTagOutput) ToGetMlflowExperimentTagOutput() GetMlflowExperimentTagOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { +func (o GetMlflowExperimentTagOutput) ToGetMlflowExperimentTagOutputWithContext(ctx context.Context) GetMlflowExperimentTagOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (o GetMlflowExperimentTagOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowExperimentTag) *string { return v.Key }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskDashboard) *GetJobJobSettingsSettingsTaskSqlTaskDashboard { - return &v - }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) +func (o GetMlflowExperimentTagOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowExperimentTag) *string { return v.Value }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) CustomSubject() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) *string { return v.CustomSubject }).(pulumi.StringPtrOutput) +type GetMlflowExperimentTagArrayOutput struct{ *pulumi.OutputState } + +func (GetMlflowExperimentTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowExperimentTag)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) DashboardId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) string { return v.DashboardId }).(pulumi.StringOutput) +func (o GetMlflowExperimentTagArrayOutput) ToGetMlflowExperimentTagArrayOutput() GetMlflowExperimentTagArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) +func (o GetMlflowExperimentTagArrayOutput) ToGetMlflowExperimentTagArrayOutputWithContext(ctx context.Context) GetMlflowExperimentTagArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription { - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) +func (o GetMlflowExperimentTagArrayOutput) Index(i pulumi.IntInput) GetMlflowExperimentTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMlflowExperimentTag { + return vs[0].([]GetMlflowExperimentTag)[vs[1].(int)] + }).(GetMlflowExperimentTagOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput struct{ *pulumi.OutputState } +type GetMlflowModelLatestVersion struct { + CreationTimestamp *int `pulumi:"creationTimestamp"` + CurrentStage *string `pulumi:"currentStage"` + // User-specified description for the object. + Description *string `pulumi:"description"` + LastUpdatedTimestamp *int `pulumi:"lastUpdatedTimestamp"` + // Name of the registered model. + Name *string `pulumi:"name"` + RunId *string `pulumi:"runId"` + RunLink *string `pulumi:"runLink"` + Source *string `pulumi:"source"` + Status *string `pulumi:"status"` + StatusMessage *string `pulumi:"statusMessage"` + // Array of tags associated with the model. + Tags []GetMlflowModelLatestVersionTag `pulumi:"tags"` + // The username of the user that created the object. + UserId *string `pulumi:"userId"` + Version *string `pulumi:"version"` +} -func (GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() +// GetMlflowModelLatestVersionInput is an input type that accepts GetMlflowModelLatestVersionArgs and GetMlflowModelLatestVersionOutput values. +// You can construct a concrete instance of `GetMlflowModelLatestVersionInput` via: +// +// GetMlflowModelLatestVersionArgs{...} +type GetMlflowModelLatestVersionInput interface { + pulumi.Input + + ToGetMlflowModelLatestVersionOutput() GetMlflowModelLatestVersionOutput + ToGetMlflowModelLatestVersionOutputWithContext(context.Context) GetMlflowModelLatestVersionOutput } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return o +type GetMlflowModelLatestVersionArgs struct { + CreationTimestamp pulumi.IntPtrInput `pulumi:"creationTimestamp"` + CurrentStage pulumi.StringPtrInput `pulumi:"currentStage"` + // User-specified description for the object. + Description pulumi.StringPtrInput `pulumi:"description"` + LastUpdatedTimestamp pulumi.IntPtrInput `pulumi:"lastUpdatedTimestamp"` + // Name of the registered model. + Name pulumi.StringPtrInput `pulumi:"name"` + RunId pulumi.StringPtrInput `pulumi:"runId"` + RunLink pulumi.StringPtrInput `pulumi:"runLink"` + Source pulumi.StringPtrInput `pulumi:"source"` + Status pulumi.StringPtrInput `pulumi:"status"` + StatusMessage pulumi.StringPtrInput `pulumi:"statusMessage"` + // Array of tags associated with the model. + Tags GetMlflowModelLatestVersionTagArrayInput `pulumi:"tags"` + // The username of the user that created the object. + UserId pulumi.StringPtrInput `pulumi:"userId"` + Version pulumi.StringPtrInput `pulumi:"version"` } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return o +func (GetMlflowModelLatestVersionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowModelLatestVersion)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) GetJobJobSettingsSettingsTaskSqlTaskDashboard { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskSqlTaskDashboard - return ret - }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) +func (i GetMlflowModelLatestVersionArgs) ToGetMlflowModelLatestVersionOutput() GetMlflowModelLatestVersionOutput { + return i.ToGetMlflowModelLatestVersionOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) CustomSubject() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) *string { - if v == nil { - return nil - } - return v.CustomSubject - }).(pulumi.StringPtrOutput) +func (i GetMlflowModelLatestVersionArgs) ToGetMlflowModelLatestVersionOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) DashboardId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) *string { - if v == nil { - return nil - } - return &v.DashboardId - }).(pulumi.StringPtrOutput) +// GetMlflowModelLatestVersionArrayInput is an input type that accepts GetMlflowModelLatestVersionArray and GetMlflowModelLatestVersionArrayOutput values. +// You can construct a concrete instance of `GetMlflowModelLatestVersionArrayInput` via: +// +// GetMlflowModelLatestVersionArray{ GetMlflowModelLatestVersionArgs{...} } +type GetMlflowModelLatestVersionArrayInput interface { + pulumi.Input + + ToGetMlflowModelLatestVersionArrayOutput() GetMlflowModelLatestVersionArrayOutput + ToGetMlflowModelLatestVersionArrayOutputWithContext(context.Context) GetMlflowModelLatestVersionArrayOutput } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) *bool { - if v == nil { - return nil - } - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) +type GetMlflowModelLatestVersionArray []GetMlflowModelLatestVersionInput + +func (GetMlflowModelLatestVersionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowModelLatestVersion)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription { - if v == nil { - return nil - } - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) +func (i GetMlflowModelLatestVersionArray) ToGetMlflowModelLatestVersionArrayOutput() GetMlflowModelLatestVersionArrayOutput { + return i.ToGetMlflowModelLatestVersionArrayOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription struct { - DestinationId *string `pulumi:"destinationId"` - UserName *string `pulumi:"userName"` +func (i GetMlflowModelLatestVersionArray) ToGetMlflowModelLatestVersionArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionArrayOutput) } -// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs and GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput` via: -// -// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs{...} -type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput interface { - pulumi.Input +type GetMlflowModelLatestVersionOutput struct{ *pulumi.OutputState } - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput +func (GetMlflowModelLatestVersionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowModelLatestVersion)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs struct { - DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` - UserName pulumi.StringPtrInput `pulumi:"userName"` +func (o GetMlflowModelLatestVersionOutput) ToGetMlflowModelLatestVersionOutput() GetMlflowModelLatestVersionOutput { + return o } -func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() +func (o GetMlflowModelLatestVersionOutput) ToGetMlflowModelLatestVersionOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionOutput { + return o } -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Background()) +func (o GetMlflowModelLatestVersionOutput) CreationTimestamp() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *int { return v.CreationTimestamp }).(pulumi.IntPtrOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) +func (o GetMlflowModelLatestVersionOutput) CurrentStage() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.CurrentStage }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray and GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput` via: -// -// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray{ GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs{...} } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput +// User-specified description for the object. +func (o GetMlflowModelLatestVersionOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Description }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput +func (o GetMlflowModelLatestVersionOutput) LastUpdatedTimestamp() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *int { return v.LastUpdatedTimestamp }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() +// Name of the registered model. +func (o GetMlflowModelLatestVersionOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Background()) +func (o GetMlflowModelLatestVersionOutput) RunId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.RunId }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) +func (o GetMlflowModelLatestVersionOutput) RunLink() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.RunLink }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput struct{ *pulumi.OutputState } +func (o GetMlflowModelLatestVersionOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Source }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() +func (o GetMlflowModelLatestVersionOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Status }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { - return o +func (o GetMlflowModelLatestVersionOutput) StatusMessage() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.StatusMessage }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { - return o +// Array of tags associated with the model. +func (o GetMlflowModelLatestVersionOutput) Tags() GetMlflowModelLatestVersionTagArrayOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) []GetMlflowModelLatestVersionTag { return v.Tags }).(GetMlflowModelLatestVersionTagArrayOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) +// The username of the user that created the object. +func (o GetMlflowModelLatestVersionOutput) UserId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.UserId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) +func (o GetMlflowModelLatestVersionOutput) Version() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Version }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput struct{ *pulumi.OutputState } +type GetMlflowModelLatestVersionArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() +func (GetMlflowModelLatestVersionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowModelLatestVersion)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { +func (o GetMlflowModelLatestVersionArrayOutput) ToGetMlflowModelLatestVersionArrayOutput() GetMlflowModelLatestVersionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { +func (o GetMlflowModelLatestVersionArrayOutput) ToGetMlflowModelLatestVersionArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription { - return vs[0].([]GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) +func (o GetMlflowModelLatestVersionArrayOutput) Index(i pulumi.IntInput) GetMlflowModelLatestVersionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMlflowModelLatestVersion { + return vs[0].([]GetMlflowModelLatestVersion)[vs[1].(int)] + }).(GetMlflowModelLatestVersionOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskFile struct { - Path string `pulumi:"path"` - Source *string `pulumi:"source"` +type GetMlflowModelLatestVersionTag struct { + Key *string `pulumi:"key"` + Value *string `pulumi:"value"` } -// GetJobJobSettingsSettingsTaskSqlTaskFileInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskFileArgs and GetJobJobSettingsSettingsTaskSqlTaskFileOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskFileInput` via: +// GetMlflowModelLatestVersionTagInput is an input type that accepts GetMlflowModelLatestVersionTagArgs and GetMlflowModelLatestVersionTagOutput values. +// You can construct a concrete instance of `GetMlflowModelLatestVersionTagInput` via: // -// GetJobJobSettingsSettingsTaskSqlTaskFileArgs{...} -type GetJobJobSettingsSettingsTaskSqlTaskFileInput interface { +// GetMlflowModelLatestVersionTagArgs{...} +type GetMlflowModelLatestVersionTagInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskSqlTaskFileOutput - ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskFileOutput -} - -type GetJobJobSettingsSettingsTaskSqlTaskFileArgs struct { - Path pulumi.StringInput `pulumi:"path"` - Source pulumi.StringPtrInput `pulumi:"source"` -} - -func (GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() + ToGetMlflowModelLatestVersionTagOutput() GetMlflowModelLatestVersionTagOutput + ToGetMlflowModelLatestVersionTagOutputWithContext(context.Context) GetMlflowModelLatestVersionTagOutput } -func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskSqlTaskFileOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(context.Background()) +type GetMlflowModelLatestVersionTagArgs struct { + Key pulumi.StringPtrInput `pulumi:"key"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskFileOutput) +func (GetMlflowModelLatestVersionTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowModelLatestVersionTag)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (i GetMlflowModelLatestVersionTagArgs) ToGetMlflowModelLatestVersionTagOutput() GetMlflowModelLatestVersionTagOutput { + return i.ToGetMlflowModelLatestVersionTagOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskFileOutput).ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx) +func (i GetMlflowModelLatestVersionTagArgs) ToGetMlflowModelLatestVersionTagOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionTagOutput) } -// GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskFileArgs, GetJobJobSettingsSettingsTaskSqlTaskFilePtr and GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput` via: -// -// GetJobJobSettingsSettingsTaskSqlTaskFileArgs{...} -// -// or: +// GetMlflowModelLatestVersionTagArrayInput is an input type that accepts GetMlflowModelLatestVersionTagArray and GetMlflowModelLatestVersionTagArrayOutput values. +// You can construct a concrete instance of `GetMlflowModelLatestVersionTagArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput interface { +// GetMlflowModelLatestVersionTagArray{ GetMlflowModelLatestVersionTagArgs{...} } +type GetMlflowModelLatestVersionTagArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput - ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput + ToGetMlflowModelLatestVersionTagArrayOutput() GetMlflowModelLatestVersionTagArrayOutput + ToGetMlflowModelLatestVersionTagArrayOutputWithContext(context.Context) GetMlflowModelLatestVersionTagArrayOutput } -type getJobJobSettingsSettingsTaskSqlTaskFilePtrType GetJobJobSettingsSettingsTaskSqlTaskFileArgs - -func GetJobJobSettingsSettingsTaskSqlTaskFilePtr(v *GetJobJobSettingsSettingsTaskSqlTaskFileArgs) GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput { - return (*getJobJobSettingsSettingsTaskSqlTaskFilePtrType)(v) -} +type GetMlflowModelLatestVersionTagArray []GetMlflowModelLatestVersionTagInput -func (*getJobJobSettingsSettingsTaskSqlTaskFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() +func (GetMlflowModelLatestVersionTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowModelLatestVersionTag)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (i GetMlflowModelLatestVersionTagArray) ToGetMlflowModelLatestVersionTagArrayOutput() GetMlflowModelLatestVersionTagArrayOutput { + return i.ToGetMlflowModelLatestVersionTagArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) +func (i GetMlflowModelLatestVersionTagArray) ToGetMlflowModelLatestVersionTagArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionTagArrayOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskFileOutput struct{ *pulumi.OutputState } +type GetMlflowModelLatestVersionTagOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() +func (GetMlflowModelLatestVersionTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowModelLatestVersionTag)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskSqlTaskFileOutput { +func (o GetMlflowModelLatestVersionTagOutput) ToGetMlflowModelLatestVersionTagOutput() GetMlflowModelLatestVersionTagOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFileOutput { +func (o GetMlflowModelLatestVersionTagOutput) ToGetMlflowModelLatestVersionTagOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskFile) *GetJobJobSettingsSettingsTaskSqlTaskFile { - return &v - }).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskFile) string { return v.Path }).(pulumi.StringOutput) +func (o GetMlflowModelLatestVersionTagOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersionTag) *string { return v.Key }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskFile) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetMlflowModelLatestVersionTagOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersionTag) *string { return v.Value }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput struct{ *pulumi.OutputState } +type GetMlflowModelLatestVersionTagArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() +func (GetMlflowModelLatestVersionTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowModelLatestVersionTag)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { +func (o GetMlflowModelLatestVersionTagArrayOutput) ToGetMlflowModelLatestVersionTagArrayOutput() GetMlflowModelLatestVersionTagArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { +func (o GetMlflowModelLatestVersionTagArrayOutput) ToGetMlflowModelLatestVersionTagArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskFileOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskFile) GetJobJobSettingsSettingsTaskSqlTaskFile { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskSqlTaskFile - return ret - }).(GetJobJobSettingsSettingsTaskSqlTaskFileOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskFile) *string { - if v == nil { - return nil - } - return &v.Path - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskFile) *string { - if v == nil { - return nil - } - return v.Source - }).(pulumi.StringPtrOutput) +func (o GetMlflowModelLatestVersionTagArrayOutput) Index(i pulumi.IntInput) GetMlflowModelLatestVersionTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMlflowModelLatestVersionTag { + return vs[0].([]GetMlflowModelLatestVersionTag)[vs[1].(int)] + }).(GetMlflowModelLatestVersionTagOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskQuery struct { - QueryId string `pulumi:"queryId"` +type GetMlflowModelTag struct { + Key *string `pulumi:"key"` + Value *string `pulumi:"value"` } -// GetJobJobSettingsSettingsTaskSqlTaskQueryInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskQueryArgs and GetJobJobSettingsSettingsTaskSqlTaskQueryOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskQueryInput` via: +// GetMlflowModelTagInput is an input type that accepts GetMlflowModelTagArgs and GetMlflowModelTagOutput values. +// You can construct a concrete instance of `GetMlflowModelTagInput` via: // -// GetJobJobSettingsSettingsTaskSqlTaskQueryArgs{...} -type GetJobJobSettingsSettingsTaskSqlTaskQueryInput interface { +// GetMlflowModelTagArgs{...} +type GetMlflowModelTagInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput - ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryOutput -} - -type GetJobJobSettingsSettingsTaskSqlTaskQueryArgs struct { - QueryId pulumi.StringInput `pulumi:"queryId"` -} - -func (GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() + ToGetMlflowModelTagOutput() GetMlflowModelTagOutput + ToGetMlflowModelTagOutputWithContext(context.Context) GetMlflowModelTagOutput } -func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(context.Background()) +type GetMlflowModelTagArgs struct { + Key pulumi.StringPtrInput `pulumi:"key"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) +func (GetMlflowModelTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowModelTag)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +func (i GetMlflowModelTagArgs) ToGetMlflowModelTagOutput() GetMlflowModelTagOutput { + return i.ToGetMlflowModelTagOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskQueryOutput).ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx) +func (i GetMlflowModelTagArgs) ToGetMlflowModelTagOutputWithContext(ctx context.Context) GetMlflowModelTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelTagOutput) } -// GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskQueryArgs, GetJobJobSettingsSettingsTaskSqlTaskQueryPtr and GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput` via: -// -// GetJobJobSettingsSettingsTaskSqlTaskQueryArgs{...} -// -// or: +// GetMlflowModelTagArrayInput is an input type that accepts GetMlflowModelTagArray and GetMlflowModelTagArrayOutput values. +// You can construct a concrete instance of `GetMlflowModelTagArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput interface { +// GetMlflowModelTagArray{ GetMlflowModelTagArgs{...} } +type GetMlflowModelTagArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput - ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput + ToGetMlflowModelTagArrayOutput() GetMlflowModelTagArrayOutput + ToGetMlflowModelTagArrayOutputWithContext(context.Context) GetMlflowModelTagArrayOutput } -type getJobJobSettingsSettingsTaskSqlTaskQueryPtrType GetJobJobSettingsSettingsTaskSqlTaskQueryArgs - -func GetJobJobSettingsSettingsTaskSqlTaskQueryPtr(v *GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput { - return (*getJobJobSettingsSettingsTaskSqlTaskQueryPtrType)(v) -} +type GetMlflowModelTagArray []GetMlflowModelTagInput -func (*getJobJobSettingsSettingsTaskSqlTaskQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() +func (GetMlflowModelTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowModelTag)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +func (i GetMlflowModelTagArray) ToGetMlflowModelTagArrayOutput() GetMlflowModelTagArrayOutput { + return i.ToGetMlflowModelTagArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) +func (i GetMlflowModelTagArray) ToGetMlflowModelTagArrayOutputWithContext(ctx context.Context) GetMlflowModelTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelTagArrayOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskQueryOutput struct{ *pulumi.OutputState } +type GetMlflowModelTagOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() +func (GetMlflowModelTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowModelTag)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { +func (o GetMlflowModelTagOutput) ToGetMlflowModelTagOutput() GetMlflowModelTagOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { +func (o GetMlflowModelTagOutput) ToGetMlflowModelTagOutputWithContext(ctx context.Context) GetMlflowModelTagOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskQuery) *GetJobJobSettingsSettingsTaskSqlTaskQuery { - return &v - }).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) +func (o GetMlflowModelTagOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelTag) *string { return v.Key }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) QueryId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskQuery) string { return v.QueryId }).(pulumi.StringOutput) +func (o GetMlflowModelTagOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelTag) *string { return v.Value }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput struct{ *pulumi.OutputState } +type GetMlflowModelTagArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() +func (GetMlflowModelTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowModelTag)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { +func (o GetMlflowModelTagArrayOutput) ToGetMlflowModelTagArrayOutput() GetMlflowModelTagArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { +func (o GetMlflowModelTagArrayOutput) ToGetMlflowModelTagArrayOutputWithContext(ctx context.Context) GetMlflowModelTagArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskQuery) GetJobJobSettingsSettingsTaskSqlTaskQuery { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskSqlTaskQuery - return ret - }).(GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) QueryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskQuery) *string { - if v == nil { - return nil - } - return &v.QueryId - }).(pulumi.StringPtrOutput) +func (o GetMlflowModelTagArrayOutput) Index(i pulumi.IntInput) GetMlflowModelTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMlflowModelTag { + return vs[0].([]GetMlflowModelTag)[vs[1].(int)] + }).(GetMlflowModelTagOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotifications struct { - OnDurationWarningThresholdExceededs []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure `pulumi:"onFailures"` - OnStarts []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart `pulumi:"onStarts"` - OnSuccesses []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` +type GetNotebookPathsNotebookPathList struct { + Language *string `pulumi:"language"` + // Path to workspace directory + Path *string `pulumi:"path"` } -// GetJobJobSettingsSettingsTaskWebhookNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsInput` via: +// GetNotebookPathsNotebookPathListInput is an input type that accepts GetNotebookPathsNotebookPathListArgs and GetNotebookPathsNotebookPathListOutput values. +// You can construct a concrete instance of `GetNotebookPathsNotebookPathListInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsArgs{...} -type GetJobJobSettingsSettingsTaskWebhookNotificationsInput interface { +// GetNotebookPathsNotebookPathListArgs{...} +type GetNotebookPathsNotebookPathListInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOutput + ToGetNotebookPathsNotebookPathListOutput() GetNotebookPathsNotebookPathListOutput + ToGetNotebookPathsNotebookPathListOutputWithContext(context.Context) GetNotebookPathsNotebookPathListOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsArgs struct { - OnDurationWarningThresholdExceededs GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` - OnStarts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` - OnSuccesses GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` +type GetNotebookPathsNotebookPathListArgs struct { + Language pulumi.StringPtrInput `pulumi:"language"` + // Path to workspace directory + Path pulumi.StringPtrInput `pulumi:"path"` } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() +func (GetNotebookPathsNotebookPathListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotebookPathsNotebookPathList)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(context.Background()) +func (i GetNotebookPathsNotebookPathListArgs) ToGetNotebookPathsNotebookPathListOutput() GetNotebookPathsNotebookPathListOutput { + return i.ToGetNotebookPathsNotebookPathListOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) +func (i GetNotebookPathsNotebookPathListArgs) ToGetNotebookPathsNotebookPathListOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotebookPathsNotebookPathListOutput) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +// GetNotebookPathsNotebookPathListArrayInput is an input type that accepts GetNotebookPathsNotebookPathListArray and GetNotebookPathsNotebookPathListArrayOutput values. +// You can construct a concrete instance of `GetNotebookPathsNotebookPathListArrayInput` via: +// +// GetNotebookPathsNotebookPathListArray{ GetNotebookPathsNotebookPathListArgs{...} } +type GetNotebookPathsNotebookPathListArrayInput interface { + pulumi.Input + + ToGetNotebookPathsNotebookPathListArrayOutput() GetNotebookPathsNotebookPathListArrayOutput + ToGetNotebookPathsNotebookPathListArrayOutputWithContext(context.Context) GetNotebookPathsNotebookPathListArrayOutput } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOutput).ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx) +type GetNotebookPathsNotebookPathListArray []GetNotebookPathsNotebookPathListInput + +func (GetNotebookPathsNotebookPathListArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNotebookPathsNotebookPathList)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsArgs, GetJobJobSettingsSettingsTaskWebhookNotificationsPtr and GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput` via: -// -// GetJobJobSettingsSettingsTaskWebhookNotificationsArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput interface { - pulumi.Input +func (i GetNotebookPathsNotebookPathListArray) ToGetNotebookPathsNotebookPathListArrayOutput() GetNotebookPathsNotebookPathListArrayOutput { + return i.ToGetNotebookPathsNotebookPathListArrayOutputWithContext(context.Background()) +} - ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput +func (i GetNotebookPathsNotebookPathListArray) ToGetNotebookPathsNotebookPathListArrayOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotebookPathsNotebookPathListArrayOutput) } -type getJobJobSettingsSettingsTaskWebhookNotificationsPtrType GetJobJobSettingsSettingsTaskWebhookNotificationsArgs +type GetNotebookPathsNotebookPathListOutput struct{ *pulumi.OutputState } -func GetJobJobSettingsSettingsTaskWebhookNotificationsPtr(v *GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput { - return (*getJobJobSettingsSettingsTaskWebhookNotificationsPtrType)(v) +func (GetNotebookPathsNotebookPathListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotebookPathsNotebookPathList)(nil)).Elem() } -func (*getJobJobSettingsSettingsTaskWebhookNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() +func (o GetNotebookPathsNotebookPathListOutput) ToGetNotebookPathsNotebookPathListOutput() GetNotebookPathsNotebookPathListOutput { + return o } -func (i *getJobJobSettingsSettingsTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (o GetNotebookPathsNotebookPathListOutput) ToGetNotebookPathsNotebookPathListOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListOutput { + return o } -func (i *getJobJobSettingsSettingsTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) +func (o GetNotebookPathsNotebookPathListOutput) Language() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotebookPathsNotebookPathList) *string { return v.Language }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOutput struct{ *pulumi.OutputState } +// Path to workspace directory +func (o GetNotebookPathsNotebookPathListOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotebookPathsNotebookPathList) *string { return v.Path }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() +type GetNotebookPathsNotebookPathListArrayOutput struct{ *pulumi.OutputState } + +func (GetNotebookPathsNotebookPathListArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNotebookPathsNotebookPathList)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { +func (o GetNotebookPathsNotebookPathListArrayOutput) ToGetNotebookPathsNotebookPathListArrayOutput() GetNotebookPathsNotebookPathListArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { +func (o GetNotebookPathsNotebookPathListArrayOutput) ToGetNotebookPathsNotebookPathListArrayOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (o GetNotebookPathsNotebookPathListArrayOutput) Index(i pulumi.IntInput) GetNotebookPathsNotebookPathListOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNotebookPathsNotebookPathList { + return vs[0].([]GetNotebookPathsNotebookPathList)[vs[1].(int)] + }).(GetNotebookPathsNotebookPathListOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskWebhookNotifications) *GetJobJobSettingsSettingsTaskWebhookNotifications { - return &v - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) +type GetShareObject struct { + AddedAt int `pulumi:"addedAt"` + AddedBy string `pulumi:"addedBy"` + CdfEnabled *bool `pulumi:"cdfEnabled"` + // Description about the object. + Comment *string `pulumi:"comment"` + // Type of the object. + DataObjectType string `pulumi:"dataObjectType"` + HistoryDataSharingStatus *string `pulumi:"historyDataSharingStatus"` + // The name of the share + Name string `pulumi:"name"` + Partitions []GetShareObjectPartition `pulumi:"partitions"` + SharedAs *string `pulumi:"sharedAs"` + StartVersion *int `pulumi:"startVersion"` + Status string `pulumi:"status"` } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - return v.OnDurationWarningThresholdExceededs - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) +// GetShareObjectInput is an input type that accepts GetShareObjectArgs and GetShareObjectOutput values. +// You can construct a concrete instance of `GetShareObjectInput` via: +// +// GetShareObjectArgs{...} +type GetShareObjectInput interface { + pulumi.Input + + ToGetShareObjectOutput() GetShareObjectOutput + ToGetShareObjectOutputWithContext(context.Context) GetShareObjectOutput } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnFailures() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { - return v.OnFailures - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) +type GetShareObjectArgs struct { + AddedAt pulumi.IntInput `pulumi:"addedAt"` + AddedBy pulumi.StringInput `pulumi:"addedBy"` + CdfEnabled pulumi.BoolPtrInput `pulumi:"cdfEnabled"` + // Description about the object. + Comment pulumi.StringPtrInput `pulumi:"comment"` + // Type of the object. + DataObjectType pulumi.StringInput `pulumi:"dataObjectType"` + HistoryDataSharingStatus pulumi.StringPtrInput `pulumi:"historyDataSharingStatus"` + // The name of the share + Name pulumi.StringInput `pulumi:"name"` + Partitions GetShareObjectPartitionArrayInput `pulumi:"partitions"` + SharedAs pulumi.StringPtrInput `pulumi:"sharedAs"` + StartVersion pulumi.IntPtrInput `pulumi:"startVersion"` + Status pulumi.StringInput `pulumi:"status"` } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnStarts() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { - return v.OnStarts - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) +func (GetShareObjectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetShareObject)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnSuccesses() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { - return v.OnSuccesses - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) +func (i GetShareObjectArgs) ToGetShareObjectOutput() GetShareObjectOutput { + return i.ToGetShareObjectOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() +func (i GetShareObjectArgs) ToGetShareObjectOutputWithContext(ctx context.Context) GetShareObjectOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetShareObjectOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return o -} +// GetShareObjectArrayInput is an input type that accepts GetShareObjectArray and GetShareObjectArrayOutput values. +// You can construct a concrete instance of `GetShareObjectArrayInput` via: +// +// GetShareObjectArray{ GetShareObjectArgs{...} } +type GetShareObjectArrayInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return o + ToGetShareObjectArrayOutput() GetShareObjectArrayOutput + ToGetShareObjectArrayOutputWithContext(context.Context) GetShareObjectArrayOutput } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) GetJobJobSettingsSettingsTaskWebhookNotifications { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskWebhookNotifications - return ret - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) -} +type GetShareObjectArray []GetShareObjectInput -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) +func (GetShareObjectArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetShareObject)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnFailures() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { - if v == nil { - return nil - } - return v.OnFailures - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) +func (i GetShareObjectArray) ToGetShareObjectArrayOutput() GetShareObjectArrayOutput { + return i.ToGetShareObjectArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnStarts() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { - if v == nil { - return nil - } - return v.OnStarts - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) +func (i GetShareObjectArray) ToGetShareObjectArrayOutputWithContext(ctx context.Context) GetShareObjectArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetShareObjectArrayOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnSuccesses() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { - if v == nil { - return nil - } - return v.OnSuccesses - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) -} +type GetShareObjectOutput struct{ *pulumi.OutputState } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +func (GetShareObjectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetShareObject)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput` via: -// -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput +func (o GetShareObjectOutput) ToGetShareObjectOutput() GetShareObjectOutput { + return o } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +func (o GetShareObjectOutput) ToGetShareObjectOutputWithContext(ctx context.Context) GetShareObjectOutput { + return o } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (o GetShareObjectOutput) AddedAt() pulumi.IntOutput { + return o.ApplyT(func(v GetShareObject) int { return v.AddedAt }).(pulumi.IntOutput) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) +func (o GetShareObjectOutput) AddedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetShareObject) string { return v.AddedBy }).(pulumi.StringOutput) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (o GetShareObjectOutput) CdfEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetShareObject) *bool { return v.CdfEnabled }).(pulumi.BoolPtrOutput) } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: -// -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput +// Description about the object. +func (o GetShareObjectOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetShareObject) *string { return v.Comment }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput - -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +// Type of the object. +func (o GetShareObjectOutput) DataObjectType() pulumi.StringOutput { + return o.ApplyT(func(v GetShareObject) string { return v.DataObjectType }).(pulumi.StringOutput) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) +func (o GetShareObjectOutput) HistoryDataSharingStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetShareObject) *string { return v.HistoryDataSharingStatus }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) +// The name of the share +func (o GetShareObjectOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetShareObject) string { return v.Name }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (o GetShareObjectOutput) Partitions() GetShareObjectPartitionArrayOutput { + return o.ApplyT(func(v GetShareObject) []GetShareObjectPartition { return v.Partitions }).(GetShareObjectPartitionArrayOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return o +func (o GetShareObjectOutput) SharedAs() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetShareObject) *string { return v.SharedAs }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return o +func (o GetShareObjectOutput) StartVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetShareObject) *int { return v.StartVersion }).(pulumi.IntPtrOutput) } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { - return v.Id - }).(pulumi.StringOutput) +func (o GetShareObjectOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetShareObject) string { return v.Status }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } +type GetShareObjectArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (GetShareObjectArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetShareObject)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +func (o GetShareObjectArrayOutput) ToGetShareObjectArrayOutput() GetShareObjectArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +func (o GetShareObjectArrayOutput) ToGetShareObjectArrayOutputWithContext(ctx context.Context) GetShareObjectArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (o GetShareObjectArrayOutput) Index(i pulumi.IntInput) GetShareObjectOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShareObject { + return vs[0].([]GetShareObject)[vs[1].(int)] + }).(GetShareObjectOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetShareObjectPartition struct { + Values []GetShareObjectPartitionValue `pulumi:"values"` } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput` via: +// GetShareObjectPartitionInput is an input type that accepts GetShareObjectPartitionArgs and GetShareObjectPartitionOutput values. +// You can construct a concrete instance of `GetShareObjectPartitionInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs{...} -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput interface { +// GetShareObjectPartitionArgs{...} +type GetShareObjectPartitionInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput + ToGetShareObjectPartitionOutput() GetShareObjectPartitionOutput + ToGetShareObjectPartitionOutputWithContext(context.Context) GetShareObjectPartitionOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetShareObjectPartitionArgs struct { + Values GetShareObjectPartitionValueArrayInput `pulumi:"values"` } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (GetShareObjectPartitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetShareObjectPartition)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(context.Background()) +func (i GetShareObjectPartitionArgs) ToGetShareObjectPartitionOutput() GetShareObjectPartitionOutput { + return i.ToGetShareObjectPartitionOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) +func (i GetShareObjectPartitionArgs) ToGetShareObjectPartitionOutputWithContext(ctx context.Context) GetShareObjectPartitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetShareObjectPartitionOutput) } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput` via: +// GetShareObjectPartitionArrayInput is an input type that accepts GetShareObjectPartitionArray and GetShareObjectPartitionArrayOutput values. +// You can construct a concrete instance of `GetShareObjectPartitionArrayInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs{...} } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput interface { +// GetShareObjectPartitionArray{ GetShareObjectPartitionArgs{...} } +type GetShareObjectPartitionArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput + ToGetShareObjectPartitionArrayOutput() GetShareObjectPartitionArrayOutput + ToGetShareObjectPartitionArrayOutputWithContext(context.Context) GetShareObjectPartitionArrayOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput +type GetShareObjectPartitionArray []GetShareObjectPartitionInput -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (GetShareObjectPartitionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetShareObjectPartition)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) +func (i GetShareObjectPartitionArray) ToGetShareObjectPartitionArrayOutput() GetShareObjectPartitionArrayOutput { + return i.ToGetShareObjectPartitionArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) +func (i GetShareObjectPartitionArray) ToGetShareObjectPartitionArrayOutputWithContext(ctx context.Context) GetShareObjectPartitionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetShareObjectPartitionArrayOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } +type GetShareObjectPartitionOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (GetShareObjectPartitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetShareObjectPartition)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { +func (o GetShareObjectPartitionOutput) ToGetShareObjectPartitionOutput() GetShareObjectPartitionOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { +func (o GetShareObjectPartitionOutput) ToGetShareObjectPartitionOutputWithContext(ctx context.Context) GetShareObjectPartitionOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) +func (o GetShareObjectPartitionOutput) Values() GetShareObjectPartitionValueArrayOutput { + return o.ApplyT(func(v GetShareObjectPartition) []GetShareObjectPartitionValue { return v.Values }).(GetShareObjectPartitionValueArrayOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } +type GetShareObjectPartitionArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (GetShareObjectPartitionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetShareObjectPartition)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { +func (o GetShareObjectPartitionArrayOutput) ToGetShareObjectPartitionArrayOutput() GetShareObjectPartitionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { +func (o GetShareObjectPartitionArrayOutput) ToGetShareObjectPartitionArrayOutputWithContext(ctx context.Context) GetShareObjectPartitionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { - return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) +func (o GetShareObjectPartitionArrayOutput) Index(i pulumi.IntInput) GetShareObjectPartitionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShareObjectPartition { + return vs[0].([]GetShareObjectPartition)[vs[1].(int)] + }).(GetShareObjectPartitionOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetShareObjectPartitionValue struct { + // The name of the share + Name string `pulumi:"name"` + Op string `pulumi:"op"` + RecipientPropertyKey *string `pulumi:"recipientPropertyKey"` + Value *string `pulumi:"value"` } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput` via: +// GetShareObjectPartitionValueInput is an input type that accepts GetShareObjectPartitionValueArgs and GetShareObjectPartitionValueOutput values. +// You can construct a concrete instance of `GetShareObjectPartitionValueInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs{...} -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput interface { +// GetShareObjectPartitionValueArgs{...} +type GetShareObjectPartitionValueInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput + ToGetShareObjectPartitionValueOutput() GetShareObjectPartitionValueOutput + ToGetShareObjectPartitionValueOutputWithContext(context.Context) GetShareObjectPartitionValueOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetShareObjectPartitionValueArgs struct { + // The name of the share + Name pulumi.StringInput `pulumi:"name"` + Op pulumi.StringInput `pulumi:"op"` + RecipientPropertyKey pulumi.StringPtrInput `pulumi:"recipientPropertyKey"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() +func (GetShareObjectPartitionValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetShareObjectPartitionValue)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(context.Background()) +func (i GetShareObjectPartitionValueArgs) ToGetShareObjectPartitionValueOutput() GetShareObjectPartitionValueOutput { + return i.ToGetShareObjectPartitionValueOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) +func (i GetShareObjectPartitionValueArgs) ToGetShareObjectPartitionValueOutputWithContext(ctx context.Context) GetShareObjectPartitionValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetShareObjectPartitionValueOutput) } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput` via: +// GetShareObjectPartitionValueArrayInput is an input type that accepts GetShareObjectPartitionValueArray and GetShareObjectPartitionValueArrayOutput values. +// You can construct a concrete instance of `GetShareObjectPartitionValueArrayInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs{...} } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput interface { +// GetShareObjectPartitionValueArray{ GetShareObjectPartitionValueArgs{...} } +type GetShareObjectPartitionValueArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput + ToGetShareObjectPartitionValueArrayOutput() GetShareObjectPartitionValueArrayOutput + ToGetShareObjectPartitionValueArrayOutputWithContext(context.Context) GetShareObjectPartitionValueArrayOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput +type GetShareObjectPartitionValueArray []GetShareObjectPartitionValueInput -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() +func (GetShareObjectPartitionValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetShareObjectPartitionValue)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) +func (i GetShareObjectPartitionValueArray) ToGetShareObjectPartitionValueArrayOutput() GetShareObjectPartitionValueArrayOutput { + return i.ToGetShareObjectPartitionValueArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) +func (i GetShareObjectPartitionValueArray) ToGetShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) GetShareObjectPartitionValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetShareObjectPartitionValueArrayOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } +type GetShareObjectPartitionValueOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() +func (GetShareObjectPartitionValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetShareObjectPartitionValue)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { +func (o GetShareObjectPartitionValueOutput) ToGetShareObjectPartitionValueOutput() GetShareObjectPartitionValueOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { +func (o GetShareObjectPartitionValueOutput) ToGetShareObjectPartitionValueOutputWithContext(ctx context.Context) GetShareObjectPartitionValueOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) +// The name of the share +func (o GetShareObjectPartitionValueOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetShareObjectPartitionValue) string { return v.Name }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } +func (o GetShareObjectPartitionValueOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v GetShareObjectPartitionValue) string { return v.Op }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() +func (o GetShareObjectPartitionValueOutput) RecipientPropertyKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetShareObjectPartitionValue) *string { return v.RecipientPropertyKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { +func (o GetShareObjectPartitionValueOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetShareObjectPartitionValue) *string { return v.Value }).(pulumi.StringPtrOutput) +} + +type GetShareObjectPartitionValueArrayOutput struct{ *pulumi.OutputState } + +func (GetShareObjectPartitionValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetShareObjectPartitionValue)(nil)).Elem() +} + +func (o GetShareObjectPartitionValueArrayOutput) ToGetShareObjectPartitionValueArrayOutput() GetShareObjectPartitionValueArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { +func (o GetShareObjectPartitionValueArrayOutput) ToGetShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) GetShareObjectPartitionValueArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { - return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) +func (o GetShareObjectPartitionValueArrayOutput) Index(i pulumi.IntInput) GetShareObjectPartitionValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShareObjectPartitionValue { + return vs[0].([]GetShareObjectPartitionValue)[vs[1].(int)] + }).(GetShareObjectPartitionValueOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetSqlWarehouseChannel struct { + DbsqlVersion *string `pulumi:"dbsqlVersion"` + // Name of the SQL warehouse to search (case-sensitive). + Name *string `pulumi:"name"` } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput` via: +// GetSqlWarehouseChannelInput is an input type that accepts GetSqlWarehouseChannelArgs and GetSqlWarehouseChannelOutput values. +// You can construct a concrete instance of `GetSqlWarehouseChannelInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs{...} -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput interface { +// GetSqlWarehouseChannelArgs{...} +type GetSqlWarehouseChannelInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput + ToGetSqlWarehouseChannelOutput() GetSqlWarehouseChannelOutput + ToGetSqlWarehouseChannelOutputWithContext(context.Context) GetSqlWarehouseChannelOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetSqlWarehouseChannelArgs struct { + DbsqlVersion pulumi.StringPtrInput `pulumi:"dbsqlVersion"` + // Name of the SQL warehouse to search (case-sensitive). + Name pulumi.StringPtrInput `pulumi:"name"` } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (GetSqlWarehouseChannelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSqlWarehouseChannel)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(context.Background()) +func (i GetSqlWarehouseChannelArgs) ToGetSqlWarehouseChannelOutput() GetSqlWarehouseChannelOutput { + return i.ToGetSqlWarehouseChannelOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) +func (i GetSqlWarehouseChannelArgs) ToGetSqlWarehouseChannelOutputWithContext(ctx context.Context) GetSqlWarehouseChannelOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseChannelOutput) } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput` via: +func (i GetSqlWarehouseChannelArgs) ToGetSqlWarehouseChannelPtrOutput() GetSqlWarehouseChannelPtrOutput { + return i.ToGetSqlWarehouseChannelPtrOutputWithContext(context.Background()) +} + +func (i GetSqlWarehouseChannelArgs) ToGetSqlWarehouseChannelPtrOutputWithContext(ctx context.Context) GetSqlWarehouseChannelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseChannelOutput).ToGetSqlWarehouseChannelPtrOutputWithContext(ctx) +} + +// GetSqlWarehouseChannelPtrInput is an input type that accepts GetSqlWarehouseChannelArgs, GetSqlWarehouseChannelPtr and GetSqlWarehouseChannelPtrOutput values. +// You can construct a concrete instance of `GetSqlWarehouseChannelPtrInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs{...} } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput interface { +// GetSqlWarehouseChannelArgs{...} +// +// or: +// +// nil +type GetSqlWarehouseChannelPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput + ToGetSqlWarehouseChannelPtrOutput() GetSqlWarehouseChannelPtrOutput + ToGetSqlWarehouseChannelPtrOutputWithContext(context.Context) GetSqlWarehouseChannelPtrOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput +type getSqlWarehouseChannelPtrType GetSqlWarehouseChannelArgs -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func GetSqlWarehouseChannelPtr(v *GetSqlWarehouseChannelArgs) GetSqlWarehouseChannelPtrInput { + return (*getSqlWarehouseChannelPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) +func (*getSqlWarehouseChannelPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSqlWarehouseChannel)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) +func (i *getSqlWarehouseChannelPtrType) ToGetSqlWarehouseChannelPtrOutput() GetSqlWarehouseChannelPtrOutput { + return i.ToGetSqlWarehouseChannelPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } +func (i *getSqlWarehouseChannelPtrType) ToGetSqlWarehouseChannelPtrOutputWithContext(ctx context.Context) GetSqlWarehouseChannelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseChannelPtrOutput) +} -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() +type GetSqlWarehouseChannelOutput struct{ *pulumi.OutputState } + +func (GetSqlWarehouseChannelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSqlWarehouseChannel)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { +func (o GetSqlWarehouseChannelOutput) ToGetSqlWarehouseChannelOutput() GetSqlWarehouseChannelOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { +func (o GetSqlWarehouseChannelOutput) ToGetSqlWarehouseChannelOutputWithContext(ctx context.Context) GetSqlWarehouseChannelOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) +func (o GetSqlWarehouseChannelOutput) ToGetSqlWarehouseChannelPtrOutput() GetSqlWarehouseChannelPtrOutput { + return o.ToGetSqlWarehouseChannelPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } +func (o GetSqlWarehouseChannelOutput) ToGetSqlWarehouseChannelPtrOutputWithContext(ctx context.Context) GetSqlWarehouseChannelPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSqlWarehouseChannel) *GetSqlWarehouseChannel { + return &v + }).(GetSqlWarehouseChannelPtrOutput) +} -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (o GetSqlWarehouseChannelOutput) DbsqlVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSqlWarehouseChannel) *string { return v.DbsqlVersion }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { +// Name of the SQL warehouse to search (case-sensitive). +func (o GetSqlWarehouseChannelOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSqlWarehouseChannel) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type GetSqlWarehouseChannelPtrOutput struct{ *pulumi.OutputState } + +func (GetSqlWarehouseChannelPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSqlWarehouseChannel)(nil)).Elem() +} + +func (o GetSqlWarehouseChannelPtrOutput) ToGetSqlWarehouseChannelPtrOutput() GetSqlWarehouseChannelPtrOutput { + return o +} + +func (o GetSqlWarehouseChannelPtrOutput) ToGetSqlWarehouseChannelPtrOutputWithContext(ctx context.Context) GetSqlWarehouseChannelPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { - return o +func (o GetSqlWarehouseChannelPtrOutput) Elem() GetSqlWarehouseChannelOutput { + return o.ApplyT(func(v *GetSqlWarehouseChannel) GetSqlWarehouseChannel { + if v != nil { + return *v + } + var ret GetSqlWarehouseChannel + return ret + }).(GetSqlWarehouseChannelOutput) +} + +func (o GetSqlWarehouseChannelPtrOutput) DbsqlVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSqlWarehouseChannel) *string { + if v == nil { + return nil + } + return v.DbsqlVersion + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { - return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) +// Name of the SQL warehouse to search (case-sensitive). +func (o GetSqlWarehouseChannelPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSqlWarehouseChannel) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTrigger struct { - FileArrival *GetJobJobSettingsSettingsTriggerFileArrival `pulumi:"fileArrival"` - PauseStatus *string `pulumi:"pauseStatus"` - TableUpdate *GetJobJobSettingsSettingsTriggerTableUpdate `pulumi:"tableUpdate"` +type GetSqlWarehouseHealth struct { + Details *string `pulumi:"details"` + FailureReason *GetSqlWarehouseHealthFailureReason `pulumi:"failureReason"` + Message *string `pulumi:"message"` + Status *string `pulumi:"status"` + Summary *string `pulumi:"summary"` } -// GetJobJobSettingsSettingsTriggerInput is an input type that accepts GetJobJobSettingsSettingsTriggerArgs and GetJobJobSettingsSettingsTriggerOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerInput` via: +// GetSqlWarehouseHealthInput is an input type that accepts GetSqlWarehouseHealthArgs and GetSqlWarehouseHealthOutput values. +// You can construct a concrete instance of `GetSqlWarehouseHealthInput` via: // -// GetJobJobSettingsSettingsTriggerArgs{...} -type GetJobJobSettingsSettingsTriggerInput interface { +// GetSqlWarehouseHealthArgs{...} +type GetSqlWarehouseHealthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTriggerOutput() GetJobJobSettingsSettingsTriggerOutput - ToGetJobJobSettingsSettingsTriggerOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerOutput + ToGetSqlWarehouseHealthOutput() GetSqlWarehouseHealthOutput + ToGetSqlWarehouseHealthOutputWithContext(context.Context) GetSqlWarehouseHealthOutput } -type GetJobJobSettingsSettingsTriggerArgs struct { - FileArrival GetJobJobSettingsSettingsTriggerFileArrivalPtrInput `pulumi:"fileArrival"` - PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` - TableUpdate GetJobJobSettingsSettingsTriggerTableUpdatePtrInput `pulumi:"tableUpdate"` +type GetSqlWarehouseHealthArgs struct { + Details pulumi.StringPtrInput `pulumi:"details"` + FailureReason GetSqlWarehouseHealthFailureReasonPtrInput `pulumi:"failureReason"` + Message pulumi.StringPtrInput `pulumi:"message"` + Status pulumi.StringPtrInput `pulumi:"status"` + Summary pulumi.StringPtrInput `pulumi:"summary"` } -func (GetJobJobSettingsSettingsTriggerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTrigger)(nil)).Elem() +func (GetSqlWarehouseHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSqlWarehouseHealth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerOutput() GetJobJobSettingsSettingsTriggerOutput { - return i.ToGetJobJobSettingsSettingsTriggerOutputWithContext(context.Background()) +func (i GetSqlWarehouseHealthArgs) ToGetSqlWarehouseHealthOutput() GetSqlWarehouseHealthOutput { + return i.ToGetSqlWarehouseHealthOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerOutput) +func (i GetSqlWarehouseHealthArgs) ToGetSqlWarehouseHealthOutputWithContext(ctx context.Context) GetSqlWarehouseHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseHealthOutput) } -func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { - return i.ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Background()) +func (i GetSqlWarehouseHealthArgs) ToGetSqlWarehouseHealthPtrOutput() GetSqlWarehouseHealthPtrOutput { + return i.ToGetSqlWarehouseHealthPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerOutput).ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx) +func (i GetSqlWarehouseHealthArgs) ToGetSqlWarehouseHealthPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseHealthOutput).ToGetSqlWarehouseHealthPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTriggerPtrInput is an input type that accepts GetJobJobSettingsSettingsTriggerArgs, GetJobJobSettingsSettingsTriggerPtr and GetJobJobSettingsSettingsTriggerPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerPtrInput` via: +// GetSqlWarehouseHealthPtrInput is an input type that accepts GetSqlWarehouseHealthArgs, GetSqlWarehouseHealthPtr and GetSqlWarehouseHealthPtrOutput values. +// You can construct a concrete instance of `GetSqlWarehouseHealthPtrInput` via: // -// GetJobJobSettingsSettingsTriggerArgs{...} +// GetSqlWarehouseHealthArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTriggerPtrInput interface { +type GetSqlWarehouseHealthPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput - ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerPtrOutput + ToGetSqlWarehouseHealthPtrOutput() GetSqlWarehouseHealthPtrOutput + ToGetSqlWarehouseHealthPtrOutputWithContext(context.Context) GetSqlWarehouseHealthPtrOutput } -type getJobJobSettingsSettingsTriggerPtrType GetJobJobSettingsSettingsTriggerArgs +type getSqlWarehouseHealthPtrType GetSqlWarehouseHealthArgs -func GetJobJobSettingsSettingsTriggerPtr(v *GetJobJobSettingsSettingsTriggerArgs) GetJobJobSettingsSettingsTriggerPtrInput { - return (*getJobJobSettingsSettingsTriggerPtrType)(v) +func GetSqlWarehouseHealthPtr(v *GetSqlWarehouseHealthArgs) GetSqlWarehouseHealthPtrInput { + return (*getSqlWarehouseHealthPtrType)(v) } -func (*getJobJobSettingsSettingsTriggerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTrigger)(nil)).Elem() +func (*getSqlWarehouseHealthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSqlWarehouseHealth)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTriggerPtrType) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { - return i.ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Background()) +func (i *getSqlWarehouseHealthPtrType) ToGetSqlWarehouseHealthPtrOutput() GetSqlWarehouseHealthPtrOutput { + return i.ToGetSqlWarehouseHealthPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTriggerPtrType) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerPtrOutput) +func (i *getSqlWarehouseHealthPtrType) ToGetSqlWarehouseHealthPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseHealthPtrOutput) } -type GetJobJobSettingsSettingsTriggerOutput struct{ *pulumi.OutputState } +type GetSqlWarehouseHealthOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTriggerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTrigger)(nil)).Elem() +func (GetSqlWarehouseHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSqlWarehouseHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerOutput() GetJobJobSettingsSettingsTriggerOutput { +func (o GetSqlWarehouseHealthOutput) ToGetSqlWarehouseHealthOutput() GetSqlWarehouseHealthOutput { return o } -func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerOutput { +func (o GetSqlWarehouseHealthOutput) ToGetSqlWarehouseHealthOutputWithContext(ctx context.Context) GetSqlWarehouseHealthOutput { return o } -func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { - return o.ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Background()) +func (o GetSqlWarehouseHealthOutput) ToGetSqlWarehouseHealthPtrOutput() GetSqlWarehouseHealthPtrOutput { + return o.ToGetSqlWarehouseHealthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTrigger { +func (o GetSqlWarehouseHealthOutput) ToGetSqlWarehouseHealthPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSqlWarehouseHealth) *GetSqlWarehouseHealth { return &v - }).(GetJobJobSettingsSettingsTriggerPtrOutput) + }).(GetSqlWarehouseHealthPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerOutput) FileArrival() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerFileArrival { - return v.FileArrival - }).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) +func (o GetSqlWarehouseHealthOutput) Details() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSqlWarehouseHealth) *string { return v.Details }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) +func (o GetSqlWarehouseHealthOutput) FailureReason() GetSqlWarehouseHealthFailureReasonPtrOutput { + return o.ApplyT(func(v GetSqlWarehouseHealth) *GetSqlWarehouseHealthFailureReason { return v.FailureReason }).(GetSqlWarehouseHealthFailureReasonPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerOutput) TableUpdate() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerTableUpdate { - return v.TableUpdate - }).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) +func (o GetSqlWarehouseHealthOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSqlWarehouseHealth) *string { return v.Message }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTriggerPtrOutput struct{ *pulumi.OutputState } +func (o GetSqlWarehouseHealthOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSqlWarehouseHealth) *string { return v.Status }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTriggerPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTrigger)(nil)).Elem() +func (o GetSqlWarehouseHealthOutput) Summary() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSqlWarehouseHealth) *string { return v.Summary }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerPtrOutput) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { +type GetSqlWarehouseHealthPtrOutput struct{ *pulumi.OutputState } + +func (GetSqlWarehouseHealthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSqlWarehouseHealth)(nil)).Elem() +} + +func (o GetSqlWarehouseHealthPtrOutput) ToGetSqlWarehouseHealthPtrOutput() GetSqlWarehouseHealthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTriggerPtrOutput) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { +func (o GetSqlWarehouseHealthPtrOutput) ToGetSqlWarehouseHealthPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTriggerPtrOutput) Elem() GetJobJobSettingsSettingsTriggerOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) GetJobJobSettingsSettingsTrigger { +func (o GetSqlWarehouseHealthPtrOutput) Elem() GetSqlWarehouseHealthOutput { + return o.ApplyT(func(v *GetSqlWarehouseHealth) GetSqlWarehouseHealth { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTrigger + var ret GetSqlWarehouseHealth return ret - }).(GetJobJobSettingsSettingsTriggerOutput) + }).(GetSqlWarehouseHealthOutput) } -func (o GetJobJobSettingsSettingsTriggerPtrOutput) FileArrival() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerFileArrival { +func (o GetSqlWarehouseHealthPtrOutput) Details() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSqlWarehouseHealth) *string { if v == nil { return nil } - return v.FileArrival - }).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) + return v.Details + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerPtrOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) *string { +func (o GetSqlWarehouseHealthPtrOutput) FailureReason() GetSqlWarehouseHealthFailureReasonPtrOutput { + return o.ApplyT(func(v *GetSqlWarehouseHealth) *GetSqlWarehouseHealthFailureReason { if v == nil { return nil } - return v.PauseStatus + return v.FailureReason + }).(GetSqlWarehouseHealthFailureReasonPtrOutput) +} + +func (o GetSqlWarehouseHealthPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSqlWarehouseHealth) *string { + if v == nil { + return nil + } + return v.Message }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerPtrOutput) TableUpdate() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerTableUpdate { +func (o GetSqlWarehouseHealthPtrOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSqlWarehouseHealth) *string { if v == nil { return nil } - return v.TableUpdate - }).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) + return v.Status + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTriggerFileArrival struct { - MinTimeBetweenTriggersSeconds *int `pulumi:"minTimeBetweenTriggersSeconds"` - Url string `pulumi:"url"` - WaitAfterLastChangeSeconds *int `pulumi:"waitAfterLastChangeSeconds"` +func (o GetSqlWarehouseHealthPtrOutput) Summary() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSqlWarehouseHealth) *string { + if v == nil { + return nil + } + return v.Summary + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTriggerFileArrivalInput is an input type that accepts GetJobJobSettingsSettingsTriggerFileArrivalArgs and GetJobJobSettingsSettingsTriggerFileArrivalOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerFileArrivalInput` via: +type GetSqlWarehouseHealthFailureReason struct { + Code *string `pulumi:"code"` + Parameters map[string]interface{} `pulumi:"parameters"` + Type *string `pulumi:"type"` +} + +// GetSqlWarehouseHealthFailureReasonInput is an input type that accepts GetSqlWarehouseHealthFailureReasonArgs and GetSqlWarehouseHealthFailureReasonOutput values. +// You can construct a concrete instance of `GetSqlWarehouseHealthFailureReasonInput` via: // -// GetJobJobSettingsSettingsTriggerFileArrivalArgs{...} -type GetJobJobSettingsSettingsTriggerFileArrivalInput interface { +// GetSqlWarehouseHealthFailureReasonArgs{...} +type GetSqlWarehouseHealthFailureReasonInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTriggerFileArrivalOutput() GetJobJobSettingsSettingsTriggerFileArrivalOutput - ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerFileArrivalOutput + ToGetSqlWarehouseHealthFailureReasonOutput() GetSqlWarehouseHealthFailureReasonOutput + ToGetSqlWarehouseHealthFailureReasonOutputWithContext(context.Context) GetSqlWarehouseHealthFailureReasonOutput } -type GetJobJobSettingsSettingsTriggerFileArrivalArgs struct { - MinTimeBetweenTriggersSeconds pulumi.IntPtrInput `pulumi:"minTimeBetweenTriggersSeconds"` - Url pulumi.StringInput `pulumi:"url"` - WaitAfterLastChangeSeconds pulumi.IntPtrInput `pulumi:"waitAfterLastChangeSeconds"` +type GetSqlWarehouseHealthFailureReasonArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Parameters pulumi.MapInput `pulumi:"parameters"` + Type pulumi.StringPtrInput `pulumi:"type"` } -func (GetJobJobSettingsSettingsTriggerFileArrivalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() +func (GetSqlWarehouseHealthFailureReasonArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSqlWarehouseHealthFailureReason)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalOutput() GetJobJobSettingsSettingsTriggerFileArrivalOutput { - return i.ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(context.Background()) +func (i GetSqlWarehouseHealthFailureReasonArgs) ToGetSqlWarehouseHealthFailureReasonOutput() GetSqlWarehouseHealthFailureReasonOutput { + return i.ToGetSqlWarehouseHealthFailureReasonOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerFileArrivalOutput) +func (i GetSqlWarehouseHealthFailureReasonArgs) ToGetSqlWarehouseHealthFailureReasonOutputWithContext(ctx context.Context) GetSqlWarehouseHealthFailureReasonOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseHealthFailureReasonOutput) } - -func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return i.ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Background()) + +func (i GetSqlWarehouseHealthFailureReasonArgs) ToGetSqlWarehouseHealthFailureReasonPtrOutput() GetSqlWarehouseHealthFailureReasonPtrOutput { + return i.ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerFileArrivalOutput).ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx) +func (i GetSqlWarehouseHealthFailureReasonArgs) ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthFailureReasonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseHealthFailureReasonOutput).ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTriggerFileArrivalPtrInput is an input type that accepts GetJobJobSettingsSettingsTriggerFileArrivalArgs, GetJobJobSettingsSettingsTriggerFileArrivalPtr and GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerFileArrivalPtrInput` via: +// GetSqlWarehouseHealthFailureReasonPtrInput is an input type that accepts GetSqlWarehouseHealthFailureReasonArgs, GetSqlWarehouseHealthFailureReasonPtr and GetSqlWarehouseHealthFailureReasonPtrOutput values. +// You can construct a concrete instance of `GetSqlWarehouseHealthFailureReasonPtrInput` via: // -// GetJobJobSettingsSettingsTriggerFileArrivalArgs{...} +// GetSqlWarehouseHealthFailureReasonArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTriggerFileArrivalPtrInput interface { +type GetSqlWarehouseHealthFailureReasonPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput - ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput + ToGetSqlWarehouseHealthFailureReasonPtrOutput() GetSqlWarehouseHealthFailureReasonPtrOutput + ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(context.Context) GetSqlWarehouseHealthFailureReasonPtrOutput } -type getJobJobSettingsSettingsTriggerFileArrivalPtrType GetJobJobSettingsSettingsTriggerFileArrivalArgs +type getSqlWarehouseHealthFailureReasonPtrType GetSqlWarehouseHealthFailureReasonArgs -func GetJobJobSettingsSettingsTriggerFileArrivalPtr(v *GetJobJobSettingsSettingsTriggerFileArrivalArgs) GetJobJobSettingsSettingsTriggerFileArrivalPtrInput { - return (*getJobJobSettingsSettingsTriggerFileArrivalPtrType)(v) +func GetSqlWarehouseHealthFailureReasonPtr(v *GetSqlWarehouseHealthFailureReasonArgs) GetSqlWarehouseHealthFailureReasonPtrInput { + return (*getSqlWarehouseHealthFailureReasonPtrType)(v) } -func (*getJobJobSettingsSettingsTriggerFileArrivalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() +func (*getSqlWarehouseHealthFailureReasonPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSqlWarehouseHealthFailureReason)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTriggerFileArrivalPtrType) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return i.ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Background()) +func (i *getSqlWarehouseHealthFailureReasonPtrType) ToGetSqlWarehouseHealthFailureReasonPtrOutput() GetSqlWarehouseHealthFailureReasonPtrOutput { + return i.ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTriggerFileArrivalPtrType) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) +func (i *getSqlWarehouseHealthFailureReasonPtrType) ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthFailureReasonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseHealthFailureReasonPtrOutput) } -type GetJobJobSettingsSettingsTriggerFileArrivalOutput struct{ *pulumi.OutputState } +type GetSqlWarehouseHealthFailureReasonOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTriggerFileArrivalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() +func (GetSqlWarehouseHealthFailureReasonOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSqlWarehouseHealthFailureReason)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalOutput() GetJobJobSettingsSettingsTriggerFileArrivalOutput { +func (o GetSqlWarehouseHealthFailureReasonOutput) ToGetSqlWarehouseHealthFailureReasonOutput() GetSqlWarehouseHealthFailureReasonOutput { return o } -func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalOutput { +func (o GetSqlWarehouseHealthFailureReasonOutput) ToGetSqlWarehouseHealthFailureReasonOutputWithContext(ctx context.Context) GetSqlWarehouseHealthFailureReasonOutput { return o } -func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return o.ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Background()) +func (o GetSqlWarehouseHealthFailureReasonOutput) ToGetSqlWarehouseHealthFailureReasonPtrOutput() GetSqlWarehouseHealthFailureReasonPtrOutput { + return o.ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTriggerFileArrival) *GetJobJobSettingsSettingsTriggerFileArrival { +func (o GetSqlWarehouseHealthFailureReasonOutput) ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthFailureReasonPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSqlWarehouseHealthFailureReason) *GetSqlWarehouseHealthFailureReason { return &v - }).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) + }).(GetSqlWarehouseHealthFailureReasonPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerFileArrival) *int { return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) +func (o GetSqlWarehouseHealthFailureReasonOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSqlWarehouseHealthFailureReason) *string { return v.Code }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerFileArrival) string { return v.Url }).(pulumi.StringOutput) +func (o GetSqlWarehouseHealthFailureReasonOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v GetSqlWarehouseHealthFailureReason) map[string]interface{} { return v.Parameters }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerFileArrival) *int { return v.WaitAfterLastChangeSeconds }).(pulumi.IntPtrOutput) +func (o GetSqlWarehouseHealthFailureReasonOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSqlWarehouseHealthFailureReason) *string { return v.Type }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput struct{ *pulumi.OutputState } +type GetSqlWarehouseHealthFailureReasonPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() +func (GetSqlWarehouseHealthFailureReasonPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSqlWarehouseHealthFailureReason)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { +func (o GetSqlWarehouseHealthFailureReasonPtrOutput) ToGetSqlWarehouseHealthFailureReasonPtrOutput() GetSqlWarehouseHealthFailureReasonPtrOutput { return o } -func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { +func (o GetSqlWarehouseHealthFailureReasonPtrOutput) ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthFailureReasonPtrOutput { return o } -func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) Elem() GetJobJobSettingsSettingsTriggerFileArrivalOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) GetJobJobSettingsSettingsTriggerFileArrival { +func (o GetSqlWarehouseHealthFailureReasonPtrOutput) Elem() GetSqlWarehouseHealthFailureReasonOutput { + return o.ApplyT(func(v *GetSqlWarehouseHealthFailureReason) GetSqlWarehouseHealthFailureReason { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTriggerFileArrival + var ret GetSqlWarehouseHealthFailureReason return ret - }).(GetJobJobSettingsSettingsTriggerFileArrivalOutput) + }).(GetSqlWarehouseHealthFailureReasonOutput) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) *int { +func (o GetSqlWarehouseHealthFailureReasonPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSqlWarehouseHealthFailureReason) *string { if v == nil { return nil } - return v.MinTimeBetweenTriggersSeconds - }).(pulumi.IntPtrOutput) + return v.Code + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) *string { +func (o GetSqlWarehouseHealthFailureReasonPtrOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetSqlWarehouseHealthFailureReason) map[string]interface{} { if v == nil { return nil } - return &v.Url - }).(pulumi.StringPtrOutput) + return v.Parameters + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) *int { +func (o GetSqlWarehouseHealthFailureReasonPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSqlWarehouseHealthFailureReason) *string { if v == nil { return nil } - return v.WaitAfterLastChangeSeconds - }).(pulumi.IntPtrOutput) + return v.Type + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTriggerTableUpdate struct { - Condition *string `pulumi:"condition"` - MinTimeBetweenTriggersSeconds *int `pulumi:"minTimeBetweenTriggersSeconds"` - TableNames []string `pulumi:"tableNames"` - WaitAfterLastChangeSeconds *int `pulumi:"waitAfterLastChangeSeconds"` +type GetSqlWarehouseOdbcParams struct { + Hostname *string `pulumi:"hostname"` + Path *string `pulumi:"path"` + Port *int `pulumi:"port"` + Protocol *string `pulumi:"protocol"` } -// GetJobJobSettingsSettingsTriggerTableUpdateInput is an input type that accepts GetJobJobSettingsSettingsTriggerTableUpdateArgs and GetJobJobSettingsSettingsTriggerTableUpdateOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerTableUpdateInput` via: +// GetSqlWarehouseOdbcParamsInput is an input type that accepts GetSqlWarehouseOdbcParamsArgs and GetSqlWarehouseOdbcParamsOutput values. +// You can construct a concrete instance of `GetSqlWarehouseOdbcParamsInput` via: // -// GetJobJobSettingsSettingsTriggerTableUpdateArgs{...} -type GetJobJobSettingsSettingsTriggerTableUpdateInput interface { +// GetSqlWarehouseOdbcParamsArgs{...} +type GetSqlWarehouseOdbcParamsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTriggerTableUpdateOutput() GetJobJobSettingsSettingsTriggerTableUpdateOutput - ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerTableUpdateOutput + ToGetSqlWarehouseOdbcParamsOutput() GetSqlWarehouseOdbcParamsOutput + ToGetSqlWarehouseOdbcParamsOutputWithContext(context.Context) GetSqlWarehouseOdbcParamsOutput } -type GetJobJobSettingsSettingsTriggerTableUpdateArgs struct { - Condition pulumi.StringPtrInput `pulumi:"condition"` - MinTimeBetweenTriggersSeconds pulumi.IntPtrInput `pulumi:"minTimeBetweenTriggersSeconds"` - TableNames pulumi.StringArrayInput `pulumi:"tableNames"` - WaitAfterLastChangeSeconds pulumi.IntPtrInput `pulumi:"waitAfterLastChangeSeconds"` +type GetSqlWarehouseOdbcParamsArgs struct { + Hostname pulumi.StringPtrInput `pulumi:"hostname"` + Path pulumi.StringPtrInput `pulumi:"path"` + Port pulumi.IntPtrInput `pulumi:"port"` + Protocol pulumi.StringPtrInput `pulumi:"protocol"` } -func (GetJobJobSettingsSettingsTriggerTableUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() +func (GetSqlWarehouseOdbcParamsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSqlWarehouseOdbcParams)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdateOutput() GetJobJobSettingsSettingsTriggerTableUpdateOutput { - return i.ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(context.Background()) +func (i GetSqlWarehouseOdbcParamsArgs) ToGetSqlWarehouseOdbcParamsOutput() GetSqlWarehouseOdbcParamsOutput { + return i.ToGetSqlWarehouseOdbcParamsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerTableUpdateOutput) +func (i GetSqlWarehouseOdbcParamsArgs) ToGetSqlWarehouseOdbcParamsOutputWithContext(ctx context.Context) GetSqlWarehouseOdbcParamsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseOdbcParamsOutput) } -func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return i.ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Background()) +func (i GetSqlWarehouseOdbcParamsArgs) ToGetSqlWarehouseOdbcParamsPtrOutput() GetSqlWarehouseOdbcParamsPtrOutput { + return i.ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerTableUpdateOutput).ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx) +func (i GetSqlWarehouseOdbcParamsArgs) ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseOdbcParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseOdbcParamsOutput).ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTriggerTableUpdatePtrInput is an input type that accepts GetJobJobSettingsSettingsTriggerTableUpdateArgs, GetJobJobSettingsSettingsTriggerTableUpdatePtr and GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerTableUpdatePtrInput` via: +// GetSqlWarehouseOdbcParamsPtrInput is an input type that accepts GetSqlWarehouseOdbcParamsArgs, GetSqlWarehouseOdbcParamsPtr and GetSqlWarehouseOdbcParamsPtrOutput values. +// You can construct a concrete instance of `GetSqlWarehouseOdbcParamsPtrInput` via: // -// GetJobJobSettingsSettingsTriggerTableUpdateArgs{...} +// GetSqlWarehouseOdbcParamsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTriggerTableUpdatePtrInput interface { +type GetSqlWarehouseOdbcParamsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput - ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput + ToGetSqlWarehouseOdbcParamsPtrOutput() GetSqlWarehouseOdbcParamsPtrOutput + ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(context.Context) GetSqlWarehouseOdbcParamsPtrOutput } -type getJobJobSettingsSettingsTriggerTableUpdatePtrType GetJobJobSettingsSettingsTriggerTableUpdateArgs +type getSqlWarehouseOdbcParamsPtrType GetSqlWarehouseOdbcParamsArgs -func GetJobJobSettingsSettingsTriggerTableUpdatePtr(v *GetJobJobSettingsSettingsTriggerTableUpdateArgs) GetJobJobSettingsSettingsTriggerTableUpdatePtrInput { - return (*getJobJobSettingsSettingsTriggerTableUpdatePtrType)(v) +func GetSqlWarehouseOdbcParamsPtr(v *GetSqlWarehouseOdbcParamsArgs) GetSqlWarehouseOdbcParamsPtrInput { + return (*getSqlWarehouseOdbcParamsPtrType)(v) } -func (*getJobJobSettingsSettingsTriggerTableUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() +func (*getSqlWarehouseOdbcParamsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSqlWarehouseOdbcParams)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTriggerTableUpdatePtrType) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return i.ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Background()) +func (i *getSqlWarehouseOdbcParamsPtrType) ToGetSqlWarehouseOdbcParamsPtrOutput() GetSqlWarehouseOdbcParamsPtrOutput { + return i.ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTriggerTableUpdatePtrType) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) +func (i *getSqlWarehouseOdbcParamsPtrType) ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseOdbcParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseOdbcParamsPtrOutput) } -type GetJobJobSettingsSettingsTriggerTableUpdateOutput struct{ *pulumi.OutputState } +type GetSqlWarehouseOdbcParamsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTriggerTableUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() +func (GetSqlWarehouseOdbcParamsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSqlWarehouseOdbcParams)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdateOutput() GetJobJobSettingsSettingsTriggerTableUpdateOutput { +func (o GetSqlWarehouseOdbcParamsOutput) ToGetSqlWarehouseOdbcParamsOutput() GetSqlWarehouseOdbcParamsOutput { return o } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdateOutput { +func (o GetSqlWarehouseOdbcParamsOutput) ToGetSqlWarehouseOdbcParamsOutputWithContext(ctx context.Context) GetSqlWarehouseOdbcParamsOutput { return o } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return o.ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Background()) +func (o GetSqlWarehouseOdbcParamsOutput) ToGetSqlWarehouseOdbcParamsPtrOutput() GetSqlWarehouseOdbcParamsPtrOutput { + return o.ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTriggerTableUpdate) *GetJobJobSettingsSettingsTriggerTableUpdate { +func (o GetSqlWarehouseOdbcParamsOutput) ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseOdbcParamsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSqlWarehouseOdbcParams) *GetSqlWarehouseOdbcParams { return &v - }).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) + }).(GetSqlWarehouseOdbcParamsPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) Condition() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) *string { return v.Condition }).(pulumi.StringPtrOutput) +func (o GetSqlWarehouseOdbcParamsOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSqlWarehouseOdbcParams) *string { return v.Hostname }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) *int { return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) +func (o GetSqlWarehouseOdbcParamsOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSqlWarehouseOdbcParams) *string { return v.Path }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) TableNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) []string { return v.TableNames }).(pulumi.StringArrayOutput) +func (o GetSqlWarehouseOdbcParamsOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetSqlWarehouseOdbcParams) *int { return v.Port }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) *int { return v.WaitAfterLastChangeSeconds }).(pulumi.IntPtrOutput) +func (o GetSqlWarehouseOdbcParamsOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSqlWarehouseOdbcParams) *string { return v.Protocol }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput struct{ *pulumi.OutputState } +type GetSqlWarehouseOdbcParamsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() +func (GetSqlWarehouseOdbcParamsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSqlWarehouseOdbcParams)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { +func (o GetSqlWarehouseOdbcParamsPtrOutput) ToGetSqlWarehouseOdbcParamsPtrOutput() GetSqlWarehouseOdbcParamsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { +func (o GetSqlWarehouseOdbcParamsPtrOutput) ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseOdbcParamsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) Elem() GetJobJobSettingsSettingsTriggerTableUpdateOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) GetJobJobSettingsSettingsTriggerTableUpdate { +func (o GetSqlWarehouseOdbcParamsPtrOutput) Elem() GetSqlWarehouseOdbcParamsOutput { + return o.ApplyT(func(v *GetSqlWarehouseOdbcParams) GetSqlWarehouseOdbcParams { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTriggerTableUpdate + var ret GetSqlWarehouseOdbcParams return ret - }).(GetJobJobSettingsSettingsTriggerTableUpdateOutput) + }).(GetSqlWarehouseOdbcParamsOutput) } -func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) Condition() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) *string { +func (o GetSqlWarehouseOdbcParamsPtrOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSqlWarehouseOdbcParams) *string { if v == nil { return nil } - return v.Condition + return v.Hostname }).(pulumi.StringPtrOutput) } - -func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) *int { + +func (o GetSqlWarehouseOdbcParamsPtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSqlWarehouseOdbcParams) *string { if v == nil { return nil } - return v.MinTimeBetweenTriggersSeconds - }).(pulumi.IntPtrOutput) + return v.Path + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) TableNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) []string { +func (o GetSqlWarehouseOdbcParamsPtrOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetSqlWarehouseOdbcParams) *int { if v == nil { return nil } - return v.TableNames - }).(pulumi.StringArrayOutput) + return v.Port + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) *int { +func (o GetSqlWarehouseOdbcParamsPtrOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSqlWarehouseOdbcParams) *string { if v == nil { return nil } - return v.WaitAfterLastChangeSeconds - }).(pulumi.IntPtrOutput) + return v.Protocol + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsWebhookNotifications struct { - OnDurationWarningThresholdExceededs []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures []GetJobJobSettingsSettingsWebhookNotificationsOnFailure `pulumi:"onFailures"` - OnStarts []GetJobJobSettingsSettingsWebhookNotificationsOnStart `pulumi:"onStarts"` - OnSuccesses []GetJobJobSettingsSettingsWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` +type GetSqlWarehouseTags struct { + CustomTags []GetSqlWarehouseTagsCustomTag `pulumi:"customTags"` } -// GetJobJobSettingsSettingsWebhookNotificationsInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsArgs and GetJobJobSettingsSettingsWebhookNotificationsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsInput` via: +// GetSqlWarehouseTagsInput is an input type that accepts GetSqlWarehouseTagsArgs and GetSqlWarehouseTagsOutput values. +// You can construct a concrete instance of `GetSqlWarehouseTagsInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsArgs{...} -type GetJobJobSettingsSettingsWebhookNotificationsInput interface { +// GetSqlWarehouseTagsArgs{...} +type GetSqlWarehouseTagsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOutput() GetJobJobSettingsSettingsWebhookNotificationsOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOutput + ToGetSqlWarehouseTagsOutput() GetSqlWarehouseTagsOutput + ToGetSqlWarehouseTagsOutputWithContext(context.Context) GetSqlWarehouseTagsOutput } -type GetJobJobSettingsSettingsWebhookNotificationsArgs struct { - OnDurationWarningThresholdExceededs GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` - OnStarts GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` - OnSuccesses GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` +type GetSqlWarehouseTagsArgs struct { + CustomTags GetSqlWarehouseTagsCustomTagArrayInput `pulumi:"customTags"` } -func (GetJobJobSettingsSettingsWebhookNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() +func (GetSqlWarehouseTagsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSqlWarehouseTags)(nil)).Elem() } -func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOutput() GetJobJobSettingsSettingsWebhookNotificationsOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(context.Background()) +func (i GetSqlWarehouseTagsArgs) ToGetSqlWarehouseTagsOutput() GetSqlWarehouseTagsOutput { + return i.ToGetSqlWarehouseTagsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOutput) +func (i GetSqlWarehouseTagsArgs) ToGetSqlWarehouseTagsOutputWithContext(ctx context.Context) GetSqlWarehouseTagsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseTagsOutput) } -func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Background()) +func (i GetSqlWarehouseTagsArgs) ToGetSqlWarehouseTagsPtrOutput() GetSqlWarehouseTagsPtrOutput { + return i.ToGetSqlWarehouseTagsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOutput).ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx) +func (i GetSqlWarehouseTagsArgs) ToGetSqlWarehouseTagsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseTagsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseTagsOutput).ToGetSqlWarehouseTagsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsWebhookNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsArgs, GetJobJobSettingsSettingsWebhookNotificationsPtr and GetJobJobSettingsSettingsWebhookNotificationsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsPtrInput` via: +// GetSqlWarehouseTagsPtrInput is an input type that accepts GetSqlWarehouseTagsArgs, GetSqlWarehouseTagsPtr and GetSqlWarehouseTagsPtrOutput values. +// You can construct a concrete instance of `GetSqlWarehouseTagsPtrInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsArgs{...} +// GetSqlWarehouseTagsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsWebhookNotificationsPtrInput interface { +type GetSqlWarehouseTagsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput - ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput + ToGetSqlWarehouseTagsPtrOutput() GetSqlWarehouseTagsPtrOutput + ToGetSqlWarehouseTagsPtrOutputWithContext(context.Context) GetSqlWarehouseTagsPtrOutput } -type getJobJobSettingsSettingsWebhookNotificationsPtrType GetJobJobSettingsSettingsWebhookNotificationsArgs +type getSqlWarehouseTagsPtrType GetSqlWarehouseTagsArgs -func GetJobJobSettingsSettingsWebhookNotificationsPtr(v *GetJobJobSettingsSettingsWebhookNotificationsArgs) GetJobJobSettingsSettingsWebhookNotificationsPtrInput { - return (*getJobJobSettingsSettingsWebhookNotificationsPtrType)(v) +func GetSqlWarehouseTagsPtr(v *GetSqlWarehouseTagsArgs) GetSqlWarehouseTagsPtrInput { + return (*getSqlWarehouseTagsPtrType)(v) } -func (*getJobJobSettingsSettingsWebhookNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() +func (*getSqlWarehouseTagsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSqlWarehouseTags)(nil)).Elem() } -func (i *getJobJobSettingsSettingsWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Background()) +func (i *getSqlWarehouseTagsPtrType) ToGetSqlWarehouseTagsPtrOutput() GetSqlWarehouseTagsPtrOutput { + return i.ToGetSqlWarehouseTagsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) +func (i *getSqlWarehouseTagsPtrType) ToGetSqlWarehouseTagsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseTagsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseTagsPtrOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOutput struct{ *pulumi.OutputState } +type GetSqlWarehouseTagsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsWebhookNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() +func (GetSqlWarehouseTagsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSqlWarehouseTags)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOutput() GetJobJobSettingsSettingsWebhookNotificationsOutput { +func (o GetSqlWarehouseTagsOutput) ToGetSqlWarehouseTagsOutput() GetSqlWarehouseTagsOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOutput { +func (o GetSqlWarehouseTagsOutput) ToGetSqlWarehouseTagsOutputWithContext(ctx context.Context) GetSqlWarehouseTagsOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return o.ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Background()) +func (o GetSqlWarehouseTagsOutput) ToGetSqlWarehouseTagsPtrOutput() GetSqlWarehouseTagsPtrOutput { + return o.ToGetSqlWarehouseTagsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsWebhookNotifications) *GetJobJobSettingsSettingsWebhookNotifications { +func (o GetSqlWarehouseTagsOutput) ToGetSqlWarehouseTagsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseTagsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSqlWarehouseTags) *GetSqlWarehouseTags { return &v - }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) -} - -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded { - return v.OnDurationWarningThresholdExceededs - }).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) -} - -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnFailures() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnFailure { - return v.OnFailures - }).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) -} - -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnStarts() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnStart { - return v.OnStarts - }).(GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) + }).(GetSqlWarehouseTagsPtrOutput) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnSuccesses() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { - return v.OnSuccesses - }).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) +func (o GetSqlWarehouseTagsOutput) CustomTags() GetSqlWarehouseTagsCustomTagArrayOutput { + return o.ApplyT(func(v GetSqlWarehouseTags) []GetSqlWarehouseTagsCustomTag { return v.CustomTags }).(GetSqlWarehouseTagsCustomTagArrayOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } +type GetSqlWarehouseTagsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() +func (GetSqlWarehouseTagsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSqlWarehouseTags)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { +func (o GetSqlWarehouseTagsPtrOutput) ToGetSqlWarehouseTagsPtrOutput() GetSqlWarehouseTagsPtrOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { +func (o GetSqlWarehouseTagsPtrOutput) ToGetSqlWarehouseTagsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseTagsPtrOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsWebhookNotificationsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) GetJobJobSettingsSettingsWebhookNotifications { +func (o GetSqlWarehouseTagsPtrOutput) Elem() GetSqlWarehouseTagsOutput { + return o.ApplyT(func(v *GetSqlWarehouseTags) GetSqlWarehouseTags { if v != nil { return *v } - var ret GetJobJobSettingsSettingsWebhookNotifications + var ret GetSqlWarehouseTags return ret - }).(GetJobJobSettingsSettingsWebhookNotificationsOutput) -} - -func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) -} - -func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnFailures() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnFailure { - if v == nil { - return nil - } - return v.OnFailures - }).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) -} - -func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnStarts() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnStart { - if v == nil { - return nil - } - return v.OnStarts - }).(GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) + }).(GetSqlWarehouseTagsOutput) } -func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnSuccesses() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { +func (o GetSqlWarehouseTagsPtrOutput) CustomTags() GetSqlWarehouseTagsCustomTagArrayOutput { + return o.ApplyT(func(v *GetSqlWarehouseTags) []GetSqlWarehouseTagsCustomTag { if v == nil { return nil } - return v.OnSuccesses - }).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) + return v.CustomTags + }).(GetSqlWarehouseTagsCustomTagArrayOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetSqlWarehouseTagsCustomTag struct { + Key *string `pulumi:"key"` + Value *string `pulumi:"value"` } -// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs and GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput` via: +// GetSqlWarehouseTagsCustomTagInput is an input type that accepts GetSqlWarehouseTagsCustomTagArgs and GetSqlWarehouseTagsCustomTagOutput values. +// You can construct a concrete instance of `GetSqlWarehouseTagsCustomTagInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} -type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput interface { +// GetSqlWarehouseTagsCustomTagArgs{...} +type GetSqlWarehouseTagsCustomTagInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToGetSqlWarehouseTagsCustomTagOutput() GetSqlWarehouseTagsCustomTagOutput + ToGetSqlWarehouseTagsCustomTagOutputWithContext(context.Context) GetSqlWarehouseTagsCustomTagOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetSqlWarehouseTagsCustomTagArgs struct { + Key pulumi.StringPtrInput `pulumi:"key"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (GetSqlWarehouseTagsCustomTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSqlWarehouseTagsCustomTag)(nil)).Elem() } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) +func (i GetSqlWarehouseTagsCustomTagArgs) ToGetSqlWarehouseTagsCustomTagOutput() GetSqlWarehouseTagsCustomTagOutput { + return i.ToGetSqlWarehouseTagsCustomTagOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (i GetSqlWarehouseTagsCustomTagArgs) ToGetSqlWarehouseTagsCustomTagOutputWithContext(ctx context.Context) GetSqlWarehouseTagsCustomTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseTagsCustomTagOutput) } -// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray and GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: +// GetSqlWarehouseTagsCustomTagArrayInput is an input type that accepts GetSqlWarehouseTagsCustomTagArray and GetSqlWarehouseTagsCustomTagArrayOutput values. +// You can construct a concrete instance of `GetSqlWarehouseTagsCustomTagArrayInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray{ GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } -type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { +// GetSqlWarehouseTagsCustomTagArray{ GetSqlWarehouseTagsCustomTagArgs{...} } +type GetSqlWarehouseTagsCustomTagArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput + ToGetSqlWarehouseTagsCustomTagArrayOutput() GetSqlWarehouseTagsCustomTagArrayOutput + ToGetSqlWarehouseTagsCustomTagArrayOutputWithContext(context.Context) GetSqlWarehouseTagsCustomTagArrayOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput +type GetSqlWarehouseTagsCustomTagArray []GetSqlWarehouseTagsCustomTagInput -func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (GetSqlWarehouseTagsCustomTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSqlWarehouseTagsCustomTag)(nil)).Elem() } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) +func (i GetSqlWarehouseTagsCustomTagArray) ToGetSqlWarehouseTagsCustomTagArrayOutput() GetSqlWarehouseTagsCustomTagArrayOutput { + return i.ToGetSqlWarehouseTagsCustomTagArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) +func (i GetSqlWarehouseTagsCustomTagArray) ToGetSqlWarehouseTagsCustomTagArrayOutputWithContext(ctx context.Context) GetSqlWarehouseTagsCustomTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseTagsCustomTagArrayOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } +type GetSqlWarehouseTagsCustomTagOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (GetSqlWarehouseTagsCustomTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSqlWarehouseTagsCustomTag)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { +func (o GetSqlWarehouseTagsCustomTagOutput) ToGetSqlWarehouseTagsCustomTagOutput() GetSqlWarehouseTagsCustomTagOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { +func (o GetSqlWarehouseTagsCustomTagOutput) ToGetSqlWarehouseTagsCustomTagOutputWithContext(ctx context.Context) GetSqlWarehouseTagsCustomTagOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded) string { - return v.Id - }).(pulumi.StringOutput) +func (o GetSqlWarehouseTagsCustomTagOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSqlWarehouseTagsCustomTag) *string { return v.Key }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } +func (o GetSqlWarehouseTagsCustomTagOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSqlWarehouseTagsCustomTag) *string { return v.Value }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +type GetSqlWarehouseTagsCustomTagArrayOutput struct{ *pulumi.OutputState } + +func (GetSqlWarehouseTagsCustomTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSqlWarehouseTagsCustomTag)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +func (o GetSqlWarehouseTagsCustomTagArrayOutput) ToGetSqlWarehouseTagsCustomTagArrayOutput() GetSqlWarehouseTagsCustomTagArrayOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +func (o GetSqlWarehouseTagsCustomTagArrayOutput) ToGetSqlWarehouseTagsCustomTagArrayOutputWithContext(ctx context.Context) GetSqlWarehouseTagsCustomTagArrayOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded { - return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] - }).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (o GetSqlWarehouseTagsCustomTagArrayOutput) Index(i pulumi.IntInput) GetSqlWarehouseTagsCustomTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSqlWarehouseTagsCustomTag { + return vs[0].([]GetSqlWarehouseTagsCustomTag)[vs[1].(int)] + }).(GetSqlWarehouseTagsCustomTagOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnFailure struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +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"` + DatabricksGcpServiceAccount *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount `pulumi:"databricksGcpServiceAccount"` + Id *string `pulumi:"id"` + // Unique identifier of the parent Metastore. + MetastoreId *string `pulumi:"metastoreId"` + // The name of the storage credential + Name *string `pulumi:"name"` + // 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"` + UpdatedBy *string `pulumi:"updatedBy"` + UsedForManagedStorage *bool `pulumi:"usedForManagedStorage"` } -// GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs and GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput` via: +// GetStorageCredentialStorageCredentialInfoInput is an input type that accepts GetStorageCredentialStorageCredentialInfoArgs and GetStorageCredentialStorageCredentialInfoOutput values. +// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs{...} -type GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput interface { +// GetStorageCredentialStorageCredentialInfoArgs{...} +type GetStorageCredentialStorageCredentialInfoInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput + ToGetStorageCredentialStorageCredentialInfoOutput() GetStorageCredentialStorageCredentialInfoOutput + ToGetStorageCredentialStorageCredentialInfoOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +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"` + DatabricksGcpServiceAccount GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrInput `pulumi:"databricksGcpServiceAccount"` + Id pulumi.StringPtrInput `pulumi:"id"` + // Unique identifier of the parent Metastore. + MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` + // The name of the storage credential + Name pulumi.StringPtrInput `pulumi:"name"` + // 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"` + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` + UsedForManagedStorage pulumi.BoolPtrInput `pulumi:"usedForManagedStorage"` } -func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() +func (GetStorageCredentialStorageCredentialInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfo)(nil)).Elem() } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(context.Background()) +func (i GetStorageCredentialStorageCredentialInfoArgs) ToGetStorageCredentialStorageCredentialInfoOutput() GetStorageCredentialStorageCredentialInfoOutput { + return i.ToGetStorageCredentialStorageCredentialInfoOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) +func (i GetStorageCredentialStorageCredentialInfoArgs) ToGetStorageCredentialStorageCredentialInfoOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoOutput) } -// GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray and GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput` via: +func (i GetStorageCredentialStorageCredentialInfoArgs) ToGetStorageCredentialStorageCredentialInfoPtrOutput() GetStorageCredentialStorageCredentialInfoPtrOutput { + return i.ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(context.Background()) +} + +func (i GetStorageCredentialStorageCredentialInfoArgs) ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoOutput).ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(ctx) +} + +// GetStorageCredentialStorageCredentialInfoPtrInput is an input type that accepts GetStorageCredentialStorageCredentialInfoArgs, GetStorageCredentialStorageCredentialInfoPtr and GetStorageCredentialStorageCredentialInfoPtrOutput values. +// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoPtrInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray{ GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs{...} } -type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput interface { +// GetStorageCredentialStorageCredentialInfoArgs{...} +// +// or: +// +// nil +type GetStorageCredentialStorageCredentialInfoPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput + ToGetStorageCredentialStorageCredentialInfoPtrOutput() GetStorageCredentialStorageCredentialInfoPtrOutput + ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoPtrOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray []GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput +type getStorageCredentialStorageCredentialInfoPtrType GetStorageCredentialStorageCredentialInfoArgs -func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() +func GetStorageCredentialStorageCredentialInfoPtr(v *GetStorageCredentialStorageCredentialInfoArgs) GetStorageCredentialStorageCredentialInfoPtrInput { + return (*getStorageCredentialStorageCredentialInfoPtrType)(v) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) +func (*getStorageCredentialStorageCredentialInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfo)(nil)).Elem() } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) +func (i *getStorageCredentialStorageCredentialInfoPtrType) ToGetStorageCredentialStorageCredentialInfoPtrOutput() GetStorageCredentialStorageCredentialInfoPtrOutput { + return i.ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } +func (i *getStorageCredentialStorageCredentialInfoPtrType) ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoPtrOutput) +} -func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() +type GetStorageCredentialStorageCredentialInfoOutput struct{ *pulumi.OutputState } + +func (GetStorageCredentialStorageCredentialInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { +func (o GetStorageCredentialStorageCredentialInfoOutput) ToGetStorageCredentialStorageCredentialInfoOutput() GetStorageCredentialStorageCredentialInfoOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { +func (o GetStorageCredentialStorageCredentialInfoOutput) ToGetStorageCredentialStorageCredentialInfoOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) +func (o GetStorageCredentialStorageCredentialInfoOutput) ToGetStorageCredentialStorageCredentialInfoPtrOutput() GetStorageCredentialStorageCredentialInfoPtrOutput { + return o.ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } +func (o GetStorageCredentialStorageCredentialInfoOutput) ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfo { + return &v + }).(GetStorageCredentialStorageCredentialInfoPtrOutput) +} -func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() +func (o GetStorageCredentialStorageCredentialInfoOutput) AwsIamRole() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAwsIamRole { + return v.AwsIamRole + }).(GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { - return o +func (o GetStorageCredentialStorageCredentialInfoOutput) AzureManagedIdentity() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity { + return v.AzureManagedIdentity + }).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { - return o +func (o GetStorageCredentialStorageCredentialInfoOutput) AzureServicePrincipal() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal { + return v.AzureServicePrincipal + }).(GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnFailure { - return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnFailure)[vs[1].(int)] - }).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) +func (o GetStorageCredentialStorageCredentialInfoOutput) CloudflareApiToken() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoCloudflareApiToken { + return v.CloudflareApiToken + }).(GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnStart struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +func (o GetStorageCredentialStorageCredentialInfoOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsWebhookNotificationsOnStartInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs and GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnStartInput` via: -// -// GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs{...} -type GetJobJobSettingsSettingsWebhookNotificationsOnStartInput interface { - pulumi.Input +func (o GetStorageCredentialStorageCredentialInfoOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) +} + +func (o GetStorageCredentialStorageCredentialInfoOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +} + +func (o GetStorageCredentialStorageCredentialInfoOutput) DatabricksGcpServiceAccount() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount { + return v.DatabricksGcpServiceAccount + }).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) +} + +func (o GetStorageCredentialStorageCredentialInfoOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// Unique identifier of the parent Metastore. +func (o GetStorageCredentialStorageCredentialInfoOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +} + +// The name of the storage credential +func (o GetStorageCredentialStorageCredentialInfoOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Username/groupname/sp applicationId of the storage credential owner. +func (o GetStorageCredentialStorageCredentialInfoOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) +} + +// Indicates whether the storage credential is only usable for read operations. +func (o GetStorageCredentialStorageCredentialInfoOutput) ReadOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *bool { return v.ReadOnly }).(pulumi.BoolPtrOutput) +} + +func (o GetStorageCredentialStorageCredentialInfoOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +} + +func (o GetStorageCredentialStorageCredentialInfoOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput +func (o GetStorageCredentialStorageCredentialInfoOutput) UsedForManagedStorage() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *bool { return v.UsedForManagedStorage }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetStorageCredentialStorageCredentialInfoPtrOutput struct{ *pulumi.OutputState } + +func (GetStorageCredentialStorageCredentialInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfo)(nil)).Elem() } -func (GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) ToGetStorageCredentialStorageCredentialInfoPtrOutput() GetStorageCredentialStorageCredentialInfoPtrOutput { + return o } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(context.Background()) +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoPtrOutput { + return o } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) Elem() GetStorageCredentialStorageCredentialInfoOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) GetStorageCredentialStorageCredentialInfo { + if v != nil { + return *v + } + var ret GetStorageCredentialStorageCredentialInfo + return ret + }).(GetStorageCredentialStorageCredentialInfoOutput) } -// GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnStartArray and GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput` via: -// -// GetJobJobSettingsSettingsWebhookNotificationsOnStartArray{ GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs{...} } -type GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput interface { - pulumi.Input +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) AwsIamRole() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAwsIamRole { + if v == nil { + return nil + } + return v.AwsIamRole + }).(GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) +} - ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) AzureManagedIdentity() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity { + if v == nil { + return nil + } + return v.AzureManagedIdentity + }).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnStartArray []GetJobJobSettingsSettingsWebhookNotificationsOnStartInput +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) AzureServicePrincipal() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal { + if v == nil { + return nil + } + return v.AzureServicePrincipal + }).(GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) +} -func (GetJobJobSettingsSettingsWebhookNotificationsOnStartArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) CloudflareApiToken() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoCloudflareApiToken { + if v == nil { + return nil + } + return v.CloudflareApiToken + }).(GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { + if v == nil { + return nil + } + return v.Comment + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *int { + if v == nil { + return nil + } + return v.CreatedAt + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) DatabricksGcpServiceAccount() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount { + if v == nil { + return nil + } + return v.DatabricksGcpServiceAccount + }).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { - return o +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { + if v == nil { + return nil + } + return v.Id + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { - return o +// Unique identifier of the parent Metastore. +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { + if v == nil { + return nil + } + return v.MetastoreId + }).(pulumi.StringPtrOutput) } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) +// The name of the storage credential +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } +// Username/groupname/sp applicationId of the storage credential owner. +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { + if v == nil { + return nil + } + return v.Owner + }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() +// Indicates whether the storage credential is only usable for read operations. +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) ReadOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *bool { + if v == nil { + return nil + } + return v.ReadOnly + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { - return o +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *int { + if v == nil { + return nil + } + return v.UpdatedAt + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { - return o +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { + if v == nil { + return nil + } + return v.UpdatedBy + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnStart { - return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnStart)[vs[1].(int)] - }).(GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) +func (o GetStorageCredentialStorageCredentialInfoPtrOutput) UsedForManagedStorage() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *bool { + if v == nil { + return nil + } + return v.UsedForManagedStorage + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnSuccess struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetStorageCredentialStorageCredentialInfoAwsIamRole struct { + // (output only) - The external ID used in role assumption to prevent confused deputy problem. + ExternalId *string `pulumi:"externalId"` + // The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + RoleArn string `pulumi:"roleArn"` + // (output only) - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. + UnityCatalogIamArn *string `pulumi:"unityCatalogIamArn"` } -// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs and GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput` via: +// GetStorageCredentialStorageCredentialInfoAwsIamRoleInput is an input type that accepts GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs and GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput values. +// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoAwsIamRoleInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs{...} -type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput interface { +// GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs{...} +type GetStorageCredentialStorageCredentialInfoAwsIamRoleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput + ToGetStorageCredentialStorageCredentialInfoAwsIamRoleOutput() GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput + ToGetStorageCredentialStorageCredentialInfoAwsIamRoleOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs struct { + // (output only) - The external ID used in role assumption to prevent confused deputy problem. + ExternalId pulumi.StringPtrInput `pulumi:"externalId"` + // The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + RoleArn pulumi.StringInput `pulumi:"roleArn"` + // (output only) - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. + UnityCatalogIamArn pulumi.StringPtrInput `pulumi:"unityCatalogIamArn"` } -func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() +func (GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoAwsIamRole)(nil)).Elem() } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(context.Background()) +func (i GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs) ToGetStorageCredentialStorageCredentialInfoAwsIamRoleOutput() GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput { + return i.ToGetStorageCredentialStorageCredentialInfoAwsIamRoleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) +func (i GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs) ToGetStorageCredentialStorageCredentialInfoAwsIamRoleOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) } -// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray and GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput` via: -// -// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray{ GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs{...} } -type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput +func (i GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { + return i.ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray []GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput - -func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() +func (i GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput).ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(ctx) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) -} +// GetStorageCredentialStorageCredentialInfoAwsIamRolePtrInput is an input type that accepts GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs, GetStorageCredentialStorageCredentialInfoAwsIamRolePtr and GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput values. +// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoAwsIamRolePtrInput` via: +// +// GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs{...} +// +// or: +// +// nil +type GetStorageCredentialStorageCredentialInfoAwsIamRolePtrInput interface { + pulumi.Input -func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) + ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput + ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } +type getStorageCredentialStorageCredentialInfoAwsIamRolePtrType GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs -func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() +func GetStorageCredentialStorageCredentialInfoAwsIamRolePtr(v *GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs) GetStorageCredentialStorageCredentialInfoAwsIamRolePtrInput { + return (*getStorageCredentialStorageCredentialInfoAwsIamRolePtrType)(v) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { - return o +func (*getStorageCredentialStorageCredentialInfoAwsIamRolePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoAwsIamRole)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { - return o +func (i *getStorageCredentialStorageCredentialInfoAwsIamRolePtrType) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { + return i.ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(context.Background()) } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) +func (i *getStorageCredentialStorageCredentialInfoAwsIamRolePtrType) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } +type GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() +func (GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoAwsIamRole)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { +func (o GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) ToGetStorageCredentialStorageCredentialInfoAwsIamRoleOutput() GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { +func (o GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) ToGetStorageCredentialStorageCredentialInfoAwsIamRoleOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { - return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)[vs[1].(int)] - }).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) +func (o GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { + return o.ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(context.Background()) } -type GetMetastoreMetastoreInfo struct { - Cloud *string `pulumi:"cloud"` - CreatedAt *int `pulumi:"createdAt"` - CreatedBy *string `pulumi:"createdBy"` - DefaultDataAccessConfigId *string `pulumi:"defaultDataAccessConfigId"` - // The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. - DeltaSharingOrganizationName *string `pulumi:"deltaSharingOrganizationName"` - // Used to set expiration duration in seconds on recipient data access tokens. - DeltaSharingRecipientTokenLifetimeInSeconds *int `pulumi:"deltaSharingRecipientTokenLifetimeInSeconds"` - // Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. - DeltaSharingScope *string `pulumi:"deltaSharingScope"` - GlobalMetastoreId *string `pulumi:"globalMetastoreId"` - // ID of the metastore - MetastoreId *string `pulumi:"metastoreId"` - // Name of the metastore - Name *string `pulumi:"name"` - // Username/groupname/sp applicationId of the metastore owner. - Owner *string `pulumi:"owner"` - PrivilegeModelVersion *string `pulumi:"privilegeModelVersion"` - // Region of the metastore - Region *string `pulumi:"region"` - // Path on cloud storage account, where managed `Table` are stored. - StorageRoot *string `pulumi:"storageRoot"` - StorageRootCredentialId *string `pulumi:"storageRootCredentialId"` - StorageRootCredentialName *string `pulumi:"storageRootCredentialName"` - UpdatedAt *int `pulumi:"updatedAt"` - UpdatedBy *string `pulumi:"updatedBy"` +func (o GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetStorageCredentialStorageCredentialInfoAwsIamRole) *GetStorageCredentialStorageCredentialInfoAwsIamRole { + return &v + }).(GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) } -// GetMetastoreMetastoreInfoInput is an input type that accepts GetMetastoreMetastoreInfoArgs and GetMetastoreMetastoreInfoOutput values. -// You can construct a concrete instance of `GetMetastoreMetastoreInfoInput` via: -// -// GetMetastoreMetastoreInfoArgs{...} -type GetMetastoreMetastoreInfoInput interface { - pulumi.Input - - ToGetMetastoreMetastoreInfoOutput() GetMetastoreMetastoreInfoOutput - ToGetMetastoreMetastoreInfoOutputWithContext(context.Context) GetMetastoreMetastoreInfoOutput +// (output only) - The external ID used in role assumption to prevent confused deputy problem. +func (o GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAwsIamRole) *string { return v.ExternalId }).(pulumi.StringPtrOutput) } -type GetMetastoreMetastoreInfoArgs struct { - Cloud pulumi.StringPtrInput `pulumi:"cloud"` - CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` - DefaultDataAccessConfigId pulumi.StringPtrInput `pulumi:"defaultDataAccessConfigId"` - // The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. - DeltaSharingOrganizationName pulumi.StringPtrInput `pulumi:"deltaSharingOrganizationName"` - // Used to set expiration duration in seconds on recipient data access tokens. - DeltaSharingRecipientTokenLifetimeInSeconds pulumi.IntPtrInput `pulumi:"deltaSharingRecipientTokenLifetimeInSeconds"` - // Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. - DeltaSharingScope pulumi.StringPtrInput `pulumi:"deltaSharingScope"` - GlobalMetastoreId pulumi.StringPtrInput `pulumi:"globalMetastoreId"` - // ID of the metastore - MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` - // Name of the metastore - Name pulumi.StringPtrInput `pulumi:"name"` - // Username/groupname/sp applicationId of the metastore owner. - Owner pulumi.StringPtrInput `pulumi:"owner"` - PrivilegeModelVersion pulumi.StringPtrInput `pulumi:"privilegeModelVersion"` - // Region of the metastore - Region pulumi.StringPtrInput `pulumi:"region"` - // Path on cloud storage account, where managed `Table` are stored. - StorageRoot pulumi.StringPtrInput `pulumi:"storageRoot"` - StorageRootCredentialId pulumi.StringPtrInput `pulumi:"storageRootCredentialId"` - StorageRootCredentialName pulumi.StringPtrInput `pulumi:"storageRootCredentialName"` - UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` +// The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` +func (o GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) RoleArn() pulumi.StringOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAwsIamRole) string { return v.RoleArn }).(pulumi.StringOutput) } -func (GetMetastoreMetastoreInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetastoreMetastoreInfo)(nil)).Elem() +// (output only) - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. +func (o GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAwsIamRole) *string { return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) } -func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoOutput() GetMetastoreMetastoreInfoOutput { - return i.ToGetMetastoreMetastoreInfoOutputWithContext(context.Background()) -} +type GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput struct{ *pulumi.OutputState } -func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetastoreMetastoreInfoOutput) +func (GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoAwsIamRole)(nil)).Elem() } -func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { - return i.ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +func (o GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { + return o } -func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetastoreMetastoreInfoOutput).ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx) +func (o GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { + return o } -// GetMetastoreMetastoreInfoPtrInput is an input type that accepts GetMetastoreMetastoreInfoArgs, GetMetastoreMetastoreInfoPtr and GetMetastoreMetastoreInfoPtrOutput values. -// You can construct a concrete instance of `GetMetastoreMetastoreInfoPtrInput` via: -// -// GetMetastoreMetastoreInfoArgs{...} -// -// or: -// -// nil -type GetMetastoreMetastoreInfoPtrInput interface { - pulumi.Input - - ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput - ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Context) GetMetastoreMetastoreInfoPtrOutput +func (o GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) Elem() GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAwsIamRole) GetStorageCredentialStorageCredentialInfoAwsIamRole { + if v != nil { + return *v + } + var ret GetStorageCredentialStorageCredentialInfoAwsIamRole + return ret + }).(GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) } -type getMetastoreMetastoreInfoPtrType GetMetastoreMetastoreInfoArgs - -func GetMetastoreMetastoreInfoPtr(v *GetMetastoreMetastoreInfoArgs) GetMetastoreMetastoreInfoPtrInput { - return (*getMetastoreMetastoreInfoPtrType)(v) +// (output only) - The external ID used in role assumption to prevent confused deputy problem. +func (o GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAwsIamRole) *string { + if v == nil { + return nil + } + return v.ExternalId + }).(pulumi.StringPtrOutput) } -func (*getMetastoreMetastoreInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetMetastoreMetastoreInfo)(nil)).Elem() +// The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` +func (o GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) RoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAwsIamRole) *string { + if v == nil { + return nil + } + return &v.RoleArn + }).(pulumi.StringPtrOutput) } -func (i *getMetastoreMetastoreInfoPtrType) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { - return i.ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +// (output only) - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. +func (o GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAwsIamRole) *string { + if v == nil { + return nil + } + return v.UnityCatalogIamArn + }).(pulumi.StringPtrOutput) } -func (i *getMetastoreMetastoreInfoPtrType) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetastoreMetastoreInfoPtrOutput) +type GetStorageCredentialStorageCredentialInfoAzureManagedIdentity 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`. + ManagedIdentityId *string `pulumi:"managedIdentityId"` } -type GetMetastoreMetastoreInfoOutput struct{ *pulumi.OutputState } +// GetStorageCredentialStorageCredentialInfoAzureManagedIdentityInput is an input type that accepts GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs and GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput values. +// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoAzureManagedIdentityInput` via: +// +// GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs{...} +type GetStorageCredentialStorageCredentialInfoAzureManagedIdentityInput interface { + pulumi.Input -func (GetMetastoreMetastoreInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetastoreMetastoreInfo)(nil)).Elem() + ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput + ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput } -func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoOutput() GetMetastoreMetastoreInfoOutput { - return o +type GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs 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`. + ManagedIdentityId pulumi.StringPtrInput `pulumi:"managedIdentityId"` } -func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoOutput { - return o +func (GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoAzureManagedIdentity)(nil)).Elem() } -func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { - return o.ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +func (i GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput { + return i.ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutputWithContext(context.Background()) } -func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetMetastoreMetastoreInfo) *GetMetastoreMetastoreInfo { - return &v - }).(GetMetastoreMetastoreInfoPtrOutput) +func (i GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) } -func (o GetMetastoreMetastoreInfoOutput) Cloud() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Cloud }).(pulumi.StringPtrOutput) +func (i GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { + return i.ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (o GetMetastoreMetastoreInfoOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) +func (i GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput).ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(ctx) } -func (o GetMetastoreMetastoreInfoOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) -} +// GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrInput is an input type that accepts GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs, GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtr and GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput values. +// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrInput` via: +// +// GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs{...} +// +// or: +// +// nil +type GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrInput interface { + pulumi.Input -func (o GetMetastoreMetastoreInfoOutput) DefaultDataAccessConfigId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.DefaultDataAccessConfigId }).(pulumi.StringPtrOutput) + ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput + ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput } -// The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. -func (o GetMetastoreMetastoreInfoOutput) DeltaSharingOrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.DeltaSharingOrganizationName }).(pulumi.StringPtrOutput) -} +type getStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrType GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs -// Used to set expiration duration in seconds on recipient data access tokens. -func (o GetMetastoreMetastoreInfoOutput) DeltaSharingRecipientTokenLifetimeInSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *int { return v.DeltaSharingRecipientTokenLifetimeInSeconds }).(pulumi.IntPtrOutput) +func GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtr(v *GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrInput { + return (*getStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrType)(v) } -// Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. -func (o GetMetastoreMetastoreInfoOutput) DeltaSharingScope() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.DeltaSharingScope }).(pulumi.StringPtrOutput) +func (*getStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoAzureManagedIdentity)(nil)).Elem() } -func (o GetMetastoreMetastoreInfoOutput) GlobalMetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.GlobalMetastoreId }).(pulumi.StringPtrOutput) +func (i *getStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrType) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { + return i.ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(context.Background()) } -// ID of the metastore -func (o GetMetastoreMetastoreInfoOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +func (i *getStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrType) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) } -// Name of the metastore -func (o GetMetastoreMetastoreInfoOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Name }).(pulumi.StringPtrOutput) -} +type GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput struct{ *pulumi.OutputState } -// Username/groupname/sp applicationId of the metastore owner. -func (o GetMetastoreMetastoreInfoOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) +func (GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoAzureManagedIdentity)(nil)).Elem() } -func (o GetMetastoreMetastoreInfoOutput) PrivilegeModelVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.PrivilegeModelVersion }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput { + return o } -// Region of the metastore -func (o GetMetastoreMetastoreInfoOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput { + return o } -// Path on cloud storage account, where managed `Table` are stored. -func (o GetMetastoreMetastoreInfoOutput) StorageRoot() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.StorageRoot }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { + return o.ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (o GetMetastoreMetastoreInfoOutput) StorageRootCredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.StorageRootCredentialId }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity { + return &v + }).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) } -func (o GetMetastoreMetastoreInfoOutput) StorageRootCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.StorageRootCredentialName }).(pulumi.StringPtrOutput) +// 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 GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) AccessConnectorId() pulumi.StringOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) string { + return v.AccessConnectorId + }).(pulumi.StringOutput) } -func (o GetMetastoreMetastoreInfoOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) *string { return v.CredentialId }).(pulumi.StringPtrOutput) } -func (o GetMetastoreMetastoreInfoOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.UpdatedBy }).(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`. +func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) ManagedIdentityId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) *string { + return v.ManagedIdentityId + }).(pulumi.StringPtrOutput) } -type GetMetastoreMetastoreInfoPtrOutput struct{ *pulumi.OutputState } +type GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput struct{ *pulumi.OutputState } -func (GetMetastoreMetastoreInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetMetastoreMetastoreInfo)(nil)).Elem() +func (GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoAzureManagedIdentity)(nil)).Elem() } -func (o GetMetastoreMetastoreInfoPtrOutput) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { +func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { return o } -func (o GetMetastoreMetastoreInfoPtrOutput) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { +func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { return o } -func (o GetMetastoreMetastoreInfoPtrOutput) Elem() GetMetastoreMetastoreInfoOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) GetMetastoreMetastoreInfo { +func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) Elem() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) GetStorageCredentialStorageCredentialInfoAzureManagedIdentity { if v != nil { return *v } - var ret GetMetastoreMetastoreInfo + var ret GetStorageCredentialStorageCredentialInfoAzureManagedIdentity return ret - }).(GetMetastoreMetastoreInfoOutput) + }).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) } -func (o GetMetastoreMetastoreInfoPtrOutput) Cloud() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { +// The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. +func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) AccessConnectorId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) *string { if v == nil { return nil } - return v.Cloud + return &v.AccessConnectorId }).(pulumi.StringPtrOutput) } -func (o GetMetastoreMetastoreInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *int { +func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) *string { if v == nil { return nil } - return v.CreatedAt - }).(pulumi.IntPtrOutput) + return v.CredentialId + }).(pulumi.StringPtrOutput) } -func (o GetMetastoreMetastoreInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { +// The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. +func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) ManagedIdentityId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) *string { if v == nil { return nil } - return v.CreatedBy + return v.ManagedIdentityId }).(pulumi.StringPtrOutput) } -func (o GetMetastoreMetastoreInfoPtrOutput) DefaultDataAccessConfigId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.DefaultDataAccessConfigId - }).(pulumi.StringPtrOutput) +type GetStorageCredentialStorageCredentialInfoAzureServicePrincipal struct { + // The application ID of the application registration within the referenced AAD tenant + ApplicationId string `pulumi:"applicationId"` + ClientSecret string `pulumi:"clientSecret"` + // The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + DirectoryId string `pulumi:"directoryId"` } -// The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. -func (o GetMetastoreMetastoreInfoPtrOutput) DeltaSharingOrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.DeltaSharingOrganizationName - }).(pulumi.StringPtrOutput) +// GetStorageCredentialStorageCredentialInfoAzureServicePrincipalInput is an input type that accepts GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs and GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput values. +// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoAzureServicePrincipalInput` via: +// +// GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs{...} +type GetStorageCredentialStorageCredentialInfoAzureServicePrincipalInput interface { + pulumi.Input + + ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput + ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput } -// Used to set expiration duration in seconds on recipient data access tokens. -func (o GetMetastoreMetastoreInfoPtrOutput) DeltaSharingRecipientTokenLifetimeInSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *int { - if v == nil { - return nil - } - return v.DeltaSharingRecipientTokenLifetimeInSeconds - }).(pulumi.IntPtrOutput) +type GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs struct { + // The application ID of the application registration within the referenced AAD tenant + ApplicationId pulumi.StringInput `pulumi:"applicationId"` + ClientSecret pulumi.StringInput `pulumi:"clientSecret"` + // The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + DirectoryId pulumi.StringInput `pulumi:"directoryId"` } -// Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. -func (o GetMetastoreMetastoreInfoPtrOutput) DeltaSharingScope() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.DeltaSharingScope - }).(pulumi.StringPtrOutput) +func (GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoAzureServicePrincipal)(nil)).Elem() } -func (o GetMetastoreMetastoreInfoPtrOutput) GlobalMetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.GlobalMetastoreId - }).(pulumi.StringPtrOutput) +func (i GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput { + return i.ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutputWithContext(context.Background()) } -// ID of the metastore -func (o GetMetastoreMetastoreInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.MetastoreId - }).(pulumi.StringPtrOutput) +func (i GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) +} + +func (i GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { + return i.ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(context.Background()) +} + +func (i GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput).ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(ctx) +} + +// GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrInput is an input type that accepts GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs, GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtr and GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput values. +// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrInput` via: +// +// GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs{...} +// +// or: +// +// nil +type GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrInput interface { + pulumi.Input + + ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput + ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput +} + +type getStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrType GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs + +func GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtr(v *GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrInput { + return (*getStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrType)(v) +} + +func (*getStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoAzureServicePrincipal)(nil)).Elem() +} + +func (i *getStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrType) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { + return i.ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(context.Background()) +} + +func (i *getStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrType) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) +} + +type GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput struct{ *pulumi.OutputState } + +func (GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoAzureServicePrincipal)(nil)).Elem() +} + +func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput { + return o +} + +func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput { + return o +} + +func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { + return o.ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(context.Background()) +} + +func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal { + return &v + }).(GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) +} + +// The application ID of the application registration within the referenced AAD tenant +func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) ApplicationId() pulumi.StringOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) string { return v.ApplicationId }).(pulumi.StringOutput) } -// Name of the metastore -func (o GetMetastoreMetastoreInfoPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) ClientSecret() pulumi.StringOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) string { return v.ClientSecret }).(pulumi.StringOutput) } -// Username/groupname/sp applicationId of the metastore owner. -func (o GetMetastoreMetastoreInfoPtrOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.Owner - }).(pulumi.StringPtrOutput) +// The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application +func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) DirectoryId() pulumi.StringOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) string { return v.DirectoryId }).(pulumi.StringOutput) } -func (o GetMetastoreMetastoreInfoPtrOutput) PrivilegeModelVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.PrivilegeModelVersion - }).(pulumi.StringPtrOutput) +type GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput struct{ *pulumi.OutputState } + +func (GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoAzureServicePrincipal)(nil)).Elem() } -// Region of the metastore -func (o GetMetastoreMetastoreInfoPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { + return o } -// Path on cloud storage account, where managed `Table` are stored. -func (o GetMetastoreMetastoreInfoPtrOutput) StorageRoot() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.StorageRoot - }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { + return o } -func (o GetMetastoreMetastoreInfoPtrOutput) StorageRootCredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil +func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) Elem() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) GetStorageCredentialStorageCredentialInfoAzureServicePrincipal { + if v != nil { + return *v } - return v.StorageRootCredentialId - }).(pulumi.StringPtrOutput) + var ret GetStorageCredentialStorageCredentialInfoAzureServicePrincipal + return ret + }).(GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) } -func (o GetMetastoreMetastoreInfoPtrOutput) StorageRootCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { +// The application ID of the application registration within the referenced AAD tenant +func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) ApplicationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) *string { if v == nil { return nil } - return v.StorageRootCredentialName + return &v.ApplicationId }).(pulumi.StringPtrOutput) } -func (o GetMetastoreMetastoreInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *int { +func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) ClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) *string { if v == nil { return nil } - return v.UpdatedAt - }).(pulumi.IntPtrOutput) + return &v.ClientSecret + }).(pulumi.StringPtrOutput) } -func (o GetMetastoreMetastoreInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { +// The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application +func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) DirectoryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) *string { if v == nil { return nil } - return v.UpdatedBy + return &v.DirectoryId }).(pulumi.StringPtrOutput) } -type GetMlflowModelLatestVersion struct { - CreationTimestamp *int `pulumi:"creationTimestamp"` - CurrentStage *string `pulumi:"currentStage"` - // User-specified description for the object. - Description *string `pulumi:"description"` - LastUpdatedTimestamp *int `pulumi:"lastUpdatedTimestamp"` - // Name of the registered model. - Name *string `pulumi:"name"` - RunId *string `pulumi:"runId"` - RunLink *string `pulumi:"runLink"` - Source *string `pulumi:"source"` - Status *string `pulumi:"status"` - StatusMessage *string `pulumi:"statusMessage"` - // Array of tags associated with the model. - Tags []GetMlflowModelLatestVersionTag `pulumi:"tags"` - // The username of the user that created the object. - UserId *string `pulumi:"userId"` - Version *string `pulumi:"version"` +type GetStorageCredentialStorageCredentialInfoCloudflareApiToken struct { + AccessKeyId string `pulumi:"accessKeyId"` + AccountId string `pulumi:"accountId"` + SecretAccessKey string `pulumi:"secretAccessKey"` } -// GetMlflowModelLatestVersionInput is an input type that accepts GetMlflowModelLatestVersionArgs and GetMlflowModelLatestVersionOutput values. -// You can construct a concrete instance of `GetMlflowModelLatestVersionInput` via: +// GetStorageCredentialStorageCredentialInfoCloudflareApiTokenInput is an input type that accepts GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs and GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput values. +// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoCloudflareApiTokenInput` via: // -// GetMlflowModelLatestVersionArgs{...} -type GetMlflowModelLatestVersionInput interface { +// GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs{...} +type GetStorageCredentialStorageCredentialInfoCloudflareApiTokenInput interface { pulumi.Input - ToGetMlflowModelLatestVersionOutput() GetMlflowModelLatestVersionOutput - ToGetMlflowModelLatestVersionOutputWithContext(context.Context) GetMlflowModelLatestVersionOutput + ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput + ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput } -type GetMlflowModelLatestVersionArgs struct { - CreationTimestamp pulumi.IntPtrInput `pulumi:"creationTimestamp"` - CurrentStage pulumi.StringPtrInput `pulumi:"currentStage"` - // User-specified description for the object. - Description pulumi.StringPtrInput `pulumi:"description"` - LastUpdatedTimestamp pulumi.IntPtrInput `pulumi:"lastUpdatedTimestamp"` - // Name of the registered model. - Name pulumi.StringPtrInput `pulumi:"name"` - RunId pulumi.StringPtrInput `pulumi:"runId"` - RunLink pulumi.StringPtrInput `pulumi:"runLink"` - Source pulumi.StringPtrInput `pulumi:"source"` - Status pulumi.StringPtrInput `pulumi:"status"` - StatusMessage pulumi.StringPtrInput `pulumi:"statusMessage"` - // Array of tags associated with the model. - Tags GetMlflowModelLatestVersionTagArrayInput `pulumi:"tags"` - // The username of the user that created the object. - UserId pulumi.StringPtrInput `pulumi:"userId"` - Version pulumi.StringPtrInput `pulumi:"version"` +type GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs struct { + AccessKeyId pulumi.StringInput `pulumi:"accessKeyId"` + AccountId pulumi.StringInput `pulumi:"accountId"` + SecretAccessKey pulumi.StringInput `pulumi:"secretAccessKey"` } -func (GetMlflowModelLatestVersionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMlflowModelLatestVersion)(nil)).Elem() +func (GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoCloudflareApiToken)(nil)).Elem() } -func (i GetMlflowModelLatestVersionArgs) ToGetMlflowModelLatestVersionOutput() GetMlflowModelLatestVersionOutput { - return i.ToGetMlflowModelLatestVersionOutputWithContext(context.Background()) +func (i GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput { + return i.ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutputWithContext(context.Background()) } -func (i GetMlflowModelLatestVersionArgs) ToGetMlflowModelLatestVersionOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionOutput) +func (i GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) } -// GetMlflowModelLatestVersionArrayInput is an input type that accepts GetMlflowModelLatestVersionArray and GetMlflowModelLatestVersionArrayOutput values. -// You can construct a concrete instance of `GetMlflowModelLatestVersionArrayInput` via: -// -// GetMlflowModelLatestVersionArray{ GetMlflowModelLatestVersionArgs{...} } -type GetMlflowModelLatestVersionArrayInput interface { - pulumi.Input - - ToGetMlflowModelLatestVersionArrayOutput() GetMlflowModelLatestVersionArrayOutput - ToGetMlflowModelLatestVersionArrayOutputWithContext(context.Context) GetMlflowModelLatestVersionArrayOutput +func (i GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { + return i.ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(context.Background()) } -type GetMlflowModelLatestVersionArray []GetMlflowModelLatestVersionInput - -func (GetMlflowModelLatestVersionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMlflowModelLatestVersion)(nil)).Elem() +func (i GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput).ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(ctx) } -func (i GetMlflowModelLatestVersionArray) ToGetMlflowModelLatestVersionArrayOutput() GetMlflowModelLatestVersionArrayOutput { - return i.ToGetMlflowModelLatestVersionArrayOutputWithContext(context.Background()) -} +// GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrInput is an input type that accepts GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs, GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtr and GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput values. +// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrInput` via: +// +// GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs{...} +// +// or: +// +// nil +type GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrInput interface { + pulumi.Input -func (i GetMlflowModelLatestVersionArray) ToGetMlflowModelLatestVersionArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionArrayOutput) + ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput + ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput } -type GetMlflowModelLatestVersionOutput struct{ *pulumi.OutputState } +type getStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrType GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs -func (GetMlflowModelLatestVersionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMlflowModelLatestVersion)(nil)).Elem() +func GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtr(v *GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrInput { + return (*getStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrType)(v) } -func (o GetMlflowModelLatestVersionOutput) ToGetMlflowModelLatestVersionOutput() GetMlflowModelLatestVersionOutput { - return o +func (*getStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoCloudflareApiToken)(nil)).Elem() } -func (o GetMlflowModelLatestVersionOutput) ToGetMlflowModelLatestVersionOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionOutput { - return o +func (i *getStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrType) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { + return i.ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(context.Background()) } -func (o GetMlflowModelLatestVersionOutput) CreationTimestamp() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *int { return v.CreationTimestamp }).(pulumi.IntPtrOutput) +func (i *getStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrType) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) } -func (o GetMlflowModelLatestVersionOutput) CurrentStage() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.CurrentStage }).(pulumi.StringPtrOutput) -} +type GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput struct{ *pulumi.OutputState } -// User-specified description for the object. -func (o GetMlflowModelLatestVersionOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Description }).(pulumi.StringPtrOutput) +func (GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoCloudflareApiToken)(nil)).Elem() } -func (o GetMlflowModelLatestVersionOutput) LastUpdatedTimestamp() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *int { return v.LastUpdatedTimestamp }).(pulumi.IntPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput { + return o } -// Name of the registered model. -func (o GetMlflowModelLatestVersionOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput { + return o } -func (o GetMlflowModelLatestVersionOutput) RunId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.RunId }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { + return o.ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(context.Background()) } -func (o GetMlflowModelLatestVersionOutput) RunLink() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.RunLink }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetStorageCredentialStorageCredentialInfoCloudflareApiToken) *GetStorageCredentialStorageCredentialInfoCloudflareApiToken { + return &v + }).(GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) } -func (o GetMlflowModelLatestVersionOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) AccessKeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoCloudflareApiToken) string { return v.AccessKeyId }).(pulumi.StringOutput) } -func (o GetMlflowModelLatestVersionOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Status }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) AccountId() pulumi.StringOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoCloudflareApiToken) string { return v.AccountId }).(pulumi.StringOutput) } -func (o GetMlflowModelLatestVersionOutput) StatusMessage() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.StatusMessage }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) SecretAccessKey() pulumi.StringOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoCloudflareApiToken) string { return v.SecretAccessKey }).(pulumi.StringOutput) } -// Array of tags associated with the model. -func (o GetMlflowModelLatestVersionOutput) Tags() GetMlflowModelLatestVersionTagArrayOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) []GetMlflowModelLatestVersionTag { return v.Tags }).(GetMlflowModelLatestVersionTagArrayOutput) -} +type GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput struct{ *pulumi.OutputState } -// The username of the user that created the object. -func (o GetMlflowModelLatestVersionOutput) UserId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.UserId }).(pulumi.StringPtrOutput) +func (GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoCloudflareApiToken)(nil)).Elem() } -func (o GetMlflowModelLatestVersionOutput) Version() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Version }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { + return o } -type GetMlflowModelLatestVersionArrayOutput struct{ *pulumi.OutputState } +func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { + return o +} -func (GetMlflowModelLatestVersionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMlflowModelLatestVersion)(nil)).Elem() +func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) Elem() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoCloudflareApiToken) GetStorageCredentialStorageCredentialInfoCloudflareApiToken { + if v != nil { + return *v + } + var ret GetStorageCredentialStorageCredentialInfoCloudflareApiToken + return ret + }).(GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) } -func (o GetMlflowModelLatestVersionArrayOutput) ToGetMlflowModelLatestVersionArrayOutput() GetMlflowModelLatestVersionArrayOutput { - return o +func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) AccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoCloudflareApiToken) *string { + if v == nil { + return nil + } + return &v.AccessKeyId + }).(pulumi.StringPtrOutput) } -func (o GetMlflowModelLatestVersionArrayOutput) ToGetMlflowModelLatestVersionArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionArrayOutput { - return o +func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) AccountId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoCloudflareApiToken) *string { + if v == nil { + return nil + } + return &v.AccountId + }).(pulumi.StringPtrOutput) } -func (o GetMlflowModelLatestVersionArrayOutput) Index(i pulumi.IntInput) GetMlflowModelLatestVersionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMlflowModelLatestVersion { - return vs[0].([]GetMlflowModelLatestVersion)[vs[1].(int)] - }).(GetMlflowModelLatestVersionOutput) +func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) SecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoCloudflareApiToken) *string { + if v == nil { + return nil + } + return &v.SecretAccessKey + }).(pulumi.StringPtrOutput) } -type GetMlflowModelLatestVersionTag struct { - Key *string `pulumi:"key"` - Value *string `pulumi:"value"` +type GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount struct { + CredentialId *string `pulumi:"credentialId"` + // The email of the GCP service account created, to be granted access to relevant buckets. + Email *string `pulumi:"email"` } -// GetMlflowModelLatestVersionTagInput is an input type that accepts GetMlflowModelLatestVersionTagArgs and GetMlflowModelLatestVersionTagOutput values. -// You can construct a concrete instance of `GetMlflowModelLatestVersionTagInput` via: +// GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountInput is an input type that accepts GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs and GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput values. +// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountInput` via: // -// GetMlflowModelLatestVersionTagArgs{...} -type GetMlflowModelLatestVersionTagInput interface { +// GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs{...} +type GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountInput interface { pulumi.Input - ToGetMlflowModelLatestVersionTagOutput() GetMlflowModelLatestVersionTagOutput - ToGetMlflowModelLatestVersionTagOutputWithContext(context.Context) GetMlflowModelLatestVersionTagOutput + ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput + ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput } -type GetMlflowModelLatestVersionTagArgs struct { - Key pulumi.StringPtrInput `pulumi:"key"` - Value pulumi.StringPtrInput `pulumi:"value"` +type GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs struct { + CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` + // The email of the GCP service account created, to be granted access to relevant buckets. + Email pulumi.StringPtrInput `pulumi:"email"` } -func (GetMlflowModelLatestVersionTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMlflowModelLatestVersionTag)(nil)).Elem() +func (GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount)(nil)).Elem() } -func (i GetMlflowModelLatestVersionTagArgs) ToGetMlflowModelLatestVersionTagOutput() GetMlflowModelLatestVersionTagOutput { - return i.ToGetMlflowModelLatestVersionTagOutputWithContext(context.Background()) +func (i GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput { + return i.ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutputWithContext(context.Background()) } -func (i GetMlflowModelLatestVersionTagArgs) ToGetMlflowModelLatestVersionTagOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionTagOutput) +func (i GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) } -// GetMlflowModelLatestVersionTagArrayInput is an input type that accepts GetMlflowModelLatestVersionTagArray and GetMlflowModelLatestVersionTagArrayOutput values. -// You can construct a concrete instance of `GetMlflowModelLatestVersionTagArrayInput` via: +func (i GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { + return i.ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +} + +func (i GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput).ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(ctx) +} + +// GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrInput is an input type that accepts GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs, GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtr and GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput values. +// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrInput` via: // -// GetMlflowModelLatestVersionTagArray{ GetMlflowModelLatestVersionTagArgs{...} } -type GetMlflowModelLatestVersionTagArrayInput interface { +// GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs{...} +// +// or: +// +// nil +type GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrInput interface { pulumi.Input - ToGetMlflowModelLatestVersionTagArrayOutput() GetMlflowModelLatestVersionTagArrayOutput - ToGetMlflowModelLatestVersionTagArrayOutputWithContext(context.Context) GetMlflowModelLatestVersionTagArrayOutput + ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput + ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput } -type GetMlflowModelLatestVersionTagArray []GetMlflowModelLatestVersionTagInput +type getStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrType GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs -func (GetMlflowModelLatestVersionTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMlflowModelLatestVersionTag)(nil)).Elem() +func GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtr(v *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrInput { + return (*getStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrType)(v) } -func (i GetMlflowModelLatestVersionTagArray) ToGetMlflowModelLatestVersionTagArrayOutput() GetMlflowModelLatestVersionTagArrayOutput { - return i.ToGetMlflowModelLatestVersionTagArrayOutputWithContext(context.Background()) +func (*getStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount)(nil)).Elem() } -func (i GetMlflowModelLatestVersionTagArray) ToGetMlflowModelLatestVersionTagArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionTagArrayOutput) +func (i *getStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrType) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { + return i.ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -type GetMlflowModelLatestVersionTagOutput struct{ *pulumi.OutputState } +func (i *getStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrType) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) +} -func (GetMlflowModelLatestVersionTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMlflowModelLatestVersionTag)(nil)).Elem() +type GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput struct{ *pulumi.OutputState } + +func (GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount)(nil)).Elem() } -func (o GetMlflowModelLatestVersionTagOutput) ToGetMlflowModelLatestVersionTagOutput() GetMlflowModelLatestVersionTagOutput { +func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput { return o } -func (o GetMlflowModelLatestVersionTagOutput) ToGetMlflowModelLatestVersionTagOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagOutput { +func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput { return o } -func (o GetMlflowModelLatestVersionTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersionTag) *string { return v.Key }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { + return o.ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -func (o GetMlflowModelLatestVersionTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersionTag) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount) *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount { + return &v + }).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) } -type GetMlflowModelLatestVersionTagArrayOutput struct{ *pulumi.OutputState } - -func (GetMlflowModelLatestVersionTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMlflowModelLatestVersionTag)(nil)).Elem() +func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount) *string { + return v.CredentialId + }).(pulumi.StringPtrOutput) } -func (o GetMlflowModelLatestVersionTagArrayOutput) ToGetMlflowModelLatestVersionTagArrayOutput() GetMlflowModelLatestVersionTagArrayOutput { - return o +// The email of the GCP service account created, to be granted access to relevant buckets. +func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) } -func (o GetMlflowModelLatestVersionTagArrayOutput) ToGetMlflowModelLatestVersionTagArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagArrayOutput { - return o -} +type GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput struct{ *pulumi.OutputState } -func (o GetMlflowModelLatestVersionTagArrayOutput) Index(i pulumi.IntInput) GetMlflowModelLatestVersionTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMlflowModelLatestVersionTag { - return vs[0].([]GetMlflowModelLatestVersionTag)[vs[1].(int)] - }).(GetMlflowModelLatestVersionTagOutput) +func (GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount)(nil)).Elem() } -type GetMlflowModelTag struct { - Key *string `pulumi:"key"` - Value *string `pulumi:"value"` +func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { + return o } -// GetMlflowModelTagInput is an input type that accepts GetMlflowModelTagArgs and GetMlflowModelTagOutput values. -// You can construct a concrete instance of `GetMlflowModelTagInput` via: -// -// GetMlflowModelTagArgs{...} -type GetMlflowModelTagInput interface { - pulumi.Input - - ToGetMlflowModelTagOutput() GetMlflowModelTagOutput - ToGetMlflowModelTagOutputWithContext(context.Context) GetMlflowModelTagOutput +func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { + return o } -type GetMlflowModelTagArgs struct { - Key pulumi.StringPtrInput `pulumi:"key"` - Value pulumi.StringPtrInput `pulumi:"value"` +func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) Elem() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount { + if v != nil { + return *v + } + var ret GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount + return ret + }).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) } -func (GetMlflowModelTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMlflowModelTag)(nil)).Elem() +func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount) *string { + if v == nil { + return nil + } + return v.CredentialId + }).(pulumi.StringPtrOutput) } -func (i GetMlflowModelTagArgs) ToGetMlflowModelTagOutput() GetMlflowModelTagOutput { - return i.ToGetMlflowModelTagOutputWithContext(context.Background()) +// The email of the GCP service account created, to be granted access to relevant buckets. +func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount) *string { + if v == nil { + return nil + } + return v.Email + }).(pulumi.StringPtrOutput) } -func (i GetMlflowModelTagArgs) ToGetMlflowModelTagOutputWithContext(ctx context.Context) GetMlflowModelTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelTagOutput) +type GetTableTableInfo struct { + AccessPoint *string `pulumi:"accessPoint"` + BrowseOnly *bool `pulumi:"browseOnly"` + // Name of parent catalog. + CatalogName *string `pulumi:"catalogName"` + // Array of ColumnInfo objects of the table's columns + Columns []GetTableTableInfoColumn `pulumi:"columns"` + // Free-form text description + Comment *string `pulumi:"comment"` + CreatedAt *int `pulumi:"createdAt"` + CreatedBy *string `pulumi:"createdBy"` + DataAccessConfigurationId *string `pulumi:"dataAccessConfigurationId"` + // Table format, e.g. DELTA, CSV, JSON + DataSourceFormat *string `pulumi:"dataSourceFormat"` + DeletedAt *int `pulumi:"deletedAt"` + DeltaRuntimePropertiesKvpairs *GetTableTableInfoDeltaRuntimePropertiesKvpairs `pulumi:"deltaRuntimePropertiesKvpairs"` + EffectivePredictiveOptimizationFlag *GetTableTableInfoEffectivePredictiveOptimizationFlag `pulumi:"effectivePredictiveOptimizationFlag"` + EnablePredictiveOptimization *string `pulumi:"enablePredictiveOptimization"` + EncryptionDetails *GetTableTableInfoEncryptionDetails `pulumi:"encryptionDetails"` + FullName *string `pulumi:"fullName"` + MetastoreId *string `pulumi:"metastoreId"` + // Full name of the databricks_table: _`catalog`.`schema`.`table`_ + Name *string `pulumi:"name"` + // Current owner of the table + Owner *string `pulumi:"owner"` + PipelineId *string `pulumi:"pipelineId"` + Properties map[string]interface{} `pulumi:"properties"` + RowFilter *GetTableTableInfoRowFilter `pulumi:"rowFilter"` + // Name of parent schema relative to its parent catalog. + SchemaName *string `pulumi:"schemaName"` + SqlPath *string `pulumi:"sqlPath"` + StorageCredentialName *string `pulumi:"storageCredentialName"` + StorageLocation *string `pulumi:"storageLocation"` + TableConstraints []GetTableTableInfoTableConstraint `pulumi:"tableConstraints"` + TableId *string `pulumi:"tableId"` + // Table type, e.g. MANAGED, EXTERNAL, VIEW + TableType *string `pulumi:"tableType"` + UpdatedAt *int `pulumi:"updatedAt"` + UpdatedBy *string `pulumi:"updatedBy"` + // View definition SQL (when `tableType` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + ViewDefinition *string `pulumi:"viewDefinition"` + // View dependencies (when `tableType` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + ViewDependencies *GetTableTableInfoViewDependencies `pulumi:"viewDependencies"` +} + +// GetTableTableInfoInput is an input type that accepts GetTableTableInfoArgs and GetTableTableInfoOutput values. +// You can construct a concrete instance of `GetTableTableInfoInput` via: +// +// GetTableTableInfoArgs{...} +type GetTableTableInfoInput interface { + pulumi.Input + + ToGetTableTableInfoOutput() GetTableTableInfoOutput + ToGetTableTableInfoOutputWithContext(context.Context) GetTableTableInfoOutput +} + +type GetTableTableInfoArgs struct { + AccessPoint pulumi.StringPtrInput `pulumi:"accessPoint"` + BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` + // Name of parent catalog. + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // Array of ColumnInfo objects of the table's columns + Columns GetTableTableInfoColumnArrayInput `pulumi:"columns"` + // Free-form text description + Comment pulumi.StringPtrInput `pulumi:"comment"` + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + DataAccessConfigurationId pulumi.StringPtrInput `pulumi:"dataAccessConfigurationId"` + // Table format, e.g. DELTA, CSV, JSON + DataSourceFormat pulumi.StringPtrInput `pulumi:"dataSourceFormat"` + DeletedAt pulumi.IntPtrInput `pulumi:"deletedAt"` + DeltaRuntimePropertiesKvpairs GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrInput `pulumi:"deltaRuntimePropertiesKvpairs"` + EffectivePredictiveOptimizationFlag GetTableTableInfoEffectivePredictiveOptimizationFlagPtrInput `pulumi:"effectivePredictiveOptimizationFlag"` + EnablePredictiveOptimization pulumi.StringPtrInput `pulumi:"enablePredictiveOptimization"` + EncryptionDetails GetTableTableInfoEncryptionDetailsPtrInput `pulumi:"encryptionDetails"` + FullName pulumi.StringPtrInput `pulumi:"fullName"` + MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` + // Full name of the databricks_table: _`catalog`.`schema`.`table`_ + Name pulumi.StringPtrInput `pulumi:"name"` + // Current owner of the table + Owner pulumi.StringPtrInput `pulumi:"owner"` + PipelineId pulumi.StringPtrInput `pulumi:"pipelineId"` + Properties pulumi.MapInput `pulumi:"properties"` + RowFilter GetTableTableInfoRowFilterPtrInput `pulumi:"rowFilter"` + // Name of parent schema relative to its parent catalog. + SchemaName pulumi.StringPtrInput `pulumi:"schemaName"` + SqlPath pulumi.StringPtrInput `pulumi:"sqlPath"` + StorageCredentialName pulumi.StringPtrInput `pulumi:"storageCredentialName"` + StorageLocation pulumi.StringPtrInput `pulumi:"storageLocation"` + TableConstraints GetTableTableInfoTableConstraintArrayInput `pulumi:"tableConstraints"` + TableId pulumi.StringPtrInput `pulumi:"tableId"` + // Table type, e.g. MANAGED, EXTERNAL, VIEW + TableType pulumi.StringPtrInput `pulumi:"tableType"` + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` + // View definition SQL (when `tableType` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + ViewDefinition pulumi.StringPtrInput `pulumi:"viewDefinition"` + // View dependencies (when `tableType` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + ViewDependencies GetTableTableInfoViewDependenciesPtrInput `pulumi:"viewDependencies"` } -// GetMlflowModelTagArrayInput is an input type that accepts GetMlflowModelTagArray and GetMlflowModelTagArrayOutput values. -// You can construct a concrete instance of `GetMlflowModelTagArrayInput` via: -// -// GetMlflowModelTagArray{ GetMlflowModelTagArgs{...} } -type GetMlflowModelTagArrayInput interface { - pulumi.Input - - ToGetMlflowModelTagArrayOutput() GetMlflowModelTagArrayOutput - ToGetMlflowModelTagArrayOutputWithContext(context.Context) GetMlflowModelTagArrayOutput +func (GetTableTableInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfo)(nil)).Elem() } -type GetMlflowModelTagArray []GetMlflowModelTagInput +func (i GetTableTableInfoArgs) ToGetTableTableInfoOutput() GetTableTableInfoOutput { + return i.ToGetTableTableInfoOutputWithContext(context.Background()) +} -func (GetMlflowModelTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMlflowModelTag)(nil)).Elem() +func (i GetTableTableInfoArgs) ToGetTableTableInfoOutputWithContext(ctx context.Context) GetTableTableInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoOutput) } -func (i GetMlflowModelTagArray) ToGetMlflowModelTagArrayOutput() GetMlflowModelTagArrayOutput { - return i.ToGetMlflowModelTagArrayOutputWithContext(context.Background()) +func (i GetTableTableInfoArgs) ToGetTableTableInfoPtrOutput() GetTableTableInfoPtrOutput { + return i.ToGetTableTableInfoPtrOutputWithContext(context.Background()) } -func (i GetMlflowModelTagArray) ToGetMlflowModelTagArrayOutputWithContext(ctx context.Context) GetMlflowModelTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelTagArrayOutput) +func (i GetTableTableInfoArgs) ToGetTableTableInfoPtrOutputWithContext(ctx context.Context) GetTableTableInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoOutput).ToGetTableTableInfoPtrOutputWithContext(ctx) } -type GetMlflowModelTagOutput struct{ *pulumi.OutputState } +// GetTableTableInfoPtrInput is an input type that accepts GetTableTableInfoArgs, GetTableTableInfoPtr and GetTableTableInfoPtrOutput values. +// You can construct a concrete instance of `GetTableTableInfoPtrInput` via: +// +// GetTableTableInfoArgs{...} +// +// or: +// +// nil +type GetTableTableInfoPtrInput interface { + pulumi.Input -func (GetMlflowModelTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMlflowModelTag)(nil)).Elem() + ToGetTableTableInfoPtrOutput() GetTableTableInfoPtrOutput + ToGetTableTableInfoPtrOutputWithContext(context.Context) GetTableTableInfoPtrOutput } -func (o GetMlflowModelTagOutput) ToGetMlflowModelTagOutput() GetMlflowModelTagOutput { - return o +type getTableTableInfoPtrType GetTableTableInfoArgs + +func GetTableTableInfoPtr(v *GetTableTableInfoArgs) GetTableTableInfoPtrInput { + return (*getTableTableInfoPtrType)(v) } -func (o GetMlflowModelTagOutput) ToGetMlflowModelTagOutputWithContext(ctx context.Context) GetMlflowModelTagOutput { - return o +func (*getTableTableInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfo)(nil)).Elem() } -func (o GetMlflowModelTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelTag) *string { return v.Key }).(pulumi.StringPtrOutput) +func (i *getTableTableInfoPtrType) ToGetTableTableInfoPtrOutput() GetTableTableInfoPtrOutput { + return i.ToGetTableTableInfoPtrOutputWithContext(context.Background()) } -func (o GetMlflowModelTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelTag) *string { return v.Value }).(pulumi.StringPtrOutput) +func (i *getTableTableInfoPtrType) ToGetTableTableInfoPtrOutputWithContext(ctx context.Context) GetTableTableInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoPtrOutput) } -type GetMlflowModelTagArrayOutput struct{ *pulumi.OutputState } +type GetTableTableInfoOutput struct{ *pulumi.OutputState } -func (GetMlflowModelTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMlflowModelTag)(nil)).Elem() +func (GetTableTableInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfo)(nil)).Elem() } -func (o GetMlflowModelTagArrayOutput) ToGetMlflowModelTagArrayOutput() GetMlflowModelTagArrayOutput { +func (o GetTableTableInfoOutput) ToGetTableTableInfoOutput() GetTableTableInfoOutput { return o } -func (o GetMlflowModelTagArrayOutput) ToGetMlflowModelTagArrayOutputWithContext(ctx context.Context) GetMlflowModelTagArrayOutput { +func (o GetTableTableInfoOutput) ToGetTableTableInfoOutputWithContext(ctx context.Context) GetTableTableInfoOutput { return o } -func (o GetMlflowModelTagArrayOutput) Index(i pulumi.IntInput) GetMlflowModelTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMlflowModelTag { - return vs[0].([]GetMlflowModelTag)[vs[1].(int)] - }).(GetMlflowModelTagOutput) +func (o GetTableTableInfoOutput) ToGetTableTableInfoPtrOutput() GetTableTableInfoPtrOutput { + return o.ToGetTableTableInfoPtrOutputWithContext(context.Background()) } -type GetNotebookPathsNotebookPathList struct { - Language *string `pulumi:"language"` - // Path to workspace directory - Path *string `pulumi:"path"` +func (o GetTableTableInfoOutput) ToGetTableTableInfoPtrOutputWithContext(ctx context.Context) GetTableTableInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetTableTableInfo) *GetTableTableInfo { + return &v + }).(GetTableTableInfoPtrOutput) } -// GetNotebookPathsNotebookPathListInput is an input type that accepts GetNotebookPathsNotebookPathListArgs and GetNotebookPathsNotebookPathListOutput values. -// You can construct a concrete instance of `GetNotebookPathsNotebookPathListInput` via: -// -// GetNotebookPathsNotebookPathListArgs{...} -type GetNotebookPathsNotebookPathListInput interface { - pulumi.Input +func (o GetTableTableInfoOutput) AccessPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.AccessPoint }).(pulumi.StringPtrOutput) +} - ToGetNotebookPathsNotebookPathListOutput() GetNotebookPathsNotebookPathListOutput - ToGetNotebookPathsNotebookPathListOutputWithContext(context.Context) GetNotebookPathsNotebookPathListOutput +func (o GetTableTableInfoOutput) BrowseOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) } -type GetNotebookPathsNotebookPathListArgs struct { - Language pulumi.StringPtrInput `pulumi:"language"` - // Path to workspace directory - Path pulumi.StringPtrInput `pulumi:"path"` +// Name of parent catalog. +func (o GetTableTableInfoOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.CatalogName }).(pulumi.StringPtrOutput) } -func (GetNotebookPathsNotebookPathListArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotebookPathsNotebookPathList)(nil)).Elem() +// Array of ColumnInfo objects of the table's columns +func (o GetTableTableInfoOutput) Columns() GetTableTableInfoColumnArrayOutput { + return o.ApplyT(func(v GetTableTableInfo) []GetTableTableInfoColumn { return v.Columns }).(GetTableTableInfoColumnArrayOutput) } -func (i GetNotebookPathsNotebookPathListArgs) ToGetNotebookPathsNotebookPathListOutput() GetNotebookPathsNotebookPathListOutput { - return i.ToGetNotebookPathsNotebookPathListOutputWithContext(context.Background()) +// Free-form text description +func (o GetTableTableInfoOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) } -func (i GetNotebookPathsNotebookPathListArgs) ToGetNotebookPathsNotebookPathListOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotebookPathsNotebookPathListOutput) +func (o GetTableTableInfoOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) } -// GetNotebookPathsNotebookPathListArrayInput is an input type that accepts GetNotebookPathsNotebookPathListArray and GetNotebookPathsNotebookPathListArrayOutput values. -// You can construct a concrete instance of `GetNotebookPathsNotebookPathListArrayInput` via: -// -// GetNotebookPathsNotebookPathListArray{ GetNotebookPathsNotebookPathListArgs{...} } -type GetNotebookPathsNotebookPathListArrayInput interface { - pulumi.Input +func (o GetTableTableInfoOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +} - ToGetNotebookPathsNotebookPathListArrayOutput() GetNotebookPathsNotebookPathListArrayOutput - ToGetNotebookPathsNotebookPathListArrayOutputWithContext(context.Context) GetNotebookPathsNotebookPathListArrayOutput +func (o GetTableTableInfoOutput) DataAccessConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.DataAccessConfigurationId }).(pulumi.StringPtrOutput) } -type GetNotebookPathsNotebookPathListArray []GetNotebookPathsNotebookPathListInput +// Table format, e.g. DELTA, CSV, JSON +func (o GetTableTableInfoOutput) DataSourceFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.DataSourceFormat }).(pulumi.StringPtrOutput) +} -func (GetNotebookPathsNotebookPathListArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNotebookPathsNotebookPathList)(nil)).Elem() +func (o GetTableTableInfoOutput) DeletedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *int { return v.DeletedAt }).(pulumi.IntPtrOutput) } -func (i GetNotebookPathsNotebookPathListArray) ToGetNotebookPathsNotebookPathListArrayOutput() GetNotebookPathsNotebookPathListArrayOutput { - return i.ToGetNotebookPathsNotebookPathListArrayOutputWithContext(context.Background()) +func (o GetTableTableInfoOutput) DeltaRuntimePropertiesKvpairs() GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *GetTableTableInfoDeltaRuntimePropertiesKvpairs { + return v.DeltaRuntimePropertiesKvpairs + }).(GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput) } -func (i GetNotebookPathsNotebookPathListArray) ToGetNotebookPathsNotebookPathListArrayOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotebookPathsNotebookPathListArrayOutput) +func (o GetTableTableInfoOutput) EffectivePredictiveOptimizationFlag() GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *GetTableTableInfoEffectivePredictiveOptimizationFlag { + return v.EffectivePredictiveOptimizationFlag + }).(GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput) } -type GetNotebookPathsNotebookPathListOutput struct{ *pulumi.OutputState } +func (o GetTableTableInfoOutput) EnablePredictiveOptimization() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.EnablePredictiveOptimization }).(pulumi.StringPtrOutput) +} -func (GetNotebookPathsNotebookPathListOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotebookPathsNotebookPathList)(nil)).Elem() +func (o GetTableTableInfoOutput) EncryptionDetails() GetTableTableInfoEncryptionDetailsPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *GetTableTableInfoEncryptionDetails { return v.EncryptionDetails }).(GetTableTableInfoEncryptionDetailsPtrOutput) } -func (o GetNotebookPathsNotebookPathListOutput) ToGetNotebookPathsNotebookPathListOutput() GetNotebookPathsNotebookPathListOutput { - return o +func (o GetTableTableInfoOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.FullName }).(pulumi.StringPtrOutput) } -func (o GetNotebookPathsNotebookPathListOutput) ToGetNotebookPathsNotebookPathListOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListOutput { - return o +func (o GetTableTableInfoOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) } -func (o GetNotebookPathsNotebookPathListOutput) Language() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotebookPathsNotebookPathList) *string { return v.Language }).(pulumi.StringPtrOutput) +// Full name of the databricks_table: _`catalog`.`schema`.`table`_ +func (o GetTableTableInfoOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.Name }).(pulumi.StringPtrOutput) } -// Path to workspace directory -func (o GetNotebookPathsNotebookPathListOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotebookPathsNotebookPathList) *string { return v.Path }).(pulumi.StringPtrOutput) +// Current owner of the table +func (o GetTableTableInfoOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) } -type GetNotebookPathsNotebookPathListArrayOutput struct{ *pulumi.OutputState } +func (o GetTableTableInfoOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.PipelineId }).(pulumi.StringPtrOutput) +} -func (GetNotebookPathsNotebookPathListArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNotebookPathsNotebookPathList)(nil)).Elem() +func (o GetTableTableInfoOutput) Properties() pulumi.MapOutput { + return o.ApplyT(func(v GetTableTableInfo) map[string]interface{} { return v.Properties }).(pulumi.MapOutput) } -func (o GetNotebookPathsNotebookPathListArrayOutput) ToGetNotebookPathsNotebookPathListArrayOutput() GetNotebookPathsNotebookPathListArrayOutput { - return o +func (o GetTableTableInfoOutput) RowFilter() GetTableTableInfoRowFilterPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *GetTableTableInfoRowFilter { return v.RowFilter }).(GetTableTableInfoRowFilterPtrOutput) } -func (o GetNotebookPathsNotebookPathListArrayOutput) ToGetNotebookPathsNotebookPathListArrayOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListArrayOutput { - return o +// Name of parent schema relative to its parent catalog. +func (o GetTableTableInfoOutput) SchemaName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.SchemaName }).(pulumi.StringPtrOutput) } -func (o GetNotebookPathsNotebookPathListArrayOutput) Index(i pulumi.IntInput) GetNotebookPathsNotebookPathListOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNotebookPathsNotebookPathList { - return vs[0].([]GetNotebookPathsNotebookPathList)[vs[1].(int)] - }).(GetNotebookPathsNotebookPathListOutput) +func (o GetTableTableInfoOutput) SqlPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.SqlPath }).(pulumi.StringPtrOutput) } -type GetShareObject struct { - AddedAt int `pulumi:"addedAt"` - AddedBy string `pulumi:"addedBy"` - CdfEnabled *bool `pulumi:"cdfEnabled"` - // Description about the object. - Comment *string `pulumi:"comment"` - // Type of the object. - DataObjectType string `pulumi:"dataObjectType"` - HistoryDataSharingStatus *string `pulumi:"historyDataSharingStatus"` - // The name of the share - Name string `pulumi:"name"` - Partitions []GetShareObjectPartition `pulumi:"partitions"` - SharedAs *string `pulumi:"sharedAs"` - StartVersion *int `pulumi:"startVersion"` - Status string `pulumi:"status"` +func (o GetTableTableInfoOutput) StorageCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.StorageCredentialName }).(pulumi.StringPtrOutput) } -// GetShareObjectInput is an input type that accepts GetShareObjectArgs and GetShareObjectOutput values. -// You can construct a concrete instance of `GetShareObjectInput` via: -// -// GetShareObjectArgs{...} -type GetShareObjectInput interface { - pulumi.Input +func (o GetTableTableInfoOutput) StorageLocation() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.StorageLocation }).(pulumi.StringPtrOutput) +} - ToGetShareObjectOutput() GetShareObjectOutput - ToGetShareObjectOutputWithContext(context.Context) GetShareObjectOutput +func (o GetTableTableInfoOutput) TableConstraints() GetTableTableInfoTableConstraintArrayOutput { + return o.ApplyT(func(v GetTableTableInfo) []GetTableTableInfoTableConstraint { return v.TableConstraints }).(GetTableTableInfoTableConstraintArrayOutput) } -type GetShareObjectArgs struct { - AddedAt pulumi.IntInput `pulumi:"addedAt"` - AddedBy pulumi.StringInput `pulumi:"addedBy"` - CdfEnabled pulumi.BoolPtrInput `pulumi:"cdfEnabled"` - // Description about the object. - Comment pulumi.StringPtrInput `pulumi:"comment"` - // Type of the object. - DataObjectType pulumi.StringInput `pulumi:"dataObjectType"` - HistoryDataSharingStatus pulumi.StringPtrInput `pulumi:"historyDataSharingStatus"` - // The name of the share - Name pulumi.StringInput `pulumi:"name"` - Partitions GetShareObjectPartitionArrayInput `pulumi:"partitions"` - SharedAs pulumi.StringPtrInput `pulumi:"sharedAs"` - StartVersion pulumi.IntPtrInput `pulumi:"startVersion"` - Status pulumi.StringInput `pulumi:"status"` +func (o GetTableTableInfoOutput) TableId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.TableId }).(pulumi.StringPtrOutput) } -func (GetShareObjectArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetShareObject)(nil)).Elem() +// Table type, e.g. MANAGED, EXTERNAL, VIEW +func (o GetTableTableInfoOutput) TableType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.TableType }).(pulumi.StringPtrOutput) } -func (i GetShareObjectArgs) ToGetShareObjectOutput() GetShareObjectOutput { - return i.ToGetShareObjectOutputWithContext(context.Background()) +func (o GetTableTableInfoOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) } -func (i GetShareObjectArgs) ToGetShareObjectOutputWithContext(ctx context.Context) GetShareObjectOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShareObjectOutput) +func (o GetTableTableInfoOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) } -// GetShareObjectArrayInput is an input type that accepts GetShareObjectArray and GetShareObjectArrayOutput values. -// You can construct a concrete instance of `GetShareObjectArrayInput` via: -// -// GetShareObjectArray{ GetShareObjectArgs{...} } -type GetShareObjectArrayInput interface { - pulumi.Input +// View definition SQL (when `tableType` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) +func (o GetTableTableInfoOutput) ViewDefinition() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *string { return v.ViewDefinition }).(pulumi.StringPtrOutput) +} - ToGetShareObjectArrayOutput() GetShareObjectArrayOutput - ToGetShareObjectArrayOutputWithContext(context.Context) GetShareObjectArrayOutput +// View dependencies (when `tableType` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) +func (o GetTableTableInfoOutput) ViewDependencies() GetTableTableInfoViewDependenciesPtrOutput { + return o.ApplyT(func(v GetTableTableInfo) *GetTableTableInfoViewDependencies { return v.ViewDependencies }).(GetTableTableInfoViewDependenciesPtrOutput) } -type GetShareObjectArray []GetShareObjectInput +type GetTableTableInfoPtrOutput struct{ *pulumi.OutputState } -func (GetShareObjectArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShareObject)(nil)).Elem() +func (GetTableTableInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfo)(nil)).Elem() } -func (i GetShareObjectArray) ToGetShareObjectArrayOutput() GetShareObjectArrayOutput { - return i.ToGetShareObjectArrayOutputWithContext(context.Background()) +func (o GetTableTableInfoPtrOutput) ToGetTableTableInfoPtrOutput() GetTableTableInfoPtrOutput { + return o } -func (i GetShareObjectArray) ToGetShareObjectArrayOutputWithContext(ctx context.Context) GetShareObjectArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShareObjectArrayOutput) +func (o GetTableTableInfoPtrOutput) ToGetTableTableInfoPtrOutputWithContext(ctx context.Context) GetTableTableInfoPtrOutput { + return o } -type GetShareObjectOutput struct{ *pulumi.OutputState } - -func (GetShareObjectOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetShareObject)(nil)).Elem() +func (o GetTableTableInfoPtrOutput) Elem() GetTableTableInfoOutput { + return o.ApplyT(func(v *GetTableTableInfo) GetTableTableInfo { + if v != nil { + return *v + } + var ret GetTableTableInfo + return ret + }).(GetTableTableInfoOutput) } -func (o GetShareObjectOutput) ToGetShareObjectOutput() GetShareObjectOutput { - return o +func (o GetTableTableInfoPtrOutput) AccessPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.AccessPoint + }).(pulumi.StringPtrOutput) } -func (o GetShareObjectOutput) ToGetShareObjectOutputWithContext(ctx context.Context) GetShareObjectOutput { - return o +func (o GetTableTableInfoPtrOutput) BrowseOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *bool { + if v == nil { + return nil + } + return v.BrowseOnly + }).(pulumi.BoolPtrOutput) } -func (o GetShareObjectOutput) AddedAt() pulumi.IntOutput { - return o.ApplyT(func(v GetShareObject) int { return v.AddedAt }).(pulumi.IntOutput) +// Name of parent catalog. +func (o GetTableTableInfoPtrOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.CatalogName + }).(pulumi.StringPtrOutput) } -func (o GetShareObjectOutput) AddedBy() pulumi.StringOutput { - return o.ApplyT(func(v GetShareObject) string { return v.AddedBy }).(pulumi.StringOutput) +// Array of ColumnInfo objects of the table's columns +func (o GetTableTableInfoPtrOutput) Columns() GetTableTableInfoColumnArrayOutput { + return o.ApplyT(func(v *GetTableTableInfo) []GetTableTableInfoColumn { + if v == nil { + return nil + } + return v.Columns + }).(GetTableTableInfoColumnArrayOutput) } -func (o GetShareObjectOutput) CdfEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetShareObject) *bool { return v.CdfEnabled }).(pulumi.BoolPtrOutput) +// Free-form text description +func (o GetTableTableInfoPtrOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.Comment + }).(pulumi.StringPtrOutput) } -// Description about the object. -func (o GetShareObjectOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetShareObject) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *int { + if v == nil { + return nil + } + return v.CreatedAt + }).(pulumi.IntPtrOutput) } -// Type of the object. -func (o GetShareObjectOutput) DataObjectType() pulumi.StringOutput { - return o.ApplyT(func(v GetShareObject) string { return v.DataObjectType }).(pulumi.StringOutput) +func (o GetTableTableInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) } -func (o GetShareObjectOutput) HistoryDataSharingStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetShareObject) *string { return v.HistoryDataSharingStatus }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoPtrOutput) DataAccessConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.DataAccessConfigurationId + }).(pulumi.StringPtrOutput) } -// The name of the share -func (o GetShareObjectOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetShareObject) string { return v.Name }).(pulumi.StringOutput) +// Table format, e.g. DELTA, CSV, JSON +func (o GetTableTableInfoPtrOutput) DataSourceFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.DataSourceFormat + }).(pulumi.StringPtrOutput) } -func (o GetShareObjectOutput) Partitions() GetShareObjectPartitionArrayOutput { - return o.ApplyT(func(v GetShareObject) []GetShareObjectPartition { return v.Partitions }).(GetShareObjectPartitionArrayOutput) +func (o GetTableTableInfoPtrOutput) DeletedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *int { + if v == nil { + return nil + } + return v.DeletedAt + }).(pulumi.IntPtrOutput) } -func (o GetShareObjectOutput) SharedAs() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetShareObject) *string { return v.SharedAs }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoPtrOutput) DeltaRuntimePropertiesKvpairs() GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *GetTableTableInfoDeltaRuntimePropertiesKvpairs { + if v == nil { + return nil + } + return v.DeltaRuntimePropertiesKvpairs + }).(GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput) } -func (o GetShareObjectOutput) StartVersion() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetShareObject) *int { return v.StartVersion }).(pulumi.IntPtrOutput) +func (o GetTableTableInfoPtrOutput) EffectivePredictiveOptimizationFlag() GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *GetTableTableInfoEffectivePredictiveOptimizationFlag { + if v == nil { + return nil + } + return v.EffectivePredictiveOptimizationFlag + }).(GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput) } -func (o GetShareObjectOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v GetShareObject) string { return v.Status }).(pulumi.StringOutput) +func (o GetTableTableInfoPtrOutput) EnablePredictiveOptimization() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.EnablePredictiveOptimization + }).(pulumi.StringPtrOutput) } -type GetShareObjectArrayOutput struct{ *pulumi.OutputState } +func (o GetTableTableInfoPtrOutput) EncryptionDetails() GetTableTableInfoEncryptionDetailsPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *GetTableTableInfoEncryptionDetails { + if v == nil { + return nil + } + return v.EncryptionDetails + }).(GetTableTableInfoEncryptionDetailsPtrOutput) +} -func (GetShareObjectArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShareObject)(nil)).Elem() +func (o GetTableTableInfoPtrOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.FullName + }).(pulumi.StringPtrOutput) } -func (o GetShareObjectArrayOutput) ToGetShareObjectArrayOutput() GetShareObjectArrayOutput { - return o +func (o GetTableTableInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.MetastoreId + }).(pulumi.StringPtrOutput) } -func (o GetShareObjectArrayOutput) ToGetShareObjectArrayOutputWithContext(ctx context.Context) GetShareObjectArrayOutput { - return o +// Full name of the databricks_table: _`catalog`.`schema`.`table`_ +func (o GetTableTableInfoPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -func (o GetShareObjectArrayOutput) Index(i pulumi.IntInput) GetShareObjectOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShareObject { - return vs[0].([]GetShareObject)[vs[1].(int)] - }).(GetShareObjectOutput) +// Current owner of the table +func (o GetTableTableInfoPtrOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.Owner + }).(pulumi.StringPtrOutput) } -type GetShareObjectPartition struct { - Values []GetShareObjectPartitionValue `pulumi:"values"` +func (o GetTableTableInfoPtrOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.PipelineId + }).(pulumi.StringPtrOutput) } -// GetShareObjectPartitionInput is an input type that accepts GetShareObjectPartitionArgs and GetShareObjectPartitionOutput values. -// You can construct a concrete instance of `GetShareObjectPartitionInput` via: -// -// GetShareObjectPartitionArgs{...} -type GetShareObjectPartitionInput interface { - pulumi.Input - - ToGetShareObjectPartitionOutput() GetShareObjectPartitionOutput - ToGetShareObjectPartitionOutputWithContext(context.Context) GetShareObjectPartitionOutput +func (o GetTableTableInfoPtrOutput) Properties() pulumi.MapOutput { + return o.ApplyT(func(v *GetTableTableInfo) map[string]interface{} { + if v == nil { + return nil + } + return v.Properties + }).(pulumi.MapOutput) } -type GetShareObjectPartitionArgs struct { - Values GetShareObjectPartitionValueArrayInput `pulumi:"values"` +func (o GetTableTableInfoPtrOutput) RowFilter() GetTableTableInfoRowFilterPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *GetTableTableInfoRowFilter { + if v == nil { + return nil + } + return v.RowFilter + }).(GetTableTableInfoRowFilterPtrOutput) } -func (GetShareObjectPartitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetShareObjectPartition)(nil)).Elem() +// Name of parent schema relative to its parent catalog. +func (o GetTableTableInfoPtrOutput) SchemaName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.SchemaName + }).(pulumi.StringPtrOutput) } -func (i GetShareObjectPartitionArgs) ToGetShareObjectPartitionOutput() GetShareObjectPartitionOutput { - return i.ToGetShareObjectPartitionOutputWithContext(context.Background()) +func (o GetTableTableInfoPtrOutput) SqlPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.SqlPath + }).(pulumi.StringPtrOutput) } -func (i GetShareObjectPartitionArgs) ToGetShareObjectPartitionOutputWithContext(ctx context.Context) GetShareObjectPartitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShareObjectPartitionOutput) +func (o GetTableTableInfoPtrOutput) StorageCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.StorageCredentialName + }).(pulumi.StringPtrOutput) } -// GetShareObjectPartitionArrayInput is an input type that accepts GetShareObjectPartitionArray and GetShareObjectPartitionArrayOutput values. -// You can construct a concrete instance of `GetShareObjectPartitionArrayInput` via: -// -// GetShareObjectPartitionArray{ GetShareObjectPartitionArgs{...} } -type GetShareObjectPartitionArrayInput interface { - pulumi.Input - - ToGetShareObjectPartitionArrayOutput() GetShareObjectPartitionArrayOutput - ToGetShareObjectPartitionArrayOutputWithContext(context.Context) GetShareObjectPartitionArrayOutput +func (o GetTableTableInfoPtrOutput) StorageLocation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.StorageLocation + }).(pulumi.StringPtrOutput) } -type GetShareObjectPartitionArray []GetShareObjectPartitionInput - -func (GetShareObjectPartitionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShareObjectPartition)(nil)).Elem() +func (o GetTableTableInfoPtrOutput) TableConstraints() GetTableTableInfoTableConstraintArrayOutput { + return o.ApplyT(func(v *GetTableTableInfo) []GetTableTableInfoTableConstraint { + if v == nil { + return nil + } + return v.TableConstraints + }).(GetTableTableInfoTableConstraintArrayOutput) } -func (i GetShareObjectPartitionArray) ToGetShareObjectPartitionArrayOutput() GetShareObjectPartitionArrayOutput { - return i.ToGetShareObjectPartitionArrayOutputWithContext(context.Background()) +func (o GetTableTableInfoPtrOutput) TableId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.TableId + }).(pulumi.StringPtrOutput) } -func (i GetShareObjectPartitionArray) ToGetShareObjectPartitionArrayOutputWithContext(ctx context.Context) GetShareObjectPartitionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShareObjectPartitionArrayOutput) +// Table type, e.g. MANAGED, EXTERNAL, VIEW +func (o GetTableTableInfoPtrOutput) TableType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.TableType + }).(pulumi.StringPtrOutput) } -type GetShareObjectPartitionOutput struct{ *pulumi.OutputState } +func (o GetTableTableInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *int { + if v == nil { + return nil + } + return v.UpdatedAt + }).(pulumi.IntPtrOutput) +} -func (GetShareObjectPartitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetShareObjectPartition)(nil)).Elem() +func (o GetTableTableInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.UpdatedBy + }).(pulumi.StringPtrOutput) } -func (o GetShareObjectPartitionOutput) ToGetShareObjectPartitionOutput() GetShareObjectPartitionOutput { - return o +// View definition SQL (when `tableType` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) +func (o GetTableTableInfoPtrOutput) ViewDefinition() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *string { + if v == nil { + return nil + } + return v.ViewDefinition + }).(pulumi.StringPtrOutput) } -func (o GetShareObjectPartitionOutput) ToGetShareObjectPartitionOutputWithContext(ctx context.Context) GetShareObjectPartitionOutput { - return o +// View dependencies (when `tableType` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) +func (o GetTableTableInfoPtrOutput) ViewDependencies() GetTableTableInfoViewDependenciesPtrOutput { + return o.ApplyT(func(v *GetTableTableInfo) *GetTableTableInfoViewDependencies { + if v == nil { + return nil + } + return v.ViewDependencies + }).(GetTableTableInfoViewDependenciesPtrOutput) } -func (o GetShareObjectPartitionOutput) Values() GetShareObjectPartitionValueArrayOutput { - return o.ApplyT(func(v GetShareObjectPartition) []GetShareObjectPartitionValue { return v.Values }).(GetShareObjectPartitionValueArrayOutput) +type GetTableTableInfoColumn struct { + // Free-form text description + Comment *string `pulumi:"comment"` + Mask *GetTableTableInfoColumnMask `pulumi:"mask"` + // Full name of the databricks_table: _`catalog`.`schema`.`table`_ + 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 GetShareObjectPartitionArrayOutput struct{ *pulumi.OutputState } +// GetTableTableInfoColumnInput is an input type that accepts GetTableTableInfoColumnArgs and GetTableTableInfoColumnOutput values. +// You can construct a concrete instance of `GetTableTableInfoColumnInput` via: +// +// GetTableTableInfoColumnArgs{...} +type GetTableTableInfoColumnInput interface { + pulumi.Input -func (GetShareObjectPartitionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShareObjectPartition)(nil)).Elem() + ToGetTableTableInfoColumnOutput() GetTableTableInfoColumnOutput + ToGetTableTableInfoColumnOutputWithContext(context.Context) GetTableTableInfoColumnOutput } -func (o GetShareObjectPartitionArrayOutput) ToGetShareObjectPartitionArrayOutput() GetShareObjectPartitionArrayOutput { - return o +type GetTableTableInfoColumnArgs struct { + // Free-form text description + Comment pulumi.StringPtrInput `pulumi:"comment"` + Mask GetTableTableInfoColumnMaskPtrInput `pulumi:"mask"` + // Full name of the databricks_table: _`catalog`.`schema`.`table`_ + Name pulumi.StringPtrInput `pulumi:"name"` + Nullable pulumi.BoolPtrInput `pulumi:"nullable"` + PartitionIndex pulumi.IntPtrInput `pulumi:"partitionIndex"` + Position pulumi.IntPtrInput `pulumi:"position"` + TypeIntervalType pulumi.StringPtrInput `pulumi:"typeIntervalType"` + TypeJson pulumi.StringPtrInput `pulumi:"typeJson"` + TypeName pulumi.StringPtrInput `pulumi:"typeName"` + TypePrecision pulumi.IntPtrInput `pulumi:"typePrecision"` + TypeScale pulumi.IntPtrInput `pulumi:"typeScale"` + TypeText pulumi.StringPtrInput `pulumi:"typeText"` } -func (o GetShareObjectPartitionArrayOutput) ToGetShareObjectPartitionArrayOutputWithContext(ctx context.Context) GetShareObjectPartitionArrayOutput { - return o +func (GetTableTableInfoColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoColumn)(nil)).Elem() } -func (o GetShareObjectPartitionArrayOutput) Index(i pulumi.IntInput) GetShareObjectPartitionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShareObjectPartition { - return vs[0].([]GetShareObjectPartition)[vs[1].(int)] - }).(GetShareObjectPartitionOutput) +func (i GetTableTableInfoColumnArgs) ToGetTableTableInfoColumnOutput() GetTableTableInfoColumnOutput { + return i.ToGetTableTableInfoColumnOutputWithContext(context.Background()) } -type GetShareObjectPartitionValue struct { - // The name of the share - Name string `pulumi:"name"` - Op string `pulumi:"op"` - RecipientPropertyKey *string `pulumi:"recipientPropertyKey"` - Value *string `pulumi:"value"` +func (i GetTableTableInfoColumnArgs) ToGetTableTableInfoColumnOutputWithContext(ctx context.Context) GetTableTableInfoColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoColumnOutput) } -// GetShareObjectPartitionValueInput is an input type that accepts GetShareObjectPartitionValueArgs and GetShareObjectPartitionValueOutput values. -// You can construct a concrete instance of `GetShareObjectPartitionValueInput` via: +// GetTableTableInfoColumnArrayInput is an input type that accepts GetTableTableInfoColumnArray and GetTableTableInfoColumnArrayOutput values. +// You can construct a concrete instance of `GetTableTableInfoColumnArrayInput` via: // -// GetShareObjectPartitionValueArgs{...} -type GetShareObjectPartitionValueInput interface { +// GetTableTableInfoColumnArray{ GetTableTableInfoColumnArgs{...} } +type GetTableTableInfoColumnArrayInput interface { pulumi.Input - ToGetShareObjectPartitionValueOutput() GetShareObjectPartitionValueOutput - ToGetShareObjectPartitionValueOutputWithContext(context.Context) GetShareObjectPartitionValueOutput + ToGetTableTableInfoColumnArrayOutput() GetTableTableInfoColumnArrayOutput + ToGetTableTableInfoColumnArrayOutputWithContext(context.Context) GetTableTableInfoColumnArrayOutput } -type GetShareObjectPartitionValueArgs struct { - // The name of the share - Name pulumi.StringInput `pulumi:"name"` - Op pulumi.StringInput `pulumi:"op"` - RecipientPropertyKey pulumi.StringPtrInput `pulumi:"recipientPropertyKey"` - Value pulumi.StringPtrInput `pulumi:"value"` +type GetTableTableInfoColumnArray []GetTableTableInfoColumnInput + +func (GetTableTableInfoColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTableTableInfoColumn)(nil)).Elem() } -func (GetShareObjectPartitionValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetShareObjectPartitionValue)(nil)).Elem() +func (i GetTableTableInfoColumnArray) ToGetTableTableInfoColumnArrayOutput() GetTableTableInfoColumnArrayOutput { + return i.ToGetTableTableInfoColumnArrayOutputWithContext(context.Background()) } -func (i GetShareObjectPartitionValueArgs) ToGetShareObjectPartitionValueOutput() GetShareObjectPartitionValueOutput { - return i.ToGetShareObjectPartitionValueOutputWithContext(context.Background()) +func (i GetTableTableInfoColumnArray) ToGetTableTableInfoColumnArrayOutputWithContext(ctx context.Context) GetTableTableInfoColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoColumnArrayOutput) } -func (i GetShareObjectPartitionValueArgs) ToGetShareObjectPartitionValueOutputWithContext(ctx context.Context) GetShareObjectPartitionValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShareObjectPartitionValueOutput) +type GetTableTableInfoColumnOutput struct{ *pulumi.OutputState } + +func (GetTableTableInfoColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoColumn)(nil)).Elem() } -// GetShareObjectPartitionValueArrayInput is an input type that accepts GetShareObjectPartitionValueArray and GetShareObjectPartitionValueArrayOutput values. -// You can construct a concrete instance of `GetShareObjectPartitionValueArrayInput` via: -// -// GetShareObjectPartitionValueArray{ GetShareObjectPartitionValueArgs{...} } -type GetShareObjectPartitionValueArrayInput interface { - pulumi.Input +func (o GetTableTableInfoColumnOutput) ToGetTableTableInfoColumnOutput() GetTableTableInfoColumnOutput { + return o +} - ToGetShareObjectPartitionValueArrayOutput() GetShareObjectPartitionValueArrayOutput - ToGetShareObjectPartitionValueArrayOutputWithContext(context.Context) GetShareObjectPartitionValueArrayOutput +func (o GetTableTableInfoColumnOutput) ToGetTableTableInfoColumnOutputWithContext(ctx context.Context) GetTableTableInfoColumnOutput { + return o } -type GetShareObjectPartitionValueArray []GetShareObjectPartitionValueInput +// Free-form text description +func (o GetTableTableInfoColumnOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfoColumn) *string { return v.Comment }).(pulumi.StringPtrOutput) +} -func (GetShareObjectPartitionValueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShareObjectPartitionValue)(nil)).Elem() +func (o GetTableTableInfoColumnOutput) Mask() GetTableTableInfoColumnMaskPtrOutput { + return o.ApplyT(func(v GetTableTableInfoColumn) *GetTableTableInfoColumnMask { return v.Mask }).(GetTableTableInfoColumnMaskPtrOutput) } -func (i GetShareObjectPartitionValueArray) ToGetShareObjectPartitionValueArrayOutput() GetShareObjectPartitionValueArrayOutput { - return i.ToGetShareObjectPartitionValueArrayOutputWithContext(context.Background()) +// Full name of the databricks_table: _`catalog`.`schema`.`table`_ +func (o GetTableTableInfoColumnOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfoColumn) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (i GetShareObjectPartitionValueArray) ToGetShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) GetShareObjectPartitionValueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShareObjectPartitionValueArrayOutput) +func (o GetTableTableInfoColumnOutput) Nullable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetTableTableInfoColumn) *bool { return v.Nullable }).(pulumi.BoolPtrOutput) } -type GetShareObjectPartitionValueOutput struct{ *pulumi.OutputState } +func (o GetTableTableInfoColumnOutput) PartitionIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetTableTableInfoColumn) *int { return v.PartitionIndex }).(pulumi.IntPtrOutput) +} -func (GetShareObjectPartitionValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetShareObjectPartitionValue)(nil)).Elem() +func (o GetTableTableInfoColumnOutput) Position() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetTableTableInfoColumn) *int { return v.Position }).(pulumi.IntPtrOutput) } -func (o GetShareObjectPartitionValueOutput) ToGetShareObjectPartitionValueOutput() GetShareObjectPartitionValueOutput { - return o +func (o GetTableTableInfoColumnOutput) TypeIntervalType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfoColumn) *string { return v.TypeIntervalType }).(pulumi.StringPtrOutput) } -func (o GetShareObjectPartitionValueOutput) ToGetShareObjectPartitionValueOutputWithContext(ctx context.Context) GetShareObjectPartitionValueOutput { - return o +func (o GetTableTableInfoColumnOutput) TypeJson() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfoColumn) *string { return v.TypeJson }).(pulumi.StringPtrOutput) } -// The name of the share -func (o GetShareObjectPartitionValueOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetShareObjectPartitionValue) string { return v.Name }).(pulumi.StringOutput) +func (o GetTableTableInfoColumnOutput) TypeName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfoColumn) *string { return v.TypeName }).(pulumi.StringPtrOutput) } -func (o GetShareObjectPartitionValueOutput) Op() pulumi.StringOutput { - return o.ApplyT(func(v GetShareObjectPartitionValue) string { return v.Op }).(pulumi.StringOutput) +func (o GetTableTableInfoColumnOutput) TypePrecision() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetTableTableInfoColumn) *int { return v.TypePrecision }).(pulumi.IntPtrOutput) } -func (o GetShareObjectPartitionValueOutput) RecipientPropertyKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetShareObjectPartitionValue) *string { return v.RecipientPropertyKey }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoColumnOutput) TypeScale() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetTableTableInfoColumn) *int { return v.TypeScale }).(pulumi.IntPtrOutput) } -func (o GetShareObjectPartitionValueOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetShareObjectPartitionValue) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoColumnOutput) TypeText() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfoColumn) *string { return v.TypeText }).(pulumi.StringPtrOutput) } -type GetShareObjectPartitionValueArrayOutput struct{ *pulumi.OutputState } +type GetTableTableInfoColumnArrayOutput struct{ *pulumi.OutputState } -func (GetShareObjectPartitionValueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShareObjectPartitionValue)(nil)).Elem() +func (GetTableTableInfoColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTableTableInfoColumn)(nil)).Elem() } -func (o GetShareObjectPartitionValueArrayOutput) ToGetShareObjectPartitionValueArrayOutput() GetShareObjectPartitionValueArrayOutput { +func (o GetTableTableInfoColumnArrayOutput) ToGetTableTableInfoColumnArrayOutput() GetTableTableInfoColumnArrayOutput { return o } -func (o GetShareObjectPartitionValueArrayOutput) ToGetShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) GetShareObjectPartitionValueArrayOutput { +func (o GetTableTableInfoColumnArrayOutput) ToGetTableTableInfoColumnArrayOutputWithContext(ctx context.Context) GetTableTableInfoColumnArrayOutput { return o } -func (o GetShareObjectPartitionValueArrayOutput) Index(i pulumi.IntInput) GetShareObjectPartitionValueOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShareObjectPartitionValue { - return vs[0].([]GetShareObjectPartitionValue)[vs[1].(int)] - }).(GetShareObjectPartitionValueOutput) +func (o GetTableTableInfoColumnArrayOutput) Index(i pulumi.IntInput) GetTableTableInfoColumnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTableTableInfoColumn { + return vs[0].([]GetTableTableInfoColumn)[vs[1].(int)] + }).(GetTableTableInfoColumnOutput) } -type GetSqlWarehouseChannel struct { - DbsqlVersion *string `pulumi:"dbsqlVersion"` - // Name of the SQL warehouse to search (case-sensitive). - Name *string `pulumi:"name"` +type GetTableTableInfoColumnMask struct { + FunctionName *string `pulumi:"functionName"` + UsingColumnNames []string `pulumi:"usingColumnNames"` } -// GetSqlWarehouseChannelInput is an input type that accepts GetSqlWarehouseChannelArgs and GetSqlWarehouseChannelOutput values. -// You can construct a concrete instance of `GetSqlWarehouseChannelInput` via: +// GetTableTableInfoColumnMaskInput is an input type that accepts GetTableTableInfoColumnMaskArgs and GetTableTableInfoColumnMaskOutput values. +// You can construct a concrete instance of `GetTableTableInfoColumnMaskInput` via: // -// GetSqlWarehouseChannelArgs{...} -type GetSqlWarehouseChannelInput interface { +// GetTableTableInfoColumnMaskArgs{...} +type GetTableTableInfoColumnMaskInput interface { pulumi.Input - ToGetSqlWarehouseChannelOutput() GetSqlWarehouseChannelOutput - ToGetSqlWarehouseChannelOutputWithContext(context.Context) GetSqlWarehouseChannelOutput + ToGetTableTableInfoColumnMaskOutput() GetTableTableInfoColumnMaskOutput + ToGetTableTableInfoColumnMaskOutputWithContext(context.Context) GetTableTableInfoColumnMaskOutput } -type GetSqlWarehouseChannelArgs struct { - DbsqlVersion pulumi.StringPtrInput `pulumi:"dbsqlVersion"` - // Name of the SQL warehouse to search (case-sensitive). - Name pulumi.StringPtrInput `pulumi:"name"` +type GetTableTableInfoColumnMaskArgs struct { + FunctionName pulumi.StringPtrInput `pulumi:"functionName"` + UsingColumnNames pulumi.StringArrayInput `pulumi:"usingColumnNames"` } -func (GetSqlWarehouseChannelArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSqlWarehouseChannel)(nil)).Elem() +func (GetTableTableInfoColumnMaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoColumnMask)(nil)).Elem() } -func (i GetSqlWarehouseChannelArgs) ToGetSqlWarehouseChannelOutput() GetSqlWarehouseChannelOutput { - return i.ToGetSqlWarehouseChannelOutputWithContext(context.Background()) +func (i GetTableTableInfoColumnMaskArgs) ToGetTableTableInfoColumnMaskOutput() GetTableTableInfoColumnMaskOutput { + return i.ToGetTableTableInfoColumnMaskOutputWithContext(context.Background()) } -func (i GetSqlWarehouseChannelArgs) ToGetSqlWarehouseChannelOutputWithContext(ctx context.Context) GetSqlWarehouseChannelOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseChannelOutput) +func (i GetTableTableInfoColumnMaskArgs) ToGetTableTableInfoColumnMaskOutputWithContext(ctx context.Context) GetTableTableInfoColumnMaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoColumnMaskOutput) } -func (i GetSqlWarehouseChannelArgs) ToGetSqlWarehouseChannelPtrOutput() GetSqlWarehouseChannelPtrOutput { - return i.ToGetSqlWarehouseChannelPtrOutputWithContext(context.Background()) +func (i GetTableTableInfoColumnMaskArgs) ToGetTableTableInfoColumnMaskPtrOutput() GetTableTableInfoColumnMaskPtrOutput { + return i.ToGetTableTableInfoColumnMaskPtrOutputWithContext(context.Background()) } -func (i GetSqlWarehouseChannelArgs) ToGetSqlWarehouseChannelPtrOutputWithContext(ctx context.Context) GetSqlWarehouseChannelPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseChannelOutput).ToGetSqlWarehouseChannelPtrOutputWithContext(ctx) +func (i GetTableTableInfoColumnMaskArgs) ToGetTableTableInfoColumnMaskPtrOutputWithContext(ctx context.Context) GetTableTableInfoColumnMaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoColumnMaskOutput).ToGetTableTableInfoColumnMaskPtrOutputWithContext(ctx) } -// GetSqlWarehouseChannelPtrInput is an input type that accepts GetSqlWarehouseChannelArgs, GetSqlWarehouseChannelPtr and GetSqlWarehouseChannelPtrOutput values. -// You can construct a concrete instance of `GetSqlWarehouseChannelPtrInput` via: +// GetTableTableInfoColumnMaskPtrInput is an input type that accepts GetTableTableInfoColumnMaskArgs, GetTableTableInfoColumnMaskPtr and GetTableTableInfoColumnMaskPtrOutput values. +// You can construct a concrete instance of `GetTableTableInfoColumnMaskPtrInput` via: // -// GetSqlWarehouseChannelArgs{...} +// GetTableTableInfoColumnMaskArgs{...} // // or: // // nil -type GetSqlWarehouseChannelPtrInput interface { +type GetTableTableInfoColumnMaskPtrInput interface { pulumi.Input - ToGetSqlWarehouseChannelPtrOutput() GetSqlWarehouseChannelPtrOutput - ToGetSqlWarehouseChannelPtrOutputWithContext(context.Context) GetSqlWarehouseChannelPtrOutput + ToGetTableTableInfoColumnMaskPtrOutput() GetTableTableInfoColumnMaskPtrOutput + ToGetTableTableInfoColumnMaskPtrOutputWithContext(context.Context) GetTableTableInfoColumnMaskPtrOutput } -type getSqlWarehouseChannelPtrType GetSqlWarehouseChannelArgs +type getTableTableInfoColumnMaskPtrType GetTableTableInfoColumnMaskArgs -func GetSqlWarehouseChannelPtr(v *GetSqlWarehouseChannelArgs) GetSqlWarehouseChannelPtrInput { - return (*getSqlWarehouseChannelPtrType)(v) +func GetTableTableInfoColumnMaskPtr(v *GetTableTableInfoColumnMaskArgs) GetTableTableInfoColumnMaskPtrInput { + return (*getTableTableInfoColumnMaskPtrType)(v) } -func (*getSqlWarehouseChannelPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetSqlWarehouseChannel)(nil)).Elem() +func (*getTableTableInfoColumnMaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoColumnMask)(nil)).Elem() } -func (i *getSqlWarehouseChannelPtrType) ToGetSqlWarehouseChannelPtrOutput() GetSqlWarehouseChannelPtrOutput { - return i.ToGetSqlWarehouseChannelPtrOutputWithContext(context.Background()) +func (i *getTableTableInfoColumnMaskPtrType) ToGetTableTableInfoColumnMaskPtrOutput() GetTableTableInfoColumnMaskPtrOutput { + return i.ToGetTableTableInfoColumnMaskPtrOutputWithContext(context.Background()) } -func (i *getSqlWarehouseChannelPtrType) ToGetSqlWarehouseChannelPtrOutputWithContext(ctx context.Context) GetSqlWarehouseChannelPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseChannelPtrOutput) +func (i *getTableTableInfoColumnMaskPtrType) ToGetTableTableInfoColumnMaskPtrOutputWithContext(ctx context.Context) GetTableTableInfoColumnMaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoColumnMaskPtrOutput) } -type GetSqlWarehouseChannelOutput struct{ *pulumi.OutputState } +type GetTableTableInfoColumnMaskOutput struct{ *pulumi.OutputState } -func (GetSqlWarehouseChannelOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSqlWarehouseChannel)(nil)).Elem() +func (GetTableTableInfoColumnMaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoColumnMask)(nil)).Elem() } -func (o GetSqlWarehouseChannelOutput) ToGetSqlWarehouseChannelOutput() GetSqlWarehouseChannelOutput { +func (o GetTableTableInfoColumnMaskOutput) ToGetTableTableInfoColumnMaskOutput() GetTableTableInfoColumnMaskOutput { return o } -func (o GetSqlWarehouseChannelOutput) ToGetSqlWarehouseChannelOutputWithContext(ctx context.Context) GetSqlWarehouseChannelOutput { +func (o GetTableTableInfoColumnMaskOutput) ToGetTableTableInfoColumnMaskOutputWithContext(ctx context.Context) GetTableTableInfoColumnMaskOutput { return o } -func (o GetSqlWarehouseChannelOutput) ToGetSqlWarehouseChannelPtrOutput() GetSqlWarehouseChannelPtrOutput { - return o.ToGetSqlWarehouseChannelPtrOutputWithContext(context.Background()) +func (o GetTableTableInfoColumnMaskOutput) ToGetTableTableInfoColumnMaskPtrOutput() GetTableTableInfoColumnMaskPtrOutput { + return o.ToGetTableTableInfoColumnMaskPtrOutputWithContext(context.Background()) } -func (o GetSqlWarehouseChannelOutput) ToGetSqlWarehouseChannelPtrOutputWithContext(ctx context.Context) GetSqlWarehouseChannelPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSqlWarehouseChannel) *GetSqlWarehouseChannel { +func (o GetTableTableInfoColumnMaskOutput) ToGetTableTableInfoColumnMaskPtrOutputWithContext(ctx context.Context) GetTableTableInfoColumnMaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetTableTableInfoColumnMask) *GetTableTableInfoColumnMask { return &v - }).(GetSqlWarehouseChannelPtrOutput) + }).(GetTableTableInfoColumnMaskPtrOutput) } -func (o GetSqlWarehouseChannelOutput) DbsqlVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSqlWarehouseChannel) *string { return v.DbsqlVersion }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoColumnMaskOutput) FunctionName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfoColumnMask) *string { return v.FunctionName }).(pulumi.StringPtrOutput) } -// Name of the SQL warehouse to search (case-sensitive). -func (o GetSqlWarehouseChannelOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSqlWarehouseChannel) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoColumnMaskOutput) UsingColumnNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetTableTableInfoColumnMask) []string { return v.UsingColumnNames }).(pulumi.StringArrayOutput) } -type GetSqlWarehouseChannelPtrOutput struct{ *pulumi.OutputState } +type GetTableTableInfoColumnMaskPtrOutput struct{ *pulumi.OutputState } -func (GetSqlWarehouseChannelPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetSqlWarehouseChannel)(nil)).Elem() +func (GetTableTableInfoColumnMaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoColumnMask)(nil)).Elem() } -func (o GetSqlWarehouseChannelPtrOutput) ToGetSqlWarehouseChannelPtrOutput() GetSqlWarehouseChannelPtrOutput { +func (o GetTableTableInfoColumnMaskPtrOutput) ToGetTableTableInfoColumnMaskPtrOutput() GetTableTableInfoColumnMaskPtrOutput { return o } -func (o GetSqlWarehouseChannelPtrOutput) ToGetSqlWarehouseChannelPtrOutputWithContext(ctx context.Context) GetSqlWarehouseChannelPtrOutput { +func (o GetTableTableInfoColumnMaskPtrOutput) ToGetTableTableInfoColumnMaskPtrOutputWithContext(ctx context.Context) GetTableTableInfoColumnMaskPtrOutput { return o } -func (o GetSqlWarehouseChannelPtrOutput) Elem() GetSqlWarehouseChannelOutput { - return o.ApplyT(func(v *GetSqlWarehouseChannel) GetSqlWarehouseChannel { +func (o GetTableTableInfoColumnMaskPtrOutput) Elem() GetTableTableInfoColumnMaskOutput { + return o.ApplyT(func(v *GetTableTableInfoColumnMask) GetTableTableInfoColumnMask { if v != nil { return *v } - var ret GetSqlWarehouseChannel + var ret GetTableTableInfoColumnMask return ret - }).(GetSqlWarehouseChannelOutput) + }).(GetTableTableInfoColumnMaskOutput) } -func (o GetSqlWarehouseChannelPtrOutput) DbsqlVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSqlWarehouseChannel) *string { +func (o GetTableTableInfoColumnMaskPtrOutput) FunctionName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfoColumnMask) *string { if v == nil { return nil } - return v.DbsqlVersion + return v.FunctionName }).(pulumi.StringPtrOutput) } -// Name of the SQL warehouse to search (case-sensitive). -func (o GetSqlWarehouseChannelPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSqlWarehouseChannel) *string { +func (o GetTableTableInfoColumnMaskPtrOutput) UsingColumnNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetTableTableInfoColumnMask) []string { if v == nil { return nil } - return v.Name - }).(pulumi.StringPtrOutput) + return v.UsingColumnNames + }).(pulumi.StringArrayOutput) } -type GetSqlWarehouseHealth struct { - Details *string `pulumi:"details"` - FailureReason *GetSqlWarehouseHealthFailureReason `pulumi:"failureReason"` - Message *string `pulumi:"message"` - Status *string `pulumi:"status"` - Summary *string `pulumi:"summary"` +type GetTableTableInfoDeltaRuntimePropertiesKvpairs struct { + DeltaRuntimeProperties map[string]interface{} `pulumi:"deltaRuntimeProperties"` } -// GetSqlWarehouseHealthInput is an input type that accepts GetSqlWarehouseHealthArgs and GetSqlWarehouseHealthOutput values. -// You can construct a concrete instance of `GetSqlWarehouseHealthInput` via: +// GetTableTableInfoDeltaRuntimePropertiesKvpairsInput is an input type that accepts GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs and GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput values. +// You can construct a concrete instance of `GetTableTableInfoDeltaRuntimePropertiesKvpairsInput` via: // -// GetSqlWarehouseHealthArgs{...} -type GetSqlWarehouseHealthInput interface { +// GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs{...} +type GetTableTableInfoDeltaRuntimePropertiesKvpairsInput interface { pulumi.Input - ToGetSqlWarehouseHealthOutput() GetSqlWarehouseHealthOutput - ToGetSqlWarehouseHealthOutputWithContext(context.Context) GetSqlWarehouseHealthOutput + ToGetTableTableInfoDeltaRuntimePropertiesKvpairsOutput() GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput + ToGetTableTableInfoDeltaRuntimePropertiesKvpairsOutputWithContext(context.Context) GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput } -type GetSqlWarehouseHealthArgs struct { - Details pulumi.StringPtrInput `pulumi:"details"` - FailureReason GetSqlWarehouseHealthFailureReasonPtrInput `pulumi:"failureReason"` - Message pulumi.StringPtrInput `pulumi:"message"` - Status pulumi.StringPtrInput `pulumi:"status"` - Summary pulumi.StringPtrInput `pulumi:"summary"` +type GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs struct { + DeltaRuntimeProperties pulumi.MapInput `pulumi:"deltaRuntimeProperties"` } -func (GetSqlWarehouseHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSqlWarehouseHealth)(nil)).Elem() +func (GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoDeltaRuntimePropertiesKvpairs)(nil)).Elem() } -func (i GetSqlWarehouseHealthArgs) ToGetSqlWarehouseHealthOutput() GetSqlWarehouseHealthOutput { - return i.ToGetSqlWarehouseHealthOutputWithContext(context.Background()) +func (i GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs) ToGetTableTableInfoDeltaRuntimePropertiesKvpairsOutput() GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput { + return i.ToGetTableTableInfoDeltaRuntimePropertiesKvpairsOutputWithContext(context.Background()) } -func (i GetSqlWarehouseHealthArgs) ToGetSqlWarehouseHealthOutputWithContext(ctx context.Context) GetSqlWarehouseHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseHealthOutput) +func (i GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs) ToGetTableTableInfoDeltaRuntimePropertiesKvpairsOutputWithContext(ctx context.Context) GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput) } -func (i GetSqlWarehouseHealthArgs) ToGetSqlWarehouseHealthPtrOutput() GetSqlWarehouseHealthPtrOutput { - return i.ToGetSqlWarehouseHealthPtrOutputWithContext(context.Background()) +func (i GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs) ToGetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput() GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput { + return i.ToGetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutputWithContext(context.Background()) } -func (i GetSqlWarehouseHealthArgs) ToGetSqlWarehouseHealthPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseHealthOutput).ToGetSqlWarehouseHealthPtrOutputWithContext(ctx) +func (i GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs) ToGetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutputWithContext(ctx context.Context) GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput).ToGetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutputWithContext(ctx) } -// GetSqlWarehouseHealthPtrInput is an input type that accepts GetSqlWarehouseHealthArgs, GetSqlWarehouseHealthPtr and GetSqlWarehouseHealthPtrOutput values. -// You can construct a concrete instance of `GetSqlWarehouseHealthPtrInput` via: +// GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrInput is an input type that accepts GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs, GetTableTableInfoDeltaRuntimePropertiesKvpairsPtr and GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput values. +// You can construct a concrete instance of `GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrInput` via: // -// GetSqlWarehouseHealthArgs{...} +// GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs{...} // // or: // // nil -type GetSqlWarehouseHealthPtrInput interface { +type GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrInput interface { pulumi.Input - ToGetSqlWarehouseHealthPtrOutput() GetSqlWarehouseHealthPtrOutput - ToGetSqlWarehouseHealthPtrOutputWithContext(context.Context) GetSqlWarehouseHealthPtrOutput + ToGetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput() GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput + ToGetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutputWithContext(context.Context) GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput } -type getSqlWarehouseHealthPtrType GetSqlWarehouseHealthArgs +type getTableTableInfoDeltaRuntimePropertiesKvpairsPtrType GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs -func GetSqlWarehouseHealthPtr(v *GetSqlWarehouseHealthArgs) GetSqlWarehouseHealthPtrInput { - return (*getSqlWarehouseHealthPtrType)(v) +func GetTableTableInfoDeltaRuntimePropertiesKvpairsPtr(v *GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs) GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrInput { + return (*getTableTableInfoDeltaRuntimePropertiesKvpairsPtrType)(v) } -func (*getSqlWarehouseHealthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetSqlWarehouseHealth)(nil)).Elem() +func (*getTableTableInfoDeltaRuntimePropertiesKvpairsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoDeltaRuntimePropertiesKvpairs)(nil)).Elem() } -func (i *getSqlWarehouseHealthPtrType) ToGetSqlWarehouseHealthPtrOutput() GetSqlWarehouseHealthPtrOutput { - return i.ToGetSqlWarehouseHealthPtrOutputWithContext(context.Background()) +func (i *getTableTableInfoDeltaRuntimePropertiesKvpairsPtrType) ToGetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput() GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput { + return i.ToGetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutputWithContext(context.Background()) } -func (i *getSqlWarehouseHealthPtrType) ToGetSqlWarehouseHealthPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseHealthPtrOutput) +func (i *getTableTableInfoDeltaRuntimePropertiesKvpairsPtrType) ToGetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutputWithContext(ctx context.Context) GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput) } -type GetSqlWarehouseHealthOutput struct{ *pulumi.OutputState } +type GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput struct{ *pulumi.OutputState } -func (GetSqlWarehouseHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSqlWarehouseHealth)(nil)).Elem() +func (GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoDeltaRuntimePropertiesKvpairs)(nil)).Elem() } -func (o GetSqlWarehouseHealthOutput) ToGetSqlWarehouseHealthOutput() GetSqlWarehouseHealthOutput { +func (o GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput) ToGetTableTableInfoDeltaRuntimePropertiesKvpairsOutput() GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput { return o } -func (o GetSqlWarehouseHealthOutput) ToGetSqlWarehouseHealthOutputWithContext(ctx context.Context) GetSqlWarehouseHealthOutput { +func (o GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput) ToGetTableTableInfoDeltaRuntimePropertiesKvpairsOutputWithContext(ctx context.Context) GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput { return o } -func (o GetSqlWarehouseHealthOutput) ToGetSqlWarehouseHealthPtrOutput() GetSqlWarehouseHealthPtrOutput { - return o.ToGetSqlWarehouseHealthPtrOutputWithContext(context.Background()) +func (o GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput) ToGetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput() GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput { + return o.ToGetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutputWithContext(context.Background()) } -func (o GetSqlWarehouseHealthOutput) ToGetSqlWarehouseHealthPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSqlWarehouseHealth) *GetSqlWarehouseHealth { +func (o GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput) ToGetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutputWithContext(ctx context.Context) GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetTableTableInfoDeltaRuntimePropertiesKvpairs) *GetTableTableInfoDeltaRuntimePropertiesKvpairs { return &v - }).(GetSqlWarehouseHealthPtrOutput) -} - -func (o GetSqlWarehouseHealthOutput) Details() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSqlWarehouseHealth) *string { return v.Details }).(pulumi.StringPtrOutput) -} - -func (o GetSqlWarehouseHealthOutput) FailureReason() GetSqlWarehouseHealthFailureReasonPtrOutput { - return o.ApplyT(func(v GetSqlWarehouseHealth) *GetSqlWarehouseHealthFailureReason { return v.FailureReason }).(GetSqlWarehouseHealthFailureReasonPtrOutput) -} - -func (o GetSqlWarehouseHealthOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSqlWarehouseHealth) *string { return v.Message }).(pulumi.StringPtrOutput) -} - -func (o GetSqlWarehouseHealthOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSqlWarehouseHealth) *string { return v.Status }).(pulumi.StringPtrOutput) + }).(GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput) } -func (o GetSqlWarehouseHealthOutput) Summary() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSqlWarehouseHealth) *string { return v.Summary }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput) DeltaRuntimeProperties() pulumi.MapOutput { + return o.ApplyT(func(v GetTableTableInfoDeltaRuntimePropertiesKvpairs) map[string]interface{} { + return v.DeltaRuntimeProperties + }).(pulumi.MapOutput) } -type GetSqlWarehouseHealthPtrOutput struct{ *pulumi.OutputState } +type GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput struct{ *pulumi.OutputState } -func (GetSqlWarehouseHealthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetSqlWarehouseHealth)(nil)).Elem() +func (GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoDeltaRuntimePropertiesKvpairs)(nil)).Elem() } -func (o GetSqlWarehouseHealthPtrOutput) ToGetSqlWarehouseHealthPtrOutput() GetSqlWarehouseHealthPtrOutput { +func (o GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput) ToGetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput() GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput { return o } -func (o GetSqlWarehouseHealthPtrOutput) ToGetSqlWarehouseHealthPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthPtrOutput { +func (o GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput) ToGetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutputWithContext(ctx context.Context) GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput { return o } -func (o GetSqlWarehouseHealthPtrOutput) Elem() GetSqlWarehouseHealthOutput { - return o.ApplyT(func(v *GetSqlWarehouseHealth) GetSqlWarehouseHealth { +func (o GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput) Elem() GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput { + return o.ApplyT(func(v *GetTableTableInfoDeltaRuntimePropertiesKvpairs) GetTableTableInfoDeltaRuntimePropertiesKvpairs { if v != nil { return *v } - var ret GetSqlWarehouseHealth + var ret GetTableTableInfoDeltaRuntimePropertiesKvpairs return ret - }).(GetSqlWarehouseHealthOutput) -} - -func (o GetSqlWarehouseHealthPtrOutput) Details() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSqlWarehouseHealth) *string { - if v == nil { - return nil - } - return v.Details - }).(pulumi.StringPtrOutput) -} - -func (o GetSqlWarehouseHealthPtrOutput) FailureReason() GetSqlWarehouseHealthFailureReasonPtrOutput { - return o.ApplyT(func(v *GetSqlWarehouseHealth) *GetSqlWarehouseHealthFailureReason { - if v == nil { - return nil - } - return v.FailureReason - }).(GetSqlWarehouseHealthFailureReasonPtrOutput) -} - -func (o GetSqlWarehouseHealthPtrOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSqlWarehouseHealth) *string { - if v == nil { - return nil - } - return v.Message - }).(pulumi.StringPtrOutput) -} - -func (o GetSqlWarehouseHealthPtrOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSqlWarehouseHealth) *string { - if v == nil { - return nil - } - return v.Status - }).(pulumi.StringPtrOutput) + }).(GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput) } -func (o GetSqlWarehouseHealthPtrOutput) Summary() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSqlWarehouseHealth) *string { +func (o GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput) DeltaRuntimeProperties() pulumi.MapOutput { + return o.ApplyT(func(v *GetTableTableInfoDeltaRuntimePropertiesKvpairs) map[string]interface{} { if v == nil { return nil } - return v.Summary - }).(pulumi.StringPtrOutput) + return v.DeltaRuntimeProperties + }).(pulumi.MapOutput) } -type GetSqlWarehouseHealthFailureReason struct { - Code *string `pulumi:"code"` - Parameters map[string]interface{} `pulumi:"parameters"` - Type *string `pulumi:"type"` +type GetTableTableInfoEffectivePredictiveOptimizationFlag struct { + InheritedFromName *string `pulumi:"inheritedFromName"` + InheritedFromType *string `pulumi:"inheritedFromType"` + Value string `pulumi:"value"` } -// GetSqlWarehouseHealthFailureReasonInput is an input type that accepts GetSqlWarehouseHealthFailureReasonArgs and GetSqlWarehouseHealthFailureReasonOutput values. -// You can construct a concrete instance of `GetSqlWarehouseHealthFailureReasonInput` via: +// GetTableTableInfoEffectivePredictiveOptimizationFlagInput is an input type that accepts GetTableTableInfoEffectivePredictiveOptimizationFlagArgs and GetTableTableInfoEffectivePredictiveOptimizationFlagOutput values. +// You can construct a concrete instance of `GetTableTableInfoEffectivePredictiveOptimizationFlagInput` via: // -// GetSqlWarehouseHealthFailureReasonArgs{...} -type GetSqlWarehouseHealthFailureReasonInput interface { +// GetTableTableInfoEffectivePredictiveOptimizationFlagArgs{...} +type GetTableTableInfoEffectivePredictiveOptimizationFlagInput interface { pulumi.Input - ToGetSqlWarehouseHealthFailureReasonOutput() GetSqlWarehouseHealthFailureReasonOutput - ToGetSqlWarehouseHealthFailureReasonOutputWithContext(context.Context) GetSqlWarehouseHealthFailureReasonOutput + ToGetTableTableInfoEffectivePredictiveOptimizationFlagOutput() GetTableTableInfoEffectivePredictiveOptimizationFlagOutput + ToGetTableTableInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Context) GetTableTableInfoEffectivePredictiveOptimizationFlagOutput } -type GetSqlWarehouseHealthFailureReasonArgs struct { - Code pulumi.StringPtrInput `pulumi:"code"` - Parameters pulumi.MapInput `pulumi:"parameters"` - Type pulumi.StringPtrInput `pulumi:"type"` +type GetTableTableInfoEffectivePredictiveOptimizationFlagArgs struct { + InheritedFromName pulumi.StringPtrInput `pulumi:"inheritedFromName"` + InheritedFromType pulumi.StringPtrInput `pulumi:"inheritedFromType"` + Value pulumi.StringInput `pulumi:"value"` } -func (GetSqlWarehouseHealthFailureReasonArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSqlWarehouseHealthFailureReason)(nil)).Elem() +func (GetTableTableInfoEffectivePredictiveOptimizationFlagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (i GetSqlWarehouseHealthFailureReasonArgs) ToGetSqlWarehouseHealthFailureReasonOutput() GetSqlWarehouseHealthFailureReasonOutput { - return i.ToGetSqlWarehouseHealthFailureReasonOutputWithContext(context.Background()) +func (i GetTableTableInfoEffectivePredictiveOptimizationFlagArgs) ToGetTableTableInfoEffectivePredictiveOptimizationFlagOutput() GetTableTableInfoEffectivePredictiveOptimizationFlagOutput { + return i.ToGetTableTableInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Background()) } -func (i GetSqlWarehouseHealthFailureReasonArgs) ToGetSqlWarehouseHealthFailureReasonOutputWithContext(ctx context.Context) GetSqlWarehouseHealthFailureReasonOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseHealthFailureReasonOutput) +func (i GetTableTableInfoEffectivePredictiveOptimizationFlagArgs) ToGetTableTableInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetTableTableInfoEffectivePredictiveOptimizationFlagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoEffectivePredictiveOptimizationFlagOutput) } -func (i GetSqlWarehouseHealthFailureReasonArgs) ToGetSqlWarehouseHealthFailureReasonPtrOutput() GetSqlWarehouseHealthFailureReasonPtrOutput { - return i.ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(context.Background()) +func (i GetTableTableInfoEffectivePredictiveOptimizationFlagArgs) ToGetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput() GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput { + return i.ToGetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) } -func (i GetSqlWarehouseHealthFailureReasonArgs) ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthFailureReasonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseHealthFailureReasonOutput).ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(ctx) +func (i GetTableTableInfoEffectivePredictiveOptimizationFlagArgs) ToGetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoEffectivePredictiveOptimizationFlagOutput).ToGetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx) } -// GetSqlWarehouseHealthFailureReasonPtrInput is an input type that accepts GetSqlWarehouseHealthFailureReasonArgs, GetSqlWarehouseHealthFailureReasonPtr and GetSqlWarehouseHealthFailureReasonPtrOutput values. -// You can construct a concrete instance of `GetSqlWarehouseHealthFailureReasonPtrInput` via: +// GetTableTableInfoEffectivePredictiveOptimizationFlagPtrInput is an input type that accepts GetTableTableInfoEffectivePredictiveOptimizationFlagArgs, GetTableTableInfoEffectivePredictiveOptimizationFlagPtr and GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput values. +// You can construct a concrete instance of `GetTableTableInfoEffectivePredictiveOptimizationFlagPtrInput` via: // -// GetSqlWarehouseHealthFailureReasonArgs{...} +// GetTableTableInfoEffectivePredictiveOptimizationFlagArgs{...} // // or: // // nil -type GetSqlWarehouseHealthFailureReasonPtrInput interface { +type GetTableTableInfoEffectivePredictiveOptimizationFlagPtrInput interface { pulumi.Input - ToGetSqlWarehouseHealthFailureReasonPtrOutput() GetSqlWarehouseHealthFailureReasonPtrOutput - ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(context.Context) GetSqlWarehouseHealthFailureReasonPtrOutput + ToGetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput() GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput + ToGetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Context) GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput } -type getSqlWarehouseHealthFailureReasonPtrType GetSqlWarehouseHealthFailureReasonArgs +type getTableTableInfoEffectivePredictiveOptimizationFlagPtrType GetTableTableInfoEffectivePredictiveOptimizationFlagArgs -func GetSqlWarehouseHealthFailureReasonPtr(v *GetSqlWarehouseHealthFailureReasonArgs) GetSqlWarehouseHealthFailureReasonPtrInput { - return (*getSqlWarehouseHealthFailureReasonPtrType)(v) +func GetTableTableInfoEffectivePredictiveOptimizationFlagPtr(v *GetTableTableInfoEffectivePredictiveOptimizationFlagArgs) GetTableTableInfoEffectivePredictiveOptimizationFlagPtrInput { + return (*getTableTableInfoEffectivePredictiveOptimizationFlagPtrType)(v) } -func (*getSqlWarehouseHealthFailureReasonPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetSqlWarehouseHealthFailureReason)(nil)).Elem() +func (*getTableTableInfoEffectivePredictiveOptimizationFlagPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (i *getSqlWarehouseHealthFailureReasonPtrType) ToGetSqlWarehouseHealthFailureReasonPtrOutput() GetSqlWarehouseHealthFailureReasonPtrOutput { - return i.ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(context.Background()) +func (i *getTableTableInfoEffectivePredictiveOptimizationFlagPtrType) ToGetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput() GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput { + return i.ToGetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) } -func (i *getSqlWarehouseHealthFailureReasonPtrType) ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthFailureReasonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseHealthFailureReasonPtrOutput) +func (i *getTableTableInfoEffectivePredictiveOptimizationFlagPtrType) ToGetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput) } -type GetSqlWarehouseHealthFailureReasonOutput struct{ *pulumi.OutputState } +type GetTableTableInfoEffectivePredictiveOptimizationFlagOutput struct{ *pulumi.OutputState } -func (GetSqlWarehouseHealthFailureReasonOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSqlWarehouseHealthFailureReason)(nil)).Elem() +func (GetTableTableInfoEffectivePredictiveOptimizationFlagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (o GetSqlWarehouseHealthFailureReasonOutput) ToGetSqlWarehouseHealthFailureReasonOutput() GetSqlWarehouseHealthFailureReasonOutput { +func (o GetTableTableInfoEffectivePredictiveOptimizationFlagOutput) ToGetTableTableInfoEffectivePredictiveOptimizationFlagOutput() GetTableTableInfoEffectivePredictiveOptimizationFlagOutput { return o } -func (o GetSqlWarehouseHealthFailureReasonOutput) ToGetSqlWarehouseHealthFailureReasonOutputWithContext(ctx context.Context) GetSqlWarehouseHealthFailureReasonOutput { +func (o GetTableTableInfoEffectivePredictiveOptimizationFlagOutput) ToGetTableTableInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetTableTableInfoEffectivePredictiveOptimizationFlagOutput { return o } -func (o GetSqlWarehouseHealthFailureReasonOutput) ToGetSqlWarehouseHealthFailureReasonPtrOutput() GetSqlWarehouseHealthFailureReasonPtrOutput { - return o.ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(context.Background()) +func (o GetTableTableInfoEffectivePredictiveOptimizationFlagOutput) ToGetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput() GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ToGetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) } -func (o GetSqlWarehouseHealthFailureReasonOutput) ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthFailureReasonPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSqlWarehouseHealthFailureReason) *GetSqlWarehouseHealthFailureReason { +func (o GetTableTableInfoEffectivePredictiveOptimizationFlagOutput) ToGetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetTableTableInfoEffectivePredictiveOptimizationFlag) *GetTableTableInfoEffectivePredictiveOptimizationFlag { return &v - }).(GetSqlWarehouseHealthFailureReasonPtrOutput) + }).(GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput) } -func (o GetSqlWarehouseHealthFailureReasonOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSqlWarehouseHealthFailureReason) *string { return v.Code }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromName }).(pulumi.StringPtrOutput) } -func (o GetSqlWarehouseHealthFailureReasonOutput) Parameters() pulumi.MapOutput { - return o.ApplyT(func(v GetSqlWarehouseHealthFailureReason) map[string]interface{} { return v.Parameters }).(pulumi.MapOutput) +func (o GetTableTableInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromType }).(pulumi.StringPtrOutput) } -func (o GetSqlWarehouseHealthFailureReasonOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSqlWarehouseHealthFailureReason) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoEffectivePredictiveOptimizationFlagOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetTableTableInfoEffectivePredictiveOptimizationFlag) string { return v.Value }).(pulumi.StringOutput) } -type GetSqlWarehouseHealthFailureReasonPtrOutput struct{ *pulumi.OutputState } +type GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput struct{ *pulumi.OutputState } -func (GetSqlWarehouseHealthFailureReasonPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetSqlWarehouseHealthFailureReason)(nil)).Elem() +func (GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (o GetSqlWarehouseHealthFailureReasonPtrOutput) ToGetSqlWarehouseHealthFailureReasonPtrOutput() GetSqlWarehouseHealthFailureReasonPtrOutput { +func (o GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput() GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput { return o } -func (o GetSqlWarehouseHealthFailureReasonPtrOutput) ToGetSqlWarehouseHealthFailureReasonPtrOutputWithContext(ctx context.Context) GetSqlWarehouseHealthFailureReasonPtrOutput { +func (o GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput { return o } -func (o GetSqlWarehouseHealthFailureReasonPtrOutput) Elem() GetSqlWarehouseHealthFailureReasonOutput { - return o.ApplyT(func(v *GetSqlWarehouseHealthFailureReason) GetSqlWarehouseHealthFailureReason { +func (o GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput) Elem() GetTableTableInfoEffectivePredictiveOptimizationFlagOutput { + return o.ApplyT(func(v *GetTableTableInfoEffectivePredictiveOptimizationFlag) GetTableTableInfoEffectivePredictiveOptimizationFlag { if v != nil { return *v } - var ret GetSqlWarehouseHealthFailureReason + var ret GetTableTableInfoEffectivePredictiveOptimizationFlag return ret - }).(GetSqlWarehouseHealthFailureReasonOutput) + }).(GetTableTableInfoEffectivePredictiveOptimizationFlagOutput) } -func (o GetSqlWarehouseHealthFailureReasonPtrOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSqlWarehouseHealthFailureReason) *string { +func (o GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfoEffectivePredictiveOptimizationFlag) *string { if v == nil { return nil } - return v.Code + return v.InheritedFromName }).(pulumi.StringPtrOutput) } -func (o GetSqlWarehouseHealthFailureReasonPtrOutput) Parameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetSqlWarehouseHealthFailureReason) map[string]interface{} { +func (o GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfoEffectivePredictiveOptimizationFlag) *string { if v == nil { return nil } - return v.Parameters - }).(pulumi.MapOutput) + return v.InheritedFromType + }).(pulumi.StringPtrOutput) } -func (o GetSqlWarehouseHealthFailureReasonPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSqlWarehouseHealthFailureReason) *string { +func (o GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfoEffectivePredictiveOptimizationFlag) *string { if v == nil { return nil } - return v.Type + return &v.Value }).(pulumi.StringPtrOutput) } -type GetSqlWarehouseOdbcParams struct { - Hostname *string `pulumi:"hostname"` - Path *string `pulumi:"path"` - Port *int `pulumi:"port"` - Protocol *string `pulumi:"protocol"` +type GetTableTableInfoEncryptionDetails struct { + SseEncryptionDetails *GetTableTableInfoEncryptionDetailsSseEncryptionDetails `pulumi:"sseEncryptionDetails"` } -// GetSqlWarehouseOdbcParamsInput is an input type that accepts GetSqlWarehouseOdbcParamsArgs and GetSqlWarehouseOdbcParamsOutput values. -// You can construct a concrete instance of `GetSqlWarehouseOdbcParamsInput` via: +// GetTableTableInfoEncryptionDetailsInput is an input type that accepts GetTableTableInfoEncryptionDetailsArgs and GetTableTableInfoEncryptionDetailsOutput values. +// You can construct a concrete instance of `GetTableTableInfoEncryptionDetailsInput` via: // -// GetSqlWarehouseOdbcParamsArgs{...} -type GetSqlWarehouseOdbcParamsInput interface { +// GetTableTableInfoEncryptionDetailsArgs{...} +type GetTableTableInfoEncryptionDetailsInput interface { pulumi.Input - ToGetSqlWarehouseOdbcParamsOutput() GetSqlWarehouseOdbcParamsOutput - ToGetSqlWarehouseOdbcParamsOutputWithContext(context.Context) GetSqlWarehouseOdbcParamsOutput + ToGetTableTableInfoEncryptionDetailsOutput() GetTableTableInfoEncryptionDetailsOutput + ToGetTableTableInfoEncryptionDetailsOutputWithContext(context.Context) GetTableTableInfoEncryptionDetailsOutput } -type GetSqlWarehouseOdbcParamsArgs struct { - Hostname pulumi.StringPtrInput `pulumi:"hostname"` - Path pulumi.StringPtrInput `pulumi:"path"` - Port pulumi.IntPtrInput `pulumi:"port"` - Protocol pulumi.StringPtrInput `pulumi:"protocol"` +type GetTableTableInfoEncryptionDetailsArgs struct { + SseEncryptionDetails GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrInput `pulumi:"sseEncryptionDetails"` } -func (GetSqlWarehouseOdbcParamsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSqlWarehouseOdbcParams)(nil)).Elem() +func (GetTableTableInfoEncryptionDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoEncryptionDetails)(nil)).Elem() } -func (i GetSqlWarehouseOdbcParamsArgs) ToGetSqlWarehouseOdbcParamsOutput() GetSqlWarehouseOdbcParamsOutput { - return i.ToGetSqlWarehouseOdbcParamsOutputWithContext(context.Background()) +func (i GetTableTableInfoEncryptionDetailsArgs) ToGetTableTableInfoEncryptionDetailsOutput() GetTableTableInfoEncryptionDetailsOutput { + return i.ToGetTableTableInfoEncryptionDetailsOutputWithContext(context.Background()) } -func (i GetSqlWarehouseOdbcParamsArgs) ToGetSqlWarehouseOdbcParamsOutputWithContext(ctx context.Context) GetSqlWarehouseOdbcParamsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseOdbcParamsOutput) +func (i GetTableTableInfoEncryptionDetailsArgs) ToGetTableTableInfoEncryptionDetailsOutputWithContext(ctx context.Context) GetTableTableInfoEncryptionDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoEncryptionDetailsOutput) } -func (i GetSqlWarehouseOdbcParamsArgs) ToGetSqlWarehouseOdbcParamsPtrOutput() GetSqlWarehouseOdbcParamsPtrOutput { - return i.ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(context.Background()) +func (i GetTableTableInfoEncryptionDetailsArgs) ToGetTableTableInfoEncryptionDetailsPtrOutput() GetTableTableInfoEncryptionDetailsPtrOutput { + return i.ToGetTableTableInfoEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (i GetSqlWarehouseOdbcParamsArgs) ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseOdbcParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseOdbcParamsOutput).ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(ctx) +func (i GetTableTableInfoEncryptionDetailsArgs) ToGetTableTableInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetTableTableInfoEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoEncryptionDetailsOutput).ToGetTableTableInfoEncryptionDetailsPtrOutputWithContext(ctx) } -// GetSqlWarehouseOdbcParamsPtrInput is an input type that accepts GetSqlWarehouseOdbcParamsArgs, GetSqlWarehouseOdbcParamsPtr and GetSqlWarehouseOdbcParamsPtrOutput values. -// You can construct a concrete instance of `GetSqlWarehouseOdbcParamsPtrInput` via: +// GetTableTableInfoEncryptionDetailsPtrInput is an input type that accepts GetTableTableInfoEncryptionDetailsArgs, GetTableTableInfoEncryptionDetailsPtr and GetTableTableInfoEncryptionDetailsPtrOutput values. +// You can construct a concrete instance of `GetTableTableInfoEncryptionDetailsPtrInput` via: // -// GetSqlWarehouseOdbcParamsArgs{...} +// GetTableTableInfoEncryptionDetailsArgs{...} // // or: // // nil -type GetSqlWarehouseOdbcParamsPtrInput interface { +type GetTableTableInfoEncryptionDetailsPtrInput interface { pulumi.Input - ToGetSqlWarehouseOdbcParamsPtrOutput() GetSqlWarehouseOdbcParamsPtrOutput - ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(context.Context) GetSqlWarehouseOdbcParamsPtrOutput -} - -type getSqlWarehouseOdbcParamsPtrType GetSqlWarehouseOdbcParamsArgs - -func GetSqlWarehouseOdbcParamsPtr(v *GetSqlWarehouseOdbcParamsArgs) GetSqlWarehouseOdbcParamsPtrInput { - return (*getSqlWarehouseOdbcParamsPtrType)(v) -} - -func (*getSqlWarehouseOdbcParamsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetSqlWarehouseOdbcParams)(nil)).Elem() + ToGetTableTableInfoEncryptionDetailsPtrOutput() GetTableTableInfoEncryptionDetailsPtrOutput + ToGetTableTableInfoEncryptionDetailsPtrOutputWithContext(context.Context) GetTableTableInfoEncryptionDetailsPtrOutput } -func (i *getSqlWarehouseOdbcParamsPtrType) ToGetSqlWarehouseOdbcParamsPtrOutput() GetSqlWarehouseOdbcParamsPtrOutput { - return i.ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(context.Background()) -} +type getTableTableInfoEncryptionDetailsPtrType GetTableTableInfoEncryptionDetailsArgs -func (i *getSqlWarehouseOdbcParamsPtrType) ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseOdbcParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseOdbcParamsPtrOutput) +func GetTableTableInfoEncryptionDetailsPtr(v *GetTableTableInfoEncryptionDetailsArgs) GetTableTableInfoEncryptionDetailsPtrInput { + return (*getTableTableInfoEncryptionDetailsPtrType)(v) } -type GetSqlWarehouseOdbcParamsOutput struct{ *pulumi.OutputState } - -func (GetSqlWarehouseOdbcParamsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSqlWarehouseOdbcParams)(nil)).Elem() +func (*getTableTableInfoEncryptionDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoEncryptionDetails)(nil)).Elem() } -func (o GetSqlWarehouseOdbcParamsOutput) ToGetSqlWarehouseOdbcParamsOutput() GetSqlWarehouseOdbcParamsOutput { - return o +func (i *getTableTableInfoEncryptionDetailsPtrType) ToGetTableTableInfoEncryptionDetailsPtrOutput() GetTableTableInfoEncryptionDetailsPtrOutput { + return i.ToGetTableTableInfoEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (o GetSqlWarehouseOdbcParamsOutput) ToGetSqlWarehouseOdbcParamsOutputWithContext(ctx context.Context) GetSqlWarehouseOdbcParamsOutput { - return o +func (i *getTableTableInfoEncryptionDetailsPtrType) ToGetTableTableInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetTableTableInfoEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoEncryptionDetailsPtrOutput) } -func (o GetSqlWarehouseOdbcParamsOutput) ToGetSqlWarehouseOdbcParamsPtrOutput() GetSqlWarehouseOdbcParamsPtrOutput { - return o.ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(context.Background()) +type GetTableTableInfoEncryptionDetailsOutput struct{ *pulumi.OutputState } + +func (GetTableTableInfoEncryptionDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoEncryptionDetails)(nil)).Elem() } -func (o GetSqlWarehouseOdbcParamsOutput) ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseOdbcParamsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSqlWarehouseOdbcParams) *GetSqlWarehouseOdbcParams { - return &v - }).(GetSqlWarehouseOdbcParamsPtrOutput) +func (o GetTableTableInfoEncryptionDetailsOutput) ToGetTableTableInfoEncryptionDetailsOutput() GetTableTableInfoEncryptionDetailsOutput { + return o } -func (o GetSqlWarehouseOdbcParamsOutput) Hostname() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSqlWarehouseOdbcParams) *string { return v.Hostname }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoEncryptionDetailsOutput) ToGetTableTableInfoEncryptionDetailsOutputWithContext(ctx context.Context) GetTableTableInfoEncryptionDetailsOutput { + return o } -func (o GetSqlWarehouseOdbcParamsOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSqlWarehouseOdbcParams) *string { return v.Path }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoEncryptionDetailsOutput) ToGetTableTableInfoEncryptionDetailsPtrOutput() GetTableTableInfoEncryptionDetailsPtrOutput { + return o.ToGetTableTableInfoEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (o GetSqlWarehouseOdbcParamsOutput) Port() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetSqlWarehouseOdbcParams) *int { return v.Port }).(pulumi.IntPtrOutput) +func (o GetTableTableInfoEncryptionDetailsOutput) ToGetTableTableInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetTableTableInfoEncryptionDetailsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetTableTableInfoEncryptionDetails) *GetTableTableInfoEncryptionDetails { + return &v + }).(GetTableTableInfoEncryptionDetailsPtrOutput) } -func (o GetSqlWarehouseOdbcParamsOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSqlWarehouseOdbcParams) *string { return v.Protocol }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoEncryptionDetailsOutput) SseEncryptionDetails() GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ApplyT(func(v GetTableTableInfoEncryptionDetails) *GetTableTableInfoEncryptionDetailsSseEncryptionDetails { + return v.SseEncryptionDetails + }).(GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) } -type GetSqlWarehouseOdbcParamsPtrOutput struct{ *pulumi.OutputState } +type GetTableTableInfoEncryptionDetailsPtrOutput struct{ *pulumi.OutputState } -func (GetSqlWarehouseOdbcParamsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetSqlWarehouseOdbcParams)(nil)).Elem() +func (GetTableTableInfoEncryptionDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoEncryptionDetails)(nil)).Elem() } -func (o GetSqlWarehouseOdbcParamsPtrOutput) ToGetSqlWarehouseOdbcParamsPtrOutput() GetSqlWarehouseOdbcParamsPtrOutput { +func (o GetTableTableInfoEncryptionDetailsPtrOutput) ToGetTableTableInfoEncryptionDetailsPtrOutput() GetTableTableInfoEncryptionDetailsPtrOutput { return o } -func (o GetSqlWarehouseOdbcParamsPtrOutput) ToGetSqlWarehouseOdbcParamsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseOdbcParamsPtrOutput { +func (o GetTableTableInfoEncryptionDetailsPtrOutput) ToGetTableTableInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetTableTableInfoEncryptionDetailsPtrOutput { return o } -func (o GetSqlWarehouseOdbcParamsPtrOutput) Elem() GetSqlWarehouseOdbcParamsOutput { - return o.ApplyT(func(v *GetSqlWarehouseOdbcParams) GetSqlWarehouseOdbcParams { +func (o GetTableTableInfoEncryptionDetailsPtrOutput) Elem() GetTableTableInfoEncryptionDetailsOutput { + return o.ApplyT(func(v *GetTableTableInfoEncryptionDetails) GetTableTableInfoEncryptionDetails { if v != nil { return *v } - var ret GetSqlWarehouseOdbcParams + var ret GetTableTableInfoEncryptionDetails return ret - }).(GetSqlWarehouseOdbcParamsOutput) -} - -func (o GetSqlWarehouseOdbcParamsPtrOutput) Hostname() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSqlWarehouseOdbcParams) *string { - if v == nil { - return nil - } - return v.Hostname - }).(pulumi.StringPtrOutput) -} - -func (o GetSqlWarehouseOdbcParamsPtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSqlWarehouseOdbcParams) *string { - if v == nil { - return nil - } - return v.Path - }).(pulumi.StringPtrOutput) -} - -func (o GetSqlWarehouseOdbcParamsPtrOutput) Port() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetSqlWarehouseOdbcParams) *int { - if v == nil { - return nil - } - return v.Port - }).(pulumi.IntPtrOutput) + }).(GetTableTableInfoEncryptionDetailsOutput) } -func (o GetSqlWarehouseOdbcParamsPtrOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSqlWarehouseOdbcParams) *string { +func (o GetTableTableInfoEncryptionDetailsPtrOutput) SseEncryptionDetails() GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ApplyT(func(v *GetTableTableInfoEncryptionDetails) *GetTableTableInfoEncryptionDetailsSseEncryptionDetails { if v == nil { return nil } - return v.Protocol - }).(pulumi.StringPtrOutput) + return v.SseEncryptionDetails + }).(GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) } -type GetSqlWarehouseTags struct { - CustomTags []GetSqlWarehouseTagsCustomTag `pulumi:"customTags"` +type GetTableTableInfoEncryptionDetailsSseEncryptionDetails struct { + Algorithm *string `pulumi:"algorithm"` + AwsKmsKeyArn *string `pulumi:"awsKmsKeyArn"` } -// GetSqlWarehouseTagsInput is an input type that accepts GetSqlWarehouseTagsArgs and GetSqlWarehouseTagsOutput values. -// You can construct a concrete instance of `GetSqlWarehouseTagsInput` via: +// GetTableTableInfoEncryptionDetailsSseEncryptionDetailsInput is an input type that accepts GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs and GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput values. +// You can construct a concrete instance of `GetTableTableInfoEncryptionDetailsSseEncryptionDetailsInput` via: // -// GetSqlWarehouseTagsArgs{...} -type GetSqlWarehouseTagsInput interface { +// GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs{...} +type GetTableTableInfoEncryptionDetailsSseEncryptionDetailsInput interface { pulumi.Input - ToGetSqlWarehouseTagsOutput() GetSqlWarehouseTagsOutput - ToGetSqlWarehouseTagsOutputWithContext(context.Context) GetSqlWarehouseTagsOutput + ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput() GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput + ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(context.Context) GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput } -type GetSqlWarehouseTagsArgs struct { - CustomTags GetSqlWarehouseTagsCustomTagArrayInput `pulumi:"customTags"` +type GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs struct { + Algorithm pulumi.StringPtrInput `pulumi:"algorithm"` + AwsKmsKeyArn pulumi.StringPtrInput `pulumi:"awsKmsKeyArn"` } -func (GetSqlWarehouseTagsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSqlWarehouseTags)(nil)).Elem() +func (GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() } -func (i GetSqlWarehouseTagsArgs) ToGetSqlWarehouseTagsOutput() GetSqlWarehouseTagsOutput { - return i.ToGetSqlWarehouseTagsOutputWithContext(context.Background()) +func (i GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput() GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput { + return i.ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(context.Background()) } -func (i GetSqlWarehouseTagsArgs) ToGetSqlWarehouseTagsOutputWithContext(ctx context.Context) GetSqlWarehouseTagsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseTagsOutput) +func (i GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(ctx context.Context) GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput) } -func (i GetSqlWarehouseTagsArgs) ToGetSqlWarehouseTagsPtrOutput() GetSqlWarehouseTagsPtrOutput { - return i.ToGetSqlWarehouseTagsPtrOutputWithContext(context.Background()) +func (i GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return i.ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (i GetSqlWarehouseTagsArgs) ToGetSqlWarehouseTagsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseTagsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseTagsOutput).ToGetSqlWarehouseTagsPtrOutputWithContext(ctx) +func (i GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput).ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx) } -// GetSqlWarehouseTagsPtrInput is an input type that accepts GetSqlWarehouseTagsArgs, GetSqlWarehouseTagsPtr and GetSqlWarehouseTagsPtrOutput values. -// You can construct a concrete instance of `GetSqlWarehouseTagsPtrInput` via: +// GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrInput is an input type that accepts GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs, GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtr and GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput values. +// You can construct a concrete instance of `GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrInput` via: // -// GetSqlWarehouseTagsArgs{...} +// GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs{...} // // or: // // nil -type GetSqlWarehouseTagsPtrInput interface { +type GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrInput interface { pulumi.Input - ToGetSqlWarehouseTagsPtrOutput() GetSqlWarehouseTagsPtrOutput - ToGetSqlWarehouseTagsPtrOutputWithContext(context.Context) GetSqlWarehouseTagsPtrOutput + ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput + ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Context) GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput } -type getSqlWarehouseTagsPtrType GetSqlWarehouseTagsArgs +type getTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrType GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs -func GetSqlWarehouseTagsPtr(v *GetSqlWarehouseTagsArgs) GetSqlWarehouseTagsPtrInput { - return (*getSqlWarehouseTagsPtrType)(v) +func GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtr(v *GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs) GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrInput { + return (*getTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrType)(v) } -func (*getSqlWarehouseTagsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetSqlWarehouseTags)(nil)).Elem() +func (*getTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() } -func (i *getSqlWarehouseTagsPtrType) ToGetSqlWarehouseTagsPtrOutput() GetSqlWarehouseTagsPtrOutput { - return i.ToGetSqlWarehouseTagsPtrOutputWithContext(context.Background()) +func (i *getTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrType) ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return i.ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (i *getSqlWarehouseTagsPtrType) ToGetSqlWarehouseTagsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseTagsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseTagsPtrOutput) +func (i *getTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrType) ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) } -type GetSqlWarehouseTagsOutput struct{ *pulumi.OutputState } +type GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput struct{ *pulumi.OutputState } -func (GetSqlWarehouseTagsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSqlWarehouseTags)(nil)).Elem() +func (GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() } -func (o GetSqlWarehouseTagsOutput) ToGetSqlWarehouseTagsOutput() GetSqlWarehouseTagsOutput { +func (o GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput() GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput { return o } -func (o GetSqlWarehouseTagsOutput) ToGetSqlWarehouseTagsOutputWithContext(ctx context.Context) GetSqlWarehouseTagsOutput { +func (o GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(ctx context.Context) GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput { return o } -func (o GetSqlWarehouseTagsOutput) ToGetSqlWarehouseTagsPtrOutput() GetSqlWarehouseTagsPtrOutput { - return o.ToGetSqlWarehouseTagsPtrOutputWithContext(context.Background()) +func (o GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (o GetSqlWarehouseTagsOutput) ToGetSqlWarehouseTagsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseTagsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSqlWarehouseTags) *GetSqlWarehouseTags { +func (o GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetTableTableInfoEncryptionDetailsSseEncryptionDetails) *GetTableTableInfoEncryptionDetailsSseEncryptionDetails { return &v - }).(GetSqlWarehouseTagsPtrOutput) + }).(GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) } -func (o GetSqlWarehouseTagsOutput) CustomTags() GetSqlWarehouseTagsCustomTagArrayOutput { - return o.ApplyT(func(v GetSqlWarehouseTags) []GetSqlWarehouseTagsCustomTag { return v.CustomTags }).(GetSqlWarehouseTagsCustomTagArrayOutput) +func (o GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput) Algorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfoEncryptionDetailsSseEncryptionDetails) *string { return v.Algorithm }).(pulumi.StringPtrOutput) } -type GetSqlWarehouseTagsPtrOutput struct{ *pulumi.OutputState } +func (o GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput) AwsKmsKeyArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetTableTableInfoEncryptionDetailsSseEncryptionDetails) *string { return v.AwsKmsKeyArn }).(pulumi.StringPtrOutput) +} -func (GetSqlWarehouseTagsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetSqlWarehouseTags)(nil)).Elem() +type GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput struct{ *pulumi.OutputState } + +func (GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() } -func (o GetSqlWarehouseTagsPtrOutput) ToGetSqlWarehouseTagsPtrOutput() GetSqlWarehouseTagsPtrOutput { +func (o GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { return o } -func (o GetSqlWarehouseTagsPtrOutput) ToGetSqlWarehouseTagsPtrOutputWithContext(ctx context.Context) GetSqlWarehouseTagsPtrOutput { +func (o GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) ToGetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { return o } -func (o GetSqlWarehouseTagsPtrOutput) Elem() GetSqlWarehouseTagsOutput { - return o.ApplyT(func(v *GetSqlWarehouseTags) GetSqlWarehouseTags { +func (o GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) Elem() GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput { + return o.ApplyT(func(v *GetTableTableInfoEncryptionDetailsSseEncryptionDetails) GetTableTableInfoEncryptionDetailsSseEncryptionDetails { if v != nil { return *v } - var ret GetSqlWarehouseTags + var ret GetTableTableInfoEncryptionDetailsSseEncryptionDetails return ret - }).(GetSqlWarehouseTagsOutput) + }).(GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput) } -func (o GetSqlWarehouseTagsPtrOutput) CustomTags() GetSqlWarehouseTagsCustomTagArrayOutput { - return o.ApplyT(func(v *GetSqlWarehouseTags) []GetSqlWarehouseTagsCustomTag { +func (o GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) Algorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfoEncryptionDetailsSseEncryptionDetails) *string { if v == nil { return nil } - return v.CustomTags - }).(GetSqlWarehouseTagsCustomTagArrayOutput) + return v.Algorithm + }).(pulumi.StringPtrOutput) } -type GetSqlWarehouseTagsCustomTag struct { - Key *string `pulumi:"key"` - Value *string `pulumi:"value"` +func (o GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) AwsKmsKeyArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfoEncryptionDetailsSseEncryptionDetails) *string { + if v == nil { + return nil + } + return v.AwsKmsKeyArn + }).(pulumi.StringPtrOutput) } -// GetSqlWarehouseTagsCustomTagInput is an input type that accepts GetSqlWarehouseTagsCustomTagArgs and GetSqlWarehouseTagsCustomTagOutput values. -// You can construct a concrete instance of `GetSqlWarehouseTagsCustomTagInput` via: +type GetTableTableInfoRowFilter struct { + FunctionName string `pulumi:"functionName"` + InputColumnNames []string `pulumi:"inputColumnNames"` +} + +// GetTableTableInfoRowFilterInput is an input type that accepts GetTableTableInfoRowFilterArgs and GetTableTableInfoRowFilterOutput values. +// You can construct a concrete instance of `GetTableTableInfoRowFilterInput` via: // -// GetSqlWarehouseTagsCustomTagArgs{...} -type GetSqlWarehouseTagsCustomTagInput interface { +// GetTableTableInfoRowFilterArgs{...} +type GetTableTableInfoRowFilterInput interface { pulumi.Input - ToGetSqlWarehouseTagsCustomTagOutput() GetSqlWarehouseTagsCustomTagOutput - ToGetSqlWarehouseTagsCustomTagOutputWithContext(context.Context) GetSqlWarehouseTagsCustomTagOutput + ToGetTableTableInfoRowFilterOutput() GetTableTableInfoRowFilterOutput + ToGetTableTableInfoRowFilterOutputWithContext(context.Context) GetTableTableInfoRowFilterOutput } -type GetSqlWarehouseTagsCustomTagArgs struct { - Key pulumi.StringPtrInput `pulumi:"key"` - Value pulumi.StringPtrInput `pulumi:"value"` +type GetTableTableInfoRowFilterArgs struct { + FunctionName pulumi.StringInput `pulumi:"functionName"` + InputColumnNames pulumi.StringArrayInput `pulumi:"inputColumnNames"` } -func (GetSqlWarehouseTagsCustomTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSqlWarehouseTagsCustomTag)(nil)).Elem() +func (GetTableTableInfoRowFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoRowFilter)(nil)).Elem() } -func (i GetSqlWarehouseTagsCustomTagArgs) ToGetSqlWarehouseTagsCustomTagOutput() GetSqlWarehouseTagsCustomTagOutput { - return i.ToGetSqlWarehouseTagsCustomTagOutputWithContext(context.Background()) +func (i GetTableTableInfoRowFilterArgs) ToGetTableTableInfoRowFilterOutput() GetTableTableInfoRowFilterOutput { + return i.ToGetTableTableInfoRowFilterOutputWithContext(context.Background()) } -func (i GetSqlWarehouseTagsCustomTagArgs) ToGetSqlWarehouseTagsCustomTagOutputWithContext(ctx context.Context) GetSqlWarehouseTagsCustomTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseTagsCustomTagOutput) +func (i GetTableTableInfoRowFilterArgs) ToGetTableTableInfoRowFilterOutputWithContext(ctx context.Context) GetTableTableInfoRowFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoRowFilterOutput) } -// GetSqlWarehouseTagsCustomTagArrayInput is an input type that accepts GetSqlWarehouseTagsCustomTagArray and GetSqlWarehouseTagsCustomTagArrayOutput values. -// You can construct a concrete instance of `GetSqlWarehouseTagsCustomTagArrayInput` via: +func (i GetTableTableInfoRowFilterArgs) ToGetTableTableInfoRowFilterPtrOutput() GetTableTableInfoRowFilterPtrOutput { + return i.ToGetTableTableInfoRowFilterPtrOutputWithContext(context.Background()) +} + +func (i GetTableTableInfoRowFilterArgs) ToGetTableTableInfoRowFilterPtrOutputWithContext(ctx context.Context) GetTableTableInfoRowFilterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoRowFilterOutput).ToGetTableTableInfoRowFilterPtrOutputWithContext(ctx) +} + +// GetTableTableInfoRowFilterPtrInput is an input type that accepts GetTableTableInfoRowFilterArgs, GetTableTableInfoRowFilterPtr and GetTableTableInfoRowFilterPtrOutput values. +// You can construct a concrete instance of `GetTableTableInfoRowFilterPtrInput` via: // -// GetSqlWarehouseTagsCustomTagArray{ GetSqlWarehouseTagsCustomTagArgs{...} } -type GetSqlWarehouseTagsCustomTagArrayInput interface { +// GetTableTableInfoRowFilterArgs{...} +// +// or: +// +// nil +type GetTableTableInfoRowFilterPtrInput interface { pulumi.Input - ToGetSqlWarehouseTagsCustomTagArrayOutput() GetSqlWarehouseTagsCustomTagArrayOutput - ToGetSqlWarehouseTagsCustomTagArrayOutputWithContext(context.Context) GetSqlWarehouseTagsCustomTagArrayOutput + ToGetTableTableInfoRowFilterPtrOutput() GetTableTableInfoRowFilterPtrOutput + ToGetTableTableInfoRowFilterPtrOutputWithContext(context.Context) GetTableTableInfoRowFilterPtrOutput } -type GetSqlWarehouseTagsCustomTagArray []GetSqlWarehouseTagsCustomTagInput +type getTableTableInfoRowFilterPtrType GetTableTableInfoRowFilterArgs -func (GetSqlWarehouseTagsCustomTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSqlWarehouseTagsCustomTag)(nil)).Elem() +func GetTableTableInfoRowFilterPtr(v *GetTableTableInfoRowFilterArgs) GetTableTableInfoRowFilterPtrInput { + return (*getTableTableInfoRowFilterPtrType)(v) } -func (i GetSqlWarehouseTagsCustomTagArray) ToGetSqlWarehouseTagsCustomTagArrayOutput() GetSqlWarehouseTagsCustomTagArrayOutput { - return i.ToGetSqlWarehouseTagsCustomTagArrayOutputWithContext(context.Background()) +func (*getTableTableInfoRowFilterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoRowFilter)(nil)).Elem() } -func (i GetSqlWarehouseTagsCustomTagArray) ToGetSqlWarehouseTagsCustomTagArrayOutputWithContext(ctx context.Context) GetSqlWarehouseTagsCustomTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSqlWarehouseTagsCustomTagArrayOutput) +func (i *getTableTableInfoRowFilterPtrType) ToGetTableTableInfoRowFilterPtrOutput() GetTableTableInfoRowFilterPtrOutput { + return i.ToGetTableTableInfoRowFilterPtrOutputWithContext(context.Background()) } -type GetSqlWarehouseTagsCustomTagOutput struct{ *pulumi.OutputState } +func (i *getTableTableInfoRowFilterPtrType) ToGetTableTableInfoRowFilterPtrOutputWithContext(ctx context.Context) GetTableTableInfoRowFilterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoRowFilterPtrOutput) +} -func (GetSqlWarehouseTagsCustomTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSqlWarehouseTagsCustomTag)(nil)).Elem() +type GetTableTableInfoRowFilterOutput struct{ *pulumi.OutputState } + +func (GetTableTableInfoRowFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoRowFilter)(nil)).Elem() } -func (o GetSqlWarehouseTagsCustomTagOutput) ToGetSqlWarehouseTagsCustomTagOutput() GetSqlWarehouseTagsCustomTagOutput { +func (o GetTableTableInfoRowFilterOutput) ToGetTableTableInfoRowFilterOutput() GetTableTableInfoRowFilterOutput { return o } -func (o GetSqlWarehouseTagsCustomTagOutput) ToGetSqlWarehouseTagsCustomTagOutputWithContext(ctx context.Context) GetSqlWarehouseTagsCustomTagOutput { +func (o GetTableTableInfoRowFilterOutput) ToGetTableTableInfoRowFilterOutputWithContext(ctx context.Context) GetTableTableInfoRowFilterOutput { return o } -func (o GetSqlWarehouseTagsCustomTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSqlWarehouseTagsCustomTag) *string { return v.Key }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoRowFilterOutput) ToGetTableTableInfoRowFilterPtrOutput() GetTableTableInfoRowFilterPtrOutput { + return o.ToGetTableTableInfoRowFilterPtrOutputWithContext(context.Background()) } -func (o GetSqlWarehouseTagsCustomTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSqlWarehouseTagsCustomTag) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoRowFilterOutput) ToGetTableTableInfoRowFilterPtrOutputWithContext(ctx context.Context) GetTableTableInfoRowFilterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetTableTableInfoRowFilter) *GetTableTableInfoRowFilter { + return &v + }).(GetTableTableInfoRowFilterPtrOutput) } -type GetSqlWarehouseTagsCustomTagArrayOutput struct{ *pulumi.OutputState } - -func (GetSqlWarehouseTagsCustomTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSqlWarehouseTagsCustomTag)(nil)).Elem() +func (o GetTableTableInfoRowFilterOutput) FunctionName() pulumi.StringOutput { + return o.ApplyT(func(v GetTableTableInfoRowFilter) string { return v.FunctionName }).(pulumi.StringOutput) } -func (o GetSqlWarehouseTagsCustomTagArrayOutput) ToGetSqlWarehouseTagsCustomTagArrayOutput() GetSqlWarehouseTagsCustomTagArrayOutput { - return o +func (o GetTableTableInfoRowFilterOutput) InputColumnNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetTableTableInfoRowFilter) []string { return v.InputColumnNames }).(pulumi.StringArrayOutput) } -func (o GetSqlWarehouseTagsCustomTagArrayOutput) ToGetSqlWarehouseTagsCustomTagArrayOutputWithContext(ctx context.Context) GetSqlWarehouseTagsCustomTagArrayOutput { - return o -} +type GetTableTableInfoRowFilterPtrOutput struct{ *pulumi.OutputState } -func (o GetSqlWarehouseTagsCustomTagArrayOutput) Index(i pulumi.IntInput) GetSqlWarehouseTagsCustomTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSqlWarehouseTagsCustomTag { - return vs[0].([]GetSqlWarehouseTagsCustomTag)[vs[1].(int)] - }).(GetSqlWarehouseTagsCustomTagOutput) +func (GetTableTableInfoRowFilterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoRowFilter)(nil)).Elem() } -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"` - DatabricksGcpServiceAccount *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount `pulumi:"databricksGcpServiceAccount"` - Id *string `pulumi:"id"` - // Unique identifier of the parent Metastore. - MetastoreId *string `pulumi:"metastoreId"` - // The name of the storage credential - Name *string `pulumi:"name"` - // 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"` - UpdatedBy *string `pulumi:"updatedBy"` - UsedForManagedStorage *bool `pulumi:"usedForManagedStorage"` +func (o GetTableTableInfoRowFilterPtrOutput) ToGetTableTableInfoRowFilterPtrOutput() GetTableTableInfoRowFilterPtrOutput { + return o } -// GetStorageCredentialStorageCredentialInfoInput is an input type that accepts GetStorageCredentialStorageCredentialInfoArgs and GetStorageCredentialStorageCredentialInfoOutput values. -// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoInput` via: -// -// GetStorageCredentialStorageCredentialInfoArgs{...} -type GetStorageCredentialStorageCredentialInfoInput interface { - pulumi.Input +func (o GetTableTableInfoRowFilterPtrOutput) ToGetTableTableInfoRowFilterPtrOutputWithContext(ctx context.Context) GetTableTableInfoRowFilterPtrOutput { + return o +} - ToGetStorageCredentialStorageCredentialInfoOutput() GetStorageCredentialStorageCredentialInfoOutput - ToGetStorageCredentialStorageCredentialInfoOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoOutput +func (o GetTableTableInfoRowFilterPtrOutput) Elem() GetTableTableInfoRowFilterOutput { + return o.ApplyT(func(v *GetTableTableInfoRowFilter) GetTableTableInfoRowFilter { + if v != nil { + return *v + } + var ret GetTableTableInfoRowFilter + return ret + }).(GetTableTableInfoRowFilterOutput) } -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"` - DatabricksGcpServiceAccount GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrInput `pulumi:"databricksGcpServiceAccount"` - Id pulumi.StringPtrInput `pulumi:"id"` - // Unique identifier of the parent Metastore. - MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` - // The name of the storage credential - Name pulumi.StringPtrInput `pulumi:"name"` - // 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"` - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` - UsedForManagedStorage pulumi.BoolPtrInput `pulumi:"usedForManagedStorage"` +func (o GetTableTableInfoRowFilterPtrOutput) FunctionName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfoRowFilter) *string { + if v == nil { + return nil + } + return &v.FunctionName + }).(pulumi.StringPtrOutput) } -func (GetStorageCredentialStorageCredentialInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfo)(nil)).Elem() +func (o GetTableTableInfoRowFilterPtrOutput) InputColumnNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetTableTableInfoRowFilter) []string { + if v == nil { + return nil + } + return v.InputColumnNames + }).(pulumi.StringArrayOutput) } -func (i GetStorageCredentialStorageCredentialInfoArgs) ToGetStorageCredentialStorageCredentialInfoOutput() GetStorageCredentialStorageCredentialInfoOutput { - return i.ToGetStorageCredentialStorageCredentialInfoOutputWithContext(context.Background()) +type GetTableTableInfoTableConstraint struct { + ForeignKeyConstraint *GetTableTableInfoTableConstraintForeignKeyConstraint `pulumi:"foreignKeyConstraint"` + NamedTableConstraint *GetTableTableInfoTableConstraintNamedTableConstraint `pulumi:"namedTableConstraint"` + PrimaryKeyConstraint *GetTableTableInfoTableConstraintPrimaryKeyConstraint `pulumi:"primaryKeyConstraint"` } -func (i GetStorageCredentialStorageCredentialInfoArgs) ToGetStorageCredentialStorageCredentialInfoOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoOutput) +// GetTableTableInfoTableConstraintInput is an input type that accepts GetTableTableInfoTableConstraintArgs and GetTableTableInfoTableConstraintOutput values. +// You can construct a concrete instance of `GetTableTableInfoTableConstraintInput` via: +// +// GetTableTableInfoTableConstraintArgs{...} +type GetTableTableInfoTableConstraintInput interface { + pulumi.Input + + ToGetTableTableInfoTableConstraintOutput() GetTableTableInfoTableConstraintOutput + ToGetTableTableInfoTableConstraintOutputWithContext(context.Context) GetTableTableInfoTableConstraintOutput } -func (i GetStorageCredentialStorageCredentialInfoArgs) ToGetStorageCredentialStorageCredentialInfoPtrOutput() GetStorageCredentialStorageCredentialInfoPtrOutput { - return i.ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(context.Background()) +type GetTableTableInfoTableConstraintArgs struct { + ForeignKeyConstraint GetTableTableInfoTableConstraintForeignKeyConstraintPtrInput `pulumi:"foreignKeyConstraint"` + NamedTableConstraint GetTableTableInfoTableConstraintNamedTableConstraintPtrInput `pulumi:"namedTableConstraint"` + PrimaryKeyConstraint GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrInput `pulumi:"primaryKeyConstraint"` } -func (i GetStorageCredentialStorageCredentialInfoArgs) ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoOutput).ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(ctx) +func (GetTableTableInfoTableConstraintArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoTableConstraint)(nil)).Elem() } -// GetStorageCredentialStorageCredentialInfoPtrInput is an input type that accepts GetStorageCredentialStorageCredentialInfoArgs, GetStorageCredentialStorageCredentialInfoPtr and GetStorageCredentialStorageCredentialInfoPtrOutput values. -// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoPtrInput` via: -// -// GetStorageCredentialStorageCredentialInfoArgs{...} -// -// or: -// -// nil -type GetStorageCredentialStorageCredentialInfoPtrInput interface { - pulumi.Input +func (i GetTableTableInfoTableConstraintArgs) ToGetTableTableInfoTableConstraintOutput() GetTableTableInfoTableConstraintOutput { + return i.ToGetTableTableInfoTableConstraintOutputWithContext(context.Background()) +} - ToGetStorageCredentialStorageCredentialInfoPtrOutput() GetStorageCredentialStorageCredentialInfoPtrOutput - ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoPtrOutput +func (i GetTableTableInfoTableConstraintArgs) ToGetTableTableInfoTableConstraintOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoTableConstraintOutput) } -type getStorageCredentialStorageCredentialInfoPtrType GetStorageCredentialStorageCredentialInfoArgs +// GetTableTableInfoTableConstraintArrayInput is an input type that accepts GetTableTableInfoTableConstraintArray and GetTableTableInfoTableConstraintArrayOutput values. +// You can construct a concrete instance of `GetTableTableInfoTableConstraintArrayInput` via: +// +// GetTableTableInfoTableConstraintArray{ GetTableTableInfoTableConstraintArgs{...} } +type GetTableTableInfoTableConstraintArrayInput interface { + pulumi.Input -func GetStorageCredentialStorageCredentialInfoPtr(v *GetStorageCredentialStorageCredentialInfoArgs) GetStorageCredentialStorageCredentialInfoPtrInput { - return (*getStorageCredentialStorageCredentialInfoPtrType)(v) + ToGetTableTableInfoTableConstraintArrayOutput() GetTableTableInfoTableConstraintArrayOutput + ToGetTableTableInfoTableConstraintArrayOutputWithContext(context.Context) GetTableTableInfoTableConstraintArrayOutput } -func (*getStorageCredentialStorageCredentialInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfo)(nil)).Elem() +type GetTableTableInfoTableConstraintArray []GetTableTableInfoTableConstraintInput + +func (GetTableTableInfoTableConstraintArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTableTableInfoTableConstraint)(nil)).Elem() } -func (i *getStorageCredentialStorageCredentialInfoPtrType) ToGetStorageCredentialStorageCredentialInfoPtrOutput() GetStorageCredentialStorageCredentialInfoPtrOutput { - return i.ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(context.Background()) +func (i GetTableTableInfoTableConstraintArray) ToGetTableTableInfoTableConstraintArrayOutput() GetTableTableInfoTableConstraintArrayOutput { + return i.ToGetTableTableInfoTableConstraintArrayOutputWithContext(context.Background()) } -func (i *getStorageCredentialStorageCredentialInfoPtrType) ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoPtrOutput) +func (i GetTableTableInfoTableConstraintArray) ToGetTableTableInfoTableConstraintArrayOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoTableConstraintArrayOutput) } -type GetStorageCredentialStorageCredentialInfoOutput struct{ *pulumi.OutputState } +type GetTableTableInfoTableConstraintOutput struct{ *pulumi.OutputState } -func (GetStorageCredentialStorageCredentialInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfo)(nil)).Elem() +func (GetTableTableInfoTableConstraintOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoTableConstraint)(nil)).Elem() } -func (o GetStorageCredentialStorageCredentialInfoOutput) ToGetStorageCredentialStorageCredentialInfoOutput() GetStorageCredentialStorageCredentialInfoOutput { +func (o GetTableTableInfoTableConstraintOutput) ToGetTableTableInfoTableConstraintOutput() GetTableTableInfoTableConstraintOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoOutput) ToGetStorageCredentialStorageCredentialInfoOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoOutput { +func (o GetTableTableInfoTableConstraintOutput) ToGetTableTableInfoTableConstraintOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoOutput) ToGetStorageCredentialStorageCredentialInfoPtrOutput() GetStorageCredentialStorageCredentialInfoPtrOutput { - return o.ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(context.Background()) +func (o GetTableTableInfoTableConstraintOutput) ForeignKeyConstraint() GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput { + return o.ApplyT(func(v GetTableTableInfoTableConstraint) *GetTableTableInfoTableConstraintForeignKeyConstraint { + return v.ForeignKeyConstraint + }).(GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput) } -func (o GetStorageCredentialStorageCredentialInfoOutput) ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfo { - return &v - }).(GetStorageCredentialStorageCredentialInfoPtrOutput) +func (o GetTableTableInfoTableConstraintOutput) NamedTableConstraint() GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput { + return o.ApplyT(func(v GetTableTableInfoTableConstraint) *GetTableTableInfoTableConstraintNamedTableConstraint { + return v.NamedTableConstraint + }).(GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput) } -func (o GetStorageCredentialStorageCredentialInfoOutput) AwsIamRole() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAwsIamRole { - return v.AwsIamRole - }).(GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) +func (o GetTableTableInfoTableConstraintOutput) PrimaryKeyConstraint() GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput { + return o.ApplyT(func(v GetTableTableInfoTableConstraint) *GetTableTableInfoTableConstraintPrimaryKeyConstraint { + return v.PrimaryKeyConstraint + }).(GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput) } -func (o GetStorageCredentialStorageCredentialInfoOutput) AzureManagedIdentity() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity { - return v.AzureManagedIdentity - }).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) +type GetTableTableInfoTableConstraintArrayOutput struct{ *pulumi.OutputState } + +func (GetTableTableInfoTableConstraintArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTableTableInfoTableConstraint)(nil)).Elem() } -func (o GetStorageCredentialStorageCredentialInfoOutput) AzureServicePrincipal() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal { - return v.AzureServicePrincipal - }).(GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) +func (o GetTableTableInfoTableConstraintArrayOutput) ToGetTableTableInfoTableConstraintArrayOutput() GetTableTableInfoTableConstraintArrayOutput { + return o } -func (o GetStorageCredentialStorageCredentialInfoOutput) CloudflareApiToken() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoCloudflareApiToken { - return v.CloudflareApiToken - }).(GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) +func (o GetTableTableInfoTableConstraintArrayOutput) ToGetTableTableInfoTableConstraintArrayOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintArrayOutput { + return o } -func (o GetStorageCredentialStorageCredentialInfoOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoTableConstraintArrayOutput) Index(i pulumi.IntInput) GetTableTableInfoTableConstraintOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTableTableInfoTableConstraint { + return vs[0].([]GetTableTableInfoTableConstraint)[vs[1].(int)] + }).(GetTableTableInfoTableConstraintOutput) } -func (o GetStorageCredentialStorageCredentialInfoOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) +type GetTableTableInfoTableConstraintForeignKeyConstraint struct { + ChildColumns []string `pulumi:"childColumns"` + // Full name of the databricks_table: _`catalog`.`schema`.`table`_ + Name string `pulumi:"name"` + ParentColumns []string `pulumi:"parentColumns"` + ParentTable string `pulumi:"parentTable"` } -func (o GetStorageCredentialStorageCredentialInfoOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +// GetTableTableInfoTableConstraintForeignKeyConstraintInput is an input type that accepts GetTableTableInfoTableConstraintForeignKeyConstraintArgs and GetTableTableInfoTableConstraintForeignKeyConstraintOutput values. +// You can construct a concrete instance of `GetTableTableInfoTableConstraintForeignKeyConstraintInput` via: +// +// GetTableTableInfoTableConstraintForeignKeyConstraintArgs{...} +type GetTableTableInfoTableConstraintForeignKeyConstraintInput interface { + pulumi.Input + + ToGetTableTableInfoTableConstraintForeignKeyConstraintOutput() GetTableTableInfoTableConstraintForeignKeyConstraintOutput + ToGetTableTableInfoTableConstraintForeignKeyConstraintOutputWithContext(context.Context) GetTableTableInfoTableConstraintForeignKeyConstraintOutput } -func (o GetStorageCredentialStorageCredentialInfoOutput) DatabricksGcpServiceAccount() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount { - return v.DatabricksGcpServiceAccount - }).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) +type GetTableTableInfoTableConstraintForeignKeyConstraintArgs struct { + ChildColumns pulumi.StringArrayInput `pulumi:"childColumns"` + // Full name of the databricks_table: _`catalog`.`schema`.`table`_ + Name pulumi.StringInput `pulumi:"name"` + ParentColumns pulumi.StringArrayInput `pulumi:"parentColumns"` + ParentTable pulumi.StringInput `pulumi:"parentTable"` } -func (o GetStorageCredentialStorageCredentialInfoOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.Id }).(pulumi.StringPtrOutput) +func (GetTableTableInfoTableConstraintForeignKeyConstraintArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoTableConstraintForeignKeyConstraint)(nil)).Elem() } -// Unique identifier of the parent Metastore. -func (o GetStorageCredentialStorageCredentialInfoOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +func (i GetTableTableInfoTableConstraintForeignKeyConstraintArgs) ToGetTableTableInfoTableConstraintForeignKeyConstraintOutput() GetTableTableInfoTableConstraintForeignKeyConstraintOutput { + return i.ToGetTableTableInfoTableConstraintForeignKeyConstraintOutputWithContext(context.Background()) } -// The name of the storage credential -func (o GetStorageCredentialStorageCredentialInfoOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.Name }).(pulumi.StringPtrOutput) +func (i GetTableTableInfoTableConstraintForeignKeyConstraintArgs) ToGetTableTableInfoTableConstraintForeignKeyConstraintOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintForeignKeyConstraintOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoTableConstraintForeignKeyConstraintOutput) } -// Username/groupname/sp applicationId of the storage credential owner. -func (o GetStorageCredentialStorageCredentialInfoOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) +func (i GetTableTableInfoTableConstraintForeignKeyConstraintArgs) ToGetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput() GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput { + return i.ToGetTableTableInfoTableConstraintForeignKeyConstraintPtrOutputWithContext(context.Background()) } -// Indicates whether the storage credential is only usable for read operations. -func (o GetStorageCredentialStorageCredentialInfoOutput) ReadOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *bool { return v.ReadOnly }).(pulumi.BoolPtrOutput) +func (i GetTableTableInfoTableConstraintForeignKeyConstraintArgs) ToGetTableTableInfoTableConstraintForeignKeyConstraintPtrOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoTableConstraintForeignKeyConstraintOutput).ToGetTableTableInfoTableConstraintForeignKeyConstraintPtrOutputWithContext(ctx) } -func (o GetStorageCredentialStorageCredentialInfoOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +// GetTableTableInfoTableConstraintForeignKeyConstraintPtrInput is an input type that accepts GetTableTableInfoTableConstraintForeignKeyConstraintArgs, GetTableTableInfoTableConstraintForeignKeyConstraintPtr and GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput values. +// You can construct a concrete instance of `GetTableTableInfoTableConstraintForeignKeyConstraintPtrInput` via: +// +// GetTableTableInfoTableConstraintForeignKeyConstraintArgs{...} +// +// or: +// +// nil +type GetTableTableInfoTableConstraintForeignKeyConstraintPtrInput interface { + pulumi.Input + + ToGetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput() GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput + ToGetTableTableInfoTableConstraintForeignKeyConstraintPtrOutputWithContext(context.Context) GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput } -func (o GetStorageCredentialStorageCredentialInfoOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +type getTableTableInfoTableConstraintForeignKeyConstraintPtrType GetTableTableInfoTableConstraintForeignKeyConstraintArgs + +func GetTableTableInfoTableConstraintForeignKeyConstraintPtr(v *GetTableTableInfoTableConstraintForeignKeyConstraintArgs) GetTableTableInfoTableConstraintForeignKeyConstraintPtrInput { + return (*getTableTableInfoTableConstraintForeignKeyConstraintPtrType)(v) } -func (o GetStorageCredentialStorageCredentialInfoOutput) UsedForManagedStorage() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfo) *bool { return v.UsedForManagedStorage }).(pulumi.BoolPtrOutput) +func (*getTableTableInfoTableConstraintForeignKeyConstraintPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoTableConstraintForeignKeyConstraint)(nil)).Elem() } -type GetStorageCredentialStorageCredentialInfoPtrOutput struct{ *pulumi.OutputState } +func (i *getTableTableInfoTableConstraintForeignKeyConstraintPtrType) ToGetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput() GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput { + return i.ToGetTableTableInfoTableConstraintForeignKeyConstraintPtrOutputWithContext(context.Background()) +} -func (GetStorageCredentialStorageCredentialInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfo)(nil)).Elem() +func (i *getTableTableInfoTableConstraintForeignKeyConstraintPtrType) ToGetTableTableInfoTableConstraintForeignKeyConstraintPtrOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput) } -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) ToGetStorageCredentialStorageCredentialInfoPtrOutput() GetStorageCredentialStorageCredentialInfoPtrOutput { - return o +type GetTableTableInfoTableConstraintForeignKeyConstraintOutput struct{ *pulumi.OutputState } + +func (GetTableTableInfoTableConstraintForeignKeyConstraintOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoTableConstraintForeignKeyConstraint)(nil)).Elem() } -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) ToGetStorageCredentialStorageCredentialInfoPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoPtrOutput { +func (o GetTableTableInfoTableConstraintForeignKeyConstraintOutput) ToGetTableTableInfoTableConstraintForeignKeyConstraintOutput() GetTableTableInfoTableConstraintForeignKeyConstraintOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) Elem() GetStorageCredentialStorageCredentialInfoOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) GetStorageCredentialStorageCredentialInfo { - if v != nil { - return *v - } - var ret GetStorageCredentialStorageCredentialInfo - return ret - }).(GetStorageCredentialStorageCredentialInfoOutput) +func (o GetTableTableInfoTableConstraintForeignKeyConstraintOutput) ToGetTableTableInfoTableConstraintForeignKeyConstraintOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintForeignKeyConstraintOutput { + return o } -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) AwsIamRole() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAwsIamRole { - if v == nil { - return nil - } - return v.AwsIamRole - }).(GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) +func (o GetTableTableInfoTableConstraintForeignKeyConstraintOutput) ToGetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput() GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput { + return o.ToGetTableTableInfoTableConstraintForeignKeyConstraintPtrOutputWithContext(context.Background()) } -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) AzureManagedIdentity() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity { - if v == nil { - return nil - } - return v.AzureManagedIdentity - }).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) +func (o GetTableTableInfoTableConstraintForeignKeyConstraintOutput) ToGetTableTableInfoTableConstraintForeignKeyConstraintPtrOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetTableTableInfoTableConstraintForeignKeyConstraint) *GetTableTableInfoTableConstraintForeignKeyConstraint { + return &v + }).(GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput) } -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) AzureServicePrincipal() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal { - if v == nil { - return nil - } - return v.AzureServicePrincipal - }).(GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) +func (o GetTableTableInfoTableConstraintForeignKeyConstraintOutput) ChildColumns() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetTableTableInfoTableConstraintForeignKeyConstraint) []string { return v.ChildColumns }).(pulumi.StringArrayOutput) } -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) CloudflareApiToken() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoCloudflareApiToken { - if v == nil { - return nil - } - return v.CloudflareApiToken - }).(GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) +// Full name of the databricks_table: _`catalog`.`schema`.`table`_ +func (o GetTableTableInfoTableConstraintForeignKeyConstraintOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetTableTableInfoTableConstraintForeignKeyConstraint) string { return v.Name }).(pulumi.StringOutput) } -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { - if v == nil { - return nil - } - return v.Comment - }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoTableConstraintForeignKeyConstraintOutput) ParentColumns() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetTableTableInfoTableConstraintForeignKeyConstraint) []string { return v.ParentColumns }).(pulumi.StringArrayOutput) } -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *int { - if v == nil { - return nil - } - return v.CreatedAt - }).(pulumi.IntPtrOutput) +func (o GetTableTableInfoTableConstraintForeignKeyConstraintOutput) ParentTable() pulumi.StringOutput { + return o.ApplyT(func(v GetTableTableInfoTableConstraintForeignKeyConstraint) string { return v.ParentTable }).(pulumi.StringOutput) } -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { - if v == nil { - return nil - } - return v.CreatedBy - }).(pulumi.StringPtrOutput) -} +type GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput struct{ *pulumi.OutputState } -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) DatabricksGcpServiceAccount() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount { - if v == nil { - return nil - } - return v.DatabricksGcpServiceAccount - }).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) +func (GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoTableConstraintForeignKeyConstraint)(nil)).Elem() } -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { - if v == nil { - return nil - } - return v.Id - }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput) ToGetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput() GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput { + return o } -// Unique identifier of the parent Metastore. -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { - if v == nil { - return nil - } - return v.MetastoreId - }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput) ToGetTableTableInfoTableConstraintForeignKeyConstraintPtrOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput { + return o } -// The name of the storage credential -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { - if v == nil { - return nil +func (o GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput) Elem() GetTableTableInfoTableConstraintForeignKeyConstraintOutput { + return o.ApplyT(func(v *GetTableTableInfoTableConstraintForeignKeyConstraint) GetTableTableInfoTableConstraintForeignKeyConstraint { + if v != nil { + return *v } - return v.Name - }).(pulumi.StringPtrOutput) + var ret GetTableTableInfoTableConstraintForeignKeyConstraint + return ret + }).(GetTableTableInfoTableConstraintForeignKeyConstraintOutput) } -// Username/groupname/sp applicationId of the storage credential owner. -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { +func (o GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput) ChildColumns() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetTableTableInfoTableConstraintForeignKeyConstraint) []string { if v == nil { return nil } - return v.Owner - }).(pulumi.StringPtrOutput) + return v.ChildColumns + }).(pulumi.StringArrayOutput) } -// Indicates whether the storage credential is only usable for read operations. -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) ReadOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *bool { +// Full name of the databricks_table: _`catalog`.`schema`.`table`_ +func (o GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfoTableConstraintForeignKeyConstraint) *string { if v == nil { return nil } - return v.ReadOnly - }).(pulumi.BoolPtrOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *int { +func (o GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput) ParentColumns() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetTableTableInfoTableConstraintForeignKeyConstraint) []string { if v == nil { return nil } - return v.UpdatedAt - }).(pulumi.IntPtrOutput) + return v.ParentColumns + }).(pulumi.StringArrayOutput) } -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *string { +func (o GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput) ParentTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfoTableConstraintForeignKeyConstraint) *string { if v == nil { return nil } - return v.UpdatedBy + return &v.ParentTable }).(pulumi.StringPtrOutput) } -func (o GetStorageCredentialStorageCredentialInfoPtrOutput) UsedForManagedStorage() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfo) *bool { - if v == nil { - return nil - } - return v.UsedForManagedStorage - }).(pulumi.BoolPtrOutput) -} - -type GetStorageCredentialStorageCredentialInfoAwsIamRole struct { - // (output only) - The external ID used in role assumption to prevent confused deputy problem. - ExternalId *string `pulumi:"externalId"` - // The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` - RoleArn string `pulumi:"roleArn"` - // (output only) - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. - UnityCatalogIamArn *string `pulumi:"unityCatalogIamArn"` +type GetTableTableInfoTableConstraintNamedTableConstraint struct { + // Full name of the databricks_table: _`catalog`.`schema`.`table`_ + Name string `pulumi:"name"` } -// GetStorageCredentialStorageCredentialInfoAwsIamRoleInput is an input type that accepts GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs and GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput values. -// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoAwsIamRoleInput` via: +// GetTableTableInfoTableConstraintNamedTableConstraintInput is an input type that accepts GetTableTableInfoTableConstraintNamedTableConstraintArgs and GetTableTableInfoTableConstraintNamedTableConstraintOutput values. +// You can construct a concrete instance of `GetTableTableInfoTableConstraintNamedTableConstraintInput` via: // -// GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs{...} -type GetStorageCredentialStorageCredentialInfoAwsIamRoleInput interface { +// GetTableTableInfoTableConstraintNamedTableConstraintArgs{...} +type GetTableTableInfoTableConstraintNamedTableConstraintInput interface { pulumi.Input - ToGetStorageCredentialStorageCredentialInfoAwsIamRoleOutput() GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput - ToGetStorageCredentialStorageCredentialInfoAwsIamRoleOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput + ToGetTableTableInfoTableConstraintNamedTableConstraintOutput() GetTableTableInfoTableConstraintNamedTableConstraintOutput + ToGetTableTableInfoTableConstraintNamedTableConstraintOutputWithContext(context.Context) GetTableTableInfoTableConstraintNamedTableConstraintOutput } -type GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs struct { - // (output only) - The external ID used in role assumption to prevent confused deputy problem. - ExternalId pulumi.StringPtrInput `pulumi:"externalId"` - // The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` - RoleArn pulumi.StringInput `pulumi:"roleArn"` - // (output only) - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. - UnityCatalogIamArn pulumi.StringPtrInput `pulumi:"unityCatalogIamArn"` +type GetTableTableInfoTableConstraintNamedTableConstraintArgs struct { + // Full name of the databricks_table: _`catalog`.`schema`.`table`_ + Name pulumi.StringInput `pulumi:"name"` } -func (GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoAwsIamRole)(nil)).Elem() +func (GetTableTableInfoTableConstraintNamedTableConstraintArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoTableConstraintNamedTableConstraint)(nil)).Elem() } -func (i GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs) ToGetStorageCredentialStorageCredentialInfoAwsIamRoleOutput() GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput { - return i.ToGetStorageCredentialStorageCredentialInfoAwsIamRoleOutputWithContext(context.Background()) +func (i GetTableTableInfoTableConstraintNamedTableConstraintArgs) ToGetTableTableInfoTableConstraintNamedTableConstraintOutput() GetTableTableInfoTableConstraintNamedTableConstraintOutput { + return i.ToGetTableTableInfoTableConstraintNamedTableConstraintOutputWithContext(context.Background()) } -func (i GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs) ToGetStorageCredentialStorageCredentialInfoAwsIamRoleOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) +func (i GetTableTableInfoTableConstraintNamedTableConstraintArgs) ToGetTableTableInfoTableConstraintNamedTableConstraintOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintNamedTableConstraintOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoTableConstraintNamedTableConstraintOutput) } -func (i GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { - return i.ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(context.Background()) +func (i GetTableTableInfoTableConstraintNamedTableConstraintArgs) ToGetTableTableInfoTableConstraintNamedTableConstraintPtrOutput() GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput { + return i.ToGetTableTableInfoTableConstraintNamedTableConstraintPtrOutputWithContext(context.Background()) } -func (i GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput).ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(ctx) +func (i GetTableTableInfoTableConstraintNamedTableConstraintArgs) ToGetTableTableInfoTableConstraintNamedTableConstraintPtrOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoTableConstraintNamedTableConstraintOutput).ToGetTableTableInfoTableConstraintNamedTableConstraintPtrOutputWithContext(ctx) } -// GetStorageCredentialStorageCredentialInfoAwsIamRolePtrInput is an input type that accepts GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs, GetStorageCredentialStorageCredentialInfoAwsIamRolePtr and GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput values. -// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoAwsIamRolePtrInput` via: +// GetTableTableInfoTableConstraintNamedTableConstraintPtrInput is an input type that accepts GetTableTableInfoTableConstraintNamedTableConstraintArgs, GetTableTableInfoTableConstraintNamedTableConstraintPtr and GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput values. +// You can construct a concrete instance of `GetTableTableInfoTableConstraintNamedTableConstraintPtrInput` via: // -// GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs{...} +// GetTableTableInfoTableConstraintNamedTableConstraintArgs{...} // // or: // // nil -type GetStorageCredentialStorageCredentialInfoAwsIamRolePtrInput interface { +type GetTableTableInfoTableConstraintNamedTableConstraintPtrInput interface { pulumi.Input - ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput - ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput + ToGetTableTableInfoTableConstraintNamedTableConstraintPtrOutput() GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput + ToGetTableTableInfoTableConstraintNamedTableConstraintPtrOutputWithContext(context.Context) GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput } -type getStorageCredentialStorageCredentialInfoAwsIamRolePtrType GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs +type getTableTableInfoTableConstraintNamedTableConstraintPtrType GetTableTableInfoTableConstraintNamedTableConstraintArgs -func GetStorageCredentialStorageCredentialInfoAwsIamRolePtr(v *GetStorageCredentialStorageCredentialInfoAwsIamRoleArgs) GetStorageCredentialStorageCredentialInfoAwsIamRolePtrInput { - return (*getStorageCredentialStorageCredentialInfoAwsIamRolePtrType)(v) +func GetTableTableInfoTableConstraintNamedTableConstraintPtr(v *GetTableTableInfoTableConstraintNamedTableConstraintArgs) GetTableTableInfoTableConstraintNamedTableConstraintPtrInput { + return (*getTableTableInfoTableConstraintNamedTableConstraintPtrType)(v) } -func (*getStorageCredentialStorageCredentialInfoAwsIamRolePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoAwsIamRole)(nil)).Elem() +func (*getTableTableInfoTableConstraintNamedTableConstraintPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoTableConstraintNamedTableConstraint)(nil)).Elem() } -func (i *getStorageCredentialStorageCredentialInfoAwsIamRolePtrType) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { - return i.ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(context.Background()) +func (i *getTableTableInfoTableConstraintNamedTableConstraintPtrType) ToGetTableTableInfoTableConstraintNamedTableConstraintPtrOutput() GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput { + return i.ToGetTableTableInfoTableConstraintNamedTableConstraintPtrOutputWithContext(context.Background()) } -func (i *getStorageCredentialStorageCredentialInfoAwsIamRolePtrType) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) +func (i *getTableTableInfoTableConstraintNamedTableConstraintPtrType) ToGetTableTableInfoTableConstraintNamedTableConstraintPtrOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput) } -type GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput struct{ *pulumi.OutputState } +type GetTableTableInfoTableConstraintNamedTableConstraintOutput struct{ *pulumi.OutputState } -func (GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoAwsIamRole)(nil)).Elem() +func (GetTableTableInfoTableConstraintNamedTableConstraintOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoTableConstraintNamedTableConstraint)(nil)).Elem() } -func (o GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) ToGetStorageCredentialStorageCredentialInfoAwsIamRoleOutput() GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput { +func (o GetTableTableInfoTableConstraintNamedTableConstraintOutput) ToGetTableTableInfoTableConstraintNamedTableConstraintOutput() GetTableTableInfoTableConstraintNamedTableConstraintOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) ToGetStorageCredentialStorageCredentialInfoAwsIamRoleOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput { +func (o GetTableTableInfoTableConstraintNamedTableConstraintOutput) ToGetTableTableInfoTableConstraintNamedTableConstraintOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintNamedTableConstraintOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { - return o.ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(context.Background()) +func (o GetTableTableInfoTableConstraintNamedTableConstraintOutput) ToGetTableTableInfoTableConstraintNamedTableConstraintPtrOutput() GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput { + return o.ToGetTableTableInfoTableConstraintNamedTableConstraintPtrOutputWithContext(context.Background()) } -func (o GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetStorageCredentialStorageCredentialInfoAwsIamRole) *GetStorageCredentialStorageCredentialInfoAwsIamRole { +func (o GetTableTableInfoTableConstraintNamedTableConstraintOutput) ToGetTableTableInfoTableConstraintNamedTableConstraintPtrOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetTableTableInfoTableConstraintNamedTableConstraint) *GetTableTableInfoTableConstraintNamedTableConstraint { return &v - }).(GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) -} - -// (output only) - The external ID used in role assumption to prevent confused deputy problem. -func (o GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) ExternalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAwsIamRole) *string { return v.ExternalId }).(pulumi.StringPtrOutput) -} - -// The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` -func (o GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) RoleArn() pulumi.StringOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAwsIamRole) string { return v.RoleArn }).(pulumi.StringOutput) + }).(GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput) } -// (output only) - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. -func (o GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAwsIamRole) *string { return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) +// Full name of the databricks_table: _`catalog`.`schema`.`table`_ +func (o GetTableTableInfoTableConstraintNamedTableConstraintOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetTableTableInfoTableConstraintNamedTableConstraint) string { return v.Name }).(pulumi.StringOutput) } -type GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput struct{ *pulumi.OutputState } +type GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput struct{ *pulumi.OutputState } -func (GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoAwsIamRole)(nil)).Elem() +func (GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoTableConstraintNamedTableConstraint)(nil)).Elem() } -func (o GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput() GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { +func (o GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput) ToGetTableTableInfoTableConstraintNamedTableConstraintPtrOutput() GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) ToGetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput { +func (o GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput) ToGetTableTableInfoTableConstraintNamedTableConstraintPtrOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) Elem() GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAwsIamRole) GetStorageCredentialStorageCredentialInfoAwsIamRole { +func (o GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput) Elem() GetTableTableInfoTableConstraintNamedTableConstraintOutput { + return o.ApplyT(func(v *GetTableTableInfoTableConstraintNamedTableConstraint) GetTableTableInfoTableConstraintNamedTableConstraint { if v != nil { return *v } - var ret GetStorageCredentialStorageCredentialInfoAwsIamRole + var ret GetTableTableInfoTableConstraintNamedTableConstraint return ret - }).(GetStorageCredentialStorageCredentialInfoAwsIamRoleOutput) -} - -// (output only) - The external ID used in role assumption to prevent confused deputy problem. -func (o GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) ExternalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAwsIamRole) *string { - if v == nil { - return nil - } - return v.ExternalId - }).(pulumi.StringPtrOutput) -} - -// The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` -func (o GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) RoleArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAwsIamRole) *string { - if v == nil { - return nil - } - return &v.RoleArn - }).(pulumi.StringPtrOutput) + }).(GetTableTableInfoTableConstraintNamedTableConstraintOutput) } -// (output only) - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. -func (o GetStorageCredentialStorageCredentialInfoAwsIamRolePtrOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAwsIamRole) *string { +// Full name of the databricks_table: _`catalog`.`schema`.`table`_ +func (o GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfoTableConstraintNamedTableConstraint) *string { if v == nil { return nil } - return v.UnityCatalogIamArn + return &v.Name }).(pulumi.StringPtrOutput) } -type GetStorageCredentialStorageCredentialInfoAzureManagedIdentity 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`. - ManagedIdentityId *string `pulumi:"managedIdentityId"` +type GetTableTableInfoTableConstraintPrimaryKeyConstraint struct { + ChildColumns []string `pulumi:"childColumns"` + // Full name of the databricks_table: _`catalog`.`schema`.`table`_ + Name string `pulumi:"name"` } -// GetStorageCredentialStorageCredentialInfoAzureManagedIdentityInput is an input type that accepts GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs and GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput values. -// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoAzureManagedIdentityInput` via: +// GetTableTableInfoTableConstraintPrimaryKeyConstraintInput is an input type that accepts GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs and GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput values. +// You can construct a concrete instance of `GetTableTableInfoTableConstraintPrimaryKeyConstraintInput` via: // -// GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs{...} -type GetStorageCredentialStorageCredentialInfoAzureManagedIdentityInput interface { +// GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs{...} +type GetTableTableInfoTableConstraintPrimaryKeyConstraintInput interface { pulumi.Input - ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput - ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput + ToGetTableTableInfoTableConstraintPrimaryKeyConstraintOutput() GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput + ToGetTableTableInfoTableConstraintPrimaryKeyConstraintOutputWithContext(context.Context) GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput } -type GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs 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`. - ManagedIdentityId pulumi.StringPtrInput `pulumi:"managedIdentityId"` +type GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs struct { + ChildColumns pulumi.StringArrayInput `pulumi:"childColumns"` + // Full name of the databricks_table: _`catalog`.`schema`.`table`_ + Name pulumi.StringInput `pulumi:"name"` } -func (GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoAzureManagedIdentity)(nil)).Elem() +func (GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoTableConstraintPrimaryKeyConstraint)(nil)).Elem() } -func (i GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput { - return i.ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutputWithContext(context.Background()) +func (i GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs) ToGetTableTableInfoTableConstraintPrimaryKeyConstraintOutput() GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput { + return i.ToGetTableTableInfoTableConstraintPrimaryKeyConstraintOutputWithContext(context.Background()) } -func (i GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) +func (i GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs) ToGetTableTableInfoTableConstraintPrimaryKeyConstraintOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput) } -func (i GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { - return i.ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (i GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs) ToGetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput() GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput { + return i.ToGetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutputWithContext(context.Background()) } -func (i GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput).ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(ctx) +func (i GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs) ToGetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput).ToGetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutputWithContext(ctx) } -// GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrInput is an input type that accepts GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs, GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtr and GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput values. -// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrInput` via: +// GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrInput is an input type that accepts GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs, GetTableTableInfoTableConstraintPrimaryKeyConstraintPtr and GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput values. +// You can construct a concrete instance of `GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrInput` via: // -// GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs{...} +// GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs{...} // // or: // // nil -type GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrInput interface { +type GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrInput interface { pulumi.Input - ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput - ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput + ToGetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput() GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput + ToGetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutputWithContext(context.Context) GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput } -type getStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrType GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs +type getTableTableInfoTableConstraintPrimaryKeyConstraintPtrType GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs -func GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtr(v *GetStorageCredentialStorageCredentialInfoAzureManagedIdentityArgs) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrInput { - return (*getStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrType)(v) +func GetTableTableInfoTableConstraintPrimaryKeyConstraintPtr(v *GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs) GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrInput { + return (*getTableTableInfoTableConstraintPrimaryKeyConstraintPtrType)(v) } -func (*getStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoAzureManagedIdentity)(nil)).Elem() +func (*getTableTableInfoTableConstraintPrimaryKeyConstraintPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoTableConstraintPrimaryKeyConstraint)(nil)).Elem() } -func (i *getStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrType) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { - return i.ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (i *getTableTableInfoTableConstraintPrimaryKeyConstraintPtrType) ToGetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput() GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput { + return i.ToGetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutputWithContext(context.Background()) } -func (i *getStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrType) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) +func (i *getTableTableInfoTableConstraintPrimaryKeyConstraintPtrType) ToGetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput) } -type GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput struct{ *pulumi.OutputState } +type GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput struct{ *pulumi.OutputState } -func (GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoAzureManagedIdentity)(nil)).Elem() +func (GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoTableConstraintPrimaryKeyConstraint)(nil)).Elem() } -func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput { +func (o GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput) ToGetTableTableInfoTableConstraintPrimaryKeyConstraintOutput() GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput { +func (o GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput) ToGetTableTableInfoTableConstraintPrimaryKeyConstraintOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { - return o.ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (o GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput) ToGetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput() GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput { + return o.ToGetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutputWithContext(context.Background()) } -func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity { +func (o GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput) ToGetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetTableTableInfoTableConstraintPrimaryKeyConstraint) *GetTableTableInfoTableConstraintPrimaryKeyConstraint { return &v - }).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) -} - -// 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 GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) AccessConnectorId() pulumi.StringOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) string { - return v.AccessConnectorId - }).(pulumi.StringOutput) + }).(GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput) } -func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) *string { return v.CredentialId }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput) ChildColumns() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetTableTableInfoTableConstraintPrimaryKeyConstraint) []string { return v.ChildColumns }).(pulumi.StringArrayOutput) } -// The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. -func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) ManagedIdentityId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) *string { - return v.ManagedIdentityId - }).(pulumi.StringPtrOutput) +// Full name of the databricks_table: _`catalog`.`schema`.`table`_ +func (o GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetTableTableInfoTableConstraintPrimaryKeyConstraint) string { return v.Name }).(pulumi.StringOutput) } -type GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput struct{ *pulumi.OutputState } +type GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput struct{ *pulumi.OutputState } -func (GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoAzureManagedIdentity)(nil)).Elem() +func (GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoTableConstraintPrimaryKeyConstraint)(nil)).Elem() } -func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { +func (o GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput) ToGetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput() GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) ToGetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput { +func (o GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput) ToGetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutputWithContext(ctx context.Context) GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) Elem() GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) GetStorageCredentialStorageCredentialInfoAzureManagedIdentity { +func (o GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput) Elem() GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput { + return o.ApplyT(func(v *GetTableTableInfoTableConstraintPrimaryKeyConstraint) GetTableTableInfoTableConstraintPrimaryKeyConstraint { if v != nil { return *v } - var ret GetStorageCredentialStorageCredentialInfoAzureManagedIdentity + var ret GetTableTableInfoTableConstraintPrimaryKeyConstraint return ret - }).(GetStorageCredentialStorageCredentialInfoAzureManagedIdentityOutput) -} - -// 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 GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) AccessConnectorId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) *string { - if v == nil { - return nil - } - return &v.AccessConnectorId - }).(pulumi.StringPtrOutput) + }).(GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput) } -func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) *string { +func (o GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput) ChildColumns() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetTableTableInfoTableConstraintPrimaryKeyConstraint) []string { if v == nil { return nil } - return v.CredentialId - }).(pulumi.StringPtrOutput) + return v.ChildColumns + }).(pulumi.StringArrayOutput) } -// The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. -func (o GetStorageCredentialStorageCredentialInfoAzureManagedIdentityPtrOutput) ManagedIdentityId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureManagedIdentity) *string { +// Full name of the databricks_table: _`catalog`.`schema`.`table`_ +func (o GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfoTableConstraintPrimaryKeyConstraint) *string { if v == nil { return nil } - return v.ManagedIdentityId + return &v.Name }).(pulumi.StringPtrOutput) } -type GetStorageCredentialStorageCredentialInfoAzureServicePrincipal struct { - // The application ID of the application registration within the referenced AAD tenant - ApplicationId string `pulumi:"applicationId"` - ClientSecret string `pulumi:"clientSecret"` - // The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application - DirectoryId string `pulumi:"directoryId"` +type GetTableTableInfoViewDependencies struct { + Dependencies []GetTableTableInfoViewDependenciesDependency `pulumi:"dependencies"` } -// GetStorageCredentialStorageCredentialInfoAzureServicePrincipalInput is an input type that accepts GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs and GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput values. -// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoAzureServicePrincipalInput` via: +// GetTableTableInfoViewDependenciesInput is an input type that accepts GetTableTableInfoViewDependenciesArgs and GetTableTableInfoViewDependenciesOutput values. +// You can construct a concrete instance of `GetTableTableInfoViewDependenciesInput` via: // -// GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs{...} -type GetStorageCredentialStorageCredentialInfoAzureServicePrincipalInput interface { +// GetTableTableInfoViewDependenciesArgs{...} +type GetTableTableInfoViewDependenciesInput interface { pulumi.Input - ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput - ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput + ToGetTableTableInfoViewDependenciesOutput() GetTableTableInfoViewDependenciesOutput + ToGetTableTableInfoViewDependenciesOutputWithContext(context.Context) GetTableTableInfoViewDependenciesOutput } -type GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs struct { - // The application ID of the application registration within the referenced AAD tenant - ApplicationId pulumi.StringInput `pulumi:"applicationId"` - 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 GetTableTableInfoViewDependenciesArgs struct { + Dependencies GetTableTableInfoViewDependenciesDependencyArrayInput `pulumi:"dependencies"` } -func (GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoAzureServicePrincipal)(nil)).Elem() +func (GetTableTableInfoViewDependenciesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoViewDependencies)(nil)).Elem() } -func (i GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput { - return i.ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutputWithContext(context.Background()) +func (i GetTableTableInfoViewDependenciesArgs) ToGetTableTableInfoViewDependenciesOutput() GetTableTableInfoViewDependenciesOutput { + return i.ToGetTableTableInfoViewDependenciesOutputWithContext(context.Background()) } -func (i GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) +func (i GetTableTableInfoViewDependenciesArgs) ToGetTableTableInfoViewDependenciesOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoViewDependenciesOutput) } -func (i GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { - return i.ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (i GetTableTableInfoViewDependenciesArgs) ToGetTableTableInfoViewDependenciesPtrOutput() GetTableTableInfoViewDependenciesPtrOutput { + return i.ToGetTableTableInfoViewDependenciesPtrOutputWithContext(context.Background()) } -func (i GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput).ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(ctx) +func (i GetTableTableInfoViewDependenciesArgs) ToGetTableTableInfoViewDependenciesPtrOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoViewDependenciesOutput).ToGetTableTableInfoViewDependenciesPtrOutputWithContext(ctx) } -// GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrInput is an input type that accepts GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs, GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtr and GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput values. -// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrInput` via: +// GetTableTableInfoViewDependenciesPtrInput is an input type that accepts GetTableTableInfoViewDependenciesArgs, GetTableTableInfoViewDependenciesPtr and GetTableTableInfoViewDependenciesPtrOutput values. +// You can construct a concrete instance of `GetTableTableInfoViewDependenciesPtrInput` via: // -// GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs{...} +// GetTableTableInfoViewDependenciesArgs{...} // // or: // // nil -type GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrInput interface { +type GetTableTableInfoViewDependenciesPtrInput interface { pulumi.Input - ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput - ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput + ToGetTableTableInfoViewDependenciesPtrOutput() GetTableTableInfoViewDependenciesPtrOutput + ToGetTableTableInfoViewDependenciesPtrOutputWithContext(context.Context) GetTableTableInfoViewDependenciesPtrOutput } -type getStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrType GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs +type getTableTableInfoViewDependenciesPtrType GetTableTableInfoViewDependenciesArgs -func GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtr(v *GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrInput { - return (*getStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrType)(v) +func GetTableTableInfoViewDependenciesPtr(v *GetTableTableInfoViewDependenciesArgs) GetTableTableInfoViewDependenciesPtrInput { + return (*getTableTableInfoViewDependenciesPtrType)(v) +} + +func (*getTableTableInfoViewDependenciesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoViewDependencies)(nil)).Elem() +} + +func (i *getTableTableInfoViewDependenciesPtrType) ToGetTableTableInfoViewDependenciesPtrOutput() GetTableTableInfoViewDependenciesPtrOutput { + return i.ToGetTableTableInfoViewDependenciesPtrOutputWithContext(context.Background()) +} + +func (i *getTableTableInfoViewDependenciesPtrType) ToGetTableTableInfoViewDependenciesPtrOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoViewDependenciesPtrOutput) +} + +type GetTableTableInfoViewDependenciesOutput struct{ *pulumi.OutputState } + +func (GetTableTableInfoViewDependenciesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoViewDependencies)(nil)).Elem() +} + +func (o GetTableTableInfoViewDependenciesOutput) ToGetTableTableInfoViewDependenciesOutput() GetTableTableInfoViewDependenciesOutput { + return o +} + +func (o GetTableTableInfoViewDependenciesOutput) ToGetTableTableInfoViewDependenciesOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesOutput { + return o +} + +func (o GetTableTableInfoViewDependenciesOutput) ToGetTableTableInfoViewDependenciesPtrOutput() GetTableTableInfoViewDependenciesPtrOutput { + return o.ToGetTableTableInfoViewDependenciesPtrOutputWithContext(context.Background()) +} + +func (o GetTableTableInfoViewDependenciesOutput) ToGetTableTableInfoViewDependenciesPtrOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetTableTableInfoViewDependencies) *GetTableTableInfoViewDependencies { + return &v + }).(GetTableTableInfoViewDependenciesPtrOutput) +} + +func (o GetTableTableInfoViewDependenciesOutput) Dependencies() GetTableTableInfoViewDependenciesDependencyArrayOutput { + return o.ApplyT(func(v GetTableTableInfoViewDependencies) []GetTableTableInfoViewDependenciesDependency { + return v.Dependencies + }).(GetTableTableInfoViewDependenciesDependencyArrayOutput) +} + +type GetTableTableInfoViewDependenciesPtrOutput struct{ *pulumi.OutputState } + +func (GetTableTableInfoViewDependenciesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoViewDependencies)(nil)).Elem() +} + +func (o GetTableTableInfoViewDependenciesPtrOutput) ToGetTableTableInfoViewDependenciesPtrOutput() GetTableTableInfoViewDependenciesPtrOutput { + return o +} + +func (o GetTableTableInfoViewDependenciesPtrOutput) ToGetTableTableInfoViewDependenciesPtrOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesPtrOutput { + return o } -func (*getStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoAzureServicePrincipal)(nil)).Elem() +func (o GetTableTableInfoViewDependenciesPtrOutput) Elem() GetTableTableInfoViewDependenciesOutput { + return o.ApplyT(func(v *GetTableTableInfoViewDependencies) GetTableTableInfoViewDependencies { + if v != nil { + return *v + } + var ret GetTableTableInfoViewDependencies + return ret + }).(GetTableTableInfoViewDependenciesOutput) } -func (i *getStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrType) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { - return i.ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (o GetTableTableInfoViewDependenciesPtrOutput) Dependencies() GetTableTableInfoViewDependenciesDependencyArrayOutput { + return o.ApplyT(func(v *GetTableTableInfoViewDependencies) []GetTableTableInfoViewDependenciesDependency { + if v == nil { + return nil + } + return v.Dependencies + }).(GetTableTableInfoViewDependenciesDependencyArrayOutput) } -func (i *getStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrType) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) +type GetTableTableInfoViewDependenciesDependency struct { + Function *GetTableTableInfoViewDependenciesDependencyFunction `pulumi:"function"` + Table *GetTableTableInfoViewDependenciesDependencyTable `pulumi:"table"` } -type GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput struct{ *pulumi.OutputState } +// GetTableTableInfoViewDependenciesDependencyInput is an input type that accepts GetTableTableInfoViewDependenciesDependencyArgs and GetTableTableInfoViewDependenciesDependencyOutput values. +// You can construct a concrete instance of `GetTableTableInfoViewDependenciesDependencyInput` via: +// +// GetTableTableInfoViewDependenciesDependencyArgs{...} +type GetTableTableInfoViewDependenciesDependencyInput interface { + pulumi.Input -func (GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoAzureServicePrincipal)(nil)).Elem() + ToGetTableTableInfoViewDependenciesDependencyOutput() GetTableTableInfoViewDependenciesDependencyOutput + ToGetTableTableInfoViewDependenciesDependencyOutputWithContext(context.Context) GetTableTableInfoViewDependenciesDependencyOutput } -func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput { - return o +type GetTableTableInfoViewDependenciesDependencyArgs struct { + Function GetTableTableInfoViewDependenciesDependencyFunctionPtrInput `pulumi:"function"` + Table GetTableTableInfoViewDependenciesDependencyTablePtrInput `pulumi:"table"` } -func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput { - return o +func (GetTableTableInfoViewDependenciesDependencyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoViewDependenciesDependency)(nil)).Elem() } -func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { - return o.ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (i GetTableTableInfoViewDependenciesDependencyArgs) ToGetTableTableInfoViewDependenciesDependencyOutput() GetTableTableInfoViewDependenciesDependencyOutput { + return i.ToGetTableTableInfoViewDependenciesDependencyOutputWithContext(context.Background()) } -func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal { - return &v - }).(GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) +func (i GetTableTableInfoViewDependenciesDependencyArgs) ToGetTableTableInfoViewDependenciesDependencyOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoViewDependenciesDependencyOutput) } -// The application ID of the application registration within the referenced AAD tenant -func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) ApplicationId() pulumi.StringOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) string { return v.ApplicationId }).(pulumi.StringOutput) +// GetTableTableInfoViewDependenciesDependencyArrayInput is an input type that accepts GetTableTableInfoViewDependenciesDependencyArray and GetTableTableInfoViewDependenciesDependencyArrayOutput values. +// You can construct a concrete instance of `GetTableTableInfoViewDependenciesDependencyArrayInput` via: +// +// GetTableTableInfoViewDependenciesDependencyArray{ GetTableTableInfoViewDependenciesDependencyArgs{...} } +type GetTableTableInfoViewDependenciesDependencyArrayInput interface { + pulumi.Input + + ToGetTableTableInfoViewDependenciesDependencyArrayOutput() GetTableTableInfoViewDependenciesDependencyArrayOutput + ToGetTableTableInfoViewDependenciesDependencyArrayOutputWithContext(context.Context) GetTableTableInfoViewDependenciesDependencyArrayOutput } -func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) ClientSecret() pulumi.StringOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) string { return v.ClientSecret }).(pulumi.StringOutput) +type GetTableTableInfoViewDependenciesDependencyArray []GetTableTableInfoViewDependenciesDependencyInput + +func (GetTableTableInfoViewDependenciesDependencyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTableTableInfoViewDependenciesDependency)(nil)).Elem() } -// The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application -func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) DirectoryId() pulumi.StringOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) string { return v.DirectoryId }).(pulumi.StringOutput) +func (i GetTableTableInfoViewDependenciesDependencyArray) ToGetTableTableInfoViewDependenciesDependencyArrayOutput() GetTableTableInfoViewDependenciesDependencyArrayOutput { + return i.ToGetTableTableInfoViewDependenciesDependencyArrayOutputWithContext(context.Background()) } -type GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput struct{ *pulumi.OutputState } +func (i GetTableTableInfoViewDependenciesDependencyArray) ToGetTableTableInfoViewDependenciesDependencyArrayOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoViewDependenciesDependencyArrayOutput) +} -func (GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoAzureServicePrincipal)(nil)).Elem() +type GetTableTableInfoViewDependenciesDependencyOutput struct{ *pulumi.OutputState } + +func (GetTableTableInfoViewDependenciesDependencyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoViewDependenciesDependency)(nil)).Elem() } -func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { +func (o GetTableTableInfoViewDependenciesDependencyOutput) ToGetTableTableInfoViewDependenciesDependencyOutput() GetTableTableInfoViewDependenciesDependencyOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) ToGetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput { +func (o GetTableTableInfoViewDependenciesDependencyOutput) ToGetTableTableInfoViewDependenciesDependencyOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) Elem() GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) GetStorageCredentialStorageCredentialInfoAzureServicePrincipal { - if v != nil { - return *v - } - var ret GetStorageCredentialStorageCredentialInfoAzureServicePrincipal - return ret - }).(GetStorageCredentialStorageCredentialInfoAzureServicePrincipalOutput) +func (o GetTableTableInfoViewDependenciesDependencyOutput) Function() GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput { + return o.ApplyT(func(v GetTableTableInfoViewDependenciesDependency) *GetTableTableInfoViewDependenciesDependencyFunction { + return v.Function + }).(GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput) } -// The application ID of the application registration within the referenced AAD tenant -func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) ApplicationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) *string { - if v == nil { - return nil - } - return &v.ApplicationId - }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoViewDependenciesDependencyOutput) Table() GetTableTableInfoViewDependenciesDependencyTablePtrOutput { + return o.ApplyT(func(v GetTableTableInfoViewDependenciesDependency) *GetTableTableInfoViewDependenciesDependencyTable { + return v.Table + }).(GetTableTableInfoViewDependenciesDependencyTablePtrOutput) } -func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) ClientSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) *string { - if v == nil { - return nil - } - return &v.ClientSecret - }).(pulumi.StringPtrOutput) +type GetTableTableInfoViewDependenciesDependencyArrayOutput struct{ *pulumi.OutputState } + +func (GetTableTableInfoViewDependenciesDependencyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTableTableInfoViewDependenciesDependency)(nil)).Elem() } -// The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application -func (o GetStorageCredentialStorageCredentialInfoAzureServicePrincipalPtrOutput) DirectoryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoAzureServicePrincipal) *string { - if v == nil { - return nil - } - return &v.DirectoryId - }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoViewDependenciesDependencyArrayOutput) ToGetTableTableInfoViewDependenciesDependencyArrayOutput() GetTableTableInfoViewDependenciesDependencyArrayOutput { + return o } -type GetStorageCredentialStorageCredentialInfoCloudflareApiToken struct { - AccessKeyId string `pulumi:"accessKeyId"` - AccountId string `pulumi:"accountId"` - SecretAccessKey string `pulumi:"secretAccessKey"` +func (o GetTableTableInfoViewDependenciesDependencyArrayOutput) ToGetTableTableInfoViewDependenciesDependencyArrayOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyArrayOutput { + return o } -// GetStorageCredentialStorageCredentialInfoCloudflareApiTokenInput is an input type that accepts GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs and GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput values. -// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoCloudflareApiTokenInput` via: +func (o GetTableTableInfoViewDependenciesDependencyArrayOutput) Index(i pulumi.IntInput) GetTableTableInfoViewDependenciesDependencyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTableTableInfoViewDependenciesDependency { + return vs[0].([]GetTableTableInfoViewDependenciesDependency)[vs[1].(int)] + }).(GetTableTableInfoViewDependenciesDependencyOutput) +} + +type GetTableTableInfoViewDependenciesDependencyFunction struct { + FunctionFullName string `pulumi:"functionFullName"` +} + +// GetTableTableInfoViewDependenciesDependencyFunctionInput is an input type that accepts GetTableTableInfoViewDependenciesDependencyFunctionArgs and GetTableTableInfoViewDependenciesDependencyFunctionOutput values. +// You can construct a concrete instance of `GetTableTableInfoViewDependenciesDependencyFunctionInput` via: // -// GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs{...} -type GetStorageCredentialStorageCredentialInfoCloudflareApiTokenInput interface { +// GetTableTableInfoViewDependenciesDependencyFunctionArgs{...} +type GetTableTableInfoViewDependenciesDependencyFunctionInput interface { pulumi.Input - ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput - ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput + ToGetTableTableInfoViewDependenciesDependencyFunctionOutput() GetTableTableInfoViewDependenciesDependencyFunctionOutput + ToGetTableTableInfoViewDependenciesDependencyFunctionOutputWithContext(context.Context) GetTableTableInfoViewDependenciesDependencyFunctionOutput } -type GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs struct { - AccessKeyId pulumi.StringInput `pulumi:"accessKeyId"` - AccountId pulumi.StringInput `pulumi:"accountId"` - SecretAccessKey pulumi.StringInput `pulumi:"secretAccessKey"` +type GetTableTableInfoViewDependenciesDependencyFunctionArgs struct { + FunctionFullName pulumi.StringInput `pulumi:"functionFullName"` } -func (GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoCloudflareApiToken)(nil)).Elem() +func (GetTableTableInfoViewDependenciesDependencyFunctionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoViewDependenciesDependencyFunction)(nil)).Elem() } -func (i GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput { - return i.ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutputWithContext(context.Background()) +func (i GetTableTableInfoViewDependenciesDependencyFunctionArgs) ToGetTableTableInfoViewDependenciesDependencyFunctionOutput() GetTableTableInfoViewDependenciesDependencyFunctionOutput { + return i.ToGetTableTableInfoViewDependenciesDependencyFunctionOutputWithContext(context.Background()) } -func (i GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) +func (i GetTableTableInfoViewDependenciesDependencyFunctionArgs) ToGetTableTableInfoViewDependenciesDependencyFunctionOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyFunctionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoViewDependenciesDependencyFunctionOutput) } -func (i GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { - return i.ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(context.Background()) +func (i GetTableTableInfoViewDependenciesDependencyFunctionArgs) ToGetTableTableInfoViewDependenciesDependencyFunctionPtrOutput() GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput { + return i.ToGetTableTableInfoViewDependenciesDependencyFunctionPtrOutputWithContext(context.Background()) } -func (i GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput).ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(ctx) +func (i GetTableTableInfoViewDependenciesDependencyFunctionArgs) ToGetTableTableInfoViewDependenciesDependencyFunctionPtrOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoViewDependenciesDependencyFunctionOutput).ToGetTableTableInfoViewDependenciesDependencyFunctionPtrOutputWithContext(ctx) } -// GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrInput is an input type that accepts GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs, GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtr and GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput values. -// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrInput` via: +// GetTableTableInfoViewDependenciesDependencyFunctionPtrInput is an input type that accepts GetTableTableInfoViewDependenciesDependencyFunctionArgs, GetTableTableInfoViewDependenciesDependencyFunctionPtr and GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput values. +// You can construct a concrete instance of `GetTableTableInfoViewDependenciesDependencyFunctionPtrInput` via: // -// GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs{...} +// GetTableTableInfoViewDependenciesDependencyFunctionArgs{...} // // or: // // nil -type GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrInput interface { +type GetTableTableInfoViewDependenciesDependencyFunctionPtrInput interface { pulumi.Input - ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput - ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput + ToGetTableTableInfoViewDependenciesDependencyFunctionPtrOutput() GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput + ToGetTableTableInfoViewDependenciesDependencyFunctionPtrOutputWithContext(context.Context) GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput } -type getStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrType GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs +type getTableTableInfoViewDependenciesDependencyFunctionPtrType GetTableTableInfoViewDependenciesDependencyFunctionArgs -func GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtr(v *GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrInput { - return (*getStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrType)(v) +func GetTableTableInfoViewDependenciesDependencyFunctionPtr(v *GetTableTableInfoViewDependenciesDependencyFunctionArgs) GetTableTableInfoViewDependenciesDependencyFunctionPtrInput { + return (*getTableTableInfoViewDependenciesDependencyFunctionPtrType)(v) } -func (*getStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoCloudflareApiToken)(nil)).Elem() +func (*getTableTableInfoViewDependenciesDependencyFunctionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoViewDependenciesDependencyFunction)(nil)).Elem() } -func (i *getStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrType) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { - return i.ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(context.Background()) +func (i *getTableTableInfoViewDependenciesDependencyFunctionPtrType) ToGetTableTableInfoViewDependenciesDependencyFunctionPtrOutput() GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput { + return i.ToGetTableTableInfoViewDependenciesDependencyFunctionPtrOutputWithContext(context.Background()) } -func (i *getStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrType) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) +func (i *getTableTableInfoViewDependenciesDependencyFunctionPtrType) ToGetTableTableInfoViewDependenciesDependencyFunctionPtrOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput) } -type GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput struct{ *pulumi.OutputState } +type GetTableTableInfoViewDependenciesDependencyFunctionOutput struct{ *pulumi.OutputState } -func (GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoCloudflareApiToken)(nil)).Elem() +func (GetTableTableInfoViewDependenciesDependencyFunctionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoViewDependenciesDependencyFunction)(nil)).Elem() } -func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput { +func (o GetTableTableInfoViewDependenciesDependencyFunctionOutput) ToGetTableTableInfoViewDependenciesDependencyFunctionOutput() GetTableTableInfoViewDependenciesDependencyFunctionOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput { +func (o GetTableTableInfoViewDependenciesDependencyFunctionOutput) ToGetTableTableInfoViewDependenciesDependencyFunctionOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyFunctionOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { - return o.ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(context.Background()) +func (o GetTableTableInfoViewDependenciesDependencyFunctionOutput) ToGetTableTableInfoViewDependenciesDependencyFunctionPtrOutput() GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput { + return o.ToGetTableTableInfoViewDependenciesDependencyFunctionPtrOutputWithContext(context.Background()) } -func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetStorageCredentialStorageCredentialInfoCloudflareApiToken) *GetStorageCredentialStorageCredentialInfoCloudflareApiToken { +func (o GetTableTableInfoViewDependenciesDependencyFunctionOutput) ToGetTableTableInfoViewDependenciesDependencyFunctionPtrOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetTableTableInfoViewDependenciesDependencyFunction) *GetTableTableInfoViewDependenciesDependencyFunction { return &v - }).(GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) -} - -func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) AccessKeyId() pulumi.StringOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoCloudflareApiToken) string { return v.AccessKeyId }).(pulumi.StringOutput) -} - -func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoCloudflareApiToken) string { return v.AccountId }).(pulumi.StringOutput) + }).(GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput) } -func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) SecretAccessKey() pulumi.StringOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoCloudflareApiToken) string { return v.SecretAccessKey }).(pulumi.StringOutput) +func (o GetTableTableInfoViewDependenciesDependencyFunctionOutput) FunctionFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetTableTableInfoViewDependenciesDependencyFunction) string { return v.FunctionFullName }).(pulumi.StringOutput) } -type GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput struct{ *pulumi.OutputState } +type GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput struct{ *pulumi.OutputState } -func (GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoCloudflareApiToken)(nil)).Elem() +func (GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoViewDependenciesDependencyFunction)(nil)).Elem() } -func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { +func (o GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput) ToGetTableTableInfoViewDependenciesDependencyFunctionPtrOutput() GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) ToGetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput { +func (o GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput) ToGetTableTableInfoViewDependenciesDependencyFunctionPtrOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) Elem() GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoCloudflareApiToken) GetStorageCredentialStorageCredentialInfoCloudflareApiToken { +func (o GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput) Elem() GetTableTableInfoViewDependenciesDependencyFunctionOutput { + return o.ApplyT(func(v *GetTableTableInfoViewDependenciesDependencyFunction) GetTableTableInfoViewDependenciesDependencyFunction { if v != nil { return *v } - var ret GetStorageCredentialStorageCredentialInfoCloudflareApiToken + var ret GetTableTableInfoViewDependenciesDependencyFunction return ret - }).(GetStorageCredentialStorageCredentialInfoCloudflareApiTokenOutput) -} - -func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) AccessKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoCloudflareApiToken) *string { - if v == nil { - return nil - } - return &v.AccessKeyId - }).(pulumi.StringPtrOutput) -} - -func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) AccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoCloudflareApiToken) *string { - if v == nil { - return nil - } - return &v.AccountId - }).(pulumi.StringPtrOutput) + }).(GetTableTableInfoViewDependenciesDependencyFunctionOutput) } -func (o GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput) SecretAccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoCloudflareApiToken) *string { +func (o GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput) FunctionFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfoViewDependenciesDependencyFunction) *string { if v == nil { return nil } - return &v.SecretAccessKey + return &v.FunctionFullName }).(pulumi.StringPtrOutput) } -type GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount struct { - CredentialId *string `pulumi:"credentialId"` - // The email of the GCP service account created, to be granted access to relevant buckets. - Email *string `pulumi:"email"` +type GetTableTableInfoViewDependenciesDependencyTable struct { + TableFullName string `pulumi:"tableFullName"` } -// GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountInput is an input type that accepts GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs and GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput values. -// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountInput` via: +// GetTableTableInfoViewDependenciesDependencyTableInput is an input type that accepts GetTableTableInfoViewDependenciesDependencyTableArgs and GetTableTableInfoViewDependenciesDependencyTableOutput values. +// You can construct a concrete instance of `GetTableTableInfoViewDependenciesDependencyTableInput` via: // -// GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs{...} -type GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountInput interface { +// GetTableTableInfoViewDependenciesDependencyTableArgs{...} +type GetTableTableInfoViewDependenciesDependencyTableInput interface { pulumi.Input - ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput - ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput + ToGetTableTableInfoViewDependenciesDependencyTableOutput() GetTableTableInfoViewDependenciesDependencyTableOutput + ToGetTableTableInfoViewDependenciesDependencyTableOutputWithContext(context.Context) GetTableTableInfoViewDependenciesDependencyTableOutput } -type GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs struct { - CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` - // The email of the GCP service account created, to be granted access to relevant buckets. - Email pulumi.StringPtrInput `pulumi:"email"` +type GetTableTableInfoViewDependenciesDependencyTableArgs struct { + TableFullName pulumi.StringInput `pulumi:"tableFullName"` } -func (GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount)(nil)).Elem() +func (GetTableTableInfoViewDependenciesDependencyTableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoViewDependenciesDependencyTable)(nil)).Elem() } -func (i GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput { - return i.ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutputWithContext(context.Background()) +func (i GetTableTableInfoViewDependenciesDependencyTableArgs) ToGetTableTableInfoViewDependenciesDependencyTableOutput() GetTableTableInfoViewDependenciesDependencyTableOutput { + return i.ToGetTableTableInfoViewDependenciesDependencyTableOutputWithContext(context.Background()) } -func (i GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) +func (i GetTableTableInfoViewDependenciesDependencyTableArgs) ToGetTableTableInfoViewDependenciesDependencyTableOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyTableOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoViewDependenciesDependencyTableOutput) } -func (i GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { - return i.ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (i GetTableTableInfoViewDependenciesDependencyTableArgs) ToGetTableTableInfoViewDependenciesDependencyTablePtrOutput() GetTableTableInfoViewDependenciesDependencyTablePtrOutput { + return i.ToGetTableTableInfoViewDependenciesDependencyTablePtrOutputWithContext(context.Background()) } -func (i GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput).ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(ctx) +func (i GetTableTableInfoViewDependenciesDependencyTableArgs) ToGetTableTableInfoViewDependenciesDependencyTablePtrOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyTablePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoViewDependenciesDependencyTableOutput).ToGetTableTableInfoViewDependenciesDependencyTablePtrOutputWithContext(ctx) } -// GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrInput is an input type that accepts GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs, GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtr and GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput values. -// You can construct a concrete instance of `GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrInput` via: +// GetTableTableInfoViewDependenciesDependencyTablePtrInput is an input type that accepts GetTableTableInfoViewDependenciesDependencyTableArgs, GetTableTableInfoViewDependenciesDependencyTablePtr and GetTableTableInfoViewDependenciesDependencyTablePtrOutput values. +// You can construct a concrete instance of `GetTableTableInfoViewDependenciesDependencyTablePtrInput` via: // -// GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs{...} +// GetTableTableInfoViewDependenciesDependencyTableArgs{...} // // or: // // nil -type GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrInput interface { +type GetTableTableInfoViewDependenciesDependencyTablePtrInput interface { pulumi.Input - ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput - ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput + ToGetTableTableInfoViewDependenciesDependencyTablePtrOutput() GetTableTableInfoViewDependenciesDependencyTablePtrOutput + ToGetTableTableInfoViewDependenciesDependencyTablePtrOutputWithContext(context.Context) GetTableTableInfoViewDependenciesDependencyTablePtrOutput } -type getStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrType GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs +type getTableTableInfoViewDependenciesDependencyTablePtrType GetTableTableInfoViewDependenciesDependencyTableArgs -func GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtr(v *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrInput { - return (*getStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrType)(v) +func GetTableTableInfoViewDependenciesDependencyTablePtr(v *GetTableTableInfoViewDependenciesDependencyTableArgs) GetTableTableInfoViewDependenciesDependencyTablePtrInput { + return (*getTableTableInfoViewDependenciesDependencyTablePtrType)(v) } -func (*getStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount)(nil)).Elem() +func (*getTableTableInfoViewDependenciesDependencyTablePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoViewDependenciesDependencyTable)(nil)).Elem() } -func (i *getStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrType) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { - return i.ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (i *getTableTableInfoViewDependenciesDependencyTablePtrType) ToGetTableTableInfoViewDependenciesDependencyTablePtrOutput() GetTableTableInfoViewDependenciesDependencyTablePtrOutput { + return i.ToGetTableTableInfoViewDependenciesDependencyTablePtrOutputWithContext(context.Background()) } -func (i *getStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrType) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) +func (i *getTableTableInfoViewDependenciesDependencyTablePtrType) ToGetTableTableInfoViewDependenciesDependencyTablePtrOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyTablePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTableTableInfoViewDependenciesDependencyTablePtrOutput) } -type GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput struct{ *pulumi.OutputState } +type GetTableTableInfoViewDependenciesDependencyTableOutput struct{ *pulumi.OutputState } -func (GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount)(nil)).Elem() +func (GetTableTableInfoViewDependenciesDependencyTableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTableTableInfoViewDependenciesDependencyTable)(nil)).Elem() } -func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput { +func (o GetTableTableInfoViewDependenciesDependencyTableOutput) ToGetTableTableInfoViewDependenciesDependencyTableOutput() GetTableTableInfoViewDependenciesDependencyTableOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput { +func (o GetTableTableInfoViewDependenciesDependencyTableOutput) ToGetTableTableInfoViewDependenciesDependencyTableOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyTableOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { - return o.ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (o GetTableTableInfoViewDependenciesDependencyTableOutput) ToGetTableTableInfoViewDependenciesDependencyTablePtrOutput() GetTableTableInfoViewDependenciesDependencyTablePtrOutput { + return o.ToGetTableTableInfoViewDependenciesDependencyTablePtrOutputWithContext(context.Background()) } -func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount) *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount { +func (o GetTableTableInfoViewDependenciesDependencyTableOutput) ToGetTableTableInfoViewDependenciesDependencyTablePtrOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyTablePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetTableTableInfoViewDependenciesDependencyTable) *GetTableTableInfoViewDependenciesDependencyTable { return &v - }).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) -} - -func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount) *string { - return v.CredentialId - }).(pulumi.StringPtrOutput) + }).(GetTableTableInfoViewDependenciesDependencyTablePtrOutput) } -// The email of the GCP service account created, to be granted access to relevant buckets. -func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) +func (o GetTableTableInfoViewDependenciesDependencyTableOutput) TableFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetTableTableInfoViewDependenciesDependencyTable) string { return v.TableFullName }).(pulumi.StringOutput) } -type GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput struct{ *pulumi.OutputState } +type GetTableTableInfoViewDependenciesDependencyTablePtrOutput struct{ *pulumi.OutputState } -func (GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount)(nil)).Elem() +func (GetTableTableInfoViewDependenciesDependencyTablePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetTableTableInfoViewDependenciesDependencyTable)(nil)).Elem() } -func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { +func (o GetTableTableInfoViewDependenciesDependencyTablePtrOutput) ToGetTableTableInfoViewDependenciesDependencyTablePtrOutput() GetTableTableInfoViewDependenciesDependencyTablePtrOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) ToGetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput { +func (o GetTableTableInfoViewDependenciesDependencyTablePtrOutput) ToGetTableTableInfoViewDependenciesDependencyTablePtrOutputWithContext(ctx context.Context) GetTableTableInfoViewDependenciesDependencyTablePtrOutput { return o } -func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) Elem() GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount) GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount { +func (o GetTableTableInfoViewDependenciesDependencyTablePtrOutput) Elem() GetTableTableInfoViewDependenciesDependencyTableOutput { + return o.ApplyT(func(v *GetTableTableInfoViewDependenciesDependencyTable) GetTableTableInfoViewDependenciesDependencyTable { if v != nil { return *v } - var ret GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount + var ret GetTableTableInfoViewDependenciesDependencyTable return ret - }).(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput) -} - -func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount) *string { - if v == nil { - return nil - } - return v.CredentialId - }).(pulumi.StringPtrOutput) + }).(GetTableTableInfoViewDependenciesDependencyTableOutput) } -// The email of the GCP service account created, to be granted access to relevant buckets. -func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount) *string { +func (o GetTableTableInfoViewDependenciesDependencyTablePtrOutput) TableFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetTableTableInfoViewDependenciesDependencyTable) *string { if v == nil { return nil } - return v.Email + return &v.TableFullName }).(pulumi.StringPtrOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterMountInfoArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImageInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterDockerImageArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImagePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsNewClusterDockerImageArgs{}) @@ -26058,6 +29401,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput)(nil)).Elem(), GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMetastoreMetastoreInfoInput)(nil)).Elem(), GetMetastoreMetastoreInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMetastoreMetastoreInfoPtrInput)(nil)).Elem(), GetMetastoreMetastoreInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMlflowExperimentTagInput)(nil)).Elem(), GetMlflowExperimentTagArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMlflowExperimentTagArrayInput)(nil)).Elem(), GetMlflowExperimentTagArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMlflowModelLatestVersionInput)(nil)).Elem(), GetMlflowModelLatestVersionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMlflowModelLatestVersionArrayInput)(nil)).Elem(), GetMlflowModelLatestVersionArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMlflowModelLatestVersionTagInput)(nil)).Elem(), GetMlflowModelLatestVersionTagArgs{}) @@ -26096,6 +29441,44 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrInput)(nil)).Elem(), GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountInput)(nil)).Elem(), GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrInput)(nil)).Elem(), GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoInput)(nil)).Elem(), GetTableTableInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoPtrInput)(nil)).Elem(), GetTableTableInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoColumnInput)(nil)).Elem(), GetTableTableInfoColumnArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoColumnArrayInput)(nil)).Elem(), GetTableTableInfoColumnArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoColumnMaskInput)(nil)).Elem(), GetTableTableInfoColumnMaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoColumnMaskPtrInput)(nil)).Elem(), GetTableTableInfoColumnMaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoDeltaRuntimePropertiesKvpairsInput)(nil)).Elem(), GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrInput)(nil)).Elem(), GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoEffectivePredictiveOptimizationFlagInput)(nil)).Elem(), GetTableTableInfoEffectivePredictiveOptimizationFlagArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoEffectivePredictiveOptimizationFlagPtrInput)(nil)).Elem(), GetTableTableInfoEffectivePredictiveOptimizationFlagArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoEncryptionDetailsInput)(nil)).Elem(), GetTableTableInfoEncryptionDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoEncryptionDetailsPtrInput)(nil)).Elem(), GetTableTableInfoEncryptionDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoEncryptionDetailsSseEncryptionDetailsInput)(nil)).Elem(), GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrInput)(nil)).Elem(), GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoRowFilterInput)(nil)).Elem(), GetTableTableInfoRowFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoRowFilterPtrInput)(nil)).Elem(), GetTableTableInfoRowFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoTableConstraintInput)(nil)).Elem(), GetTableTableInfoTableConstraintArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoTableConstraintArrayInput)(nil)).Elem(), GetTableTableInfoTableConstraintArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoTableConstraintForeignKeyConstraintInput)(nil)).Elem(), GetTableTableInfoTableConstraintForeignKeyConstraintArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoTableConstraintForeignKeyConstraintPtrInput)(nil)).Elem(), GetTableTableInfoTableConstraintForeignKeyConstraintArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoTableConstraintNamedTableConstraintInput)(nil)).Elem(), GetTableTableInfoTableConstraintNamedTableConstraintArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoTableConstraintNamedTableConstraintPtrInput)(nil)).Elem(), GetTableTableInfoTableConstraintNamedTableConstraintArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoTableConstraintPrimaryKeyConstraintInput)(nil)).Elem(), GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrInput)(nil)).Elem(), GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoViewDependenciesInput)(nil)).Elem(), GetTableTableInfoViewDependenciesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoViewDependenciesPtrInput)(nil)).Elem(), GetTableTableInfoViewDependenciesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoViewDependenciesDependencyInput)(nil)).Elem(), GetTableTableInfoViewDependenciesDependencyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoViewDependenciesDependencyArrayInput)(nil)).Elem(), GetTableTableInfoViewDependenciesDependencyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetTableTableInfoViewDependenciesDependencyFunctionInput)(nil)).Elem(), GetTableTableInfoViewDependenciesDependencyFunctionArgs{}) + 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(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterDockerImageOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput{}) @@ -26377,6 +29760,8 @@ func init() { pulumi.RegisterOutputType(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput{}) pulumi.RegisterOutputType(GetMetastoreMetastoreInfoOutput{}) pulumi.RegisterOutputType(GetMetastoreMetastoreInfoPtrOutput{}) + pulumi.RegisterOutputType(GetMlflowExperimentTagOutput{}) + pulumi.RegisterOutputType(GetMlflowExperimentTagArrayOutput{}) pulumi.RegisterOutputType(GetMlflowModelLatestVersionOutput{}) pulumi.RegisterOutputType(GetMlflowModelLatestVersionArrayOutput{}) pulumi.RegisterOutputType(GetMlflowModelLatestVersionTagOutput{}) @@ -26415,4 +29800,36 @@ func init() { pulumi.RegisterOutputType(GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrOutput{}) pulumi.RegisterOutputType(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountOutput{}) pulumi.RegisterOutputType(GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoPtrOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoColumnOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoColumnArrayOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoColumnMaskOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoColumnMaskPtrOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoDeltaRuntimePropertiesKvpairsOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoDeltaRuntimePropertiesKvpairsPtrOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoEffectivePredictiveOptimizationFlagOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoEffectivePredictiveOptimizationFlagPtrOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoEncryptionDetailsOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoEncryptionDetailsPtrOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoEncryptionDetailsSseEncryptionDetailsOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoEncryptionDetailsSseEncryptionDetailsPtrOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoRowFilterOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoRowFilterPtrOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoTableConstraintOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoTableConstraintArrayOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoTableConstraintForeignKeyConstraintOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoTableConstraintForeignKeyConstraintPtrOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoTableConstraintNamedTableConstraintOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoTableConstraintNamedTableConstraintPtrOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoTableConstraintPrimaryKeyConstraintOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoTableConstraintPrimaryKeyConstraintPtrOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoViewDependenciesOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoViewDependenciesPtrOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoViewDependenciesDependencyOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoViewDependenciesDependencyArrayOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoViewDependenciesDependencyFunctionOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoViewDependenciesDependencyFunctionPtrOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoViewDependenciesDependencyTableOutput{}) + pulumi.RegisterOutputType(GetTableTableInfoViewDependenciesDependencyTablePtrOutput{}) } diff --git a/sdk/go/databricks/sqlTable.go b/sdk/go/databricks/sqlTable.go index 59a0b4d5..afe9121d 100644 --- a/sdk/go/databricks/sqlTable.go +++ b/sdk/go/databricks/sqlTable.go @@ -44,6 +44,8 @@ type SqlTable struct { Name pulumi.StringOutput `pulumi:"name"` // Map of user defined table options. Change forces creation of a new resource. Options pulumi.MapOutput `pulumi:"options"` + // Username/groupname/sp applicationId of the schema owner. + Owner pulumi.StringOutput `pulumi:"owner"` // a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `clusterKeys`. Partitions pulumi.StringArrayOutput `pulumi:"partitions"` // Map of table properties. @@ -115,6 +117,8 @@ type sqlTableState struct { Name *string `pulumi:"name"` // Map of user defined table options. Change forces creation of a new resource. Options map[string]interface{} `pulumi:"options"` + // Username/groupname/sp applicationId of the schema owner. + Owner *string `pulumi:"owner"` // a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `clusterKeys`. Partitions []string `pulumi:"partitions"` // Map of table properties. @@ -148,6 +152,8 @@ type SqlTableState struct { Name pulumi.StringPtrInput // Map of user defined table options. Change forces creation of a new resource. Options pulumi.MapInput + // Username/groupname/sp applicationId of the schema owner. + Owner pulumi.StringPtrInput // a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `clusterKeys`. Partitions pulumi.StringArrayInput // Map of table properties. @@ -185,6 +191,8 @@ type sqlTableArgs struct { Name *string `pulumi:"name"` // Map of user defined table options. Change forces creation of a new resource. Options map[string]interface{} `pulumi:"options"` + // Username/groupname/sp applicationId of the schema owner. + Owner *string `pulumi:"owner"` // a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `clusterKeys`. Partitions []string `pulumi:"partitions"` // Map of table properties. @@ -219,6 +227,8 @@ type SqlTableArgs struct { Name pulumi.StringPtrInput // Map of user defined table options. Change forces creation of a new resource. Options pulumi.MapInput + // Username/groupname/sp applicationId of the schema owner. + Owner pulumi.StringPtrInput // a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `clusterKeys`. Partitions pulumi.StringArrayInput // Map of table properties. @@ -362,6 +372,11 @@ func (o SqlTableOutput) Options() pulumi.MapOutput { return o.ApplyT(func(v *SqlTable) pulumi.MapOutput { return v.Options }).(pulumi.MapOutput) } +// Username/groupname/sp applicationId of the schema owner. +func (o SqlTableOutput) Owner() pulumi.StringOutput { + return o.ApplyT(func(v *SqlTable) pulumi.StringOutput { return v.Owner }).(pulumi.StringOutput) +} + // a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `clusterKeys`. func (o SqlTableOutput) Partitions() pulumi.StringArrayOutput { return o.ApplyT(func(v *SqlTable) pulumi.StringArrayOutput { return v.Partitions }).(pulumi.StringArrayOutput) 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 eb0fa1b0..5289b5c7 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/DatabricksFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/DatabricksFunctions.java @@ -14,6 +14,8 @@ import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyPlainArgs; import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs; import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyPlainArgs; +import com.pulumi.databricks.inputs.GetCatalogArgs; +import com.pulumi.databricks.inputs.GetCatalogPlainArgs; import com.pulumi.databricks.inputs.GetCatalogsArgs; import com.pulumi.databricks.inputs.GetCatalogsPlainArgs; import com.pulumi.databricks.inputs.GetClusterArgs; @@ -50,6 +52,8 @@ import com.pulumi.databricks.inputs.GetMetastorePlainArgs; import com.pulumi.databricks.inputs.GetMetastoresArgs; import com.pulumi.databricks.inputs.GetMetastoresPlainArgs; +import com.pulumi.databricks.inputs.GetMlflowExperimentArgs; +import com.pulumi.databricks.inputs.GetMlflowExperimentPlainArgs; import com.pulumi.databricks.inputs.GetMlflowModelArgs; import com.pulumi.databricks.inputs.GetMlflowModelPlainArgs; import com.pulumi.databricks.inputs.GetMwsCredentialsArgs; @@ -84,6 +88,8 @@ import com.pulumi.databricks.inputs.GetStorageCredentialPlainArgs; import com.pulumi.databricks.inputs.GetStorageCredentialsArgs; import com.pulumi.databricks.inputs.GetStorageCredentialsPlainArgs; +import com.pulumi.databricks.inputs.GetTableArgs; +import com.pulumi.databricks.inputs.GetTablePlainArgs; import com.pulumi.databricks.inputs.GetTablesArgs; import com.pulumi.databricks.inputs.GetTablesPlainArgs; import com.pulumi.databricks.inputs.GetUserArgs; @@ -96,6 +102,7 @@ import com.pulumi.databricks.outputs.GetAwsBucketPolicyResult; import com.pulumi.databricks.outputs.GetAwsCrossAccountPolicyResult; import com.pulumi.databricks.outputs.GetAwsUnityCatalogPolicyResult; +import com.pulumi.databricks.outputs.GetCatalogResult; import com.pulumi.databricks.outputs.GetCatalogsResult; import com.pulumi.databricks.outputs.GetClusterPolicyResult; import com.pulumi.databricks.outputs.GetClusterResult; @@ -115,6 +122,7 @@ import com.pulumi.databricks.outputs.GetJobsResult; import com.pulumi.databricks.outputs.GetMetastoreResult; import com.pulumi.databricks.outputs.GetMetastoresResult; +import com.pulumi.databricks.outputs.GetMlflowExperimentResult; import com.pulumi.databricks.outputs.GetMlflowModelResult; import com.pulumi.databricks.outputs.GetMwsCredentialsResult; import com.pulumi.databricks.outputs.GetMwsWorkspacesResult; @@ -132,6 +140,7 @@ import com.pulumi.databricks.outputs.GetSqlWarehousesResult; import com.pulumi.databricks.outputs.GetStorageCredentialResult; import com.pulumi.databricks.outputs.GetStorageCredentialsResult; +import com.pulumi.databricks.outputs.GetTableResult; import com.pulumi.databricks.outputs.GetTablesResult; import com.pulumi.databricks.outputs.GetUserResult; import com.pulumi.databricks.outputs.GetViewsResult; @@ -1429,6 +1438,246 @@ public static Output getAwsUnityCatalogPolicy(Ge public static CompletableFuture getAwsUnityCatalogPolicyPlain(GetAwsUnityCatalogPolicyPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("databricks:index/getAwsUnityCatalogPolicy:getAwsUnityCatalogPolicy", TypeShape.of(GetAwsUnityCatalogPolicyResult.class), args, Utilities.withVersion(options)); } + /** + * ## Example Usage + * + * Read on a specific catalog `test`: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogArgs;
+     * import com.pulumi.databricks.Grants;
+     * import com.pulumi.databricks.GrantsArgs;
+     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = DatabricksFunctions.getCatalog(GetCatalogArgs.builder()
+     *             .name("test")
+     *             .build());
+     * 
+     *         var things = new Grants("things", GrantsArgs.builder()        
+     *             .catalog(test.applyValue(getCatalogResult -> getCatalogResult.name()))
+     *             .grants(GrantsGrantArgs.builder()
+     *                 .principal("sensitive")
+     *                 .privileges("USE_CATALOG")
+     *                 .build())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. + * + */ + public static Output getCatalog(GetCatalogArgs args) { + return getCatalog(args, InvokeOptions.Empty); + } + /** + * ## Example Usage + * + * Read on a specific catalog `test`: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogArgs;
+     * import com.pulumi.databricks.Grants;
+     * import com.pulumi.databricks.GrantsArgs;
+     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = DatabricksFunctions.getCatalog(GetCatalogArgs.builder()
+     *             .name("test")
+     *             .build());
+     * 
+     *         var things = new Grants("things", GrantsArgs.builder()        
+     *             .catalog(test.applyValue(getCatalogResult -> getCatalogResult.name()))
+     *             .grants(GrantsGrantArgs.builder()
+     *                 .principal("sensitive")
+     *                 .privileges("USE_CATALOG")
+     *                 .build())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. + * + */ + public static CompletableFuture getCatalogPlain(GetCatalogPlainArgs args) { + return getCatalogPlain(args, InvokeOptions.Empty); + } + /** + * ## Example Usage + * + * Read on a specific catalog `test`: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogArgs;
+     * import com.pulumi.databricks.Grants;
+     * import com.pulumi.databricks.GrantsArgs;
+     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = DatabricksFunctions.getCatalog(GetCatalogArgs.builder()
+     *             .name("test")
+     *             .build());
+     * 
+     *         var things = new Grants("things", GrantsArgs.builder()        
+     *             .catalog(test.applyValue(getCatalogResult -> getCatalogResult.name()))
+     *             .grants(GrantsGrantArgs.builder()
+     *                 .principal("sensitive")
+     *                 .privileges("USE_CATALOG")
+     *                 .build())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. + * + */ + public static Output getCatalog(GetCatalogArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getCatalog:getCatalog", TypeShape.of(GetCatalogResult.class), args, Utilities.withVersion(options)); + } + /** + * ## Example Usage + * + * Read on a specific catalog `test`: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogArgs;
+     * import com.pulumi.databricks.Grants;
+     * import com.pulumi.databricks.GrantsArgs;
+     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = DatabricksFunctions.getCatalog(GetCatalogArgs.builder()
+     *             .name("test")
+     *             .build());
+     * 
+     *         var things = new Grants("things", GrantsArgs.builder()        
+     *             .catalog(test.applyValue(getCatalogResult -> getCatalogResult.name()))
+     *             .grants(GrantsGrantArgs.builder()
+     *                 .principal("sensitive")
+     *                 .privileges("USE_CATALOG")
+     *                 .build())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. + * + */ + public static CompletableFuture getCatalogPlain(GetCatalogPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getCatalog:getCatalog", TypeShape.of(GetCatalogResult.class), args, Utilities.withVersion(options)); + } /** * ## Example Usage * @@ -6577,6 +6826,60 @@ public static Output getMetastores(GetMetastoresArgs args, public static CompletableFuture getMetastoresPlain(GetMetastoresPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("databricks:index/getMetastores:getMetastores", TypeShape.of(GetMetastoresResult.class), args, Utilities.withVersion(options)); } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * + * Retrieves the settings of databricks.MlflowExperiment by id or name. + * + */ + public static Output getMlflowExperiment() { + return getMlflowExperiment(GetMlflowExperimentArgs.Empty, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * + * Retrieves the settings of databricks.MlflowExperiment by id or name. + * + */ + public static CompletableFuture getMlflowExperimentPlain() { + return getMlflowExperimentPlain(GetMlflowExperimentPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * + * Retrieves the settings of databricks.MlflowExperiment by id or name. + * + */ + public static Output getMlflowExperiment(GetMlflowExperimentArgs args) { + return getMlflowExperiment(args, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * + * Retrieves the settings of databricks.MlflowExperiment by id or name. + * + */ + public static CompletableFuture getMlflowExperimentPlain(GetMlflowExperimentPlainArgs args) { + return getMlflowExperimentPlain(args, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * + * Retrieves the settings of databricks.MlflowExperiment by id or name. + * + */ + public static Output getMlflowExperiment(GetMlflowExperimentArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getMlflowExperiment:getMlflowExperiment", TypeShape.of(GetMlflowExperimentResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * + * Retrieves the settings of databricks.MlflowExperiment by id or name. + * + */ + public static CompletableFuture getMlflowExperimentPlain(GetMlflowExperimentPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getMlflowExperiment:getMlflowExperiment", TypeShape.of(GetMlflowExperimentResult.class), args, Utilities.withVersion(options)); + } /** * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. * @@ -12243,6 +12546,254 @@ public static Output getStorageCredentials(GetStora public static CompletableFuture getStorageCredentialsPlain(GetStorageCredentialsPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("databricks:index/getStorageCredentials:getStorageCredentials", TypeShape.of(GetStorageCredentialsResult.class), args, Utilities.withVersion(options)); } + /** + * ## Example Usage + * + * Read on a specific table `main.certified.fct_transactions`: + * + * <!--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.GetTableArgs;
+     * import com.pulumi.databricks.Grants;
+     * import com.pulumi.databricks.GrantsArgs;
+     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var fctTransactions = DatabricksFunctions.getTable(GetTableArgs.builder()
+     *             .name("main.certified.fct_transactions")
+     *             .build());
+     * 
+     *         var things = new Grants("things", GrantsArgs.builder()        
+     *             .table(fctTransactions.applyValue(getTableResult -> getTableResult.name()))
+     *             .grants(GrantsGrantArgs.builder()
+     *                 .principal("sensitive")
+     *                 .privileges(                
+     *                     "SELECT",
+     *                     "MODIFY")
+     *                 .build())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getTables to list all tables within a schema in Unity Catalog. + * + */ + public static Output getTable(GetTableArgs args) { + return getTable(args, InvokeOptions.Empty); + } + /** + * ## Example Usage + * + * Read on a specific table `main.certified.fct_transactions`: + * + * <!--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.GetTableArgs;
+     * import com.pulumi.databricks.Grants;
+     * import com.pulumi.databricks.GrantsArgs;
+     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var fctTransactions = DatabricksFunctions.getTable(GetTableArgs.builder()
+     *             .name("main.certified.fct_transactions")
+     *             .build());
+     * 
+     *         var things = new Grants("things", GrantsArgs.builder()        
+     *             .table(fctTransactions.applyValue(getTableResult -> getTableResult.name()))
+     *             .grants(GrantsGrantArgs.builder()
+     *                 .principal("sensitive")
+     *                 .privileges(                
+     *                     "SELECT",
+     *                     "MODIFY")
+     *                 .build())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getTables to list all tables within a schema in Unity Catalog. + * + */ + public static CompletableFuture getTablePlain(GetTablePlainArgs args) { + return getTablePlain(args, InvokeOptions.Empty); + } + /** + * ## Example Usage + * + * Read on a specific table `main.certified.fct_transactions`: + * + * <!--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.GetTableArgs;
+     * import com.pulumi.databricks.Grants;
+     * import com.pulumi.databricks.GrantsArgs;
+     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var fctTransactions = DatabricksFunctions.getTable(GetTableArgs.builder()
+     *             .name("main.certified.fct_transactions")
+     *             .build());
+     * 
+     *         var things = new Grants("things", GrantsArgs.builder()        
+     *             .table(fctTransactions.applyValue(getTableResult -> getTableResult.name()))
+     *             .grants(GrantsGrantArgs.builder()
+     *                 .principal("sensitive")
+     *                 .privileges(                
+     *                     "SELECT",
+     *                     "MODIFY")
+     *                 .build())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getTables to list all tables within a schema in Unity Catalog. + * + */ + public static Output getTable(GetTableArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getTable:getTable", TypeShape.of(GetTableResult.class), args, Utilities.withVersion(options)); + } + /** + * ## Example Usage + * + * Read on a specific table `main.certified.fct_transactions`: + * + * <!--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.GetTableArgs;
+     * import com.pulumi.databricks.Grants;
+     * import com.pulumi.databricks.GrantsArgs;
+     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var fctTransactions = DatabricksFunctions.getTable(GetTableArgs.builder()
+     *             .name("main.certified.fct_transactions")
+     *             .build());
+     * 
+     *         var things = new Grants("things", GrantsArgs.builder()        
+     *             .table(fctTransactions.applyValue(getTableResult -> getTableResult.name()))
+     *             .grants(GrantsGrantArgs.builder()
+     *                 .principal("sensitive")
+     *                 .privileges(                
+     *                     "SELECT",
+     *                     "MODIFY")
+     *                 .build())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getTables to list all tables within a schema in Unity Catalog. + * + */ + public static CompletableFuture getTablePlain(GetTablePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getTable:getTable", TypeShape.of(GetTableResult.class), args, Utilities.withVersion(options)); + } /** * ## Example Usage * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/Job.java b/sdk/java/src/main/java/com/pulumi/databricks/Job.java index f990aa1e..8fa3b7f2 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/Job.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/Job.java @@ -76,9 +76,17 @@ public class Job extends com.pulumi.resources.CustomResource { public Output> alwaysRunning() { return Codegen.optional(this.alwaysRunning); } + /** + * Configuration block to configure pause status. See continuous Configuration Block. + * + */ @Export(name="continuous", refs={JobContinuous.class}, tree="[0]") private Output continuous; + /** + * @return Configuration block to configure pause status. See continuous Configuration Block. + * + */ public Output> continuous() { return Codegen.optional(this.continuous); } @@ -185,14 +193,14 @@ public Output> gitSource() { return Codegen.optional(this.gitSource); } /** - * An optional block that specifies the health conditions for the job (described below). + * An optional block that specifies the health conditions for the job documented below. * */ @Export(name="health", refs={JobHealth.class}, tree="[0]") private Output health; /** - * @return An optional block that specifies the health conditions for the job (described below). + * @return An optional block that specifies the health conditions for the job documented below. * */ public Output> health() { @@ -213,14 +221,14 @@ public Output>> jobClusters() { return Codegen.optional(this.jobClusters); } /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ @Export(name="libraries", refs={List.class,JobLibrary.class}, tree="[0,1]") private Output> libraries; /** - * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ public Output>> libraries() { @@ -316,9 +324,17 @@ public Output> notebookTask() { public Output> notificationSettings() { return Codegen.optional(this.notificationSettings); } + /** + * Specifices job parameter for the job. See parameter Configuration Block + * + */ @Export(name="parameters", refs={List.class,JobParameter.class}, tree="[0,1]") private Output> parameters; + /** + * @return Specifices job parameter for the job. See parameter Configuration Block + * + */ public Output>> parameters() { return Codegen.optional(this.parameters); } @@ -346,9 +362,17 @@ public Output> pipelineTask() { public Output> pythonWheelTask() { return Codegen.optional(this.pythonWheelTask); } + /** + * The queue status for the job. See queue Configuration Block below. + * + */ @Export(name="queue", refs={JobQueue.class}, tree="[0]") private Output queue; + /** + * @return The queue status for the job. See queue Configuration Block below. + * + */ public Output> queue() { return Codegen.optional(this.queue); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/JobArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/JobArgs.java index 37b178fb..3dd025b9 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/JobArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/JobArgs.java @@ -68,9 +68,17 @@ public Optional> alwaysRunning() { return Optional.ofNullable(this.alwaysRunning); } + /** + * Configuration block to configure pause status. See continuous Configuration Block. + * + */ @Import(name="continuous") private @Nullable Output continuous; + /** + * @return Configuration block to configure pause status. See continuous Configuration Block. + * + */ public Optional> continuous() { return Optional.ofNullable(this.continuous); } @@ -194,14 +202,14 @@ public Optional> gitSource() { } /** - * An optional block that specifies the health conditions for the job (described below). + * An optional block that specifies the health conditions for the job documented below. * */ @Import(name="health") private @Nullable Output health; /** - * @return An optional block that specifies the health conditions for the job (described below). + * @return An optional block that specifies the health conditions for the job documented below. * */ public Optional> health() { @@ -224,14 +232,14 @@ public Optional>> jobClusters() { } /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ @Import(name="libraries") private @Nullable Output> libraries; /** - * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ public Optional>> libraries() { @@ -351,9 +359,17 @@ public Optional> notificationSettings() { return Optional.ofNullable(this.notificationSettings); } + /** + * Specifices job parameter for the job. See parameter Configuration Block + * + */ @Import(name="parameters") private @Nullable Output> parameters; + /** + * @return Specifices job parameter for the job. See parameter Configuration Block + * + */ public Optional>> parameters() { return Optional.ofNullable(this.parameters); } @@ -396,9 +412,17 @@ public Optional> pythonWheelTask() { return Optional.ofNullable(this.pythonWheelTask); } + /** + * The queue status for the job. See queue Configuration Block below. + * + */ @Import(name="queue") private @Nullable Output queue; + /** + * @return The queue status for the job. See queue Configuration Block below. + * + */ public Optional> queue() { return Optional.ofNullable(this.queue); } @@ -693,11 +717,23 @@ public Builder alwaysRunning(Boolean alwaysRunning) { return alwaysRunning(Output.of(alwaysRunning)); } + /** + * @param continuous Configuration block to configure pause status. See continuous Configuration Block. + * + * @return builder + * + */ public Builder continuous(@Nullable Output continuous) { $.continuous = continuous; return this; } + /** + * @param continuous Configuration block to configure pause status. See continuous Configuration Block. + * + * @return builder + * + */ public Builder continuous(JobContinuousArgs continuous) { return continuous(Output.of(continuous)); } @@ -865,7 +901,7 @@ public Builder gitSource(JobGitSourceArgs gitSource) { } /** - * @param health An optional block that specifies the health conditions for the job (described below). + * @param health An optional block that specifies the health conditions for the job documented below. * * @return builder * @@ -876,7 +912,7 @@ public Builder health(@Nullable Output health) { } /** - * @param health An optional block that specifies the health conditions for the job (described below). + * @param health An optional block that specifies the health conditions for the job documented below. * * @return builder * @@ -917,7 +953,7 @@ public Builder jobClusters(JobJobClusterArgs... jobClusters) { } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * @@ -928,7 +964,7 @@ public Builder libraries(@Nullable Output> libraries) { } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * @@ -938,7 +974,7 @@ public Builder libraries(List libraries) { } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * @@ -1098,15 +1134,33 @@ public Builder notificationSettings(JobNotificationSettingsArgs notificationSett return notificationSettings(Output.of(notificationSettings)); } + /** + * @param parameters Specifices job parameter for the job. See parameter Configuration Block + * + * @return builder + * + */ public Builder parameters(@Nullable Output> parameters) { $.parameters = parameters; return this; } + /** + * @param parameters Specifices job parameter for the job. See parameter Configuration Block + * + * @return builder + * + */ public Builder parameters(List parameters) { return parameters(Output.of(parameters)); } + /** + * @param parameters Specifices job parameter for the job. See parameter Configuration Block + * + * @return builder + * + */ public Builder parameters(JobParameterArgs... parameters) { return parameters(List.of(parameters)); } @@ -1161,11 +1215,23 @@ public Builder pythonWheelTask(JobPythonWheelTaskArgs pythonWheelTask) { return pythonWheelTask(Output.of(pythonWheelTask)); } + /** + * @param queue The queue status for the job. See queue Configuration Block below. + * + * @return builder + * + */ public Builder queue(@Nullable Output queue) { $.queue = queue; return this; } + /** + * @param queue The queue status for the job. See queue Configuration Block below. + * + * @return builder + * + */ public Builder queue(JobQueueArgs queue) { return queue(Output.of(queue)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/SqlTable.java b/sdk/java/src/main/java/com/pulumi/databricks/SqlTable.java index 85001d95..d81875b9 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/SqlTable.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/SqlTable.java @@ -134,6 +134,20 @@ public Output name() { public Output>> options() { return Codegen.optional(this.options); } + /** + * Username/groupname/sp application_id of the schema owner. + * + */ + @Export(name="owner", refs={String.class}, tree="[0]") + private Output owner; + + /** + * @return Username/groupname/sp application_id of the schema owner. + * + */ + public Output owner() { + return this.owner; + } /** * a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `cluster_keys`. * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/SqlTableArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/SqlTableArgs.java index 82bf848b..765cb455 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/SqlTableArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/SqlTableArgs.java @@ -124,6 +124,21 @@ public Optional>> options() { return Optional.ofNullable(this.options); } + /** + * Username/groupname/sp application_id of the schema owner. + * + */ + @Import(name="owner") + private @Nullable Output owner; + + /** + * @return Username/groupname/sp application_id of the schema owner. + * + */ + public Optional> owner() { + return Optional.ofNullable(this.owner); + } + /** * a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `cluster_keys`. * @@ -255,6 +270,7 @@ private SqlTableArgs(SqlTableArgs $) { this.dataSourceFormat = $.dataSourceFormat; this.name = $.name; this.options = $.options; + this.owner = $.owner; this.partitions = $.partitions; this.properties = $.properties; this.schemaName = $.schemaName; @@ -441,6 +457,27 @@ public Builder options(Map options) { return options(Output.of(options)); } + /** + * @param owner Username/groupname/sp application_id of the schema owner. + * + * @return builder + * + */ + public Builder owner(@Nullable Output owner) { + $.owner = owner; + return this; + } + + /** + * @param owner Username/groupname/sp application_id of the schema owner. + * + * @return builder + * + */ + public Builder owner(String owner) { + return owner(Output.of(owner)); + } + /** * @param partitions a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `cluster_keys`. * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogArgs.java new file mode 100644 index 00000000..a45d693e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogArgs.java @@ -0,0 +1,162 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetCatalogCatalogInfoArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetCatalogArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetCatalogArgs Empty = new GetCatalogArgs(); + + /** + * the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + * + */ + @Import(name="catalogInfo") + private @Nullable Output catalogInfo; + + /** + * @return the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + * + */ + public Optional> catalogInfo() { + return Optional.ofNullable(this.catalogInfo); + } + + /** + * same as the `name` + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return same as the `name` + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * name of the catalog + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return name of the catalog + * + */ + public Output name() { + return this.name; + } + + private GetCatalogArgs() {} + + private GetCatalogArgs(GetCatalogArgs $) { + this.catalogInfo = $.catalogInfo; + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetCatalogArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetCatalogArgs $; + + public Builder() { + $ = new GetCatalogArgs(); + } + + public Builder(GetCatalogArgs defaults) { + $ = new GetCatalogArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param catalogInfo the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + * + * @return builder + * + */ + public Builder catalogInfo(@Nullable Output catalogInfo) { + $.catalogInfo = catalogInfo; + return this; + } + + /** + * @param catalogInfo the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + * + * @return builder + * + */ + public Builder catalogInfo(GetCatalogCatalogInfoArgs catalogInfo) { + return catalogInfo(Output.of(catalogInfo)); + } + + /** + * @param id same as the `name` + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id same as the `name` + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name name of the catalog + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name name of the catalog + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetCatalogArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetCatalogArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfo.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfo.java new file mode 100644 index 00000000..c5e032db --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfo.java @@ -0,0 +1,671 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag; +import com.pulumi.databricks.inputs.GetCatalogCatalogInfoProvisioningInfo; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetCatalogCatalogInfo extends com.pulumi.resources.InvokeArgs { + + public static final GetCatalogCatalogInfo Empty = new GetCatalogCatalogInfo(); + + @Import(name="browseOnly") + private @Nullable Boolean browseOnly; + + public Optional browseOnly() { + return Optional.ofNullable(this.browseOnly); + } + + /** + * Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + * + */ + @Import(name="catalogType") + private @Nullable String catalogType; + + /** + * @return Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + * + */ + public Optional catalogType() { + return Optional.ofNullable(this.catalogType); + } + + /** + * Free-form text description + * + */ + @Import(name="comment") + private @Nullable String comment; + + /** + * @return Free-form text description + * + */ + public Optional comment() { + return Optional.ofNullable(this.comment); + } + + /** + * The name of the connection to an external data source. + * + */ + @Import(name="connectionName") + private @Nullable String connectionName; + + /** + * @return The name of the connection to an external data source. + * + */ + public Optional connectionName() { + return Optional.ofNullable(this.connectionName); + } + + /** + * 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); + } + + /** + * object describing applied predictive optimization flag. + * + */ + @Import(name="effectivePredictiveOptimizationFlag") + private @Nullable GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag effectivePredictiveOptimizationFlag; + + /** + * @return object describing applied predictive optimization flag. + * + */ + public Optional effectivePredictiveOptimizationFlag() { + return Optional.ofNullable(this.effectivePredictiveOptimizationFlag); + } + + /** + * Whether predictive optimization should be enabled for this object and objects under it. + * + */ + @Import(name="enablePredictiveOptimization") + private @Nullable String enablePredictiveOptimization; + + /** + * @return Whether predictive optimization should be enabled for this object and objects under it. + * + */ + public Optional enablePredictiveOptimization() { + return Optional.ofNullable(this.enablePredictiveOptimization); + } + + /** + * The full name of the catalog. Corresponds with the name field. + * + */ + @Import(name="fullName") + private @Nullable String fullName; + + /** + * @return The full name of the catalog. Corresponds with the name field. + * + */ + public Optional fullName() { + return Optional.ofNullable(this.fullName); + } + + /** + * Whether the current securable is accessible from all workspaces or a specific set of workspaces. + * + */ + @Import(name="isolationMode") + private @Nullable String isolationMode; + + /** + * @return Whether the current securable is accessible from all workspaces or a specific set of workspaces. + * + */ + public Optional isolationMode() { + return Optional.ofNullable(this.isolationMode); + } + + /** + * Unique identifier of parent metastore. + * + */ + @Import(name="metastoreId") + private @Nullable String metastoreId; + + /** + * @return Unique identifier of parent metastore. + * + */ + public Optional metastoreId() { + return Optional.ofNullable(this.metastoreId); + } + + /** + * name of the catalog + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return name of the catalog + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * A map of key-value properties attached to the securable. + * + */ + @Import(name="options") + private @Nullable Map options; + + /** + * @return A map of key-value properties attached to the securable. + * + */ + public Optional> options() { + return Optional.ofNullable(this.options); + } + + /** + * Current owner of the catalog + * + */ + @Import(name="owner") + private @Nullable String owner; + + /** + * @return Current owner of the catalog + * + */ + public Optional owner() { + return Optional.ofNullable(this.owner); + } + + /** + * A map of key-value properties attached to the securable. + * + */ + @Import(name="properties") + private @Nullable Map properties; + + /** + * @return A map of key-value properties attached to the securable. + * + */ + public Optional> properties() { + return Optional.ofNullable(this.properties); + } + + /** + * The name of delta sharing provider. + * + */ + @Import(name="providerName") + private @Nullable String providerName; + + /** + * @return The name of delta sharing provider. + * + */ + public Optional providerName() { + return Optional.ofNullable(this.providerName); + } + + @Import(name="provisioningInfo") + private @Nullable GetCatalogCatalogInfoProvisioningInfo provisioningInfo; + + public Optional provisioningInfo() { + return Optional.ofNullable(this.provisioningInfo); + } + + /** + * Kind of catalog securable. + * + */ + @Import(name="securableKind") + private @Nullable String securableKind; + + /** + * @return Kind of catalog securable. + * + */ + public Optional securableKind() { + return Optional.ofNullable(this.securableKind); + } + + /** + * Securable type. + * + */ + @Import(name="securableType") + private @Nullable String securableType; + + /** + * @return Securable type. + * + */ + public Optional securableType() { + return Optional.ofNullable(this.securableType); + } + + /** + * The name of the share under the share provider. + * + */ + @Import(name="shareName") + private @Nullable String shareName; + + /** + * @return The name of the share under the share provider. + * + */ + public Optional shareName() { + return Optional.ofNullable(this.shareName); + } + + /** + * Storage Location URL (full path) for managed tables within catalog. + * + */ + @Import(name="storageLocation") + private @Nullable String storageLocation; + + /** + * @return Storage Location URL (full path) for managed tables within catalog. + * + */ + public Optional storageLocation() { + return Optional.ofNullable(this.storageLocation); + } + + /** + * Storage root URL for managed tables within catalog. + * + */ + @Import(name="storageRoot") + private @Nullable String storageRoot; + + /** + * @return Storage root URL for managed tables within catalog. + * + */ + public Optional storageRoot() { + return Optional.ofNullable(this.storageRoot); + } + + /** + * 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); + } + + private GetCatalogCatalogInfo() {} + + private GetCatalogCatalogInfo(GetCatalogCatalogInfo $) { + this.browseOnly = $.browseOnly; + this.catalogType = $.catalogType; + this.comment = $.comment; + this.connectionName = $.connectionName; + this.createdAt = $.createdAt; + this.createdBy = $.createdBy; + this.effectivePredictiveOptimizationFlag = $.effectivePredictiveOptimizationFlag; + this.enablePredictiveOptimization = $.enablePredictiveOptimization; + this.fullName = $.fullName; + this.isolationMode = $.isolationMode; + this.metastoreId = $.metastoreId; + this.name = $.name; + this.options = $.options; + this.owner = $.owner; + this.properties = $.properties; + this.providerName = $.providerName; + this.provisioningInfo = $.provisioningInfo; + this.securableKind = $.securableKind; + this.securableType = $.securableType; + this.shareName = $.shareName; + this.storageLocation = $.storageLocation; + this.storageRoot = $.storageRoot; + this.updatedAt = $.updatedAt; + this.updatedBy = $.updatedBy; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetCatalogCatalogInfo defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetCatalogCatalogInfo $; + + public Builder() { + $ = new GetCatalogCatalogInfo(); + } + + public Builder(GetCatalogCatalogInfo defaults) { + $ = new GetCatalogCatalogInfo(Objects.requireNonNull(defaults)); + } + + public Builder browseOnly(@Nullable Boolean browseOnly) { + $.browseOnly = browseOnly; + return this; + } + + /** + * @param catalogType Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + * + * @return builder + * + */ + public Builder catalogType(@Nullable String catalogType) { + $.catalogType = catalogType; + return this; + } + + /** + * @param comment Free-form text description + * + * @return builder + * + */ + public Builder comment(@Nullable String comment) { + $.comment = comment; + return this; + } + + /** + * @param connectionName The name of the connection to an external data source. + * + * @return builder + * + */ + public Builder connectionName(@Nullable String connectionName) { + $.connectionName = connectionName; + 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 effectivePredictiveOptimizationFlag object describing applied predictive optimization flag. + * + * @return builder + * + */ + public Builder effectivePredictiveOptimizationFlag(@Nullable GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag effectivePredictiveOptimizationFlag) { + $.effectivePredictiveOptimizationFlag = effectivePredictiveOptimizationFlag; + return this; + } + + /** + * @param enablePredictiveOptimization Whether predictive optimization should be enabled for this object and objects under it. + * + * @return builder + * + */ + public Builder enablePredictiveOptimization(@Nullable String enablePredictiveOptimization) { + $.enablePredictiveOptimization = enablePredictiveOptimization; + return this; + } + + /** + * @param fullName The full name of the catalog. Corresponds with the name field. + * + * @return builder + * + */ + public Builder fullName(@Nullable String fullName) { + $.fullName = fullName; + return this; + } + + /** + * @param isolationMode Whether the current securable is accessible from all workspaces or a specific set of workspaces. + * + * @return builder + * + */ + public Builder isolationMode(@Nullable String isolationMode) { + $.isolationMode = isolationMode; + return this; + } + + /** + * @param metastoreId Unique identifier of parent metastore. + * + * @return builder + * + */ + public Builder metastoreId(@Nullable String metastoreId) { + $.metastoreId = metastoreId; + return this; + } + + /** + * @param name name of the catalog + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + /** + * @param options A map of key-value properties attached to the securable. + * + * @return builder + * + */ + public Builder options(@Nullable Map options) { + $.options = options; + return this; + } + + /** + * @param owner Current owner of the catalog + * + * @return builder + * + */ + public Builder owner(@Nullable String owner) { + $.owner = owner; + return this; + } + + /** + * @param properties A map of key-value properties attached to the securable. + * + * @return builder + * + */ + public Builder properties(@Nullable Map properties) { + $.properties = properties; + return this; + } + + /** + * @param providerName The name of delta sharing provider. + * + * @return builder + * + */ + public Builder providerName(@Nullable String providerName) { + $.providerName = providerName; + return this; + } + + public Builder provisioningInfo(@Nullable GetCatalogCatalogInfoProvisioningInfo provisioningInfo) { + $.provisioningInfo = provisioningInfo; + return this; + } + + /** + * @param securableKind Kind of catalog securable. + * + * @return builder + * + */ + public Builder securableKind(@Nullable String securableKind) { + $.securableKind = securableKind; + return this; + } + + /** + * @param securableType Securable type. + * + * @return builder + * + */ + public Builder securableType(@Nullable String securableType) { + $.securableType = securableType; + return this; + } + + /** + * @param shareName The name of the share under the share provider. + * + * @return builder + * + */ + public Builder shareName(@Nullable String shareName) { + $.shareName = shareName; + return this; + } + + /** + * @param storageLocation Storage Location URL (full path) for managed tables within catalog. + * + * @return builder + * + */ + public Builder storageLocation(@Nullable String storageLocation) { + $.storageLocation = storageLocation; + return this; + } + + /** + * @param storageRoot Storage root URL for managed tables within catalog. + * + * @return builder + * + */ + public Builder storageRoot(@Nullable String storageRoot) { + $.storageRoot = storageRoot; + 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; + } + + public GetCatalogCatalogInfo build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoArgs.java new file mode 100644 index 00000000..ca36e2c1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoArgs.java @@ -0,0 +1,900 @@ +// *** WARNING: this file was 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.GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs; +import com.pulumi.databricks.inputs.GetCatalogCatalogInfoProvisioningInfoArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetCatalogCatalogInfoArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetCatalogCatalogInfoArgs Empty = new GetCatalogCatalogInfoArgs(); + + @Import(name="browseOnly") + private @Nullable Output browseOnly; + + public Optional> browseOnly() { + return Optional.ofNullable(this.browseOnly); + } + + /** + * Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + * + */ + @Import(name="catalogType") + private @Nullable Output catalogType; + + /** + * @return Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + * + */ + public Optional> catalogType() { + return Optional.ofNullable(this.catalogType); + } + + /** + * Free-form text description + * + */ + @Import(name="comment") + private @Nullable Output comment; + + /** + * @return Free-form text description + * + */ + public Optional> comment() { + return Optional.ofNullable(this.comment); + } + + /** + * The name of the connection to an external data source. + * + */ + @Import(name="connectionName") + private @Nullable Output connectionName; + + /** + * @return The name of the connection to an external data source. + * + */ + public Optional> connectionName() { + return Optional.ofNullable(this.connectionName); + } + + /** + * 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); + } + + /** + * object describing applied predictive optimization flag. + * + */ + @Import(name="effectivePredictiveOptimizationFlag") + private @Nullable Output effectivePredictiveOptimizationFlag; + + /** + * @return object describing applied predictive optimization flag. + * + */ + public Optional> effectivePredictiveOptimizationFlag() { + return Optional.ofNullable(this.effectivePredictiveOptimizationFlag); + } + + /** + * Whether predictive optimization should be enabled for this object and objects under it. + * + */ + @Import(name="enablePredictiveOptimization") + private @Nullable Output enablePredictiveOptimization; + + /** + * @return Whether predictive optimization should be enabled for this object and objects under it. + * + */ + public Optional> enablePredictiveOptimization() { + return Optional.ofNullable(this.enablePredictiveOptimization); + } + + /** + * The full name of the catalog. Corresponds with the name field. + * + */ + @Import(name="fullName") + private @Nullable Output fullName; + + /** + * @return The full name of the catalog. Corresponds with the name field. + * + */ + public Optional> fullName() { + return Optional.ofNullable(this.fullName); + } + + /** + * Whether the current securable is accessible from all workspaces or a specific set of workspaces. + * + */ + @Import(name="isolationMode") + private @Nullable Output isolationMode; + + /** + * @return Whether the current securable is accessible from all workspaces or a specific set of workspaces. + * + */ + public Optional> isolationMode() { + return Optional.ofNullable(this.isolationMode); + } + + /** + * Unique identifier of parent metastore. + * + */ + @Import(name="metastoreId") + private @Nullable Output metastoreId; + + /** + * @return Unique identifier of parent metastore. + * + */ + public Optional> metastoreId() { + return Optional.ofNullable(this.metastoreId); + } + + /** + * name of the catalog + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return name of the catalog + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * A map of key-value properties attached to the securable. + * + */ + @Import(name="options") + private @Nullable Output> options; + + /** + * @return A map of key-value properties attached to the securable. + * + */ + public Optional>> options() { + return Optional.ofNullable(this.options); + } + + /** + * Current owner of the catalog + * + */ + @Import(name="owner") + private @Nullable Output owner; + + /** + * @return Current owner of the catalog + * + */ + public Optional> owner() { + return Optional.ofNullable(this.owner); + } + + /** + * A map of key-value properties attached to the securable. + * + */ + @Import(name="properties") + private @Nullable Output> properties; + + /** + * @return A map of key-value properties attached to the securable. + * + */ + public Optional>> properties() { + return Optional.ofNullable(this.properties); + } + + /** + * The name of delta sharing provider. + * + */ + @Import(name="providerName") + private @Nullable Output providerName; + + /** + * @return The name of delta sharing provider. + * + */ + public Optional> providerName() { + return Optional.ofNullable(this.providerName); + } + + @Import(name="provisioningInfo") + private @Nullable Output provisioningInfo; + + public Optional> provisioningInfo() { + return Optional.ofNullable(this.provisioningInfo); + } + + /** + * Kind of catalog securable. + * + */ + @Import(name="securableKind") + private @Nullable Output securableKind; + + /** + * @return Kind of catalog securable. + * + */ + public Optional> securableKind() { + return Optional.ofNullable(this.securableKind); + } + + /** + * Securable type. + * + */ + @Import(name="securableType") + private @Nullable Output securableType; + + /** + * @return Securable type. + * + */ + public Optional> securableType() { + return Optional.ofNullable(this.securableType); + } + + /** + * The name of the share under the share provider. + * + */ + @Import(name="shareName") + private @Nullable Output shareName; + + /** + * @return The name of the share under the share provider. + * + */ + public Optional> shareName() { + return Optional.ofNullable(this.shareName); + } + + /** + * Storage Location URL (full path) for managed tables within catalog. + * + */ + @Import(name="storageLocation") + private @Nullable Output storageLocation; + + /** + * @return Storage Location URL (full path) for managed tables within catalog. + * + */ + public Optional> storageLocation() { + return Optional.ofNullable(this.storageLocation); + } + + /** + * Storage root URL for managed tables within catalog. + * + */ + @Import(name="storageRoot") + private @Nullable Output storageRoot; + + /** + * @return Storage root URL for managed tables within catalog. + * + */ + public Optional> storageRoot() { + return Optional.ofNullable(this.storageRoot); + } + + /** + * 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); + } + + private GetCatalogCatalogInfoArgs() {} + + private GetCatalogCatalogInfoArgs(GetCatalogCatalogInfoArgs $) { + this.browseOnly = $.browseOnly; + this.catalogType = $.catalogType; + this.comment = $.comment; + this.connectionName = $.connectionName; + this.createdAt = $.createdAt; + this.createdBy = $.createdBy; + this.effectivePredictiveOptimizationFlag = $.effectivePredictiveOptimizationFlag; + this.enablePredictiveOptimization = $.enablePredictiveOptimization; + this.fullName = $.fullName; + this.isolationMode = $.isolationMode; + this.metastoreId = $.metastoreId; + this.name = $.name; + this.options = $.options; + this.owner = $.owner; + this.properties = $.properties; + this.providerName = $.providerName; + this.provisioningInfo = $.provisioningInfo; + this.securableKind = $.securableKind; + this.securableType = $.securableType; + this.shareName = $.shareName; + this.storageLocation = $.storageLocation; + this.storageRoot = $.storageRoot; + this.updatedAt = $.updatedAt; + this.updatedBy = $.updatedBy; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetCatalogCatalogInfoArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetCatalogCatalogInfoArgs $; + + public Builder() { + $ = new GetCatalogCatalogInfoArgs(); + } + + public Builder(GetCatalogCatalogInfoArgs defaults) { + $ = new GetCatalogCatalogInfoArgs(Objects.requireNonNull(defaults)); + } + + public Builder browseOnly(@Nullable Output browseOnly) { + $.browseOnly = browseOnly; + return this; + } + + public Builder browseOnly(Boolean browseOnly) { + return browseOnly(Output.of(browseOnly)); + } + + /** + * @param catalogType Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + * + * @return builder + * + */ + public Builder catalogType(@Nullable Output catalogType) { + $.catalogType = catalogType; + return this; + } + + /** + * @param catalogType Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + * + * @return builder + * + */ + public Builder catalogType(String catalogType) { + return catalogType(Output.of(catalogType)); + } + + /** + * @param comment Free-form text description + * + * @return builder + * + */ + public Builder comment(@Nullable Output comment) { + $.comment = comment; + return this; + } + + /** + * @param comment Free-form text description + * + * @return builder + * + */ + public Builder comment(String comment) { + return comment(Output.of(comment)); + } + + /** + * @param connectionName The name of the connection to an external data source. + * + * @return builder + * + */ + public Builder connectionName(@Nullable Output connectionName) { + $.connectionName = connectionName; + return this; + } + + /** + * @param connectionName The name of the connection to an external data source. + * + * @return builder + * + */ + public Builder connectionName(String connectionName) { + return connectionName(Output.of(connectionName)); + } + + /** + * @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 effectivePredictiveOptimizationFlag object describing applied predictive optimization flag. + * + * @return builder + * + */ + public Builder effectivePredictiveOptimizationFlag(@Nullable Output effectivePredictiveOptimizationFlag) { + $.effectivePredictiveOptimizationFlag = effectivePredictiveOptimizationFlag; + return this; + } + + /** + * @param effectivePredictiveOptimizationFlag object describing applied predictive optimization flag. + * + * @return builder + * + */ + public Builder effectivePredictiveOptimizationFlag(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs effectivePredictiveOptimizationFlag) { + return effectivePredictiveOptimizationFlag(Output.of(effectivePredictiveOptimizationFlag)); + } + + /** + * @param enablePredictiveOptimization Whether predictive optimization should be enabled for this object and objects under it. + * + * @return builder + * + */ + public Builder enablePredictiveOptimization(@Nullable Output enablePredictiveOptimization) { + $.enablePredictiveOptimization = enablePredictiveOptimization; + return this; + } + + /** + * @param enablePredictiveOptimization Whether predictive optimization should be enabled for this object and objects under it. + * + * @return builder + * + */ + public Builder enablePredictiveOptimization(String enablePredictiveOptimization) { + return enablePredictiveOptimization(Output.of(enablePredictiveOptimization)); + } + + /** + * @param fullName The full name of the catalog. Corresponds with the name field. + * + * @return builder + * + */ + public Builder fullName(@Nullable Output fullName) { + $.fullName = fullName; + return this; + } + + /** + * @param fullName The full name of the catalog. Corresponds with the name field. + * + * @return builder + * + */ + public Builder fullName(String fullName) { + return fullName(Output.of(fullName)); + } + + /** + * @param isolationMode Whether the current securable is accessible from all workspaces or a specific set of workspaces. + * + * @return builder + * + */ + public Builder isolationMode(@Nullable Output isolationMode) { + $.isolationMode = isolationMode; + return this; + } + + /** + * @param isolationMode Whether the current securable is accessible from all workspaces or a specific set of workspaces. + * + * @return builder + * + */ + public Builder isolationMode(String isolationMode) { + return isolationMode(Output.of(isolationMode)); + } + + /** + * @param metastoreId Unique identifier of parent metastore. + * + * @return builder + * + */ + public Builder metastoreId(@Nullable Output metastoreId) { + $.metastoreId = metastoreId; + return this; + } + + /** + * @param metastoreId Unique identifier of parent metastore. + * + * @return builder + * + */ + public Builder metastoreId(String metastoreId) { + return metastoreId(Output.of(metastoreId)); + } + + /** + * @param name name of the catalog + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name name of the catalog + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param options A map of key-value properties attached to the securable. + * + * @return builder + * + */ + public Builder options(@Nullable Output> options) { + $.options = options; + return this; + } + + /** + * @param options A map of key-value properties attached to the securable. + * + * @return builder + * + */ + public Builder options(Map options) { + return options(Output.of(options)); + } + + /** + * @param owner Current owner of the catalog + * + * @return builder + * + */ + public Builder owner(@Nullable Output owner) { + $.owner = owner; + return this; + } + + /** + * @param owner Current owner of the catalog + * + * @return builder + * + */ + public Builder owner(String owner) { + return owner(Output.of(owner)); + } + + /** + * @param properties A map of key-value properties attached to the securable. + * + * @return builder + * + */ + public Builder properties(@Nullable Output> properties) { + $.properties = properties; + return this; + } + + /** + * @param properties A map of key-value properties attached to the securable. + * + * @return builder + * + */ + public Builder properties(Map properties) { + return properties(Output.of(properties)); + } + + /** + * @param providerName The name of delta sharing provider. + * + * @return builder + * + */ + public Builder providerName(@Nullable Output providerName) { + $.providerName = providerName; + return this; + } + + /** + * @param providerName The name of delta sharing provider. + * + * @return builder + * + */ + public Builder providerName(String providerName) { + return providerName(Output.of(providerName)); + } + + public Builder provisioningInfo(@Nullable Output provisioningInfo) { + $.provisioningInfo = provisioningInfo; + return this; + } + + public Builder provisioningInfo(GetCatalogCatalogInfoProvisioningInfoArgs provisioningInfo) { + return provisioningInfo(Output.of(provisioningInfo)); + } + + /** + * @param securableKind Kind of catalog securable. + * + * @return builder + * + */ + public Builder securableKind(@Nullable Output securableKind) { + $.securableKind = securableKind; + return this; + } + + /** + * @param securableKind Kind of catalog securable. + * + * @return builder + * + */ + public Builder securableKind(String securableKind) { + return securableKind(Output.of(securableKind)); + } + + /** + * @param securableType Securable type. + * + * @return builder + * + */ + public Builder securableType(@Nullable Output securableType) { + $.securableType = securableType; + return this; + } + + /** + * @param securableType Securable type. + * + * @return builder + * + */ + public Builder securableType(String securableType) { + return securableType(Output.of(securableType)); + } + + /** + * @param shareName The name of the share under the share provider. + * + * @return builder + * + */ + public Builder shareName(@Nullable Output shareName) { + $.shareName = shareName; + return this; + } + + /** + * @param shareName The name of the share under the share provider. + * + * @return builder + * + */ + public Builder shareName(String shareName) { + return shareName(Output.of(shareName)); + } + + /** + * @param storageLocation Storage Location URL (full path) for managed tables within catalog. + * + * @return builder + * + */ + public Builder storageLocation(@Nullable Output storageLocation) { + $.storageLocation = storageLocation; + return this; + } + + /** + * @param storageLocation Storage Location URL (full path) for managed tables within catalog. + * + * @return builder + * + */ + public Builder storageLocation(String storageLocation) { + return storageLocation(Output.of(storageLocation)); + } + + /** + * @param storageRoot Storage root URL for managed tables within catalog. + * + * @return builder + * + */ + public Builder storageRoot(@Nullable Output storageRoot) { + $.storageRoot = storageRoot; + return this; + } + + /** + * @param storageRoot Storage root URL for managed tables within catalog. + * + * @return builder + * + */ + public Builder storageRoot(String storageRoot) { + return storageRoot(Output.of(storageRoot)); + } + + /** + * @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)); + } + + public GetCatalogCatalogInfoArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag.java new file mode 100644 index 00000000..b4c63663 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag.java @@ -0,0 +1,88 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag extends com.pulumi.resources.InvokeArgs { + + public static final GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag Empty = new GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag(); + + @Import(name="inheritedFromName") + private @Nullable String inheritedFromName; + + public Optional inheritedFromName() { + return Optional.ofNullable(this.inheritedFromName); + } + + @Import(name="inheritedFromType") + private @Nullable String inheritedFromType; + + public Optional inheritedFromType() { + return Optional.ofNullable(this.inheritedFromType); + } + + @Import(name="value", required=true) + private String value; + + public String value() { + return this.value; + } + + private GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag() {} + + private GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag $) { + this.inheritedFromName = $.inheritedFromName; + this.inheritedFromType = $.inheritedFromType; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag $; + + public Builder() { + $ = new GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag(); + } + + public Builder(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag defaults) { + $ = new GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag(Objects.requireNonNull(defaults)); + } + + public Builder inheritedFromName(@Nullable String inheritedFromName) { + $.inheritedFromName = inheritedFromName; + return this; + } + + public Builder inheritedFromType(@Nullable String inheritedFromType) { + $.inheritedFromType = inheritedFromType; + return this; + } + + public Builder value(String value) { + $.value = value; + return this; + } + + public GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag build() { + if ($.value == null) { + throw new MissingRequiredPropertyException("GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs.java new file mode 100644 index 00000000..4328ed7f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs.java @@ -0,0 +1,101 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs Empty = new GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs(); + + @Import(name="inheritedFromName") + private @Nullable Output inheritedFromName; + + public Optional> inheritedFromName() { + return Optional.ofNullable(this.inheritedFromName); + } + + @Import(name="inheritedFromType") + private @Nullable Output inheritedFromType; + + public Optional> inheritedFromType() { + return Optional.ofNullable(this.inheritedFromType); + } + + @Import(name="value", required=true) + private Output value; + + public Output value() { + return this.value; + } + + private GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs() {} + + private GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs $) { + this.inheritedFromName = $.inheritedFromName; + this.inheritedFromType = $.inheritedFromType; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs $; + + public Builder() { + $ = new GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs(); + } + + public Builder(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs defaults) { + $ = new GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs(Objects.requireNonNull(defaults)); + } + + public Builder inheritedFromName(@Nullable Output inheritedFromName) { + $.inheritedFromName = inheritedFromName; + return this; + } + + public Builder inheritedFromName(String inheritedFromName) { + return inheritedFromName(Output.of(inheritedFromName)); + } + + public Builder inheritedFromType(@Nullable Output inheritedFromType) { + $.inheritedFromType = inheritedFromType; + return this; + } + + public Builder inheritedFromType(String inheritedFromType) { + return inheritedFromType(Output.of(inheritedFromType)); + } + + public Builder value(Output value) { + $.value = value; + return this; + } + + public Builder value(String value) { + return value(Output.of(value)); + } + + public GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs build() { + if ($.value == null) { + throw new MissingRequiredPropertyException("GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoProvisioningInfo.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoProvisioningInfo.java new file mode 100644 index 00000000..a991bf37 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoProvisioningInfo.java @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetCatalogCatalogInfoProvisioningInfo extends com.pulumi.resources.InvokeArgs { + + public static final GetCatalogCatalogInfoProvisioningInfo Empty = new GetCatalogCatalogInfoProvisioningInfo(); + + @Import(name="state") + private @Nullable String state; + + public Optional state() { + return Optional.ofNullable(this.state); + } + + private GetCatalogCatalogInfoProvisioningInfo() {} + + private GetCatalogCatalogInfoProvisioningInfo(GetCatalogCatalogInfoProvisioningInfo $) { + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetCatalogCatalogInfoProvisioningInfo defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetCatalogCatalogInfoProvisioningInfo $; + + public Builder() { + $ = new GetCatalogCatalogInfoProvisioningInfo(); + } + + public Builder(GetCatalogCatalogInfoProvisioningInfo defaults) { + $ = new GetCatalogCatalogInfoProvisioningInfo(Objects.requireNonNull(defaults)); + } + + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + public GetCatalogCatalogInfoProvisioningInfo build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoProvisioningInfoArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoProvisioningInfoArgs.java new file mode 100644 index 00000000..a4d74822 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogCatalogInfoProvisioningInfoArgs.java @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetCatalogCatalogInfoProvisioningInfoArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetCatalogCatalogInfoProvisioningInfoArgs Empty = new GetCatalogCatalogInfoProvisioningInfoArgs(); + + @Import(name="state") + private @Nullable Output state; + + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private GetCatalogCatalogInfoProvisioningInfoArgs() {} + + private GetCatalogCatalogInfoProvisioningInfoArgs(GetCatalogCatalogInfoProvisioningInfoArgs $) { + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetCatalogCatalogInfoProvisioningInfoArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetCatalogCatalogInfoProvisioningInfoArgs $; + + public Builder() { + $ = new GetCatalogCatalogInfoProvisioningInfoArgs(); + } + + public Builder(GetCatalogCatalogInfoProvisioningInfoArgs defaults) { + $ = new GetCatalogCatalogInfoProvisioningInfoArgs(Objects.requireNonNull(defaults)); + } + + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + public Builder state(String state) { + return state(Output.of(state)); + } + + public GetCatalogCatalogInfoProvisioningInfoArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogPlainArgs.java new file mode 100644 index 00000000..8512e4fd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetCatalogPlainArgs.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetCatalogCatalogInfo; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetCatalogPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetCatalogPlainArgs Empty = new GetCatalogPlainArgs(); + + /** + * the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + * + */ + @Import(name="catalogInfo") + private @Nullable GetCatalogCatalogInfo catalogInfo; + + /** + * @return the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + * + */ + public Optional catalogInfo() { + return Optional.ofNullable(this.catalogInfo); + } + + /** + * same as the `name` + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return same as the `name` + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * name of the catalog + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return name of the catalog + * + */ + public String name() { + return this.name; + } + + private GetCatalogPlainArgs() {} + + private GetCatalogPlainArgs(GetCatalogPlainArgs $) { + this.catalogInfo = $.catalogInfo; + this.id = $.id; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetCatalogPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetCatalogPlainArgs $; + + public Builder() { + $ = new GetCatalogPlainArgs(); + } + + public Builder(GetCatalogPlainArgs defaults) { + $ = new GetCatalogPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param catalogInfo the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + * + * @return builder + * + */ + public Builder catalogInfo(@Nullable GetCatalogCatalogInfo catalogInfo) { + $.catalogInfo = catalogInfo; + return this; + } + + /** + * @param id same as the `name` + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name name of the catalog + * + * @return builder + * + */ + public Builder name(String name) { + $.name = name; + return this; + } + + public GetCatalogPlainArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetCatalogPlainArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentArgs.java new file mode 100644 index 00000000..e1839612 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentArgs.java @@ -0,0 +1,355 @@ +// *** WARNING: this file was 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.GetMlflowExperimentTagArgs; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMlflowExperimentArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMlflowExperimentArgs Empty = new GetMlflowExperimentArgs(); + + /** + * Location where artifacts for the experiment are stored. + * + */ + @Import(name="artifactLocation") + private @Nullable Output artifactLocation; + + /** + * @return Location where artifacts for the experiment are stored. + * + */ + public Optional> artifactLocation() { + return Optional.ofNullable(this.artifactLocation); + } + + /** + * Creation time in unix time stamp. + * + */ + @Import(name="creationTime") + private @Nullable Output creationTime; + + /** + * @return Creation time in unix time stamp. + * + */ + public Optional> creationTime() { + return Optional.ofNullable(this.creationTime); + } + + /** + * Unique identifier for the experiment. + * + */ + @Import(name="experimentId") + private @Nullable Output experimentId; + + /** + * @return Unique identifier for the experiment. + * + */ + public Optional> experimentId() { + return Optional.ofNullable(this.experimentId); + } + + /** + * Unique identifier for the experiment. (same as `experiment_id`) + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return Unique identifier for the experiment. (same as `experiment_id`) + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Last update time in unix time stamp. + * + */ + @Import(name="lastUpdateTime") + private @Nullable Output lastUpdateTime; + + /** + * @return Last update time in unix time stamp. + * + */ + public Optional> lastUpdateTime() { + return Optional.ofNullable(this.lastUpdateTime); + } + + /** + * Current life cycle stage of the experiment: `active` or `deleted`. + * + */ + @Import(name="lifecycleStage") + private @Nullable Output lifecycleStage; + + /** + * @return Current life cycle stage of the experiment: `active` or `deleted`. + * + */ + public Optional> lifecycleStage() { + return Optional.ofNullable(this.lifecycleStage); + } + + /** + * Path to experiment. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Path to experiment. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Additional metadata key-value pairs. + * + */ + @Import(name="tags") + private @Nullable Output> tags; + + /** + * @return Additional metadata key-value pairs. + * + */ + public Optional>> tags() { + return Optional.ofNullable(this.tags); + } + + private GetMlflowExperimentArgs() {} + + private GetMlflowExperimentArgs(GetMlflowExperimentArgs $) { + this.artifactLocation = $.artifactLocation; + this.creationTime = $.creationTime; + this.experimentId = $.experimentId; + this.id = $.id; + this.lastUpdateTime = $.lastUpdateTime; + this.lifecycleStage = $.lifecycleStage; + this.name = $.name; + this.tags = $.tags; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMlflowExperimentArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMlflowExperimentArgs $; + + public Builder() { + $ = new GetMlflowExperimentArgs(); + } + + public Builder(GetMlflowExperimentArgs defaults) { + $ = new GetMlflowExperimentArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param artifactLocation Location where artifacts for the experiment are stored. + * + * @return builder + * + */ + public Builder artifactLocation(@Nullable Output artifactLocation) { + $.artifactLocation = artifactLocation; + return this; + } + + /** + * @param artifactLocation Location where artifacts for the experiment are stored. + * + * @return builder + * + */ + public Builder artifactLocation(String artifactLocation) { + return artifactLocation(Output.of(artifactLocation)); + } + + /** + * @param creationTime Creation time in unix time stamp. + * + * @return builder + * + */ + public Builder creationTime(@Nullable Output creationTime) { + $.creationTime = creationTime; + return this; + } + + /** + * @param creationTime Creation time in unix time stamp. + * + * @return builder + * + */ + public Builder creationTime(Integer creationTime) { + return creationTime(Output.of(creationTime)); + } + + /** + * @param experimentId Unique identifier for the experiment. + * + * @return builder + * + */ + public Builder experimentId(@Nullable Output experimentId) { + $.experimentId = experimentId; + return this; + } + + /** + * @param experimentId Unique identifier for the experiment. + * + * @return builder + * + */ + public Builder experimentId(String experimentId) { + return experimentId(Output.of(experimentId)); + } + + /** + * @param id Unique identifier for the experiment. (same as `experiment_id`) + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id Unique identifier for the experiment. (same as `experiment_id`) + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param lastUpdateTime Last update time in unix time stamp. + * + * @return builder + * + */ + public Builder lastUpdateTime(@Nullable Output lastUpdateTime) { + $.lastUpdateTime = lastUpdateTime; + return this; + } + + /** + * @param lastUpdateTime Last update time in unix time stamp. + * + * @return builder + * + */ + public Builder lastUpdateTime(Integer lastUpdateTime) { + return lastUpdateTime(Output.of(lastUpdateTime)); + } + + /** + * @param lifecycleStage Current life cycle stage of the experiment: `active` or `deleted`. + * + * @return builder + * + */ + public Builder lifecycleStage(@Nullable Output lifecycleStage) { + $.lifecycleStage = lifecycleStage; + return this; + } + + /** + * @param lifecycleStage Current life cycle stage of the experiment: `active` or `deleted`. + * + * @return builder + * + */ + public Builder lifecycleStage(String lifecycleStage) { + return lifecycleStage(Output.of(lifecycleStage)); + } + + /** + * @param name Path to experiment. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Path to experiment. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param tags Additional metadata key-value pairs. + * + * @return builder + * + */ + public Builder tags(@Nullable Output> tags) { + $.tags = tags; + return this; + } + + /** + * @param tags Additional metadata key-value pairs. + * + * @return builder + * + */ + public Builder tags(List tags) { + return tags(Output.of(tags)); + } + + /** + * @param tags Additional metadata key-value pairs. + * + * @return builder + * + */ + public Builder tags(GetMlflowExperimentTagArgs... tags) { + return tags(List.of(tags)); + } + + public GetMlflowExperimentArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentPlainArgs.java new file mode 100644 index 00000000..3685d150 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentPlainArgs.java @@ -0,0 +1,274 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetMlflowExperimentTag; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMlflowExperimentPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMlflowExperimentPlainArgs Empty = new GetMlflowExperimentPlainArgs(); + + /** + * Location where artifacts for the experiment are stored. + * + */ + @Import(name="artifactLocation") + private @Nullable String artifactLocation; + + /** + * @return Location where artifacts for the experiment are stored. + * + */ + public Optional artifactLocation() { + return Optional.ofNullable(this.artifactLocation); + } + + /** + * Creation time in unix time stamp. + * + */ + @Import(name="creationTime") + private @Nullable Integer creationTime; + + /** + * @return Creation time in unix time stamp. + * + */ + public Optional creationTime() { + return Optional.ofNullable(this.creationTime); + } + + /** + * Unique identifier for the experiment. + * + */ + @Import(name="experimentId") + private @Nullable String experimentId; + + /** + * @return Unique identifier for the experiment. + * + */ + public Optional experimentId() { + return Optional.ofNullable(this.experimentId); + } + + /** + * Unique identifier for the experiment. (same as `experiment_id`) + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return Unique identifier for the experiment. (same as `experiment_id`) + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Last update time in unix time stamp. + * + */ + @Import(name="lastUpdateTime") + private @Nullable Integer lastUpdateTime; + + /** + * @return Last update time in unix time stamp. + * + */ + public Optional lastUpdateTime() { + return Optional.ofNullable(this.lastUpdateTime); + } + + /** + * Current life cycle stage of the experiment: `active` or `deleted`. + * + */ + @Import(name="lifecycleStage") + private @Nullable String lifecycleStage; + + /** + * @return Current life cycle stage of the experiment: `active` or `deleted`. + * + */ + public Optional lifecycleStage() { + return Optional.ofNullable(this.lifecycleStage); + } + + /** + * Path to experiment. + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Path to experiment. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Additional metadata key-value pairs. + * + */ + @Import(name="tags") + private @Nullable List tags; + + /** + * @return Additional metadata key-value pairs. + * + */ + public Optional> tags() { + return Optional.ofNullable(this.tags); + } + + private GetMlflowExperimentPlainArgs() {} + + private GetMlflowExperimentPlainArgs(GetMlflowExperimentPlainArgs $) { + this.artifactLocation = $.artifactLocation; + this.creationTime = $.creationTime; + this.experimentId = $.experimentId; + this.id = $.id; + this.lastUpdateTime = $.lastUpdateTime; + this.lifecycleStage = $.lifecycleStage; + this.name = $.name; + this.tags = $.tags; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMlflowExperimentPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMlflowExperimentPlainArgs $; + + public Builder() { + $ = new GetMlflowExperimentPlainArgs(); + } + + public Builder(GetMlflowExperimentPlainArgs defaults) { + $ = new GetMlflowExperimentPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param artifactLocation Location where artifacts for the experiment are stored. + * + * @return builder + * + */ + public Builder artifactLocation(@Nullable String artifactLocation) { + $.artifactLocation = artifactLocation; + return this; + } + + /** + * @param creationTime Creation time in unix time stamp. + * + * @return builder + * + */ + public Builder creationTime(@Nullable Integer creationTime) { + $.creationTime = creationTime; + return this; + } + + /** + * @param experimentId Unique identifier for the experiment. + * + * @return builder + * + */ + public Builder experimentId(@Nullable String experimentId) { + $.experimentId = experimentId; + return this; + } + + /** + * @param id Unique identifier for the experiment. (same as `experiment_id`) + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param lastUpdateTime Last update time in unix time stamp. + * + * @return builder + * + */ + public Builder lastUpdateTime(@Nullable Integer lastUpdateTime) { + $.lastUpdateTime = lastUpdateTime; + return this; + } + + /** + * @param lifecycleStage Current life cycle stage of the experiment: `active` or `deleted`. + * + * @return builder + * + */ + public Builder lifecycleStage(@Nullable String lifecycleStage) { + $.lifecycleStage = lifecycleStage; + return this; + } + + /** + * @param name Path to experiment. + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + /** + * @param tags Additional metadata key-value pairs. + * + * @return builder + * + */ + public Builder tags(@Nullable List tags) { + $.tags = tags; + return this; + } + + /** + * @param tags Additional metadata key-value pairs. + * + * @return builder + * + */ + public Builder tags(GetMlflowExperimentTag... tags) { + return tags(List.of(tags)); + } + + public GetMlflowExperimentPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentTag.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentTag.java new file mode 100644 index 00000000..597ca2e6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentTag.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMlflowExperimentTag extends com.pulumi.resources.InvokeArgs { + + public static final GetMlflowExperimentTag Empty = new GetMlflowExperimentTag(); + + @Import(name="key") + private @Nullable String key; + + public Optional key() { + return Optional.ofNullable(this.key); + } + + @Import(name="value") + private @Nullable String value; + + public Optional value() { + return Optional.ofNullable(this.value); + } + + private GetMlflowExperimentTag() {} + + private GetMlflowExperimentTag(GetMlflowExperimentTag $) { + this.key = $.key; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMlflowExperimentTag defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMlflowExperimentTag $; + + public Builder() { + $ = new GetMlflowExperimentTag(); + } + + public Builder(GetMlflowExperimentTag defaults) { + $ = new GetMlflowExperimentTag(Objects.requireNonNull(defaults)); + } + + public Builder key(@Nullable String key) { + $.key = key; + return this; + } + + public Builder value(@Nullable String value) { + $.value = value; + return this; + } + + public GetMlflowExperimentTag build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentTagArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentTagArgs.java new file mode 100644 index 00000000..ef8c0815 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMlflowExperimentTagArgs.java @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMlflowExperimentTagArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetMlflowExperimentTagArgs Empty = new GetMlflowExperimentTagArgs(); + + @Import(name="key") + private @Nullable Output key; + + public Optional> key() { + return Optional.ofNullable(this.key); + } + + @Import(name="value") + private @Nullable Output value; + + public Optional> value() { + return Optional.ofNullable(this.value); + } + + private GetMlflowExperimentTagArgs() {} + + private GetMlflowExperimentTagArgs(GetMlflowExperimentTagArgs $) { + this.key = $.key; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMlflowExperimentTagArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMlflowExperimentTagArgs $; + + public Builder() { + $ = new GetMlflowExperimentTagArgs(); + } + + public Builder(GetMlflowExperimentTagArgs defaults) { + $ = new GetMlflowExperimentTagArgs(Objects.requireNonNull(defaults)); + } + + public Builder key(@Nullable Output key) { + $.key = key; + return this; + } + + public Builder key(String key) { + return key(Output.of(key)); + } + + public Builder value(@Nullable Output value) { + $.value = value; + return this; + } + + public Builder value(String value) { + return value(Output.of(value)); + } + + public GetMlflowExperimentTagArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableArgs.java new file mode 100644 index 00000000..1e798b7c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableArgs.java @@ -0,0 +1,142 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetTableTableInfoArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetTableArgs Empty = new GetTableArgs(); + + @Import(name="id") + private @Nullable Output id; + + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public Output name() { + return this.name; + } + + /** + * TableInfo object for a Unity Catalog table. This contains the following attributes: + * + */ + @Import(name="tableInfo") + private @Nullable Output tableInfo; + + /** + * @return TableInfo object for a Unity Catalog table. This contains the following attributes: + * + */ + public Optional> tableInfo() { + return Optional.ofNullable(this.tableInfo); + } + + private GetTableArgs() {} + + private GetTableArgs(GetTableArgs $) { + this.id = $.id; + this.name = $.name; + this.tableInfo = $.tableInfo; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableArgs $; + + public Builder() { + $ = new GetTableArgs(); + } + + public Builder(GetTableArgs defaults) { + $ = new GetTableArgs(Objects.requireNonNull(defaults)); + } + + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param tableInfo TableInfo object for a Unity Catalog table. This contains the following attributes: + * + * @return builder + * + */ + public Builder tableInfo(@Nullable Output tableInfo) { + $.tableInfo = tableInfo; + return this; + } + + /** + * @param tableInfo TableInfo object for a Unity Catalog table. This contains the following attributes: + * + * @return builder + * + */ + public Builder tableInfo(GetTableTableInfoArgs tableInfo) { + return tableInfo(Output.of(tableInfo)); + } + + public GetTableArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetTableArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTablePlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTablePlainArgs.java new file mode 100644 index 00000000..5630b780 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTablePlainArgs.java @@ -0,0 +1,117 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetTableTableInfo; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTablePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetTablePlainArgs Empty = new GetTablePlainArgs(); + + @Import(name="id") + private @Nullable String id; + + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public String name() { + return this.name; + } + + /** + * TableInfo object for a Unity Catalog table. This contains the following attributes: + * + */ + @Import(name="tableInfo") + private @Nullable GetTableTableInfo tableInfo; + + /** + * @return TableInfo object for a Unity Catalog table. This contains the following attributes: + * + */ + public Optional tableInfo() { + return Optional.ofNullable(this.tableInfo); + } + + private GetTablePlainArgs() {} + + private GetTablePlainArgs(GetTablePlainArgs $) { + this.id = $.id; + this.name = $.name; + this.tableInfo = $.tableInfo; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTablePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTablePlainArgs $; + + public Builder() { + $ = new GetTablePlainArgs(); + } + + public Builder(GetTablePlainArgs defaults) { + $ = new GetTablePlainArgs(Objects.requireNonNull(defaults)); + } + + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(String name) { + $.name = name; + return this; + } + + /** + * @param tableInfo TableInfo object for a Unity Catalog table. This contains the following attributes: + * + * @return builder + * + */ + public Builder tableInfo(@Nullable GetTableTableInfo tableInfo) { + $.tableInfo = tableInfo; + return this; + } + + public GetTablePlainArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetTablePlainArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfo.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfo.java new file mode 100644 index 00000000..0d7b08d9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfo.java @@ -0,0 +1,627 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetTableTableInfoColumn; +import com.pulumi.databricks.inputs.GetTableTableInfoDeltaRuntimePropertiesKvpairs; +import com.pulumi.databricks.inputs.GetTableTableInfoEffectivePredictiveOptimizationFlag; +import com.pulumi.databricks.inputs.GetTableTableInfoEncryptionDetails; +import com.pulumi.databricks.inputs.GetTableTableInfoRowFilter; +import com.pulumi.databricks.inputs.GetTableTableInfoTableConstraint; +import com.pulumi.databricks.inputs.GetTableTableInfoViewDependencies; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfo extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfo Empty = new GetTableTableInfo(); + + @Import(name="accessPoint") + private @Nullable String accessPoint; + + public Optional accessPoint() { + return Optional.ofNullable(this.accessPoint); + } + + @Import(name="browseOnly") + private @Nullable Boolean browseOnly; + + public Optional browseOnly() { + return Optional.ofNullable(this.browseOnly); + } + + /** + * Name of parent catalog. + * + */ + @Import(name="catalogName") + private @Nullable String catalogName; + + /** + * @return Name of parent catalog. + * + */ + public Optional catalogName() { + return Optional.ofNullable(this.catalogName); + } + + /** + * Array of ColumnInfo objects of the table's columns + * + */ + @Import(name="columns") + private @Nullable List columns; + + /** + * @return Array of ColumnInfo objects of the table's columns + * + */ + public Optional> columns() { + return Optional.ofNullable(this.columns); + } + + /** + * Free-form text description + * + */ + @Import(name="comment") + private @Nullable String comment; + + /** + * @return Free-form text description + * + */ + public Optional comment() { + return Optional.ofNullable(this.comment); + } + + @Import(name="createdAt") + private @Nullable Integer createdAt; + + public Optional createdAt() { + return Optional.ofNullable(this.createdAt); + } + + @Import(name="createdBy") + private @Nullable String createdBy; + + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); + } + + @Import(name="dataAccessConfigurationId") + private @Nullable String dataAccessConfigurationId; + + public Optional dataAccessConfigurationId() { + return Optional.ofNullable(this.dataAccessConfigurationId); + } + + /** + * Table format, e.g. DELTA, CSV, JSON + * + */ + @Import(name="dataSourceFormat") + private @Nullable String dataSourceFormat; + + /** + * @return Table format, e.g. DELTA, CSV, JSON + * + */ + public Optional dataSourceFormat() { + return Optional.ofNullable(this.dataSourceFormat); + } + + @Import(name="deletedAt") + private @Nullable Integer deletedAt; + + public Optional deletedAt() { + return Optional.ofNullable(this.deletedAt); + } + + @Import(name="deltaRuntimePropertiesKvpairs") + private @Nullable GetTableTableInfoDeltaRuntimePropertiesKvpairs deltaRuntimePropertiesKvpairs; + + public Optional deltaRuntimePropertiesKvpairs() { + return Optional.ofNullable(this.deltaRuntimePropertiesKvpairs); + } + + @Import(name="effectivePredictiveOptimizationFlag") + private @Nullable GetTableTableInfoEffectivePredictiveOptimizationFlag effectivePredictiveOptimizationFlag; + + public Optional effectivePredictiveOptimizationFlag() { + return Optional.ofNullable(this.effectivePredictiveOptimizationFlag); + } + + @Import(name="enablePredictiveOptimization") + private @Nullable String enablePredictiveOptimization; + + public Optional enablePredictiveOptimization() { + return Optional.ofNullable(this.enablePredictiveOptimization); + } + + @Import(name="encryptionDetails") + private @Nullable GetTableTableInfoEncryptionDetails encryptionDetails; + + public Optional encryptionDetails() { + return Optional.ofNullable(this.encryptionDetails); + } + + @Import(name="fullName") + private @Nullable String fullName; + + public Optional fullName() { + return Optional.ofNullable(this.fullName); + } + + @Import(name="metastoreId") + private @Nullable String metastoreId; + + public Optional metastoreId() { + return Optional.ofNullable(this.metastoreId); + } + + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Current owner of the table + * + */ + @Import(name="owner") + private @Nullable String owner; + + /** + * @return Current owner of the table + * + */ + public Optional owner() { + return Optional.ofNullable(this.owner); + } + + @Import(name="pipelineId") + private @Nullable String pipelineId; + + public Optional pipelineId() { + return Optional.ofNullable(this.pipelineId); + } + + @Import(name="properties") + private @Nullable Map properties; + + public Optional> properties() { + return Optional.ofNullable(this.properties); + } + + @Import(name="rowFilter") + private @Nullable GetTableTableInfoRowFilter rowFilter; + + public Optional rowFilter() { + return Optional.ofNullable(this.rowFilter); + } + + /** + * Name of parent schema relative to its parent catalog. + * + */ + @Import(name="schemaName") + private @Nullable String schemaName; + + /** + * @return Name of parent schema relative to its parent catalog. + * + */ + public Optional schemaName() { + return Optional.ofNullable(this.schemaName); + } + + @Import(name="sqlPath") + private @Nullable String sqlPath; + + public Optional sqlPath() { + return Optional.ofNullable(this.sqlPath); + } + + @Import(name="storageCredentialName") + private @Nullable String storageCredentialName; + + public Optional storageCredentialName() { + return Optional.ofNullable(this.storageCredentialName); + } + + @Import(name="storageLocation") + private @Nullable String storageLocation; + + public Optional storageLocation() { + return Optional.ofNullable(this.storageLocation); + } + + @Import(name="tableConstraints") + private @Nullable List tableConstraints; + + public Optional> tableConstraints() { + return Optional.ofNullable(this.tableConstraints); + } + + @Import(name="tableId") + private @Nullable String tableId; + + public Optional tableId() { + return Optional.ofNullable(this.tableId); + } + + /** + * Table type, e.g. MANAGED, EXTERNAL, VIEW + * + */ + @Import(name="tableType") + private @Nullable String tableType; + + /** + * @return Table type, e.g. MANAGED, EXTERNAL, VIEW + * + */ + public Optional tableType() { + return Optional.ofNullable(this.tableType); + } + + @Import(name="updatedAt") + private @Nullable Integer updatedAt; + + public Optional updatedAt() { + return Optional.ofNullable(this.updatedAt); + } + + @Import(name="updatedBy") + private @Nullable String updatedBy; + + public Optional updatedBy() { + return Optional.ofNullable(this.updatedBy); + } + + /** + * View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + * + */ + @Import(name="viewDefinition") + private @Nullable String viewDefinition; + + /** + * @return View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + * + */ + public Optional viewDefinition() { + return Optional.ofNullable(this.viewDefinition); + } + + /** + * View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + * + */ + @Import(name="viewDependencies") + private @Nullable GetTableTableInfoViewDependencies viewDependencies; + + /** + * @return View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + * + */ + public Optional viewDependencies() { + return Optional.ofNullable(this.viewDependencies); + } + + private GetTableTableInfo() {} + + private GetTableTableInfo(GetTableTableInfo $) { + this.accessPoint = $.accessPoint; + this.browseOnly = $.browseOnly; + this.catalogName = $.catalogName; + this.columns = $.columns; + this.comment = $.comment; + this.createdAt = $.createdAt; + this.createdBy = $.createdBy; + this.dataAccessConfigurationId = $.dataAccessConfigurationId; + this.dataSourceFormat = $.dataSourceFormat; + this.deletedAt = $.deletedAt; + this.deltaRuntimePropertiesKvpairs = $.deltaRuntimePropertiesKvpairs; + this.effectivePredictiveOptimizationFlag = $.effectivePredictiveOptimizationFlag; + this.enablePredictiveOptimization = $.enablePredictiveOptimization; + this.encryptionDetails = $.encryptionDetails; + this.fullName = $.fullName; + this.metastoreId = $.metastoreId; + this.name = $.name; + this.owner = $.owner; + this.pipelineId = $.pipelineId; + this.properties = $.properties; + this.rowFilter = $.rowFilter; + this.schemaName = $.schemaName; + this.sqlPath = $.sqlPath; + this.storageCredentialName = $.storageCredentialName; + this.storageLocation = $.storageLocation; + this.tableConstraints = $.tableConstraints; + this.tableId = $.tableId; + this.tableType = $.tableType; + this.updatedAt = $.updatedAt; + this.updatedBy = $.updatedBy; + this.viewDefinition = $.viewDefinition; + this.viewDependencies = $.viewDependencies; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfo defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfo $; + + public Builder() { + $ = new GetTableTableInfo(); + } + + public Builder(GetTableTableInfo defaults) { + $ = new GetTableTableInfo(Objects.requireNonNull(defaults)); + } + + public Builder accessPoint(@Nullable String accessPoint) { + $.accessPoint = accessPoint; + return this; + } + + public Builder browseOnly(@Nullable Boolean browseOnly) { + $.browseOnly = browseOnly; + return this; + } + + /** + * @param catalogName Name of parent catalog. + * + * @return builder + * + */ + public Builder catalogName(@Nullable String catalogName) { + $.catalogName = catalogName; + return this; + } + + /** + * @param columns Array of ColumnInfo objects of the table's columns + * + * @return builder + * + */ + public Builder columns(@Nullable List columns) { + $.columns = columns; + return this; + } + + /** + * @param columns Array of ColumnInfo objects of the table's columns + * + * @return builder + * + */ + public Builder columns(GetTableTableInfoColumn... columns) { + return columns(List.of(columns)); + } + + /** + * @param comment Free-form text description + * + * @return builder + * + */ + public Builder comment(@Nullable String comment) { + $.comment = comment; + return this; + } + + public Builder createdAt(@Nullable Integer createdAt) { + $.createdAt = createdAt; + return this; + } + + public Builder createdBy(@Nullable String createdBy) { + $.createdBy = createdBy; + return this; + } + + public Builder dataAccessConfigurationId(@Nullable String dataAccessConfigurationId) { + $.dataAccessConfigurationId = dataAccessConfigurationId; + return this; + } + + /** + * @param dataSourceFormat Table format, e.g. DELTA, CSV, JSON + * + * @return builder + * + */ + public Builder dataSourceFormat(@Nullable String dataSourceFormat) { + $.dataSourceFormat = dataSourceFormat; + return this; + } + + public Builder deletedAt(@Nullable Integer deletedAt) { + $.deletedAt = deletedAt; + return this; + } + + public Builder deltaRuntimePropertiesKvpairs(@Nullable GetTableTableInfoDeltaRuntimePropertiesKvpairs deltaRuntimePropertiesKvpairs) { + $.deltaRuntimePropertiesKvpairs = deltaRuntimePropertiesKvpairs; + return this; + } + + public Builder effectivePredictiveOptimizationFlag(@Nullable GetTableTableInfoEffectivePredictiveOptimizationFlag effectivePredictiveOptimizationFlag) { + $.effectivePredictiveOptimizationFlag = effectivePredictiveOptimizationFlag; + return this; + } + + public Builder enablePredictiveOptimization(@Nullable String enablePredictiveOptimization) { + $.enablePredictiveOptimization = enablePredictiveOptimization; + return this; + } + + public Builder encryptionDetails(@Nullable GetTableTableInfoEncryptionDetails encryptionDetails) { + $.encryptionDetails = encryptionDetails; + return this; + } + + public Builder fullName(@Nullable String fullName) { + $.fullName = fullName; + return this; + } + + public Builder metastoreId(@Nullable String metastoreId) { + $.metastoreId = metastoreId; + return this; + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + /** + * @param owner Current owner of the table + * + * @return builder + * + */ + public Builder owner(@Nullable String owner) { + $.owner = owner; + return this; + } + + public Builder pipelineId(@Nullable String pipelineId) { + $.pipelineId = pipelineId; + return this; + } + + public Builder properties(@Nullable Map properties) { + $.properties = properties; + return this; + } + + public Builder rowFilter(@Nullable GetTableTableInfoRowFilter rowFilter) { + $.rowFilter = rowFilter; + return this; + } + + /** + * @param schemaName Name of parent schema relative to its parent catalog. + * + * @return builder + * + */ + public Builder schemaName(@Nullable String schemaName) { + $.schemaName = schemaName; + return this; + } + + public Builder sqlPath(@Nullable String sqlPath) { + $.sqlPath = sqlPath; + return this; + } + + public Builder storageCredentialName(@Nullable String storageCredentialName) { + $.storageCredentialName = storageCredentialName; + return this; + } + + public Builder storageLocation(@Nullable String storageLocation) { + $.storageLocation = storageLocation; + return this; + } + + public Builder tableConstraints(@Nullable List tableConstraints) { + $.tableConstraints = tableConstraints; + return this; + } + + public Builder tableConstraints(GetTableTableInfoTableConstraint... tableConstraints) { + return tableConstraints(List.of(tableConstraints)); + } + + public Builder tableId(@Nullable String tableId) { + $.tableId = tableId; + return this; + } + + /** + * @param tableType Table type, e.g. MANAGED, EXTERNAL, VIEW + * + * @return builder + * + */ + public Builder tableType(@Nullable String tableType) { + $.tableType = tableType; + return this; + } + + public Builder updatedAt(@Nullable Integer updatedAt) { + $.updatedAt = updatedAt; + return this; + } + + public Builder updatedBy(@Nullable String updatedBy) { + $.updatedBy = updatedBy; + return this; + } + + /** + * @param viewDefinition View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + * + * @return builder + * + */ + public Builder viewDefinition(@Nullable String viewDefinition) { + $.viewDefinition = viewDefinition; + return this; + } + + /** + * @param viewDependencies View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + * + * @return builder + * + */ + public Builder viewDependencies(@Nullable GetTableTableInfoViewDependencies viewDependencies) { + $.viewDependencies = viewDependencies; + return this; + } + + public GetTableTableInfo build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoArgs.java new file mode 100644 index 00000000..55c78c42 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoArgs.java @@ -0,0 +1,816 @@ +// *** WARNING: this file was 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.GetTableTableInfoColumnArgs; +import com.pulumi.databricks.inputs.GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs; +import com.pulumi.databricks.inputs.GetTableTableInfoEffectivePredictiveOptimizationFlagArgs; +import com.pulumi.databricks.inputs.GetTableTableInfoEncryptionDetailsArgs; +import com.pulumi.databricks.inputs.GetTableTableInfoRowFilterArgs; +import com.pulumi.databricks.inputs.GetTableTableInfoTableConstraintArgs; +import com.pulumi.databricks.inputs.GetTableTableInfoViewDependenciesArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoArgs Empty = new GetTableTableInfoArgs(); + + @Import(name="accessPoint") + private @Nullable Output accessPoint; + + public Optional> accessPoint() { + return Optional.ofNullable(this.accessPoint); + } + + @Import(name="browseOnly") + private @Nullable Output browseOnly; + + public Optional> browseOnly() { + return Optional.ofNullable(this.browseOnly); + } + + /** + * Name of parent catalog. + * + */ + @Import(name="catalogName") + private @Nullable Output catalogName; + + /** + * @return Name of parent catalog. + * + */ + public Optional> catalogName() { + return Optional.ofNullable(this.catalogName); + } + + /** + * Array of ColumnInfo objects of the table's columns + * + */ + @Import(name="columns") + private @Nullable Output> columns; + + /** + * @return Array of ColumnInfo objects of the table's columns + * + */ + public Optional>> columns() { + return Optional.ofNullable(this.columns); + } + + /** + * Free-form text description + * + */ + @Import(name="comment") + private @Nullable Output comment; + + /** + * @return Free-form text description + * + */ + public Optional> comment() { + return Optional.ofNullable(this.comment); + } + + @Import(name="createdAt") + private @Nullable Output createdAt; + + public Optional> createdAt() { + return Optional.ofNullable(this.createdAt); + } + + @Import(name="createdBy") + private @Nullable Output createdBy; + + public Optional> createdBy() { + return Optional.ofNullable(this.createdBy); + } + + @Import(name="dataAccessConfigurationId") + private @Nullable Output dataAccessConfigurationId; + + public Optional> dataAccessConfigurationId() { + return Optional.ofNullable(this.dataAccessConfigurationId); + } + + /** + * Table format, e.g. DELTA, CSV, JSON + * + */ + @Import(name="dataSourceFormat") + private @Nullable Output dataSourceFormat; + + /** + * @return Table format, e.g. DELTA, CSV, JSON + * + */ + public Optional> dataSourceFormat() { + return Optional.ofNullable(this.dataSourceFormat); + } + + @Import(name="deletedAt") + private @Nullable Output deletedAt; + + public Optional> deletedAt() { + return Optional.ofNullable(this.deletedAt); + } + + @Import(name="deltaRuntimePropertiesKvpairs") + private @Nullable Output deltaRuntimePropertiesKvpairs; + + public Optional> deltaRuntimePropertiesKvpairs() { + return Optional.ofNullable(this.deltaRuntimePropertiesKvpairs); + } + + @Import(name="effectivePredictiveOptimizationFlag") + private @Nullable Output effectivePredictiveOptimizationFlag; + + public Optional> effectivePredictiveOptimizationFlag() { + return Optional.ofNullable(this.effectivePredictiveOptimizationFlag); + } + + @Import(name="enablePredictiveOptimization") + private @Nullable Output enablePredictiveOptimization; + + public Optional> enablePredictiveOptimization() { + return Optional.ofNullable(this.enablePredictiveOptimization); + } + + @Import(name="encryptionDetails") + private @Nullable Output encryptionDetails; + + public Optional> encryptionDetails() { + return Optional.ofNullable(this.encryptionDetails); + } + + @Import(name="fullName") + private @Nullable Output fullName; + + public Optional> fullName() { + return Optional.ofNullable(this.fullName); + } + + @Import(name="metastoreId") + private @Nullable Output metastoreId; + + public Optional> metastoreId() { + return Optional.ofNullable(this.metastoreId); + } + + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Current owner of the table + * + */ + @Import(name="owner") + private @Nullable Output owner; + + /** + * @return Current owner of the table + * + */ + public Optional> owner() { + return Optional.ofNullable(this.owner); + } + + @Import(name="pipelineId") + private @Nullable Output pipelineId; + + public Optional> pipelineId() { + return Optional.ofNullable(this.pipelineId); + } + + @Import(name="properties") + private @Nullable Output> properties; + + public Optional>> properties() { + return Optional.ofNullable(this.properties); + } + + @Import(name="rowFilter") + private @Nullable Output rowFilter; + + public Optional> rowFilter() { + return Optional.ofNullable(this.rowFilter); + } + + /** + * Name of parent schema relative to its parent catalog. + * + */ + @Import(name="schemaName") + private @Nullable Output schemaName; + + /** + * @return Name of parent schema relative to its parent catalog. + * + */ + public Optional> schemaName() { + return Optional.ofNullable(this.schemaName); + } + + @Import(name="sqlPath") + private @Nullable Output sqlPath; + + public Optional> sqlPath() { + return Optional.ofNullable(this.sqlPath); + } + + @Import(name="storageCredentialName") + private @Nullable Output storageCredentialName; + + public Optional> storageCredentialName() { + return Optional.ofNullable(this.storageCredentialName); + } + + @Import(name="storageLocation") + private @Nullable Output storageLocation; + + public Optional> storageLocation() { + return Optional.ofNullable(this.storageLocation); + } + + @Import(name="tableConstraints") + private @Nullable Output> tableConstraints; + + public Optional>> tableConstraints() { + return Optional.ofNullable(this.tableConstraints); + } + + @Import(name="tableId") + private @Nullable Output tableId; + + public Optional> tableId() { + return Optional.ofNullable(this.tableId); + } + + /** + * Table type, e.g. MANAGED, EXTERNAL, VIEW + * + */ + @Import(name="tableType") + private @Nullable Output tableType; + + /** + * @return Table type, e.g. MANAGED, EXTERNAL, VIEW + * + */ + public Optional> tableType() { + return Optional.ofNullable(this.tableType); + } + + @Import(name="updatedAt") + private @Nullable Output updatedAt; + + public Optional> updatedAt() { + return Optional.ofNullable(this.updatedAt); + } + + @Import(name="updatedBy") + private @Nullable Output updatedBy; + + public Optional> updatedBy() { + return Optional.ofNullable(this.updatedBy); + } + + /** + * View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + * + */ + @Import(name="viewDefinition") + private @Nullable Output viewDefinition; + + /** + * @return View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + * + */ + public Optional> viewDefinition() { + return Optional.ofNullable(this.viewDefinition); + } + + /** + * View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + * + */ + @Import(name="viewDependencies") + private @Nullable Output viewDependencies; + + /** + * @return View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + * + */ + public Optional> viewDependencies() { + return Optional.ofNullable(this.viewDependencies); + } + + private GetTableTableInfoArgs() {} + + private GetTableTableInfoArgs(GetTableTableInfoArgs $) { + this.accessPoint = $.accessPoint; + this.browseOnly = $.browseOnly; + this.catalogName = $.catalogName; + this.columns = $.columns; + this.comment = $.comment; + this.createdAt = $.createdAt; + this.createdBy = $.createdBy; + this.dataAccessConfigurationId = $.dataAccessConfigurationId; + this.dataSourceFormat = $.dataSourceFormat; + this.deletedAt = $.deletedAt; + this.deltaRuntimePropertiesKvpairs = $.deltaRuntimePropertiesKvpairs; + this.effectivePredictiveOptimizationFlag = $.effectivePredictiveOptimizationFlag; + this.enablePredictiveOptimization = $.enablePredictiveOptimization; + this.encryptionDetails = $.encryptionDetails; + this.fullName = $.fullName; + this.metastoreId = $.metastoreId; + this.name = $.name; + this.owner = $.owner; + this.pipelineId = $.pipelineId; + this.properties = $.properties; + this.rowFilter = $.rowFilter; + this.schemaName = $.schemaName; + this.sqlPath = $.sqlPath; + this.storageCredentialName = $.storageCredentialName; + this.storageLocation = $.storageLocation; + this.tableConstraints = $.tableConstraints; + this.tableId = $.tableId; + this.tableType = $.tableType; + this.updatedAt = $.updatedAt; + this.updatedBy = $.updatedBy; + this.viewDefinition = $.viewDefinition; + this.viewDependencies = $.viewDependencies; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoArgs $; + + public Builder() { + $ = new GetTableTableInfoArgs(); + } + + public Builder(GetTableTableInfoArgs defaults) { + $ = new GetTableTableInfoArgs(Objects.requireNonNull(defaults)); + } + + public Builder accessPoint(@Nullable Output accessPoint) { + $.accessPoint = accessPoint; + return this; + } + + public Builder accessPoint(String accessPoint) { + return accessPoint(Output.of(accessPoint)); + } + + public Builder browseOnly(@Nullable Output browseOnly) { + $.browseOnly = browseOnly; + return this; + } + + public Builder browseOnly(Boolean browseOnly) { + return browseOnly(Output.of(browseOnly)); + } + + /** + * @param catalogName Name of parent catalog. + * + * @return builder + * + */ + public Builder catalogName(@Nullable Output catalogName) { + $.catalogName = catalogName; + return this; + } + + /** + * @param catalogName Name of parent catalog. + * + * @return builder + * + */ + public Builder catalogName(String catalogName) { + return catalogName(Output.of(catalogName)); + } + + /** + * @param columns Array of ColumnInfo objects of the table's columns + * + * @return builder + * + */ + public Builder columns(@Nullable Output> columns) { + $.columns = columns; + return this; + } + + /** + * @param columns Array of ColumnInfo objects of the table's columns + * + * @return builder + * + */ + public Builder columns(List columns) { + return columns(Output.of(columns)); + } + + /** + * @param columns Array of ColumnInfo objects of the table's columns + * + * @return builder + * + */ + public Builder columns(GetTableTableInfoColumnArgs... columns) { + return columns(List.of(columns)); + } + + /** + * @param comment Free-form text description + * + * @return builder + * + */ + public Builder comment(@Nullable Output comment) { + $.comment = comment; + return this; + } + + /** + * @param comment Free-form text description + * + * @return builder + * + */ + public Builder comment(String comment) { + return comment(Output.of(comment)); + } + + public Builder createdAt(@Nullable Output createdAt) { + $.createdAt = createdAt; + return this; + } + + public Builder createdAt(Integer createdAt) { + return createdAt(Output.of(createdAt)); + } + + public Builder createdBy(@Nullable Output createdBy) { + $.createdBy = createdBy; + return this; + } + + public Builder createdBy(String createdBy) { + return createdBy(Output.of(createdBy)); + } + + public Builder dataAccessConfigurationId(@Nullable Output dataAccessConfigurationId) { + $.dataAccessConfigurationId = dataAccessConfigurationId; + return this; + } + + public Builder dataAccessConfigurationId(String dataAccessConfigurationId) { + return dataAccessConfigurationId(Output.of(dataAccessConfigurationId)); + } + + /** + * @param dataSourceFormat Table format, e.g. DELTA, CSV, JSON + * + * @return builder + * + */ + public Builder dataSourceFormat(@Nullable Output dataSourceFormat) { + $.dataSourceFormat = dataSourceFormat; + return this; + } + + /** + * @param dataSourceFormat Table format, e.g. DELTA, CSV, JSON + * + * @return builder + * + */ + public Builder dataSourceFormat(String dataSourceFormat) { + return dataSourceFormat(Output.of(dataSourceFormat)); + } + + public Builder deletedAt(@Nullable Output deletedAt) { + $.deletedAt = deletedAt; + return this; + } + + public Builder deletedAt(Integer deletedAt) { + return deletedAt(Output.of(deletedAt)); + } + + public Builder deltaRuntimePropertiesKvpairs(@Nullable Output deltaRuntimePropertiesKvpairs) { + $.deltaRuntimePropertiesKvpairs = deltaRuntimePropertiesKvpairs; + return this; + } + + public Builder deltaRuntimePropertiesKvpairs(GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs deltaRuntimePropertiesKvpairs) { + return deltaRuntimePropertiesKvpairs(Output.of(deltaRuntimePropertiesKvpairs)); + } + + public Builder effectivePredictiveOptimizationFlag(@Nullable Output effectivePredictiveOptimizationFlag) { + $.effectivePredictiveOptimizationFlag = effectivePredictiveOptimizationFlag; + return this; + } + + public Builder effectivePredictiveOptimizationFlag(GetTableTableInfoEffectivePredictiveOptimizationFlagArgs effectivePredictiveOptimizationFlag) { + return effectivePredictiveOptimizationFlag(Output.of(effectivePredictiveOptimizationFlag)); + } + + public Builder enablePredictiveOptimization(@Nullable Output enablePredictiveOptimization) { + $.enablePredictiveOptimization = enablePredictiveOptimization; + return this; + } + + public Builder enablePredictiveOptimization(String enablePredictiveOptimization) { + return enablePredictiveOptimization(Output.of(enablePredictiveOptimization)); + } + + public Builder encryptionDetails(@Nullable Output encryptionDetails) { + $.encryptionDetails = encryptionDetails; + return this; + } + + public Builder encryptionDetails(GetTableTableInfoEncryptionDetailsArgs encryptionDetails) { + return encryptionDetails(Output.of(encryptionDetails)); + } + + public Builder fullName(@Nullable Output fullName) { + $.fullName = fullName; + return this; + } + + public Builder fullName(String fullName) { + return fullName(Output.of(fullName)); + } + + public Builder metastoreId(@Nullable Output metastoreId) { + $.metastoreId = metastoreId; + return this; + } + + public Builder metastoreId(String metastoreId) { + return metastoreId(Output.of(metastoreId)); + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param owner Current owner of the table + * + * @return builder + * + */ + public Builder owner(@Nullable Output owner) { + $.owner = owner; + return this; + } + + /** + * @param owner Current owner of the table + * + * @return builder + * + */ + public Builder owner(String owner) { + return owner(Output.of(owner)); + } + + public Builder pipelineId(@Nullable Output pipelineId) { + $.pipelineId = pipelineId; + return this; + } + + public Builder pipelineId(String pipelineId) { + return pipelineId(Output.of(pipelineId)); + } + + public Builder properties(@Nullable Output> properties) { + $.properties = properties; + return this; + } + + public Builder properties(Map properties) { + return properties(Output.of(properties)); + } + + public Builder rowFilter(@Nullable Output rowFilter) { + $.rowFilter = rowFilter; + return this; + } + + public Builder rowFilter(GetTableTableInfoRowFilterArgs rowFilter) { + return rowFilter(Output.of(rowFilter)); + } + + /** + * @param schemaName Name of parent schema relative to its parent catalog. + * + * @return builder + * + */ + public Builder schemaName(@Nullable Output schemaName) { + $.schemaName = schemaName; + return this; + } + + /** + * @param schemaName Name of parent schema relative to its parent catalog. + * + * @return builder + * + */ + public Builder schemaName(String schemaName) { + return schemaName(Output.of(schemaName)); + } + + public Builder sqlPath(@Nullable Output sqlPath) { + $.sqlPath = sqlPath; + return this; + } + + public Builder sqlPath(String sqlPath) { + return sqlPath(Output.of(sqlPath)); + } + + public Builder storageCredentialName(@Nullable Output storageCredentialName) { + $.storageCredentialName = storageCredentialName; + return this; + } + + public Builder storageCredentialName(String storageCredentialName) { + return storageCredentialName(Output.of(storageCredentialName)); + } + + public Builder storageLocation(@Nullable Output storageLocation) { + $.storageLocation = storageLocation; + return this; + } + + public Builder storageLocation(String storageLocation) { + return storageLocation(Output.of(storageLocation)); + } + + public Builder tableConstraints(@Nullable Output> tableConstraints) { + $.tableConstraints = tableConstraints; + return this; + } + + public Builder tableConstraints(List tableConstraints) { + return tableConstraints(Output.of(tableConstraints)); + } + + public Builder tableConstraints(GetTableTableInfoTableConstraintArgs... tableConstraints) { + return tableConstraints(List.of(tableConstraints)); + } + + public Builder tableId(@Nullable Output tableId) { + $.tableId = tableId; + return this; + } + + public Builder tableId(String tableId) { + return tableId(Output.of(tableId)); + } + + /** + * @param tableType Table type, e.g. MANAGED, EXTERNAL, VIEW + * + * @return builder + * + */ + public Builder tableType(@Nullable Output tableType) { + $.tableType = tableType; + return this; + } + + /** + * @param tableType Table type, e.g. MANAGED, EXTERNAL, VIEW + * + * @return builder + * + */ + public Builder tableType(String tableType) { + return tableType(Output.of(tableType)); + } + + public Builder updatedAt(@Nullable Output updatedAt) { + $.updatedAt = updatedAt; + return this; + } + + public Builder updatedAt(Integer updatedAt) { + return updatedAt(Output.of(updatedAt)); + } + + public Builder updatedBy(@Nullable Output updatedBy) { + $.updatedBy = updatedBy; + return this; + } + + public Builder updatedBy(String updatedBy) { + return updatedBy(Output.of(updatedBy)); + } + + /** + * @param viewDefinition View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + * + * @return builder + * + */ + public Builder viewDefinition(@Nullable Output viewDefinition) { + $.viewDefinition = viewDefinition; + return this; + } + + /** + * @param viewDefinition View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + * + * @return builder + * + */ + public Builder viewDefinition(String viewDefinition) { + return viewDefinition(Output.of(viewDefinition)); + } + + /** + * @param viewDependencies View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + * + * @return builder + * + */ + public Builder viewDependencies(@Nullable Output viewDependencies) { + $.viewDependencies = viewDependencies; + return this; + } + + /** + * @param viewDependencies View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + * + * @return builder + * + */ + public Builder viewDependencies(GetTableTableInfoViewDependenciesArgs viewDependencies) { + return viewDependencies(Output.of(viewDependencies)); + } + + public GetTableTableInfoArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumn.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumn.java new file mode 100644 index 00000000..e17a606c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumn.java @@ -0,0 +1,232 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetTableTableInfoColumnMask; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoColumn extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfoColumn Empty = new GetTableTableInfoColumn(); + + /** + * Free-form text description + * + */ + @Import(name="comment") + private @Nullable String comment; + + /** + * @return Free-form text description + * + */ + public Optional comment() { + return Optional.ofNullable(this.comment); + } + + @Import(name="mask") + private @Nullable GetTableTableInfoColumnMask mask; + + public Optional mask() { + return Optional.ofNullable(this.mask); + } + + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + @Import(name="nullable") + private @Nullable Boolean nullable; + + public Optional nullable() { + return Optional.ofNullable(this.nullable); + } + + @Import(name="partitionIndex") + private @Nullable Integer partitionIndex; + + public Optional partitionIndex() { + return Optional.ofNullable(this.partitionIndex); + } + + @Import(name="position") + private @Nullable Integer position; + + public Optional position() { + return Optional.ofNullable(this.position); + } + + @Import(name="typeIntervalType") + private @Nullable String typeIntervalType; + + public Optional typeIntervalType() { + return Optional.ofNullable(this.typeIntervalType); + } + + @Import(name="typeJson") + private @Nullable String typeJson; + + public Optional typeJson() { + return Optional.ofNullable(this.typeJson); + } + + @Import(name="typeName") + private @Nullable String typeName; + + public Optional typeName() { + return Optional.ofNullable(this.typeName); + } + + @Import(name="typePrecision") + private @Nullable Integer typePrecision; + + public Optional typePrecision() { + return Optional.ofNullable(this.typePrecision); + } + + @Import(name="typeScale") + private @Nullable Integer typeScale; + + public Optional typeScale() { + return Optional.ofNullable(this.typeScale); + } + + @Import(name="typeText") + private @Nullable String typeText; + + public Optional typeText() { + return Optional.ofNullable(this.typeText); + } + + private GetTableTableInfoColumn() {} + + private GetTableTableInfoColumn(GetTableTableInfoColumn $) { + this.comment = $.comment; + this.mask = $.mask; + this.name = $.name; + this.nullable = $.nullable; + this.partitionIndex = $.partitionIndex; + this.position = $.position; + this.typeIntervalType = $.typeIntervalType; + this.typeJson = $.typeJson; + this.typeName = $.typeName; + this.typePrecision = $.typePrecision; + this.typeScale = $.typeScale; + this.typeText = $.typeText; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoColumn defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoColumn $; + + public Builder() { + $ = new GetTableTableInfoColumn(); + } + + public Builder(GetTableTableInfoColumn defaults) { + $ = new GetTableTableInfoColumn(Objects.requireNonNull(defaults)); + } + + /** + * @param comment Free-form text description + * + * @return builder + * + */ + public Builder comment(@Nullable String comment) { + $.comment = comment; + return this; + } + + public Builder mask(@Nullable GetTableTableInfoColumnMask mask) { + $.mask = mask; + return this; + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public Builder nullable(@Nullable Boolean nullable) { + $.nullable = nullable; + return this; + } + + public Builder partitionIndex(@Nullable Integer partitionIndex) { + $.partitionIndex = partitionIndex; + return this; + } + + public Builder position(@Nullable Integer position) { + $.position = position; + return this; + } + + public Builder typeIntervalType(@Nullable String typeIntervalType) { + $.typeIntervalType = typeIntervalType; + return this; + } + + public Builder typeJson(@Nullable String typeJson) { + $.typeJson = typeJson; + return this; + } + + public Builder typeName(@Nullable String typeName) { + $.typeName = typeName; + return this; + } + + public Builder typePrecision(@Nullable Integer typePrecision) { + $.typePrecision = typePrecision; + return this; + } + + public Builder typeScale(@Nullable Integer typeScale) { + $.typeScale = typeScale; + return this; + } + + public Builder typeText(@Nullable String typeText) { + $.typeText = typeText; + return this; + } + + public GetTableTableInfoColumn build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumnArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumnArgs.java new file mode 100644 index 00000000..7b333462 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumnArgs.java @@ -0,0 +1,293 @@ +// *** WARNING: this file was 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.GetTableTableInfoColumnMaskArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoColumnArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoColumnArgs Empty = new GetTableTableInfoColumnArgs(); + + /** + * Free-form text description + * + */ + @Import(name="comment") + private @Nullable Output comment; + + /** + * @return Free-form text description + * + */ + public Optional> comment() { + return Optional.ofNullable(this.comment); + } + + @Import(name="mask") + private @Nullable Output mask; + + public Optional> mask() { + return Optional.ofNullable(this.mask); + } + + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + @Import(name="nullable") + private @Nullable Output nullable; + + public Optional> nullable() { + return Optional.ofNullable(this.nullable); + } + + @Import(name="partitionIndex") + private @Nullable Output partitionIndex; + + public Optional> partitionIndex() { + return Optional.ofNullable(this.partitionIndex); + } + + @Import(name="position") + private @Nullable Output position; + + public Optional> position() { + return Optional.ofNullable(this.position); + } + + @Import(name="typeIntervalType") + private @Nullable Output typeIntervalType; + + public Optional> typeIntervalType() { + return Optional.ofNullable(this.typeIntervalType); + } + + @Import(name="typeJson") + private @Nullable Output typeJson; + + public Optional> typeJson() { + return Optional.ofNullable(this.typeJson); + } + + @Import(name="typeName") + private @Nullable Output typeName; + + public Optional> typeName() { + return Optional.ofNullable(this.typeName); + } + + @Import(name="typePrecision") + private @Nullable Output typePrecision; + + public Optional> typePrecision() { + return Optional.ofNullable(this.typePrecision); + } + + @Import(name="typeScale") + private @Nullable Output typeScale; + + public Optional> typeScale() { + return Optional.ofNullable(this.typeScale); + } + + @Import(name="typeText") + private @Nullable Output typeText; + + public Optional> typeText() { + return Optional.ofNullable(this.typeText); + } + + private GetTableTableInfoColumnArgs() {} + + private GetTableTableInfoColumnArgs(GetTableTableInfoColumnArgs $) { + this.comment = $.comment; + this.mask = $.mask; + this.name = $.name; + this.nullable = $.nullable; + this.partitionIndex = $.partitionIndex; + this.position = $.position; + this.typeIntervalType = $.typeIntervalType; + this.typeJson = $.typeJson; + this.typeName = $.typeName; + this.typePrecision = $.typePrecision; + this.typeScale = $.typeScale; + this.typeText = $.typeText; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoColumnArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoColumnArgs $; + + public Builder() { + $ = new GetTableTableInfoColumnArgs(); + } + + public Builder(GetTableTableInfoColumnArgs defaults) { + $ = new GetTableTableInfoColumnArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param comment Free-form text description + * + * @return builder + * + */ + public Builder comment(@Nullable Output comment) { + $.comment = comment; + return this; + } + + /** + * @param comment Free-form text description + * + * @return builder + * + */ + public Builder comment(String comment) { + return comment(Output.of(comment)); + } + + public Builder mask(@Nullable Output mask) { + $.mask = mask; + return this; + } + + public Builder mask(GetTableTableInfoColumnMaskArgs mask) { + return mask(Output.of(mask)); + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public Builder nullable(@Nullable Output nullable) { + $.nullable = nullable; + return this; + } + + public Builder nullable(Boolean nullable) { + return nullable(Output.of(nullable)); + } + + public Builder partitionIndex(@Nullable Output partitionIndex) { + $.partitionIndex = partitionIndex; + return this; + } + + public Builder partitionIndex(Integer partitionIndex) { + return partitionIndex(Output.of(partitionIndex)); + } + + public Builder position(@Nullable Output position) { + $.position = position; + return this; + } + + public Builder position(Integer position) { + return position(Output.of(position)); + } + + public Builder typeIntervalType(@Nullable Output typeIntervalType) { + $.typeIntervalType = typeIntervalType; + return this; + } + + public Builder typeIntervalType(String typeIntervalType) { + return typeIntervalType(Output.of(typeIntervalType)); + } + + public Builder typeJson(@Nullable Output typeJson) { + $.typeJson = typeJson; + return this; + } + + public Builder typeJson(String typeJson) { + return typeJson(Output.of(typeJson)); + } + + public Builder typeName(@Nullable Output typeName) { + $.typeName = typeName; + return this; + } + + public Builder typeName(String typeName) { + return typeName(Output.of(typeName)); + } + + public Builder typePrecision(@Nullable Output typePrecision) { + $.typePrecision = typePrecision; + return this; + } + + public Builder typePrecision(Integer typePrecision) { + return typePrecision(Output.of(typePrecision)); + } + + public Builder typeScale(@Nullable Output typeScale) { + $.typeScale = typeScale; + return this; + } + + public Builder typeScale(Integer typeScale) { + return typeScale(Output.of(typeScale)); + } + + public Builder typeText(@Nullable Output typeText) { + $.typeText = typeText; + return this; + } + + public Builder typeText(String typeText) { + return typeText(Output.of(typeText)); + } + + public GetTableTableInfoColumnArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumnMask.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumnMask.java new file mode 100644 index 00000000..f16f3379 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumnMask.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.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoColumnMask extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfoColumnMask Empty = new GetTableTableInfoColumnMask(); + + @Import(name="functionName") + private @Nullable String functionName; + + public Optional functionName() { + return Optional.ofNullable(this.functionName); + } + + @Import(name="usingColumnNames") + private @Nullable List usingColumnNames; + + public Optional> usingColumnNames() { + return Optional.ofNullable(this.usingColumnNames); + } + + private GetTableTableInfoColumnMask() {} + + private GetTableTableInfoColumnMask(GetTableTableInfoColumnMask $) { + this.functionName = $.functionName; + this.usingColumnNames = $.usingColumnNames; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoColumnMask defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoColumnMask $; + + public Builder() { + $ = new GetTableTableInfoColumnMask(); + } + + public Builder(GetTableTableInfoColumnMask defaults) { + $ = new GetTableTableInfoColumnMask(Objects.requireNonNull(defaults)); + } + + public Builder functionName(@Nullable String functionName) { + $.functionName = functionName; + return this; + } + + public Builder usingColumnNames(@Nullable List usingColumnNames) { + $.usingColumnNames = usingColumnNames; + return this; + } + + public Builder usingColumnNames(String... usingColumnNames) { + return usingColumnNames(List.of(usingColumnNames)); + } + + public GetTableTableInfoColumnMask build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumnMaskArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumnMaskArgs.java new file mode 100644 index 00000000..a65fa40d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoColumnMaskArgs.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoColumnMaskArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoColumnMaskArgs Empty = new GetTableTableInfoColumnMaskArgs(); + + @Import(name="functionName") + private @Nullable Output functionName; + + public Optional> functionName() { + return Optional.ofNullable(this.functionName); + } + + @Import(name="usingColumnNames") + private @Nullable Output> usingColumnNames; + + public Optional>> usingColumnNames() { + return Optional.ofNullable(this.usingColumnNames); + } + + private GetTableTableInfoColumnMaskArgs() {} + + private GetTableTableInfoColumnMaskArgs(GetTableTableInfoColumnMaskArgs $) { + this.functionName = $.functionName; + this.usingColumnNames = $.usingColumnNames; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoColumnMaskArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoColumnMaskArgs $; + + public Builder() { + $ = new GetTableTableInfoColumnMaskArgs(); + } + + public Builder(GetTableTableInfoColumnMaskArgs defaults) { + $ = new GetTableTableInfoColumnMaskArgs(Objects.requireNonNull(defaults)); + } + + public Builder functionName(@Nullable Output functionName) { + $.functionName = functionName; + return this; + } + + public Builder functionName(String functionName) { + return functionName(Output.of(functionName)); + } + + public Builder usingColumnNames(@Nullable Output> usingColumnNames) { + $.usingColumnNames = usingColumnNames; + return this; + } + + public Builder usingColumnNames(List usingColumnNames) { + return usingColumnNames(Output.of(usingColumnNames)); + } + + public Builder usingColumnNames(String... usingColumnNames) { + return usingColumnNames(List.of(usingColumnNames)); + } + + public GetTableTableInfoColumnMaskArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairs.java new file mode 100644 index 00000000..e4496370 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairs.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.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import java.util.Objects; + + +public final class GetTableTableInfoDeltaRuntimePropertiesKvpairs extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfoDeltaRuntimePropertiesKvpairs Empty = new GetTableTableInfoDeltaRuntimePropertiesKvpairs(); + + @Import(name="deltaRuntimeProperties", required=true) + private Map deltaRuntimeProperties; + + public Map deltaRuntimeProperties() { + return this.deltaRuntimeProperties; + } + + private GetTableTableInfoDeltaRuntimePropertiesKvpairs() {} + + private GetTableTableInfoDeltaRuntimePropertiesKvpairs(GetTableTableInfoDeltaRuntimePropertiesKvpairs $) { + this.deltaRuntimeProperties = $.deltaRuntimeProperties; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoDeltaRuntimePropertiesKvpairs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoDeltaRuntimePropertiesKvpairs $; + + public Builder() { + $ = new GetTableTableInfoDeltaRuntimePropertiesKvpairs(); + } + + public Builder(GetTableTableInfoDeltaRuntimePropertiesKvpairs defaults) { + $ = new GetTableTableInfoDeltaRuntimePropertiesKvpairs(Objects.requireNonNull(defaults)); + } + + public Builder deltaRuntimeProperties(Map deltaRuntimeProperties) { + $.deltaRuntimeProperties = deltaRuntimeProperties; + return this; + } + + public GetTableTableInfoDeltaRuntimePropertiesKvpairs build() { + if ($.deltaRuntimeProperties == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoDeltaRuntimePropertiesKvpairs", "deltaRuntimeProperties"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs.java new file mode 100644 index 00000000..b39739b0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs.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.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import java.util.Objects; + + +public final class GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs Empty = new GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs(); + + @Import(name="deltaRuntimeProperties", required=true) + private Output> deltaRuntimeProperties; + + public Output> deltaRuntimeProperties() { + return this.deltaRuntimeProperties; + } + + private GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs() {} + + private GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs(GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs $) { + this.deltaRuntimeProperties = $.deltaRuntimeProperties; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs $; + + public Builder() { + $ = new GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs(); + } + + public Builder(GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs defaults) { + $ = new GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs(Objects.requireNonNull(defaults)); + } + + public Builder deltaRuntimeProperties(Output> deltaRuntimeProperties) { + $.deltaRuntimeProperties = deltaRuntimeProperties; + return this; + } + + public Builder deltaRuntimeProperties(Map deltaRuntimeProperties) { + return deltaRuntimeProperties(Output.of(deltaRuntimeProperties)); + } + + public GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs build() { + if ($.deltaRuntimeProperties == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs", "deltaRuntimeProperties"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEffectivePredictiveOptimizationFlag.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEffectivePredictiveOptimizationFlag.java new file mode 100644 index 00000000..708dc9cd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEffectivePredictiveOptimizationFlag.java @@ -0,0 +1,88 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoEffectivePredictiveOptimizationFlag extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfoEffectivePredictiveOptimizationFlag Empty = new GetTableTableInfoEffectivePredictiveOptimizationFlag(); + + @Import(name="inheritedFromName") + private @Nullable String inheritedFromName; + + public Optional inheritedFromName() { + return Optional.ofNullable(this.inheritedFromName); + } + + @Import(name="inheritedFromType") + private @Nullable String inheritedFromType; + + public Optional inheritedFromType() { + return Optional.ofNullable(this.inheritedFromType); + } + + @Import(name="value", required=true) + private String value; + + public String value() { + return this.value; + } + + private GetTableTableInfoEffectivePredictiveOptimizationFlag() {} + + private GetTableTableInfoEffectivePredictiveOptimizationFlag(GetTableTableInfoEffectivePredictiveOptimizationFlag $) { + this.inheritedFromName = $.inheritedFromName; + this.inheritedFromType = $.inheritedFromType; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoEffectivePredictiveOptimizationFlag defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoEffectivePredictiveOptimizationFlag $; + + public Builder() { + $ = new GetTableTableInfoEffectivePredictiveOptimizationFlag(); + } + + public Builder(GetTableTableInfoEffectivePredictiveOptimizationFlag defaults) { + $ = new GetTableTableInfoEffectivePredictiveOptimizationFlag(Objects.requireNonNull(defaults)); + } + + public Builder inheritedFromName(@Nullable String inheritedFromName) { + $.inheritedFromName = inheritedFromName; + return this; + } + + public Builder inheritedFromType(@Nullable String inheritedFromType) { + $.inheritedFromType = inheritedFromType; + return this; + } + + public Builder value(String value) { + $.value = value; + return this; + } + + public GetTableTableInfoEffectivePredictiveOptimizationFlag build() { + if ($.value == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoEffectivePredictiveOptimizationFlag", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEffectivePredictiveOptimizationFlagArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEffectivePredictiveOptimizationFlagArgs.java new file mode 100644 index 00000000..27215080 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEffectivePredictiveOptimizationFlagArgs.java @@ -0,0 +1,101 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoEffectivePredictiveOptimizationFlagArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoEffectivePredictiveOptimizationFlagArgs Empty = new GetTableTableInfoEffectivePredictiveOptimizationFlagArgs(); + + @Import(name="inheritedFromName") + private @Nullable Output inheritedFromName; + + public Optional> inheritedFromName() { + return Optional.ofNullable(this.inheritedFromName); + } + + @Import(name="inheritedFromType") + private @Nullable Output inheritedFromType; + + public Optional> inheritedFromType() { + return Optional.ofNullable(this.inheritedFromType); + } + + @Import(name="value", required=true) + private Output value; + + public Output value() { + return this.value; + } + + private GetTableTableInfoEffectivePredictiveOptimizationFlagArgs() {} + + private GetTableTableInfoEffectivePredictiveOptimizationFlagArgs(GetTableTableInfoEffectivePredictiveOptimizationFlagArgs $) { + this.inheritedFromName = $.inheritedFromName; + this.inheritedFromType = $.inheritedFromType; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoEffectivePredictiveOptimizationFlagArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoEffectivePredictiveOptimizationFlagArgs $; + + public Builder() { + $ = new GetTableTableInfoEffectivePredictiveOptimizationFlagArgs(); + } + + public Builder(GetTableTableInfoEffectivePredictiveOptimizationFlagArgs defaults) { + $ = new GetTableTableInfoEffectivePredictiveOptimizationFlagArgs(Objects.requireNonNull(defaults)); + } + + public Builder inheritedFromName(@Nullable Output inheritedFromName) { + $.inheritedFromName = inheritedFromName; + return this; + } + + public Builder inheritedFromName(String inheritedFromName) { + return inheritedFromName(Output.of(inheritedFromName)); + } + + public Builder inheritedFromType(@Nullable Output inheritedFromType) { + $.inheritedFromType = inheritedFromType; + return this; + } + + public Builder inheritedFromType(String inheritedFromType) { + return inheritedFromType(Output.of(inheritedFromType)); + } + + public Builder value(Output value) { + $.value = value; + return this; + } + + public Builder value(String value) { + return value(Output.of(value)); + } + + public GetTableTableInfoEffectivePredictiveOptimizationFlagArgs build() { + if ($.value == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoEffectivePredictiveOptimizationFlagArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetails.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetails.java new file mode 100644 index 00000000..be6d4422 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetails.java @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetTableTableInfoEncryptionDetailsSseEncryptionDetails; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoEncryptionDetails extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfoEncryptionDetails Empty = new GetTableTableInfoEncryptionDetails(); + + @Import(name="sseEncryptionDetails") + private @Nullable GetTableTableInfoEncryptionDetailsSseEncryptionDetails sseEncryptionDetails; + + public Optional sseEncryptionDetails() { + return Optional.ofNullable(this.sseEncryptionDetails); + } + + private GetTableTableInfoEncryptionDetails() {} + + private GetTableTableInfoEncryptionDetails(GetTableTableInfoEncryptionDetails $) { + this.sseEncryptionDetails = $.sseEncryptionDetails; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoEncryptionDetails defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoEncryptionDetails $; + + public Builder() { + $ = new GetTableTableInfoEncryptionDetails(); + } + + public Builder(GetTableTableInfoEncryptionDetails defaults) { + $ = new GetTableTableInfoEncryptionDetails(Objects.requireNonNull(defaults)); + } + + public Builder sseEncryptionDetails(@Nullable GetTableTableInfoEncryptionDetailsSseEncryptionDetails sseEncryptionDetails) { + $.sseEncryptionDetails = sseEncryptionDetails; + return this; + } + + public GetTableTableInfoEncryptionDetails build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetailsArgs.java new file mode 100644 index 00000000..7410aa1f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetailsArgs.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.GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoEncryptionDetailsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoEncryptionDetailsArgs Empty = new GetTableTableInfoEncryptionDetailsArgs(); + + @Import(name="sseEncryptionDetails") + private @Nullable Output sseEncryptionDetails; + + public Optional> sseEncryptionDetails() { + return Optional.ofNullable(this.sseEncryptionDetails); + } + + private GetTableTableInfoEncryptionDetailsArgs() {} + + private GetTableTableInfoEncryptionDetailsArgs(GetTableTableInfoEncryptionDetailsArgs $) { + this.sseEncryptionDetails = $.sseEncryptionDetails; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoEncryptionDetailsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoEncryptionDetailsArgs $; + + public Builder() { + $ = new GetTableTableInfoEncryptionDetailsArgs(); + } + + public Builder(GetTableTableInfoEncryptionDetailsArgs defaults) { + $ = new GetTableTableInfoEncryptionDetailsArgs(Objects.requireNonNull(defaults)); + } + + public Builder sseEncryptionDetails(@Nullable Output sseEncryptionDetails) { + $.sseEncryptionDetails = sseEncryptionDetails; + return this; + } + + public Builder sseEncryptionDetails(GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs sseEncryptionDetails) { + return sseEncryptionDetails(Output.of(sseEncryptionDetails)); + } + + public GetTableTableInfoEncryptionDetailsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetails.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetails.java new file mode 100644 index 00000000..23c95c90 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetails.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoEncryptionDetailsSseEncryptionDetails extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfoEncryptionDetailsSseEncryptionDetails Empty = new GetTableTableInfoEncryptionDetailsSseEncryptionDetails(); + + @Import(name="algorithm") + private @Nullable String algorithm; + + public Optional algorithm() { + return Optional.ofNullable(this.algorithm); + } + + @Import(name="awsKmsKeyArn") + private @Nullable String awsKmsKeyArn; + + public Optional awsKmsKeyArn() { + return Optional.ofNullable(this.awsKmsKeyArn); + } + + private GetTableTableInfoEncryptionDetailsSseEncryptionDetails() {} + + private GetTableTableInfoEncryptionDetailsSseEncryptionDetails(GetTableTableInfoEncryptionDetailsSseEncryptionDetails $) { + this.algorithm = $.algorithm; + this.awsKmsKeyArn = $.awsKmsKeyArn; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoEncryptionDetailsSseEncryptionDetails defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoEncryptionDetailsSseEncryptionDetails $; + + public Builder() { + $ = new GetTableTableInfoEncryptionDetailsSseEncryptionDetails(); + } + + public Builder(GetTableTableInfoEncryptionDetailsSseEncryptionDetails defaults) { + $ = new GetTableTableInfoEncryptionDetailsSseEncryptionDetails(Objects.requireNonNull(defaults)); + } + + public Builder algorithm(@Nullable String algorithm) { + $.algorithm = algorithm; + return this; + } + + public Builder awsKmsKeyArn(@Nullable String awsKmsKeyArn) { + $.awsKmsKeyArn = awsKmsKeyArn; + return this; + } + + public GetTableTableInfoEncryptionDetailsSseEncryptionDetails build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs.java new file mode 100644 index 00000000..14b488a4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs.java @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs Empty = new GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs(); + + @Import(name="algorithm") + private @Nullable Output algorithm; + + public Optional> algorithm() { + return Optional.ofNullable(this.algorithm); + } + + @Import(name="awsKmsKeyArn") + private @Nullable Output awsKmsKeyArn; + + public Optional> awsKmsKeyArn() { + return Optional.ofNullable(this.awsKmsKeyArn); + } + + private GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs() {} + + private GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs(GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs $) { + this.algorithm = $.algorithm; + this.awsKmsKeyArn = $.awsKmsKeyArn; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs $; + + public Builder() { + $ = new GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs(); + } + + public Builder(GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs defaults) { + $ = new GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs(Objects.requireNonNull(defaults)); + } + + public Builder algorithm(@Nullable Output algorithm) { + $.algorithm = algorithm; + return this; + } + + public Builder algorithm(String algorithm) { + return algorithm(Output.of(algorithm)); + } + + public Builder awsKmsKeyArn(@Nullable Output awsKmsKeyArn) { + $.awsKmsKeyArn = awsKmsKeyArn; + return this; + } + + public Builder awsKmsKeyArn(String awsKmsKeyArn) { + return awsKmsKeyArn(Output.of(awsKmsKeyArn)); + } + + public GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoRowFilter.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoRowFilter.java new file mode 100644 index 00000000..521ae665 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoRowFilter.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetTableTableInfoRowFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfoRowFilter Empty = new GetTableTableInfoRowFilter(); + + @Import(name="functionName", required=true) + private String functionName; + + public String functionName() { + return this.functionName; + } + + @Import(name="inputColumnNames", required=true) + private List inputColumnNames; + + public List inputColumnNames() { + return this.inputColumnNames; + } + + private GetTableTableInfoRowFilter() {} + + private GetTableTableInfoRowFilter(GetTableTableInfoRowFilter $) { + this.functionName = $.functionName; + this.inputColumnNames = $.inputColumnNames; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoRowFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoRowFilter $; + + public Builder() { + $ = new GetTableTableInfoRowFilter(); + } + + public Builder(GetTableTableInfoRowFilter defaults) { + $ = new GetTableTableInfoRowFilter(Objects.requireNonNull(defaults)); + } + + public Builder functionName(String functionName) { + $.functionName = functionName; + return this; + } + + public Builder inputColumnNames(List inputColumnNames) { + $.inputColumnNames = inputColumnNames; + return this; + } + + public Builder inputColumnNames(String... inputColumnNames) { + return inputColumnNames(List.of(inputColumnNames)); + } + + public GetTableTableInfoRowFilter build() { + if ($.functionName == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoRowFilter", "functionName"); + } + if ($.inputColumnNames == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoRowFilter", "inputColumnNames"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoRowFilterArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoRowFilterArgs.java new file mode 100644 index 00000000..a2a68740 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoRowFilterArgs.java @@ -0,0 +1,90 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetTableTableInfoRowFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoRowFilterArgs Empty = new GetTableTableInfoRowFilterArgs(); + + @Import(name="functionName", required=true) + private Output functionName; + + public Output functionName() { + return this.functionName; + } + + @Import(name="inputColumnNames", required=true) + private Output> inputColumnNames; + + public Output> inputColumnNames() { + return this.inputColumnNames; + } + + private GetTableTableInfoRowFilterArgs() {} + + private GetTableTableInfoRowFilterArgs(GetTableTableInfoRowFilterArgs $) { + this.functionName = $.functionName; + this.inputColumnNames = $.inputColumnNames; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoRowFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoRowFilterArgs $; + + public Builder() { + $ = new GetTableTableInfoRowFilterArgs(); + } + + public Builder(GetTableTableInfoRowFilterArgs defaults) { + $ = new GetTableTableInfoRowFilterArgs(Objects.requireNonNull(defaults)); + } + + public Builder functionName(Output functionName) { + $.functionName = functionName; + return this; + } + + public Builder functionName(String functionName) { + return functionName(Output.of(functionName)); + } + + public Builder inputColumnNames(Output> inputColumnNames) { + $.inputColumnNames = inputColumnNames; + return this; + } + + public Builder inputColumnNames(List inputColumnNames) { + return inputColumnNames(Output.of(inputColumnNames)); + } + + public Builder inputColumnNames(String... inputColumnNames) { + return inputColumnNames(List.of(inputColumnNames)); + } + + public GetTableTableInfoRowFilterArgs build() { + if ($.functionName == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoRowFilterArgs", "functionName"); + } + if ($.inputColumnNames == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoRowFilterArgs", "inputColumnNames"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraint.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraint.java new file mode 100644 index 00000000..0ed76aca --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraint.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.annotations.Import; +import com.pulumi.databricks.inputs.GetTableTableInfoTableConstraintForeignKeyConstraint; +import com.pulumi.databricks.inputs.GetTableTableInfoTableConstraintNamedTableConstraint; +import com.pulumi.databricks.inputs.GetTableTableInfoTableConstraintPrimaryKeyConstraint; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoTableConstraint extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfoTableConstraint Empty = new GetTableTableInfoTableConstraint(); + + @Import(name="foreignKeyConstraint") + private @Nullable GetTableTableInfoTableConstraintForeignKeyConstraint foreignKeyConstraint; + + public Optional foreignKeyConstraint() { + return Optional.ofNullable(this.foreignKeyConstraint); + } + + @Import(name="namedTableConstraint") + private @Nullable GetTableTableInfoTableConstraintNamedTableConstraint namedTableConstraint; + + public Optional namedTableConstraint() { + return Optional.ofNullable(this.namedTableConstraint); + } + + @Import(name="primaryKeyConstraint") + private @Nullable GetTableTableInfoTableConstraintPrimaryKeyConstraint primaryKeyConstraint; + + public Optional primaryKeyConstraint() { + return Optional.ofNullable(this.primaryKeyConstraint); + } + + private GetTableTableInfoTableConstraint() {} + + private GetTableTableInfoTableConstraint(GetTableTableInfoTableConstraint $) { + this.foreignKeyConstraint = $.foreignKeyConstraint; + this.namedTableConstraint = $.namedTableConstraint; + this.primaryKeyConstraint = $.primaryKeyConstraint; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoTableConstraint defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoTableConstraint $; + + public Builder() { + $ = new GetTableTableInfoTableConstraint(); + } + + public Builder(GetTableTableInfoTableConstraint defaults) { + $ = new GetTableTableInfoTableConstraint(Objects.requireNonNull(defaults)); + } + + public Builder foreignKeyConstraint(@Nullable GetTableTableInfoTableConstraintForeignKeyConstraint foreignKeyConstraint) { + $.foreignKeyConstraint = foreignKeyConstraint; + return this; + } + + public Builder namedTableConstraint(@Nullable GetTableTableInfoTableConstraintNamedTableConstraint namedTableConstraint) { + $.namedTableConstraint = namedTableConstraint; + return this; + } + + public Builder primaryKeyConstraint(@Nullable GetTableTableInfoTableConstraintPrimaryKeyConstraint primaryKeyConstraint) { + $.primaryKeyConstraint = primaryKeyConstraint; + return this; + } + + public GetTableTableInfoTableConstraint build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintArgs.java new file mode 100644 index 00000000..34692fd9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintArgs.java @@ -0,0 +1,99 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetTableTableInfoTableConstraintForeignKeyConstraintArgs; +import com.pulumi.databricks.inputs.GetTableTableInfoTableConstraintNamedTableConstraintArgs; +import com.pulumi.databricks.inputs.GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoTableConstraintArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoTableConstraintArgs Empty = new GetTableTableInfoTableConstraintArgs(); + + @Import(name="foreignKeyConstraint") + private @Nullable Output foreignKeyConstraint; + + public Optional> foreignKeyConstraint() { + return Optional.ofNullable(this.foreignKeyConstraint); + } + + @Import(name="namedTableConstraint") + private @Nullable Output namedTableConstraint; + + public Optional> namedTableConstraint() { + return Optional.ofNullable(this.namedTableConstraint); + } + + @Import(name="primaryKeyConstraint") + private @Nullable Output primaryKeyConstraint; + + public Optional> primaryKeyConstraint() { + return Optional.ofNullable(this.primaryKeyConstraint); + } + + private GetTableTableInfoTableConstraintArgs() {} + + private GetTableTableInfoTableConstraintArgs(GetTableTableInfoTableConstraintArgs $) { + this.foreignKeyConstraint = $.foreignKeyConstraint; + this.namedTableConstraint = $.namedTableConstraint; + this.primaryKeyConstraint = $.primaryKeyConstraint; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoTableConstraintArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoTableConstraintArgs $; + + public Builder() { + $ = new GetTableTableInfoTableConstraintArgs(); + } + + public Builder(GetTableTableInfoTableConstraintArgs defaults) { + $ = new GetTableTableInfoTableConstraintArgs(Objects.requireNonNull(defaults)); + } + + public Builder foreignKeyConstraint(@Nullable Output foreignKeyConstraint) { + $.foreignKeyConstraint = foreignKeyConstraint; + return this; + } + + public Builder foreignKeyConstraint(GetTableTableInfoTableConstraintForeignKeyConstraintArgs foreignKeyConstraint) { + return foreignKeyConstraint(Output.of(foreignKeyConstraint)); + } + + public Builder namedTableConstraint(@Nullable Output namedTableConstraint) { + $.namedTableConstraint = namedTableConstraint; + return this; + } + + public Builder namedTableConstraint(GetTableTableInfoTableConstraintNamedTableConstraintArgs namedTableConstraint) { + return namedTableConstraint(Output.of(namedTableConstraint)); + } + + public Builder primaryKeyConstraint(@Nullable Output primaryKeyConstraint) { + $.primaryKeyConstraint = primaryKeyConstraint; + return this; + } + + public Builder primaryKeyConstraint(GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs primaryKeyConstraint) { + return primaryKeyConstraint(Output.of(primaryKeyConstraint)); + } + + public GetTableTableInfoTableConstraintArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintForeignKeyConstraint.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintForeignKeyConstraint.java new file mode 100644 index 00000000..da7798b2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintForeignKeyConstraint.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetTableTableInfoTableConstraintForeignKeyConstraint extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfoTableConstraintForeignKeyConstraint Empty = new GetTableTableInfoTableConstraintForeignKeyConstraint(); + + @Import(name="childColumns", required=true) + private List childColumns; + + public List childColumns() { + return this.childColumns; + } + + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public String name() { + return this.name; + } + + @Import(name="parentColumns", required=true) + private List parentColumns; + + public List parentColumns() { + return this.parentColumns; + } + + @Import(name="parentTable", required=true) + private String parentTable; + + public String parentTable() { + return this.parentTable; + } + + private GetTableTableInfoTableConstraintForeignKeyConstraint() {} + + private GetTableTableInfoTableConstraintForeignKeyConstraint(GetTableTableInfoTableConstraintForeignKeyConstraint $) { + this.childColumns = $.childColumns; + this.name = $.name; + this.parentColumns = $.parentColumns; + this.parentTable = $.parentTable; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoTableConstraintForeignKeyConstraint defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoTableConstraintForeignKeyConstraint $; + + public Builder() { + $ = new GetTableTableInfoTableConstraintForeignKeyConstraint(); + } + + public Builder(GetTableTableInfoTableConstraintForeignKeyConstraint defaults) { + $ = new GetTableTableInfoTableConstraintForeignKeyConstraint(Objects.requireNonNull(defaults)); + } + + public Builder childColumns(List childColumns) { + $.childColumns = childColumns; + return this; + } + + public Builder childColumns(String... childColumns) { + return childColumns(List.of(childColumns)); + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(String name) { + $.name = name; + return this; + } + + public Builder parentColumns(List parentColumns) { + $.parentColumns = parentColumns; + return this; + } + + public Builder parentColumns(String... parentColumns) { + return parentColumns(List.of(parentColumns)); + } + + public Builder parentTable(String parentTable) { + $.parentTable = parentTable; + return this; + } + + public GetTableTableInfoTableConstraintForeignKeyConstraint build() { + if ($.childColumns == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintForeignKeyConstraint", "childColumns"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintForeignKeyConstraint", "name"); + } + if ($.parentColumns == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintForeignKeyConstraint", "parentColumns"); + } + if ($.parentTable == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintForeignKeyConstraint", "parentTable"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintForeignKeyConstraintArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintForeignKeyConstraintArgs.java new file mode 100644 index 00000000..5f773f5c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintForeignKeyConstraintArgs.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.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 GetTableTableInfoTableConstraintForeignKeyConstraintArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoTableConstraintForeignKeyConstraintArgs Empty = new GetTableTableInfoTableConstraintForeignKeyConstraintArgs(); + + @Import(name="childColumns", required=true) + private Output> childColumns; + + public Output> childColumns() { + return this.childColumns; + } + + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public Output name() { + return this.name; + } + + @Import(name="parentColumns", required=true) + private Output> parentColumns; + + public Output> parentColumns() { + return this.parentColumns; + } + + @Import(name="parentTable", required=true) + private Output parentTable; + + public Output parentTable() { + return this.parentTable; + } + + private GetTableTableInfoTableConstraintForeignKeyConstraintArgs() {} + + private GetTableTableInfoTableConstraintForeignKeyConstraintArgs(GetTableTableInfoTableConstraintForeignKeyConstraintArgs $) { + this.childColumns = $.childColumns; + this.name = $.name; + this.parentColumns = $.parentColumns; + this.parentTable = $.parentTable; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoTableConstraintForeignKeyConstraintArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoTableConstraintForeignKeyConstraintArgs $; + + public Builder() { + $ = new GetTableTableInfoTableConstraintForeignKeyConstraintArgs(); + } + + public Builder(GetTableTableInfoTableConstraintForeignKeyConstraintArgs defaults) { + $ = new GetTableTableInfoTableConstraintForeignKeyConstraintArgs(Objects.requireNonNull(defaults)); + } + + public Builder childColumns(Output> childColumns) { + $.childColumns = childColumns; + return this; + } + + public Builder childColumns(List childColumns) { + return childColumns(Output.of(childColumns)); + } + + public Builder childColumns(String... childColumns) { + return childColumns(List.of(childColumns)); + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public Builder parentColumns(Output> parentColumns) { + $.parentColumns = parentColumns; + return this; + } + + public Builder parentColumns(List parentColumns) { + return parentColumns(Output.of(parentColumns)); + } + + public Builder parentColumns(String... parentColumns) { + return parentColumns(List.of(parentColumns)); + } + + public Builder parentTable(Output parentTable) { + $.parentTable = parentTable; + return this; + } + + public Builder parentTable(String parentTable) { + return parentTable(Output.of(parentTable)); + } + + public GetTableTableInfoTableConstraintForeignKeyConstraintArgs build() { + if ($.childColumns == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintForeignKeyConstraintArgs", "childColumns"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintForeignKeyConstraintArgs", "name"); + } + if ($.parentColumns == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintForeignKeyConstraintArgs", "parentColumns"); + } + if ($.parentTable == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintForeignKeyConstraintArgs", "parentTable"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintNamedTableConstraint.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintNamedTableConstraint.java new file mode 100644 index 00000000..c8e86fa5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintNamedTableConstraint.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetTableTableInfoTableConstraintNamedTableConstraint extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfoTableConstraintNamedTableConstraint Empty = new GetTableTableInfoTableConstraintNamedTableConstraint(); + + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public String name() { + return this.name; + } + + private GetTableTableInfoTableConstraintNamedTableConstraint() {} + + private GetTableTableInfoTableConstraintNamedTableConstraint(GetTableTableInfoTableConstraintNamedTableConstraint $) { + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoTableConstraintNamedTableConstraint defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoTableConstraintNamedTableConstraint $; + + public Builder() { + $ = new GetTableTableInfoTableConstraintNamedTableConstraint(); + } + + public Builder(GetTableTableInfoTableConstraintNamedTableConstraint defaults) { + $ = new GetTableTableInfoTableConstraintNamedTableConstraint(Objects.requireNonNull(defaults)); + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(String name) { + $.name = name; + return this; + } + + public GetTableTableInfoTableConstraintNamedTableConstraint build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintNamedTableConstraint", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintNamedTableConstraintArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintNamedTableConstraintArgs.java new file mode 100644 index 00000000..00ea5158 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintNamedTableConstraintArgs.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetTableTableInfoTableConstraintNamedTableConstraintArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoTableConstraintNamedTableConstraintArgs Empty = new GetTableTableInfoTableConstraintNamedTableConstraintArgs(); + + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public Output name() { + return this.name; + } + + private GetTableTableInfoTableConstraintNamedTableConstraintArgs() {} + + private GetTableTableInfoTableConstraintNamedTableConstraintArgs(GetTableTableInfoTableConstraintNamedTableConstraintArgs $) { + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoTableConstraintNamedTableConstraintArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoTableConstraintNamedTableConstraintArgs $; + + public Builder() { + $ = new GetTableTableInfoTableConstraintNamedTableConstraintArgs(); + } + + public Builder(GetTableTableInfoTableConstraintNamedTableConstraintArgs defaults) { + $ = new GetTableTableInfoTableConstraintNamedTableConstraintArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetTableTableInfoTableConstraintNamedTableConstraintArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintNamedTableConstraintArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraint.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraint.java new file mode 100644 index 00000000..99c53d9f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraint.java @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetTableTableInfoTableConstraintPrimaryKeyConstraint extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfoTableConstraintPrimaryKeyConstraint Empty = new GetTableTableInfoTableConstraintPrimaryKeyConstraint(); + + @Import(name="childColumns", required=true) + private List childColumns; + + public List childColumns() { + return this.childColumns; + } + + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public String name() { + return this.name; + } + + private GetTableTableInfoTableConstraintPrimaryKeyConstraint() {} + + private GetTableTableInfoTableConstraintPrimaryKeyConstraint(GetTableTableInfoTableConstraintPrimaryKeyConstraint $) { + this.childColumns = $.childColumns; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoTableConstraintPrimaryKeyConstraint defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoTableConstraintPrimaryKeyConstraint $; + + public Builder() { + $ = new GetTableTableInfoTableConstraintPrimaryKeyConstraint(); + } + + public Builder(GetTableTableInfoTableConstraintPrimaryKeyConstraint defaults) { + $ = new GetTableTableInfoTableConstraintPrimaryKeyConstraint(Objects.requireNonNull(defaults)); + } + + public Builder childColumns(List childColumns) { + $.childColumns = childColumns; + return this; + } + + public Builder childColumns(String... childColumns) { + return childColumns(List.of(childColumns)); + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(String name) { + $.name = name; + return this; + } + + public GetTableTableInfoTableConstraintPrimaryKeyConstraint build() { + if ($.childColumns == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintPrimaryKeyConstraint", "childColumns"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintPrimaryKeyConstraint", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs.java new file mode 100644 index 00000000..54d4cc99 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs.java @@ -0,0 +1,110 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.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 GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs Empty = new GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs(); + + @Import(name="childColumns", required=true) + private Output> childColumns; + + public Output> childColumns() { + return this.childColumns; + } + + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public Output name() { + return this.name; + } + + private GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs() {} + + private GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs(GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs $) { + this.childColumns = $.childColumns; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs $; + + public Builder() { + $ = new GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs(); + } + + public Builder(GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs defaults) { + $ = new GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs(Objects.requireNonNull(defaults)); + } + + public Builder childColumns(Output> childColumns) { + $.childColumns = childColumns; + return this; + } + + public Builder childColumns(List childColumns) { + return childColumns(Output.of(childColumns)); + } + + public Builder childColumns(String... childColumns) { + return childColumns(List.of(childColumns)); + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs build() { + if ($.childColumns == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs", "childColumns"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependencies.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependencies.java new file mode 100644 index 00000000..591fb587 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependencies.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.annotations.Import; +import com.pulumi.databricks.inputs.GetTableTableInfoViewDependenciesDependency; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoViewDependencies extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfoViewDependencies Empty = new GetTableTableInfoViewDependencies(); + + @Import(name="dependencies") + private @Nullable List dependencies; + + public Optional> dependencies() { + return Optional.ofNullable(this.dependencies); + } + + private GetTableTableInfoViewDependencies() {} + + private GetTableTableInfoViewDependencies(GetTableTableInfoViewDependencies $) { + this.dependencies = $.dependencies; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoViewDependencies defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoViewDependencies $; + + public Builder() { + $ = new GetTableTableInfoViewDependencies(); + } + + public Builder(GetTableTableInfoViewDependencies defaults) { + $ = new GetTableTableInfoViewDependencies(Objects.requireNonNull(defaults)); + } + + public Builder dependencies(@Nullable List dependencies) { + $.dependencies = dependencies; + return this; + } + + public Builder dependencies(GetTableTableInfoViewDependenciesDependency... dependencies) { + return dependencies(List.of(dependencies)); + } + + public GetTableTableInfoViewDependencies build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesArgs.java new file mode 100644 index 00000000..f1ffd9ae --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesArgs.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 com.pulumi.databricks.inputs.GetTableTableInfoViewDependenciesDependencyArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoViewDependenciesArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoViewDependenciesArgs Empty = new GetTableTableInfoViewDependenciesArgs(); + + @Import(name="dependencies") + private @Nullable Output> dependencies; + + public Optional>> dependencies() { + return Optional.ofNullable(this.dependencies); + } + + private GetTableTableInfoViewDependenciesArgs() {} + + private GetTableTableInfoViewDependenciesArgs(GetTableTableInfoViewDependenciesArgs $) { + this.dependencies = $.dependencies; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoViewDependenciesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoViewDependenciesArgs $; + + public Builder() { + $ = new GetTableTableInfoViewDependenciesArgs(); + } + + public Builder(GetTableTableInfoViewDependenciesArgs defaults) { + $ = new GetTableTableInfoViewDependenciesArgs(Objects.requireNonNull(defaults)); + } + + public Builder dependencies(@Nullable Output> dependencies) { + $.dependencies = dependencies; + return this; + } + + public Builder dependencies(List dependencies) { + return dependencies(Output.of(dependencies)); + } + + public Builder dependencies(GetTableTableInfoViewDependenciesDependencyArgs... dependencies) { + return dependencies(List.of(dependencies)); + } + + public GetTableTableInfoViewDependenciesArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependency.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependency.java new file mode 100644 index 00000000..ed0103f6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependency.java @@ -0,0 +1,72 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetTableTableInfoViewDependenciesDependencyFunction; +import com.pulumi.databricks.inputs.GetTableTableInfoViewDependenciesDependencyTable; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoViewDependenciesDependency extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfoViewDependenciesDependency Empty = new GetTableTableInfoViewDependenciesDependency(); + + @Import(name="function") + private @Nullable GetTableTableInfoViewDependenciesDependencyFunction function; + + public Optional function() { + return Optional.ofNullable(this.function); + } + + @Import(name="table") + private @Nullable GetTableTableInfoViewDependenciesDependencyTable table; + + public Optional table() { + return Optional.ofNullable(this.table); + } + + private GetTableTableInfoViewDependenciesDependency() {} + + private GetTableTableInfoViewDependenciesDependency(GetTableTableInfoViewDependenciesDependency $) { + this.function = $.function; + this.table = $.table; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoViewDependenciesDependency defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoViewDependenciesDependency $; + + public Builder() { + $ = new GetTableTableInfoViewDependenciesDependency(); + } + + public Builder(GetTableTableInfoViewDependenciesDependency defaults) { + $ = new GetTableTableInfoViewDependenciesDependency(Objects.requireNonNull(defaults)); + } + + public Builder function(@Nullable GetTableTableInfoViewDependenciesDependencyFunction function) { + $.function = function; + return this; + } + + public Builder table(@Nullable GetTableTableInfoViewDependenciesDependencyTable table) { + $.table = table; + return this; + } + + public GetTableTableInfoViewDependenciesDependency build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyArgs.java new file mode 100644 index 00000000..15c6be3b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyArgs.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetTableTableInfoViewDependenciesDependencyFunctionArgs; +import com.pulumi.databricks.inputs.GetTableTableInfoViewDependenciesDependencyTableArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetTableTableInfoViewDependenciesDependencyArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoViewDependenciesDependencyArgs Empty = new GetTableTableInfoViewDependenciesDependencyArgs(); + + @Import(name="function") + private @Nullable Output function; + + public Optional> function() { + return Optional.ofNullable(this.function); + } + + @Import(name="table") + private @Nullable Output table; + + public Optional> table() { + return Optional.ofNullable(this.table); + } + + private GetTableTableInfoViewDependenciesDependencyArgs() {} + + private GetTableTableInfoViewDependenciesDependencyArgs(GetTableTableInfoViewDependenciesDependencyArgs $) { + this.function = $.function; + this.table = $.table; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoViewDependenciesDependencyArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoViewDependenciesDependencyArgs $; + + public Builder() { + $ = new GetTableTableInfoViewDependenciesDependencyArgs(); + } + + public Builder(GetTableTableInfoViewDependenciesDependencyArgs defaults) { + $ = new GetTableTableInfoViewDependenciesDependencyArgs(Objects.requireNonNull(defaults)); + } + + public Builder function(@Nullable Output function) { + $.function = function; + return this; + } + + public Builder function(GetTableTableInfoViewDependenciesDependencyFunctionArgs function) { + return function(Output.of(function)); + } + + public Builder table(@Nullable Output table) { + $.table = table; + return this; + } + + public Builder table(GetTableTableInfoViewDependenciesDependencyTableArgs table) { + return table(Output.of(table)); + } + + public GetTableTableInfoViewDependenciesDependencyArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyFunction.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyFunction.java new file mode 100644 index 00000000..538d78cd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyFunction.java @@ -0,0 +1,60 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetTableTableInfoViewDependenciesDependencyFunction extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfoViewDependenciesDependencyFunction Empty = new GetTableTableInfoViewDependenciesDependencyFunction(); + + @Import(name="functionFullName", required=true) + private String functionFullName; + + public String functionFullName() { + return this.functionFullName; + } + + private GetTableTableInfoViewDependenciesDependencyFunction() {} + + private GetTableTableInfoViewDependenciesDependencyFunction(GetTableTableInfoViewDependenciesDependencyFunction $) { + this.functionFullName = $.functionFullName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoViewDependenciesDependencyFunction defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoViewDependenciesDependencyFunction $; + + public Builder() { + $ = new GetTableTableInfoViewDependenciesDependencyFunction(); + } + + public Builder(GetTableTableInfoViewDependenciesDependencyFunction defaults) { + $ = new GetTableTableInfoViewDependenciesDependencyFunction(Objects.requireNonNull(defaults)); + } + + public Builder functionFullName(String functionFullName) { + $.functionFullName = functionFullName; + return this; + } + + public GetTableTableInfoViewDependenciesDependencyFunction build() { + if ($.functionFullName == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoViewDependenciesDependencyFunction", "functionFullName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyFunctionArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyFunctionArgs.java new file mode 100644 index 00000000..21e6fc9c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyFunctionArgs.java @@ -0,0 +1,65 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetTableTableInfoViewDependenciesDependencyFunctionArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoViewDependenciesDependencyFunctionArgs Empty = new GetTableTableInfoViewDependenciesDependencyFunctionArgs(); + + @Import(name="functionFullName", required=true) + private Output functionFullName; + + public Output functionFullName() { + return this.functionFullName; + } + + private GetTableTableInfoViewDependenciesDependencyFunctionArgs() {} + + private GetTableTableInfoViewDependenciesDependencyFunctionArgs(GetTableTableInfoViewDependenciesDependencyFunctionArgs $) { + this.functionFullName = $.functionFullName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoViewDependenciesDependencyFunctionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoViewDependenciesDependencyFunctionArgs $; + + public Builder() { + $ = new GetTableTableInfoViewDependenciesDependencyFunctionArgs(); + } + + public Builder(GetTableTableInfoViewDependenciesDependencyFunctionArgs defaults) { + $ = new GetTableTableInfoViewDependenciesDependencyFunctionArgs(Objects.requireNonNull(defaults)); + } + + public Builder functionFullName(Output functionFullName) { + $.functionFullName = functionFullName; + return this; + } + + public Builder functionFullName(String functionFullName) { + return functionFullName(Output.of(functionFullName)); + } + + public GetTableTableInfoViewDependenciesDependencyFunctionArgs build() { + if ($.functionFullName == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoViewDependenciesDependencyFunctionArgs", "functionFullName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyTable.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyTable.java new file mode 100644 index 00000000..f6cd2bd3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyTable.java @@ -0,0 +1,60 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetTableTableInfoViewDependenciesDependencyTable extends com.pulumi.resources.InvokeArgs { + + public static final GetTableTableInfoViewDependenciesDependencyTable Empty = new GetTableTableInfoViewDependenciesDependencyTable(); + + @Import(name="tableFullName", required=true) + private String tableFullName; + + public String tableFullName() { + return this.tableFullName; + } + + private GetTableTableInfoViewDependenciesDependencyTable() {} + + private GetTableTableInfoViewDependenciesDependencyTable(GetTableTableInfoViewDependenciesDependencyTable $) { + this.tableFullName = $.tableFullName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoViewDependenciesDependencyTable defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoViewDependenciesDependencyTable $; + + public Builder() { + $ = new GetTableTableInfoViewDependenciesDependencyTable(); + } + + public Builder(GetTableTableInfoViewDependenciesDependencyTable defaults) { + $ = new GetTableTableInfoViewDependenciesDependencyTable(Objects.requireNonNull(defaults)); + } + + public Builder tableFullName(String tableFullName) { + $.tableFullName = tableFullName; + return this; + } + + public GetTableTableInfoViewDependenciesDependencyTable build() { + if ($.tableFullName == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoViewDependenciesDependencyTable", "tableFullName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyTableArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyTableArgs.java new file mode 100644 index 00000000..e6397632 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetTableTableInfoViewDependenciesDependencyTableArgs.java @@ -0,0 +1,65 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetTableTableInfoViewDependenciesDependencyTableArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetTableTableInfoViewDependenciesDependencyTableArgs Empty = new GetTableTableInfoViewDependenciesDependencyTableArgs(); + + @Import(name="tableFullName", required=true) + private Output tableFullName; + + public Output tableFullName() { + return this.tableFullName; + } + + private GetTableTableInfoViewDependenciesDependencyTableArgs() {} + + private GetTableTableInfoViewDependenciesDependencyTableArgs(GetTableTableInfoViewDependenciesDependencyTableArgs $) { + this.tableFullName = $.tableFullName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetTableTableInfoViewDependenciesDependencyTableArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetTableTableInfoViewDependenciesDependencyTableArgs $; + + public Builder() { + $ = new GetTableTableInfoViewDependenciesDependencyTableArgs(); + } + + public Builder(GetTableTableInfoViewDependenciesDependencyTableArgs defaults) { + $ = new GetTableTableInfoViewDependenciesDependencyTableArgs(Objects.requireNonNull(defaults)); + } + + public Builder tableFullName(Output tableFullName) { + $.tableFullName = tableFullName; + return this; + } + + public Builder tableFullName(String tableFullName) { + return tableFullName(Output.of(tableFullName)); + } + + public GetTableTableInfoViewDependenciesDependencyTableArgs build() { + if ($.tableFullName == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoViewDependenciesDependencyTableArgs", "tableFullName"); + } + return $; + } + } + +} 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 f84bdfb3..cb5ed271 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 @@ -180,14 +180,14 @@ public Optional> instancePoolId() { } /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ @Import(name="libraries") private @Nullable Output> libraries; /** - * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ public Optional>> libraries() { @@ -517,7 +517,7 @@ public Builder instancePoolId(String instancePoolId) { } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * @@ -528,7 +528,7 @@ public Builder libraries(@Nullable Output libraries) { } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * 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 25533570..c787cd38 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 @@ -180,14 +180,14 @@ public Optional> instancePoolId() { } /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ @Import(name="libraries") private @Nullable Output> libraries; /** - * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ public Optional>> libraries() { @@ -517,7 +517,7 @@ public Builder instancePoolId(String instancePoolId) { } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * @@ -528,7 +528,7 @@ public Builder libraries(@Nullable Output> librar } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * @@ -538,7 +538,7 @@ public Builder libraries(List libraries) { } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobState.java index ba8548c6..eedeaf3b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobState.java @@ -68,9 +68,17 @@ public Optional> alwaysRunning() { return Optional.ofNullable(this.alwaysRunning); } + /** + * Configuration block to configure pause status. See continuous Configuration Block. + * + */ @Import(name="continuous") private @Nullable Output continuous; + /** + * @return Configuration block to configure pause status. See continuous Configuration Block. + * + */ public Optional> continuous() { return Optional.ofNullable(this.continuous); } @@ -194,14 +202,14 @@ public Optional> gitSource() { } /** - * An optional block that specifies the health conditions for the job (described below). + * An optional block that specifies the health conditions for the job documented below. * */ @Import(name="health") private @Nullable Output health; /** - * @return An optional block that specifies the health conditions for the job (described below). + * @return An optional block that specifies the health conditions for the job documented below. * */ public Optional> health() { @@ -224,14 +232,14 @@ public Optional>> jobClusters() { } /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ @Import(name="libraries") private @Nullable Output> libraries; /** - * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ public Optional>> libraries() { @@ -351,9 +359,17 @@ public Optional> notificationSettings() { return Optional.ofNullable(this.notificationSettings); } + /** + * Specifices job parameter for the job. See parameter Configuration Block + * + */ @Import(name="parameters") private @Nullable Output> parameters; + /** + * @return Specifices job parameter for the job. See parameter Configuration Block + * + */ public Optional>> parameters() { return Optional.ofNullable(this.parameters); } @@ -396,9 +412,17 @@ public Optional> pythonWheelTask() { return Optional.ofNullable(this.pythonWheelTask); } + /** + * The queue status for the job. See queue Configuration Block below. + * + */ @Import(name="queue") private @Nullable Output queue; + /** + * @return The queue status for the job. See queue Configuration Block below. + * + */ public Optional> queue() { return Optional.ofNullable(this.queue); } @@ -709,11 +733,23 @@ public Builder alwaysRunning(Boolean alwaysRunning) { return alwaysRunning(Output.of(alwaysRunning)); } + /** + * @param continuous Configuration block to configure pause status. See continuous Configuration Block. + * + * @return builder + * + */ public Builder continuous(@Nullable Output continuous) { $.continuous = continuous; return this; } + /** + * @param continuous Configuration block to configure pause status. See continuous Configuration Block. + * + * @return builder + * + */ public Builder continuous(JobContinuousArgs continuous) { return continuous(Output.of(continuous)); } @@ -881,7 +917,7 @@ public Builder gitSource(JobGitSourceArgs gitSource) { } /** - * @param health An optional block that specifies the health conditions for the job (described below). + * @param health An optional block that specifies the health conditions for the job documented below. * * @return builder * @@ -892,7 +928,7 @@ public Builder health(@Nullable Output health) { } /** - * @param health An optional block that specifies the health conditions for the job (described below). + * @param health An optional block that specifies the health conditions for the job documented below. * * @return builder * @@ -933,7 +969,7 @@ public Builder jobClusters(JobJobClusterArgs... jobClusters) { } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * @@ -944,7 +980,7 @@ public Builder libraries(@Nullable Output> libraries) { } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * @@ -954,7 +990,7 @@ public Builder libraries(List libraries) { } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * @@ -1114,15 +1150,33 @@ public Builder notificationSettings(JobNotificationSettingsArgs notificationSett return notificationSettings(Output.of(notificationSettings)); } + /** + * @param parameters Specifices job parameter for the job. See parameter Configuration Block + * + * @return builder + * + */ public Builder parameters(@Nullable Output> parameters) { $.parameters = parameters; return this; } + /** + * @param parameters Specifices job parameter for the job. See parameter Configuration Block + * + * @return builder + * + */ public Builder parameters(List parameters) { return parameters(Output.of(parameters)); } + /** + * @param parameters Specifices job parameter for the job. See parameter Configuration Block + * + * @return builder + * + */ public Builder parameters(JobParameterArgs... parameters) { return parameters(List.of(parameters)); } @@ -1177,11 +1231,23 @@ public Builder pythonWheelTask(JobPythonWheelTaskArgs pythonWheelTask) { return pythonWheelTask(Output.of(pythonWheelTask)); } + /** + * @param queue The queue status for the job. See queue Configuration Block below. + * + * @return builder + * + */ public Builder queue(@Nullable Output queue) { $.queue = queue; return this; } + /** + * @param queue The queue status for the job. See queue Configuration Block below. + * + * @return builder + * + */ public Builder queue(JobQueueArgs queue) { return queue(Output.of(queue)); } 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 1e405b4a..20149d50 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 @@ -180,14 +180,14 @@ public Optional> instancePoolId() { } /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ @Import(name="libraries") private @Nullable Output> libraries; /** - * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ public Optional>> libraries() { @@ -517,7 +517,7 @@ public Builder instancePoolId(String instancePoolId) { } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * @@ -528,7 +528,7 @@ public Builder libraries(@Nullable Output libra } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * 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 aaaa55e2..14f28212 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 @@ -180,14 +180,14 @@ public Optional> instancePoolId() { } /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ @Import(name="libraries") private @Nullable Output> libraries; /** - * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ public Optional>> libraries() { @@ -517,7 +517,7 @@ public Builder instancePoolId(String instancePoolId) { } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * @@ -528,7 +528,7 @@ public Builder libraries(@Nullable Output> li } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * @@ -538,7 +538,7 @@ public Builder libraries(List libraries) { } /** - * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlTableState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlTableState.java index 5af55735..ee8316b6 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlTableState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlTableState.java @@ -123,6 +123,21 @@ public Optional>> options() { return Optional.ofNullable(this.options); } + /** + * Username/groupname/sp application_id of the schema owner. + * + */ + @Import(name="owner") + private @Nullable Output owner; + + /** + * @return Username/groupname/sp application_id of the schema owner. + * + */ + public Optional> owner() { + return Optional.ofNullable(this.owner); + } + /** * a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `cluster_keys`. * @@ -254,6 +269,7 @@ private SqlTableState(SqlTableState $) { this.dataSourceFormat = $.dataSourceFormat; this.name = $.name; this.options = $.options; + this.owner = $.owner; this.partitions = $.partitions; this.properties = $.properties; this.schemaName = $.schemaName; @@ -440,6 +456,27 @@ public Builder options(Map options) { return options(Output.of(options)); } + /** + * @param owner Username/groupname/sp application_id of the schema owner. + * + * @return builder + * + */ + public Builder owner(@Nullable Output owner) { + $.owner = owner; + return this; + } + + /** + * @param owner Username/groupname/sp application_id of the schema owner. + * + * @return builder + * + */ + public Builder owner(String owner) { + return owner(Output.of(owner)); + } + /** * @param partitions a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `cluster_keys`. * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogCatalogInfo.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogCatalogInfo.java new file mode 100644 index 00000000..d737ab1e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogCatalogInfo.java @@ -0,0 +1,530 @@ +// *** WARNING: this file was 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.GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag; +import com.pulumi.databricks.outputs.GetCatalogCatalogInfoProvisioningInfo; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetCatalogCatalogInfo { + private @Nullable Boolean browseOnly; + /** + * @return Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + * + */ + private @Nullable String catalogType; + /** + * @return Free-form text description + * + */ + private @Nullable String comment; + /** + * @return The name of the connection to an external data source. + * + */ + private @Nullable String connectionName; + /** + * @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 object describing applied predictive optimization flag. + * + */ + private @Nullable GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag effectivePredictiveOptimizationFlag; + /** + * @return Whether predictive optimization should be enabled for this object and objects under it. + * + */ + private @Nullable String enablePredictiveOptimization; + /** + * @return The full name of the catalog. Corresponds with the name field. + * + */ + private @Nullable String fullName; + /** + * @return Whether the current securable is accessible from all workspaces or a specific set of workspaces. + * + */ + private @Nullable String isolationMode; + /** + * @return Unique identifier of parent metastore. + * + */ + private @Nullable String metastoreId; + /** + * @return name of the catalog + * + */ + private @Nullable String name; + /** + * @return A map of key-value properties attached to the securable. + * + */ + private @Nullable Map options; + /** + * @return Current owner of the catalog + * + */ + private @Nullable String owner; + /** + * @return A map of key-value properties attached to the securable. + * + */ + private @Nullable Map properties; + /** + * @return The name of delta sharing provider. + * + */ + private @Nullable String providerName; + private @Nullable GetCatalogCatalogInfoProvisioningInfo provisioningInfo; + /** + * @return Kind of catalog securable. + * + */ + private @Nullable String securableKind; + /** + * @return Securable type. + * + */ + private @Nullable String securableType; + /** + * @return The name of the share under the share provider. + * + */ + private @Nullable String shareName; + /** + * @return Storage Location URL (full path) for managed tables within catalog. + * + */ + private @Nullable String storageLocation; + /** + * @return Storage root URL for managed tables within catalog. + * + */ + private @Nullable String storageRoot; + /** + * @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 GetCatalogCatalogInfo() {} + public Optional browseOnly() { + return Optional.ofNullable(this.browseOnly); + } + /** + * @return Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + * + */ + public Optional catalogType() { + return Optional.ofNullable(this.catalogType); + } + /** + * @return Free-form text description + * + */ + public Optional comment() { + return Optional.ofNullable(this.comment); + } + /** + * @return The name of the connection to an external data source. + * + */ + public Optional connectionName() { + return Optional.ofNullable(this.connectionName); + } + /** + * @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 object describing applied predictive optimization flag. + * + */ + public Optional effectivePredictiveOptimizationFlag() { + return Optional.ofNullable(this.effectivePredictiveOptimizationFlag); + } + /** + * @return Whether predictive optimization should be enabled for this object and objects under it. + * + */ + public Optional enablePredictiveOptimization() { + return Optional.ofNullable(this.enablePredictiveOptimization); + } + /** + * @return The full name of the catalog. Corresponds with the name field. + * + */ + public Optional fullName() { + return Optional.ofNullable(this.fullName); + } + /** + * @return Whether the current securable is accessible from all workspaces or a specific set of workspaces. + * + */ + public Optional isolationMode() { + return Optional.ofNullable(this.isolationMode); + } + /** + * @return Unique identifier of parent metastore. + * + */ + public Optional metastoreId() { + return Optional.ofNullable(this.metastoreId); + } + /** + * @return name of the catalog + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + /** + * @return A map of key-value properties attached to the securable. + * + */ + public Map options() { + return this.options == null ? Map.of() : this.options; + } + /** + * @return Current owner of the catalog + * + */ + public Optional owner() { + return Optional.ofNullable(this.owner); + } + /** + * @return A map of key-value properties attached to the securable. + * + */ + public Map properties() { + return this.properties == null ? Map.of() : this.properties; + } + /** + * @return The name of delta sharing provider. + * + */ + public Optional providerName() { + return Optional.ofNullable(this.providerName); + } + public Optional provisioningInfo() { + return Optional.ofNullable(this.provisioningInfo); + } + /** + * @return Kind of catalog securable. + * + */ + public Optional securableKind() { + return Optional.ofNullable(this.securableKind); + } + /** + * @return Securable type. + * + */ + public Optional securableType() { + return Optional.ofNullable(this.securableType); + } + /** + * @return The name of the share under the share provider. + * + */ + public Optional shareName() { + return Optional.ofNullable(this.shareName); + } + /** + * @return Storage Location URL (full path) for managed tables within catalog. + * + */ + public Optional storageLocation() { + return Optional.ofNullable(this.storageLocation); + } + /** + * @return Storage root URL for managed tables within catalog. + * + */ + public Optional storageRoot() { + return Optional.ofNullable(this.storageRoot); + } + /** + * @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); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCatalogCatalogInfo defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean browseOnly; + private @Nullable String catalogType; + private @Nullable String comment; + private @Nullable String connectionName; + private @Nullable Integer createdAt; + private @Nullable String createdBy; + private @Nullable GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag effectivePredictiveOptimizationFlag; + private @Nullable String enablePredictiveOptimization; + private @Nullable String fullName; + private @Nullable String isolationMode; + private @Nullable String metastoreId; + private @Nullable String name; + private @Nullable Map options; + private @Nullable String owner; + private @Nullable Map properties; + private @Nullable String providerName; + private @Nullable GetCatalogCatalogInfoProvisioningInfo provisioningInfo; + private @Nullable String securableKind; + private @Nullable String securableType; + private @Nullable String shareName; + private @Nullable String storageLocation; + private @Nullable String storageRoot; + private @Nullable Integer updatedAt; + private @Nullable String updatedBy; + public Builder() {} + public Builder(GetCatalogCatalogInfo defaults) { + Objects.requireNonNull(defaults); + this.browseOnly = defaults.browseOnly; + this.catalogType = defaults.catalogType; + this.comment = defaults.comment; + this.connectionName = defaults.connectionName; + this.createdAt = defaults.createdAt; + this.createdBy = defaults.createdBy; + this.effectivePredictiveOptimizationFlag = defaults.effectivePredictiveOptimizationFlag; + this.enablePredictiveOptimization = defaults.enablePredictiveOptimization; + this.fullName = defaults.fullName; + this.isolationMode = defaults.isolationMode; + this.metastoreId = defaults.metastoreId; + this.name = defaults.name; + this.options = defaults.options; + this.owner = defaults.owner; + this.properties = defaults.properties; + this.providerName = defaults.providerName; + this.provisioningInfo = defaults.provisioningInfo; + this.securableKind = defaults.securableKind; + this.securableType = defaults.securableType; + this.shareName = defaults.shareName; + this.storageLocation = defaults.storageLocation; + this.storageRoot = defaults.storageRoot; + this.updatedAt = defaults.updatedAt; + this.updatedBy = defaults.updatedBy; + } + + @CustomType.Setter + public Builder browseOnly(@Nullable Boolean browseOnly) { + + this.browseOnly = browseOnly; + return this; + } + @CustomType.Setter + public Builder catalogType(@Nullable String catalogType) { + + this.catalogType = catalogType; + return this; + } + @CustomType.Setter + public Builder comment(@Nullable String comment) { + + this.comment = comment; + return this; + } + @CustomType.Setter + public Builder connectionName(@Nullable String connectionName) { + + this.connectionName = connectionName; + return this; + } + @CustomType.Setter + public Builder createdAt(@Nullable Integer createdAt) { + + this.createdAt = createdAt; + return this; + } + @CustomType.Setter + public Builder createdBy(@Nullable String createdBy) { + + this.createdBy = createdBy; + return this; + } + @CustomType.Setter + public Builder effectivePredictiveOptimizationFlag(@Nullable GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag effectivePredictiveOptimizationFlag) { + + this.effectivePredictiveOptimizationFlag = effectivePredictiveOptimizationFlag; + return this; + } + @CustomType.Setter + public Builder enablePredictiveOptimization(@Nullable String enablePredictiveOptimization) { + + this.enablePredictiveOptimization = enablePredictiveOptimization; + return this; + } + @CustomType.Setter + public Builder fullName(@Nullable String fullName) { + + this.fullName = fullName; + return this; + } + @CustomType.Setter + public Builder isolationMode(@Nullable String isolationMode) { + + this.isolationMode = isolationMode; + return this; + } + @CustomType.Setter + public Builder metastoreId(@Nullable String metastoreId) { + + this.metastoreId = metastoreId; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter + public Builder options(@Nullable Map options) { + + this.options = options; + return this; + } + @CustomType.Setter + public Builder owner(@Nullable String owner) { + + this.owner = owner; + return this; + } + @CustomType.Setter + public Builder properties(@Nullable Map properties) { + + this.properties = properties; + return this; + } + @CustomType.Setter + public Builder providerName(@Nullable String providerName) { + + this.providerName = providerName; + return this; + } + @CustomType.Setter + public Builder provisioningInfo(@Nullable GetCatalogCatalogInfoProvisioningInfo provisioningInfo) { + + this.provisioningInfo = provisioningInfo; + return this; + } + @CustomType.Setter + public Builder securableKind(@Nullable String securableKind) { + + this.securableKind = securableKind; + return this; + } + @CustomType.Setter + public Builder securableType(@Nullable String securableType) { + + this.securableType = securableType; + return this; + } + @CustomType.Setter + public Builder shareName(@Nullable String shareName) { + + this.shareName = shareName; + return this; + } + @CustomType.Setter + public Builder storageLocation(@Nullable String storageLocation) { + + this.storageLocation = storageLocation; + return this; + } + @CustomType.Setter + public Builder storageRoot(@Nullable String storageRoot) { + + this.storageRoot = storageRoot; + return this; + } + @CustomType.Setter + public Builder updatedAt(@Nullable Integer updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + @CustomType.Setter + public Builder updatedBy(@Nullable String updatedBy) { + + this.updatedBy = updatedBy; + return this; + } + public GetCatalogCatalogInfo build() { + final var _resultValue = new GetCatalogCatalogInfo(); + _resultValue.browseOnly = browseOnly; + _resultValue.catalogType = catalogType; + _resultValue.comment = comment; + _resultValue.connectionName = connectionName; + _resultValue.createdAt = createdAt; + _resultValue.createdBy = createdBy; + _resultValue.effectivePredictiveOptimizationFlag = effectivePredictiveOptimizationFlag; + _resultValue.enablePredictiveOptimization = enablePredictiveOptimization; + _resultValue.fullName = fullName; + _resultValue.isolationMode = isolationMode; + _resultValue.metastoreId = metastoreId; + _resultValue.name = name; + _resultValue.options = options; + _resultValue.owner = owner; + _resultValue.properties = properties; + _resultValue.providerName = providerName; + _resultValue.provisioningInfo = provisioningInfo; + _resultValue.securableKind = securableKind; + _resultValue.securableType = securableType; + _resultValue.shareName = shareName; + _resultValue.storageLocation = storageLocation; + _resultValue.storageRoot = storageRoot; + _resultValue.updatedAt = updatedAt; + _resultValue.updatedBy = updatedBy; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag.java new file mode 100644 index 00000000..e61fccea --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { + private @Nullable String inheritedFromName; + private @Nullable String inheritedFromType; + private String value; + + private GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag() {} + public Optional inheritedFromName() { + return Optional.ofNullable(this.inheritedFromName); + } + public Optional inheritedFromType() { + return Optional.ofNullable(this.inheritedFromType); + } + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String inheritedFromName; + private @Nullable String inheritedFromType; + private String value; + public Builder() {} + public Builder(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag defaults) { + Objects.requireNonNull(defaults); + this.inheritedFromName = defaults.inheritedFromName; + this.inheritedFromType = defaults.inheritedFromType; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder inheritedFromName(@Nullable String inheritedFromName) { + + this.inheritedFromName = inheritedFromName; + return this; + } + @CustomType.Setter + public Builder inheritedFromType(@Nullable String inheritedFromType) { + + this.inheritedFromType = inheritedFromType; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag", "value"); + } + this.value = value; + return this; + } + public GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag build() { + final var _resultValue = new GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag(); + _resultValue.inheritedFromName = inheritedFromName; + _resultValue.inheritedFromType = inheritedFromType; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogCatalogInfoProvisioningInfo.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogCatalogInfoProvisioningInfo.java new file mode 100644 index 00000000..933506b5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogCatalogInfoProvisioningInfo.java @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetCatalogCatalogInfoProvisioningInfo { + private @Nullable String state; + + private GetCatalogCatalogInfoProvisioningInfo() {} + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCatalogCatalogInfoProvisioningInfo defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String state; + public Builder() {} + public Builder(GetCatalogCatalogInfoProvisioningInfo defaults) { + Objects.requireNonNull(defaults); + this.state = defaults.state; + } + + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + public GetCatalogCatalogInfoProvisioningInfo build() { + final var _resultValue = new GetCatalogCatalogInfoProvisioningInfo(); + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogResult.java new file mode 100644 index 00000000..cd93cb45 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetCatalogResult.java @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetCatalogCatalogInfo; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetCatalogResult { + /** + * @return the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + * + */ + private GetCatalogCatalogInfo catalogInfo; + /** + * @return same as the `name` + * + */ + private String id; + /** + * @return Name of the catalog + * + */ + private String name; + + private GetCatalogResult() {} + /** + * @return the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + * + */ + public GetCatalogCatalogInfo catalogInfo() { + return this.catalogInfo; + } + /** + * @return same as the `name` + * + */ + public String id() { + return this.id; + } + /** + * @return Name of the catalog + * + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCatalogResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private GetCatalogCatalogInfo catalogInfo; + private String id; + private String name; + public Builder() {} + public Builder(GetCatalogResult defaults) { + Objects.requireNonNull(defaults); + this.catalogInfo = defaults.catalogInfo; + this.id = defaults.id; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder catalogInfo(GetCatalogCatalogInfo catalogInfo) { + if (catalogInfo == null) { + throw new MissingRequiredPropertyException("GetCatalogResult", "catalogInfo"); + } + this.catalogInfo = catalogInfo; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetCatalogResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetCatalogResult", "name"); + } + this.name = name; + return this; + } + public GetCatalogResult build() { + final var _resultValue = new GetCatalogResult(); + _resultValue.catalogInfo = catalogInfo; + _resultValue.id = id; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMlflowExperimentResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMlflowExperimentResult.java new file mode 100644 index 00000000..5304e0ca --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMlflowExperimentResult.java @@ -0,0 +1,225 @@ +// *** WARNING: this file was 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.GetMlflowExperimentTag; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetMlflowExperimentResult { + /** + * @return Location where artifacts for the experiment are stored. + * + */ + private String artifactLocation; + /** + * @return Creation time in unix time stamp. + * + */ + private Integer creationTime; + /** + * @return Unique identifier for the experiment. (same as `id`) + * + */ + private String experimentId; + /** + * @return Unique identifier for the experiment. (same as `experiment_id`) + * + */ + private String id; + /** + * @return Last update time in unix time stamp. + * + */ + private Integer lastUpdateTime; + /** + * @return Current life cycle stage of the experiment: `active` or `deleted`. + * + */ + private String lifecycleStage; + /** + * @return Path to experiment. + * + */ + private String name; + /** + * @return Additional metadata key-value pairs. + * + */ + private List tags; + + private GetMlflowExperimentResult() {} + /** + * @return Location where artifacts for the experiment are stored. + * + */ + public String artifactLocation() { + return this.artifactLocation; + } + /** + * @return Creation time in unix time stamp. + * + */ + public Integer creationTime() { + return this.creationTime; + } + /** + * @return Unique identifier for the experiment. (same as `id`) + * + */ + public String experimentId() { + return this.experimentId; + } + /** + * @return Unique identifier for the experiment. (same as `experiment_id`) + * + */ + public String id() { + return this.id; + } + /** + * @return Last update time in unix time stamp. + * + */ + public Integer lastUpdateTime() { + return this.lastUpdateTime; + } + /** + * @return Current life cycle stage of the experiment: `active` or `deleted`. + * + */ + public String lifecycleStage() { + return this.lifecycleStage; + } + /** + * @return Path to experiment. + * + */ + public String name() { + return this.name; + } + /** + * @return Additional metadata key-value pairs. + * + */ + public List tags() { + return this.tags; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMlflowExperimentResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String artifactLocation; + private Integer creationTime; + private String experimentId; + private String id; + private Integer lastUpdateTime; + private String lifecycleStage; + private String name; + private List tags; + public Builder() {} + public Builder(GetMlflowExperimentResult defaults) { + Objects.requireNonNull(defaults); + this.artifactLocation = defaults.artifactLocation; + this.creationTime = defaults.creationTime; + this.experimentId = defaults.experimentId; + this.id = defaults.id; + this.lastUpdateTime = defaults.lastUpdateTime; + this.lifecycleStage = defaults.lifecycleStage; + this.name = defaults.name; + this.tags = defaults.tags; + } + + @CustomType.Setter + public Builder artifactLocation(String artifactLocation) { + if (artifactLocation == null) { + throw new MissingRequiredPropertyException("GetMlflowExperimentResult", "artifactLocation"); + } + this.artifactLocation = artifactLocation; + return this; + } + @CustomType.Setter + public Builder creationTime(Integer creationTime) { + if (creationTime == null) { + throw new MissingRequiredPropertyException("GetMlflowExperimentResult", "creationTime"); + } + this.creationTime = creationTime; + return this; + } + @CustomType.Setter + public Builder experimentId(String experimentId) { + if (experimentId == null) { + throw new MissingRequiredPropertyException("GetMlflowExperimentResult", "experimentId"); + } + this.experimentId = experimentId; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetMlflowExperimentResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder lastUpdateTime(Integer lastUpdateTime) { + if (lastUpdateTime == null) { + throw new MissingRequiredPropertyException("GetMlflowExperimentResult", "lastUpdateTime"); + } + this.lastUpdateTime = lastUpdateTime; + return this; + } + @CustomType.Setter + public Builder lifecycleStage(String lifecycleStage) { + if (lifecycleStage == null) { + throw new MissingRequiredPropertyException("GetMlflowExperimentResult", "lifecycleStage"); + } + this.lifecycleStage = lifecycleStage; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetMlflowExperimentResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder tags(List tags) { + if (tags == null) { + throw new MissingRequiredPropertyException("GetMlflowExperimentResult", "tags"); + } + this.tags = tags; + return this; + } + public Builder tags(GetMlflowExperimentTag... tags) { + return tags(List.of(tags)); + } + public GetMlflowExperimentResult build() { + final var _resultValue = new GetMlflowExperimentResult(); + _resultValue.artifactLocation = artifactLocation; + _resultValue.creationTime = creationTime; + _resultValue.experimentId = experimentId; + _resultValue.id = id; + _resultValue.lastUpdateTime = lastUpdateTime; + _resultValue.lifecycleStage = lifecycleStage; + _resultValue.name = name; + _resultValue.tags = tags; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMlflowExperimentTag.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMlflowExperimentTag.java new file mode 100644 index 00000000..d82e4a2b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMlflowExperimentTag.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetMlflowExperimentTag { + private @Nullable String key; + private @Nullable String value; + + private GetMlflowExperimentTag() {} + public Optional key() { + return Optional.ofNullable(this.key); + } + public Optional value() { + return Optional.ofNullable(this.value); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMlflowExperimentTag defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String key; + private @Nullable String value; + public Builder() {} + public Builder(GetMlflowExperimentTag defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder key(@Nullable String key) { + + this.key = key; + return this; + } + @CustomType.Setter + public Builder value(@Nullable String value) { + + this.value = value; + return this; + } + public GetMlflowExperimentTag build() { + final var _resultValue = new GetMlflowExperimentTag(); + _resultValue.key = key; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableResult.java new file mode 100644 index 00000000..eb24cb00 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableResult.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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetTableTableInfo; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetTableResult { + private String id; + /** + * @return Name of table, relative to parent schema. + * + */ + private String name; + /** + * @return TableInfo object for a Unity Catalog table. This contains the following attributes: + * + */ + private GetTableTableInfo tableInfo; + + private GetTableResult() {} + public String id() { + return this.id; + } + /** + * @return Name of table, relative to parent schema. + * + */ + public String name() { + return this.name; + } + /** + * @return TableInfo object for a Unity Catalog table. This contains the following attributes: + * + */ + public GetTableTableInfo tableInfo() { + return this.tableInfo; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + private String name; + private GetTableTableInfo tableInfo; + public Builder() {} + public Builder(GetTableResult defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + this.name = defaults.name; + this.tableInfo = defaults.tableInfo; + } + + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetTableResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetTableResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder tableInfo(GetTableTableInfo tableInfo) { + if (tableInfo == null) { + throw new MissingRequiredPropertyException("GetTableResult", "tableInfo"); + } + this.tableInfo = tableInfo; + return this; + } + public GetTableResult build() { + final var _resultValue = new GetTableResult(); + _resultValue.id = id; + _resultValue.name = name; + _resultValue.tableInfo = tableInfo; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfo.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfo.java new file mode 100644 index 00000000..6fcdad43 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfo.java @@ -0,0 +1,550 @@ +// *** WARNING: this file was 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.GetTableTableInfoColumn; +import com.pulumi.databricks.outputs.GetTableTableInfoDeltaRuntimePropertiesKvpairs; +import com.pulumi.databricks.outputs.GetTableTableInfoEffectivePredictiveOptimizationFlag; +import com.pulumi.databricks.outputs.GetTableTableInfoEncryptionDetails; +import com.pulumi.databricks.outputs.GetTableTableInfoRowFilter; +import com.pulumi.databricks.outputs.GetTableTableInfoTableConstraint; +import com.pulumi.databricks.outputs.GetTableTableInfoViewDependencies; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetTableTableInfo { + private @Nullable String accessPoint; + private @Nullable Boolean browseOnly; + /** + * @return Name of parent catalog. + * + */ + private @Nullable String catalogName; + /** + * @return Array of ColumnInfo objects of the table's columns + * + */ + private @Nullable List columns; + /** + * @return Free-form text description + * + */ + private @Nullable String comment; + private @Nullable Integer createdAt; + private @Nullable String createdBy; + private @Nullable String dataAccessConfigurationId; + /** + * @return Table format, e.g. DELTA, CSV, JSON + * + */ + private @Nullable String dataSourceFormat; + private @Nullable Integer deletedAt; + private @Nullable GetTableTableInfoDeltaRuntimePropertiesKvpairs deltaRuntimePropertiesKvpairs; + private @Nullable GetTableTableInfoEffectivePredictiveOptimizationFlag effectivePredictiveOptimizationFlag; + private @Nullable String enablePredictiveOptimization; + private @Nullable GetTableTableInfoEncryptionDetails encryptionDetails; + private @Nullable String fullName; + private @Nullable String metastoreId; + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + private @Nullable String name; + /** + * @return Current owner of the table + * + */ + private @Nullable String owner; + private @Nullable String pipelineId; + private @Nullable Map properties; + private @Nullable GetTableTableInfoRowFilter rowFilter; + /** + * @return Name of parent schema relative to its parent catalog. + * + */ + private @Nullable String schemaName; + private @Nullable String sqlPath; + private @Nullable String storageCredentialName; + private @Nullable String storageLocation; + private @Nullable List tableConstraints; + private @Nullable String tableId; + /** + * @return Table type, e.g. MANAGED, EXTERNAL, VIEW + * + */ + private @Nullable String tableType; + private @Nullable Integer updatedAt; + private @Nullable String updatedBy; + /** + * @return View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + * + */ + private @Nullable String viewDefinition; + /** + * @return View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + * + */ + private @Nullable GetTableTableInfoViewDependencies viewDependencies; + + private GetTableTableInfo() {} + public Optional accessPoint() { + return Optional.ofNullable(this.accessPoint); + } + public Optional browseOnly() { + return Optional.ofNullable(this.browseOnly); + } + /** + * @return Name of parent catalog. + * + */ + public Optional catalogName() { + return Optional.ofNullable(this.catalogName); + } + /** + * @return Array of ColumnInfo objects of the table's columns + * + */ + public List columns() { + return this.columns == null ? List.of() : this.columns; + } + /** + * @return Free-form text description + * + */ + public Optional comment() { + return Optional.ofNullable(this.comment); + } + public Optional createdAt() { + return Optional.ofNullable(this.createdAt); + } + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); + } + public Optional dataAccessConfigurationId() { + return Optional.ofNullable(this.dataAccessConfigurationId); + } + /** + * @return Table format, e.g. DELTA, CSV, JSON + * + */ + public Optional dataSourceFormat() { + return Optional.ofNullable(this.dataSourceFormat); + } + public Optional deletedAt() { + return Optional.ofNullable(this.deletedAt); + } + public Optional deltaRuntimePropertiesKvpairs() { + return Optional.ofNullable(this.deltaRuntimePropertiesKvpairs); + } + public Optional effectivePredictiveOptimizationFlag() { + return Optional.ofNullable(this.effectivePredictiveOptimizationFlag); + } + public Optional enablePredictiveOptimization() { + return Optional.ofNullable(this.enablePredictiveOptimization); + } + public Optional encryptionDetails() { + return Optional.ofNullable(this.encryptionDetails); + } + public Optional fullName() { + return Optional.ofNullable(this.fullName); + } + public Optional metastoreId() { + return Optional.ofNullable(this.metastoreId); + } + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + /** + * @return Current owner of the table + * + */ + public Optional owner() { + return Optional.ofNullable(this.owner); + } + public Optional pipelineId() { + return Optional.ofNullable(this.pipelineId); + } + public Map properties() { + return this.properties == null ? Map.of() : this.properties; + } + public Optional rowFilter() { + return Optional.ofNullable(this.rowFilter); + } + /** + * @return Name of parent schema relative to its parent catalog. + * + */ + public Optional schemaName() { + return Optional.ofNullable(this.schemaName); + } + public Optional sqlPath() { + return Optional.ofNullable(this.sqlPath); + } + public Optional storageCredentialName() { + return Optional.ofNullable(this.storageCredentialName); + } + public Optional storageLocation() { + return Optional.ofNullable(this.storageLocation); + } + public List tableConstraints() { + return this.tableConstraints == null ? List.of() : this.tableConstraints; + } + public Optional tableId() { + return Optional.ofNullable(this.tableId); + } + /** + * @return Table type, e.g. MANAGED, EXTERNAL, VIEW + * + */ + public Optional tableType() { + return Optional.ofNullable(this.tableType); + } + public Optional updatedAt() { + return Optional.ofNullable(this.updatedAt); + } + public Optional updatedBy() { + return Optional.ofNullable(this.updatedBy); + } + /** + * @return View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + * + */ + public Optional viewDefinition() { + return Optional.ofNullable(this.viewDefinition); + } + /** + * @return View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + * + */ + public Optional viewDependencies() { + return Optional.ofNullable(this.viewDependencies); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfo defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String accessPoint; + private @Nullable Boolean browseOnly; + private @Nullable String catalogName; + private @Nullable List columns; + private @Nullable String comment; + private @Nullable Integer createdAt; + private @Nullable String createdBy; + private @Nullable String dataAccessConfigurationId; + private @Nullable String dataSourceFormat; + private @Nullable Integer deletedAt; + private @Nullable GetTableTableInfoDeltaRuntimePropertiesKvpairs deltaRuntimePropertiesKvpairs; + private @Nullable GetTableTableInfoEffectivePredictiveOptimizationFlag effectivePredictiveOptimizationFlag; + private @Nullable String enablePredictiveOptimization; + private @Nullable GetTableTableInfoEncryptionDetails encryptionDetails; + private @Nullable String fullName; + private @Nullable String metastoreId; + private @Nullable String name; + private @Nullable String owner; + private @Nullable String pipelineId; + private @Nullable Map properties; + private @Nullable GetTableTableInfoRowFilter rowFilter; + private @Nullable String schemaName; + private @Nullable String sqlPath; + private @Nullable String storageCredentialName; + private @Nullable String storageLocation; + private @Nullable List tableConstraints; + private @Nullable String tableId; + private @Nullable String tableType; + private @Nullable Integer updatedAt; + private @Nullable String updatedBy; + private @Nullable String viewDefinition; + private @Nullable GetTableTableInfoViewDependencies viewDependencies; + public Builder() {} + public Builder(GetTableTableInfo defaults) { + Objects.requireNonNull(defaults); + this.accessPoint = defaults.accessPoint; + this.browseOnly = defaults.browseOnly; + this.catalogName = defaults.catalogName; + this.columns = defaults.columns; + this.comment = defaults.comment; + this.createdAt = defaults.createdAt; + this.createdBy = defaults.createdBy; + this.dataAccessConfigurationId = defaults.dataAccessConfigurationId; + this.dataSourceFormat = defaults.dataSourceFormat; + this.deletedAt = defaults.deletedAt; + this.deltaRuntimePropertiesKvpairs = defaults.deltaRuntimePropertiesKvpairs; + this.effectivePredictiveOptimizationFlag = defaults.effectivePredictiveOptimizationFlag; + this.enablePredictiveOptimization = defaults.enablePredictiveOptimization; + this.encryptionDetails = defaults.encryptionDetails; + this.fullName = defaults.fullName; + this.metastoreId = defaults.metastoreId; + this.name = defaults.name; + this.owner = defaults.owner; + this.pipelineId = defaults.pipelineId; + this.properties = defaults.properties; + this.rowFilter = defaults.rowFilter; + this.schemaName = defaults.schemaName; + this.sqlPath = defaults.sqlPath; + this.storageCredentialName = defaults.storageCredentialName; + this.storageLocation = defaults.storageLocation; + this.tableConstraints = defaults.tableConstraints; + this.tableId = defaults.tableId; + this.tableType = defaults.tableType; + this.updatedAt = defaults.updatedAt; + this.updatedBy = defaults.updatedBy; + this.viewDefinition = defaults.viewDefinition; + this.viewDependencies = defaults.viewDependencies; + } + + @CustomType.Setter + public Builder accessPoint(@Nullable String accessPoint) { + + this.accessPoint = accessPoint; + return this; + } + @CustomType.Setter + public Builder browseOnly(@Nullable Boolean browseOnly) { + + this.browseOnly = browseOnly; + return this; + } + @CustomType.Setter + public Builder catalogName(@Nullable String catalogName) { + + this.catalogName = catalogName; + return this; + } + @CustomType.Setter + public Builder columns(@Nullable List columns) { + + this.columns = columns; + return this; + } + public Builder columns(GetTableTableInfoColumn... columns) { + return columns(List.of(columns)); + } + @CustomType.Setter + public Builder comment(@Nullable String comment) { + + this.comment = comment; + return this; + } + @CustomType.Setter + public Builder createdAt(@Nullable Integer createdAt) { + + this.createdAt = createdAt; + return this; + } + @CustomType.Setter + public Builder createdBy(@Nullable String createdBy) { + + this.createdBy = createdBy; + return this; + } + @CustomType.Setter + public Builder dataAccessConfigurationId(@Nullable String dataAccessConfigurationId) { + + this.dataAccessConfigurationId = dataAccessConfigurationId; + return this; + } + @CustomType.Setter + public Builder dataSourceFormat(@Nullable String dataSourceFormat) { + + this.dataSourceFormat = dataSourceFormat; + return this; + } + @CustomType.Setter + public Builder deletedAt(@Nullable Integer deletedAt) { + + this.deletedAt = deletedAt; + return this; + } + @CustomType.Setter + public Builder deltaRuntimePropertiesKvpairs(@Nullable GetTableTableInfoDeltaRuntimePropertiesKvpairs deltaRuntimePropertiesKvpairs) { + + this.deltaRuntimePropertiesKvpairs = deltaRuntimePropertiesKvpairs; + return this; + } + @CustomType.Setter + public Builder effectivePredictiveOptimizationFlag(@Nullable GetTableTableInfoEffectivePredictiveOptimizationFlag effectivePredictiveOptimizationFlag) { + + this.effectivePredictiveOptimizationFlag = effectivePredictiveOptimizationFlag; + return this; + } + @CustomType.Setter + public Builder enablePredictiveOptimization(@Nullable String enablePredictiveOptimization) { + + this.enablePredictiveOptimization = enablePredictiveOptimization; + return this; + } + @CustomType.Setter + public Builder encryptionDetails(@Nullable GetTableTableInfoEncryptionDetails encryptionDetails) { + + this.encryptionDetails = encryptionDetails; + return this; + } + @CustomType.Setter + public Builder fullName(@Nullable String fullName) { + + this.fullName = fullName; + return this; + } + @CustomType.Setter + public Builder metastoreId(@Nullable String metastoreId) { + + this.metastoreId = metastoreId; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter + public Builder owner(@Nullable String owner) { + + this.owner = owner; + return this; + } + @CustomType.Setter + public Builder pipelineId(@Nullable String pipelineId) { + + this.pipelineId = pipelineId; + return this; + } + @CustomType.Setter + public Builder properties(@Nullable Map properties) { + + this.properties = properties; + return this; + } + @CustomType.Setter + public Builder rowFilter(@Nullable GetTableTableInfoRowFilter rowFilter) { + + this.rowFilter = rowFilter; + return this; + } + @CustomType.Setter + public Builder schemaName(@Nullable String schemaName) { + + this.schemaName = schemaName; + return this; + } + @CustomType.Setter + public Builder sqlPath(@Nullable String sqlPath) { + + this.sqlPath = sqlPath; + return this; + } + @CustomType.Setter + public Builder storageCredentialName(@Nullable String storageCredentialName) { + + this.storageCredentialName = storageCredentialName; + return this; + } + @CustomType.Setter + public Builder storageLocation(@Nullable String storageLocation) { + + this.storageLocation = storageLocation; + return this; + } + @CustomType.Setter + public Builder tableConstraints(@Nullable List tableConstraints) { + + this.tableConstraints = tableConstraints; + return this; + } + public Builder tableConstraints(GetTableTableInfoTableConstraint... tableConstraints) { + return tableConstraints(List.of(tableConstraints)); + } + @CustomType.Setter + public Builder tableId(@Nullable String tableId) { + + this.tableId = tableId; + return this; + } + @CustomType.Setter + public Builder tableType(@Nullable String tableType) { + + this.tableType = tableType; + return this; + } + @CustomType.Setter + public Builder updatedAt(@Nullable Integer updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + @CustomType.Setter + public Builder updatedBy(@Nullable String updatedBy) { + + this.updatedBy = updatedBy; + return this; + } + @CustomType.Setter + public Builder viewDefinition(@Nullable String viewDefinition) { + + this.viewDefinition = viewDefinition; + return this; + } + @CustomType.Setter + public Builder viewDependencies(@Nullable GetTableTableInfoViewDependencies viewDependencies) { + + this.viewDependencies = viewDependencies; + return this; + } + public GetTableTableInfo build() { + final var _resultValue = new GetTableTableInfo(); + _resultValue.accessPoint = accessPoint; + _resultValue.browseOnly = browseOnly; + _resultValue.catalogName = catalogName; + _resultValue.columns = columns; + _resultValue.comment = comment; + _resultValue.createdAt = createdAt; + _resultValue.createdBy = createdBy; + _resultValue.dataAccessConfigurationId = dataAccessConfigurationId; + _resultValue.dataSourceFormat = dataSourceFormat; + _resultValue.deletedAt = deletedAt; + _resultValue.deltaRuntimePropertiesKvpairs = deltaRuntimePropertiesKvpairs; + _resultValue.effectivePredictiveOptimizationFlag = effectivePredictiveOptimizationFlag; + _resultValue.enablePredictiveOptimization = enablePredictiveOptimization; + _resultValue.encryptionDetails = encryptionDetails; + _resultValue.fullName = fullName; + _resultValue.metastoreId = metastoreId; + _resultValue.name = name; + _resultValue.owner = owner; + _resultValue.pipelineId = pipelineId; + _resultValue.properties = properties; + _resultValue.rowFilter = rowFilter; + _resultValue.schemaName = schemaName; + _resultValue.sqlPath = sqlPath; + _resultValue.storageCredentialName = storageCredentialName; + _resultValue.storageLocation = storageLocation; + _resultValue.tableConstraints = tableConstraints; + _resultValue.tableId = tableId; + _resultValue.tableType = tableType; + _resultValue.updatedAt = updatedAt; + _resultValue.updatedBy = updatedBy; + _resultValue.viewDefinition = viewDefinition; + _resultValue.viewDependencies = viewDependencies; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoColumn.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoColumn.java new file mode 100644 index 00000000..ddcd6dc3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoColumn.java @@ -0,0 +1,211 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetTableTableInfoColumnMask; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetTableTableInfoColumn { + /** + * @return Free-form text description + * + */ + private @Nullable String comment; + private @Nullable GetTableTableInfoColumnMask mask; + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + private @Nullable String name; + private @Nullable Boolean nullable; + private @Nullable Integer partitionIndex; + private @Nullable Integer position; + private @Nullable String typeIntervalType; + private @Nullable String typeJson; + private @Nullable String typeName; + private @Nullable Integer typePrecision; + private @Nullable Integer typeScale; + private @Nullable String typeText; + + private GetTableTableInfoColumn() {} + /** + * @return Free-form text description + * + */ + public Optional comment() { + return Optional.ofNullable(this.comment); + } + public Optional mask() { + return Optional.ofNullable(this.mask); + } + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + public Optional nullable() { + return Optional.ofNullable(this.nullable); + } + public Optional partitionIndex() { + return Optional.ofNullable(this.partitionIndex); + } + public Optional position() { + return Optional.ofNullable(this.position); + } + public Optional typeIntervalType() { + return Optional.ofNullable(this.typeIntervalType); + } + public Optional typeJson() { + return Optional.ofNullable(this.typeJson); + } + public Optional typeName() { + return Optional.ofNullable(this.typeName); + } + public Optional typePrecision() { + return Optional.ofNullable(this.typePrecision); + } + public Optional typeScale() { + return Optional.ofNullable(this.typeScale); + } + public Optional typeText() { + return Optional.ofNullable(this.typeText); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfoColumn defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String comment; + private @Nullable GetTableTableInfoColumnMask mask; + private @Nullable String name; + private @Nullable Boolean nullable; + private @Nullable Integer partitionIndex; + private @Nullable Integer position; + private @Nullable String typeIntervalType; + private @Nullable String typeJson; + private @Nullable String typeName; + private @Nullable Integer typePrecision; + private @Nullable Integer typeScale; + private @Nullable String typeText; + public Builder() {} + public Builder(GetTableTableInfoColumn defaults) { + Objects.requireNonNull(defaults); + this.comment = defaults.comment; + this.mask = defaults.mask; + this.name = defaults.name; + this.nullable = defaults.nullable; + this.partitionIndex = defaults.partitionIndex; + this.position = defaults.position; + this.typeIntervalType = defaults.typeIntervalType; + this.typeJson = defaults.typeJson; + this.typeName = defaults.typeName; + this.typePrecision = defaults.typePrecision; + this.typeScale = defaults.typeScale; + this.typeText = defaults.typeText; + } + + @CustomType.Setter + public Builder comment(@Nullable String comment) { + + this.comment = comment; + return this; + } + @CustomType.Setter + public Builder mask(@Nullable GetTableTableInfoColumnMask mask) { + + this.mask = mask; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter + public Builder nullable(@Nullable Boolean nullable) { + + this.nullable = nullable; + return this; + } + @CustomType.Setter + public Builder partitionIndex(@Nullable Integer partitionIndex) { + + this.partitionIndex = partitionIndex; + return this; + } + @CustomType.Setter + public Builder position(@Nullable Integer position) { + + this.position = position; + return this; + } + @CustomType.Setter + public Builder typeIntervalType(@Nullable String typeIntervalType) { + + this.typeIntervalType = typeIntervalType; + return this; + } + @CustomType.Setter + public Builder typeJson(@Nullable String typeJson) { + + this.typeJson = typeJson; + return this; + } + @CustomType.Setter + public Builder typeName(@Nullable String typeName) { + + this.typeName = typeName; + return this; + } + @CustomType.Setter + public Builder typePrecision(@Nullable Integer typePrecision) { + + this.typePrecision = typePrecision; + return this; + } + @CustomType.Setter + public Builder typeScale(@Nullable Integer typeScale) { + + this.typeScale = typeScale; + return this; + } + @CustomType.Setter + public Builder typeText(@Nullable String typeText) { + + this.typeText = typeText; + return this; + } + public GetTableTableInfoColumn build() { + final var _resultValue = new GetTableTableInfoColumn(); + _resultValue.comment = comment; + _resultValue.mask = mask; + _resultValue.name = name; + _resultValue.nullable = nullable; + _resultValue.partitionIndex = partitionIndex; + _resultValue.position = position; + _resultValue.typeIntervalType = typeIntervalType; + _resultValue.typeJson = typeJson; + _resultValue.typeName = typeName; + _resultValue.typePrecision = typePrecision; + _resultValue.typeScale = typeScale; + _resultValue.typeText = typeText; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoColumnMask.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoColumnMask.java new file mode 100644 index 00000000..b539bd08 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoColumnMask.java @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetTableTableInfoColumnMask { + private @Nullable String functionName; + private @Nullable List usingColumnNames; + + private GetTableTableInfoColumnMask() {} + public Optional functionName() { + return Optional.ofNullable(this.functionName); + } + public List usingColumnNames() { + return this.usingColumnNames == null ? List.of() : this.usingColumnNames; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfoColumnMask defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String functionName; + private @Nullable List usingColumnNames; + public Builder() {} + public Builder(GetTableTableInfoColumnMask defaults) { + Objects.requireNonNull(defaults); + this.functionName = defaults.functionName; + this.usingColumnNames = defaults.usingColumnNames; + } + + @CustomType.Setter + public Builder functionName(@Nullable String functionName) { + + this.functionName = functionName; + return this; + } + @CustomType.Setter + public Builder usingColumnNames(@Nullable List usingColumnNames) { + + this.usingColumnNames = usingColumnNames; + return this; + } + public Builder usingColumnNames(String... usingColumnNames) { + return usingColumnNames(List.of(usingColumnNames)); + } + public GetTableTableInfoColumnMask build() { + final var _resultValue = new GetTableTableInfoColumnMask(); + _resultValue.functionName = functionName; + _resultValue.usingColumnNames = usingColumnNames; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoDeltaRuntimePropertiesKvpairs.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoDeltaRuntimePropertiesKvpairs.java new file mode 100644 index 00000000..0a6a92b0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoDeltaRuntimePropertiesKvpairs.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 com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetTableTableInfoDeltaRuntimePropertiesKvpairs { + private Map deltaRuntimeProperties; + + private GetTableTableInfoDeltaRuntimePropertiesKvpairs() {} + public Map deltaRuntimeProperties() { + return this.deltaRuntimeProperties; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfoDeltaRuntimePropertiesKvpairs defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Map deltaRuntimeProperties; + public Builder() {} + public Builder(GetTableTableInfoDeltaRuntimePropertiesKvpairs defaults) { + Objects.requireNonNull(defaults); + this.deltaRuntimeProperties = defaults.deltaRuntimeProperties; + } + + @CustomType.Setter + public Builder deltaRuntimeProperties(Map deltaRuntimeProperties) { + if (deltaRuntimeProperties == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoDeltaRuntimePropertiesKvpairs", "deltaRuntimeProperties"); + } + this.deltaRuntimeProperties = deltaRuntimeProperties; + return this; + } + public GetTableTableInfoDeltaRuntimePropertiesKvpairs build() { + final var _resultValue = new GetTableTableInfoDeltaRuntimePropertiesKvpairs(); + _resultValue.deltaRuntimeProperties = deltaRuntimeProperties; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoEffectivePredictiveOptimizationFlag.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoEffectivePredictiveOptimizationFlag.java new file mode 100644 index 00000000..3274add3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoEffectivePredictiveOptimizationFlag.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetTableTableInfoEffectivePredictiveOptimizationFlag { + private @Nullable String inheritedFromName; + private @Nullable String inheritedFromType; + private String value; + + private GetTableTableInfoEffectivePredictiveOptimizationFlag() {} + public Optional inheritedFromName() { + return Optional.ofNullable(this.inheritedFromName); + } + public Optional inheritedFromType() { + return Optional.ofNullable(this.inheritedFromType); + } + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfoEffectivePredictiveOptimizationFlag defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String inheritedFromName; + private @Nullable String inheritedFromType; + private String value; + public Builder() {} + public Builder(GetTableTableInfoEffectivePredictiveOptimizationFlag defaults) { + Objects.requireNonNull(defaults); + this.inheritedFromName = defaults.inheritedFromName; + this.inheritedFromType = defaults.inheritedFromType; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder inheritedFromName(@Nullable String inheritedFromName) { + + this.inheritedFromName = inheritedFromName; + return this; + } + @CustomType.Setter + public Builder inheritedFromType(@Nullable String inheritedFromType) { + + this.inheritedFromType = inheritedFromType; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoEffectivePredictiveOptimizationFlag", "value"); + } + this.value = value; + return this; + } + public GetTableTableInfoEffectivePredictiveOptimizationFlag build() { + final var _resultValue = new GetTableTableInfoEffectivePredictiveOptimizationFlag(); + _resultValue.inheritedFromName = inheritedFromName; + _resultValue.inheritedFromType = inheritedFromType; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoEncryptionDetails.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoEncryptionDetails.java new file mode 100644 index 00000000..45967c51 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoEncryptionDetails.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.GetTableTableInfoEncryptionDetailsSseEncryptionDetails; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetTableTableInfoEncryptionDetails { + private @Nullable GetTableTableInfoEncryptionDetailsSseEncryptionDetails sseEncryptionDetails; + + private GetTableTableInfoEncryptionDetails() {} + public Optional sseEncryptionDetails() { + return Optional.ofNullable(this.sseEncryptionDetails); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfoEncryptionDetails defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetTableTableInfoEncryptionDetailsSseEncryptionDetails sseEncryptionDetails; + public Builder() {} + public Builder(GetTableTableInfoEncryptionDetails defaults) { + Objects.requireNonNull(defaults); + this.sseEncryptionDetails = defaults.sseEncryptionDetails; + } + + @CustomType.Setter + public Builder sseEncryptionDetails(@Nullable GetTableTableInfoEncryptionDetailsSseEncryptionDetails sseEncryptionDetails) { + + this.sseEncryptionDetails = sseEncryptionDetails; + return this; + } + public GetTableTableInfoEncryptionDetails build() { + final var _resultValue = new GetTableTableInfoEncryptionDetails(); + _resultValue.sseEncryptionDetails = sseEncryptionDetails; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetails.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetails.java new file mode 100644 index 00000000..b01786b2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoEncryptionDetailsSseEncryptionDetails.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetTableTableInfoEncryptionDetailsSseEncryptionDetails { + private @Nullable String algorithm; + private @Nullable String awsKmsKeyArn; + + private GetTableTableInfoEncryptionDetailsSseEncryptionDetails() {} + public Optional algorithm() { + return Optional.ofNullable(this.algorithm); + } + public Optional awsKmsKeyArn() { + return Optional.ofNullable(this.awsKmsKeyArn); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfoEncryptionDetailsSseEncryptionDetails defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String algorithm; + private @Nullable String awsKmsKeyArn; + public Builder() {} + public Builder(GetTableTableInfoEncryptionDetailsSseEncryptionDetails defaults) { + Objects.requireNonNull(defaults); + this.algorithm = defaults.algorithm; + this.awsKmsKeyArn = defaults.awsKmsKeyArn; + } + + @CustomType.Setter + public Builder algorithm(@Nullable String algorithm) { + + this.algorithm = algorithm; + return this; + } + @CustomType.Setter + public Builder awsKmsKeyArn(@Nullable String awsKmsKeyArn) { + + this.awsKmsKeyArn = awsKmsKeyArn; + return this; + } + public GetTableTableInfoEncryptionDetailsSseEncryptionDetails build() { + final var _resultValue = new GetTableTableInfoEncryptionDetailsSseEncryptionDetails(); + _resultValue.algorithm = algorithm; + _resultValue.awsKmsKeyArn = awsKmsKeyArn; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoRowFilter.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoRowFilter.java new file mode 100644 index 00000000..5ea44c05 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoRowFilter.java @@ -0,0 +1,69 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetTableTableInfoRowFilter { + private String functionName; + private List inputColumnNames; + + private GetTableTableInfoRowFilter() {} + public String functionName() { + return this.functionName; + } + public List inputColumnNames() { + return this.inputColumnNames; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfoRowFilter defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String functionName; + private List inputColumnNames; + public Builder() {} + public Builder(GetTableTableInfoRowFilter defaults) { + Objects.requireNonNull(defaults); + this.functionName = defaults.functionName; + this.inputColumnNames = defaults.inputColumnNames; + } + + @CustomType.Setter + public Builder functionName(String functionName) { + if (functionName == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoRowFilter", "functionName"); + } + this.functionName = functionName; + return this; + } + @CustomType.Setter + public Builder inputColumnNames(List inputColumnNames) { + if (inputColumnNames == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoRowFilter", "inputColumnNames"); + } + this.inputColumnNames = inputColumnNames; + return this; + } + public Builder inputColumnNames(String... inputColumnNames) { + return inputColumnNames(List.of(inputColumnNames)); + } + public GetTableTableInfoRowFilter build() { + final var _resultValue = new GetTableTableInfoRowFilter(); + _resultValue.functionName = functionName; + _resultValue.inputColumnNames = inputColumnNames; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraint.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraint.java new file mode 100644 index 00000000..cf4fb6c0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraint.java @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetTableTableInfoTableConstraintForeignKeyConstraint; +import com.pulumi.databricks.outputs.GetTableTableInfoTableConstraintNamedTableConstraint; +import com.pulumi.databricks.outputs.GetTableTableInfoTableConstraintPrimaryKeyConstraint; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetTableTableInfoTableConstraint { + private @Nullable GetTableTableInfoTableConstraintForeignKeyConstraint foreignKeyConstraint; + private @Nullable GetTableTableInfoTableConstraintNamedTableConstraint namedTableConstraint; + private @Nullable GetTableTableInfoTableConstraintPrimaryKeyConstraint primaryKeyConstraint; + + private GetTableTableInfoTableConstraint() {} + public Optional foreignKeyConstraint() { + return Optional.ofNullable(this.foreignKeyConstraint); + } + public Optional namedTableConstraint() { + return Optional.ofNullable(this.namedTableConstraint); + } + public Optional primaryKeyConstraint() { + return Optional.ofNullable(this.primaryKeyConstraint); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfoTableConstraint defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetTableTableInfoTableConstraintForeignKeyConstraint foreignKeyConstraint; + private @Nullable GetTableTableInfoTableConstraintNamedTableConstraint namedTableConstraint; + private @Nullable GetTableTableInfoTableConstraintPrimaryKeyConstraint primaryKeyConstraint; + public Builder() {} + public Builder(GetTableTableInfoTableConstraint defaults) { + Objects.requireNonNull(defaults); + this.foreignKeyConstraint = defaults.foreignKeyConstraint; + this.namedTableConstraint = defaults.namedTableConstraint; + this.primaryKeyConstraint = defaults.primaryKeyConstraint; + } + + @CustomType.Setter + public Builder foreignKeyConstraint(@Nullable GetTableTableInfoTableConstraintForeignKeyConstraint foreignKeyConstraint) { + + this.foreignKeyConstraint = foreignKeyConstraint; + return this; + } + @CustomType.Setter + public Builder namedTableConstraint(@Nullable GetTableTableInfoTableConstraintNamedTableConstraint namedTableConstraint) { + + this.namedTableConstraint = namedTableConstraint; + return this; + } + @CustomType.Setter + public Builder primaryKeyConstraint(@Nullable GetTableTableInfoTableConstraintPrimaryKeyConstraint primaryKeyConstraint) { + + this.primaryKeyConstraint = primaryKeyConstraint; + return this; + } + public GetTableTableInfoTableConstraint build() { + final var _resultValue = new GetTableTableInfoTableConstraint(); + _resultValue.foreignKeyConstraint = foreignKeyConstraint; + _resultValue.namedTableConstraint = namedTableConstraint; + _resultValue.primaryKeyConstraint = primaryKeyConstraint; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraintForeignKeyConstraint.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraintForeignKeyConstraint.java new file mode 100644 index 00000000..e22e4962 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraintForeignKeyConstraint.java @@ -0,0 +1,110 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.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 GetTableTableInfoTableConstraintForeignKeyConstraint { + private List childColumns; + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + private String name; + private List parentColumns; + private String parentTable; + + private GetTableTableInfoTableConstraintForeignKeyConstraint() {} + public List childColumns() { + return this.childColumns; + } + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public String name() { + return this.name; + } + public List parentColumns() { + return this.parentColumns; + } + public String parentTable() { + return this.parentTable; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfoTableConstraintForeignKeyConstraint defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List childColumns; + private String name; + private List parentColumns; + private String parentTable; + public Builder() {} + public Builder(GetTableTableInfoTableConstraintForeignKeyConstraint defaults) { + Objects.requireNonNull(defaults); + this.childColumns = defaults.childColumns; + this.name = defaults.name; + this.parentColumns = defaults.parentColumns; + this.parentTable = defaults.parentTable; + } + + @CustomType.Setter + public Builder childColumns(List childColumns) { + if (childColumns == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintForeignKeyConstraint", "childColumns"); + } + this.childColumns = childColumns; + return this; + } + public Builder childColumns(String... childColumns) { + return childColumns(List.of(childColumns)); + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintForeignKeyConstraint", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder parentColumns(List parentColumns) { + if (parentColumns == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintForeignKeyConstraint", "parentColumns"); + } + this.parentColumns = parentColumns; + return this; + } + public Builder parentColumns(String... parentColumns) { + return parentColumns(List.of(parentColumns)); + } + @CustomType.Setter + public Builder parentTable(String parentTable) { + if (parentTable == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintForeignKeyConstraint", "parentTable"); + } + this.parentTable = parentTable; + return this; + } + public GetTableTableInfoTableConstraintForeignKeyConstraint build() { + final var _resultValue = new GetTableTableInfoTableConstraintForeignKeyConstraint(); + _resultValue.childColumns = childColumns; + _resultValue.name = name; + _resultValue.parentColumns = parentColumns; + _resultValue.parentTable = parentTable; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraintNamedTableConstraint.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraintNamedTableConstraint.java new file mode 100644 index 00000000..b44c4c46 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraintNamedTableConstraint.java @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetTableTableInfoTableConstraintNamedTableConstraint { + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + private String name; + + private GetTableTableInfoTableConstraintNamedTableConstraint() {} + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfoTableConstraintNamedTableConstraint defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + public Builder() {} + public Builder(GetTableTableInfoTableConstraintNamedTableConstraint defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintNamedTableConstraint", "name"); + } + this.name = name; + return this; + } + public GetTableTableInfoTableConstraintNamedTableConstraint build() { + final var _resultValue = new GetTableTableInfoTableConstraintNamedTableConstraint(); + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraintPrimaryKeyConstraint.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraintPrimaryKeyConstraint.java new file mode 100644 index 00000000..e2a9e535 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoTableConstraintPrimaryKeyConstraint.java @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetTableTableInfoTableConstraintPrimaryKeyConstraint { + private List childColumns; + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + private String name; + + private GetTableTableInfoTableConstraintPrimaryKeyConstraint() {} + public List childColumns() { + return this.childColumns; + } + /** + * @return Full name of the databricks_table: _`catalog`.`schema`.`table`_ + * + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfoTableConstraintPrimaryKeyConstraint defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List childColumns; + private String name; + public Builder() {} + public Builder(GetTableTableInfoTableConstraintPrimaryKeyConstraint defaults) { + Objects.requireNonNull(defaults); + this.childColumns = defaults.childColumns; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder childColumns(List childColumns) { + if (childColumns == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintPrimaryKeyConstraint", "childColumns"); + } + this.childColumns = childColumns; + return this; + } + public Builder childColumns(String... childColumns) { + return childColumns(List.of(childColumns)); + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoTableConstraintPrimaryKeyConstraint", "name"); + } + this.name = name; + return this; + } + public GetTableTableInfoTableConstraintPrimaryKeyConstraint build() { + final var _resultValue = new GetTableTableInfoTableConstraintPrimaryKeyConstraint(); + _resultValue.childColumns = childColumns; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependencies.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependencies.java new file mode 100644 index 00000000..4969197d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependencies.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 com.pulumi.databricks.outputs.GetTableTableInfoViewDependenciesDependency; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetTableTableInfoViewDependencies { + private @Nullable List dependencies; + + private GetTableTableInfoViewDependencies() {} + public List dependencies() { + return this.dependencies == null ? List.of() : this.dependencies; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfoViewDependencies defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List dependencies; + public Builder() {} + public Builder(GetTableTableInfoViewDependencies defaults) { + Objects.requireNonNull(defaults); + this.dependencies = defaults.dependencies; + } + + @CustomType.Setter + public Builder dependencies(@Nullable List dependencies) { + + this.dependencies = dependencies; + return this; + } + public Builder dependencies(GetTableTableInfoViewDependenciesDependency... dependencies) { + return dependencies(List.of(dependencies)); + } + public GetTableTableInfoViewDependencies build() { + final var _resultValue = new GetTableTableInfoViewDependencies(); + _resultValue.dependencies = dependencies; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependenciesDependency.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependenciesDependency.java new file mode 100644 index 00000000..d1b2fa69 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependenciesDependency.java @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetTableTableInfoViewDependenciesDependencyFunction; +import com.pulumi.databricks.outputs.GetTableTableInfoViewDependenciesDependencyTable; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetTableTableInfoViewDependenciesDependency { + private @Nullable GetTableTableInfoViewDependenciesDependencyFunction function; + private @Nullable GetTableTableInfoViewDependenciesDependencyTable table; + + private GetTableTableInfoViewDependenciesDependency() {} + public Optional function() { + return Optional.ofNullable(this.function); + } + public Optional table() { + return Optional.ofNullable(this.table); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfoViewDependenciesDependency defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetTableTableInfoViewDependenciesDependencyFunction function; + private @Nullable GetTableTableInfoViewDependenciesDependencyTable table; + public Builder() {} + public Builder(GetTableTableInfoViewDependenciesDependency defaults) { + Objects.requireNonNull(defaults); + this.function = defaults.function; + this.table = defaults.table; + } + + @CustomType.Setter + public Builder function(@Nullable GetTableTableInfoViewDependenciesDependencyFunction function) { + + this.function = function; + return this; + } + @CustomType.Setter + public Builder table(@Nullable GetTableTableInfoViewDependenciesDependencyTable table) { + + this.table = table; + return this; + } + public GetTableTableInfoViewDependenciesDependency build() { + final var _resultValue = new GetTableTableInfoViewDependenciesDependency(); + _resultValue.function = function; + _resultValue.table = table; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependenciesDependencyFunction.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependenciesDependencyFunction.java new file mode 100644 index 00000000..dc779b53 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependenciesDependencyFunction.java @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetTableTableInfoViewDependenciesDependencyFunction { + private String functionFullName; + + private GetTableTableInfoViewDependenciesDependencyFunction() {} + public String functionFullName() { + return this.functionFullName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfoViewDependenciesDependencyFunction defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String functionFullName; + public Builder() {} + public Builder(GetTableTableInfoViewDependenciesDependencyFunction defaults) { + Objects.requireNonNull(defaults); + this.functionFullName = defaults.functionFullName; + } + + @CustomType.Setter + public Builder functionFullName(String functionFullName) { + if (functionFullName == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoViewDependenciesDependencyFunction", "functionFullName"); + } + this.functionFullName = functionFullName; + return this; + } + public GetTableTableInfoViewDependenciesDependencyFunction build() { + final var _resultValue = new GetTableTableInfoViewDependenciesDependencyFunction(); + _resultValue.functionFullName = functionFullName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependenciesDependencyTable.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependenciesDependencyTable.java new file mode 100644 index 00000000..fde0dec4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetTableTableInfoViewDependenciesDependencyTable.java @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetTableTableInfoViewDependenciesDependencyTable { + private String tableFullName; + + private GetTableTableInfoViewDependenciesDependencyTable() {} + public String tableFullName() { + return this.tableFullName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetTableTableInfoViewDependenciesDependencyTable defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String tableFullName; + public Builder() {} + public Builder(GetTableTableInfoViewDependenciesDependencyTable defaults) { + Objects.requireNonNull(defaults); + this.tableFullName = defaults.tableFullName; + } + + @CustomType.Setter + public Builder tableFullName(String tableFullName) { + if (tableFullName == null) { + throw new MissingRequiredPropertyException("GetTableTableInfoViewDependenciesDependencyTable", "tableFullName"); + } + this.tableFullName = tableFullName; + return this; + } + public GetTableTableInfoViewDependenciesDependencyTable build() { + final var _resultValue = new GetTableTableInfoViewDependenciesDependencyTable(); + _resultValue.tableFullName = tableFullName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobJobClusterNewCluster.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobJobClusterNewCluster.java index af7f4df4..98e447e4 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 @@ -50,7 +50,7 @@ public final class JobJobClusterNewCluster { private @Nullable List initScripts; private @Nullable String instancePoolId; /** - * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ private @Nullable List libraries; @@ -130,7 +130,7 @@ public Optional instancePoolId() { return Optional.ofNullable(this.instancePoolId); } /** - * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ public List libraries() { 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 f7815f62..d80004a6 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 @@ -50,7 +50,7 @@ public final class JobNewCluster { private @Nullable List initScripts; private @Nullable String instancePoolId; /** - * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ private @Nullable List libraries; @@ -130,7 +130,7 @@ public Optional instancePoolId() { return Optional.ofNullable(this.instancePoolId); } /** - * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ public List libraries() { 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 cc4b962d..0e4f7da5 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 @@ -50,7 +50,7 @@ public final class JobTaskForEachTaskTaskNewCluster { private @Nullable List initScripts; private @Nullable String instancePoolId; /** - * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ private @Nullable List libraries; @@ -130,7 +130,7 @@ public Optional instancePoolId() { return Optional.ofNullable(this.instancePoolId); } /** - * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ public List libraries() { 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 01d7fffd..68dbca57 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 @@ -50,7 +50,7 @@ public final class JobTaskNewCluster { private @Nullable List initScripts; private @Nullable String instancePoolId; /** - * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ private @Nullable List libraries; @@ -130,7 +130,7 @@ public Optional instancePoolId() { return Optional.ofNullable(this.instancePoolId); } /** - * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * */ public List libraries() { diff --git a/sdk/nodejs/getCatalog.ts b/sdk/nodejs/getCatalog.ts new file mode 100644 index 00000000..c5cd535f --- /dev/null +++ b/sdk/nodejs/getCatalog.ts @@ -0,0 +1,130 @@ +// *** WARNING: this file 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"; + +/** + * ## Example Usage + * + * Read on a specific catalog `test`: + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const test = databricks.getCatalog({ + * name: "test", + * }); + * const things = new databricks.Grants("things", { + * catalog: test.then(test => test.name), + * grants: [{ + * principal: "sensitive", + * privileges: ["USE_CATALOG"], + * }], + * }); + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. + */ +export function getCatalog(args: GetCatalogArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("databricks:index/getCatalog:getCatalog", { + "catalogInfo": args.catalogInfo, + "id": args.id, + "name": args.name, + }, opts); +} + +/** + * A collection of arguments for invoking getCatalog. + */ +export interface GetCatalogArgs { + /** + * the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + */ + catalogInfo?: inputs.GetCatalogCatalogInfo; + /** + * same as the `name` + */ + id?: string; + /** + * name of the catalog + */ + name: string; +} + +/** + * A collection of values returned by getCatalog. + */ +export interface GetCatalogResult { + /** + * the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + */ + readonly catalogInfo: outputs.GetCatalogCatalogInfo; + /** + * same as the `name` + */ + readonly id: string; + /** + * Name of the catalog + */ + readonly name: string; +} +/** + * ## Example Usage + * + * Read on a specific catalog `test`: + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const test = databricks.getCatalog({ + * name: "test", + * }); + * const things = new databricks.Grants("things", { + * catalog: test.then(test => test.name), + * grants: [{ + * principal: "sensitive", + * privileges: ["USE_CATALOG"], + * }], + * }); + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. + */ +export function getCatalogOutput(args: GetCatalogOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCatalog(a, opts)) +} + +/** + * A collection of arguments for invoking getCatalog. + */ +export interface GetCatalogOutputArgs { + /** + * the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + */ + catalogInfo?: pulumi.Input; + /** + * same as the `name` + */ + id?: pulumi.Input; + /** + * name of the catalog + */ + name: pulumi.Input; +} diff --git a/sdk/nodejs/getMlflowExperiment.ts b/sdk/nodejs/getMlflowExperiment.ts new file mode 100644 index 00000000..a784dfd2 --- /dev/null +++ b/sdk/nodejs/getMlflowExperiment.ts @@ -0,0 +1,150 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * + * Retrieves the settings of databricks.MlflowExperiment by id or name. + */ +export function getMlflowExperiment(args?: GetMlflowExperimentArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("databricks:index/getMlflowExperiment:getMlflowExperiment", { + "artifactLocation": args.artifactLocation, + "creationTime": args.creationTime, + "experimentId": args.experimentId, + "id": args.id, + "lastUpdateTime": args.lastUpdateTime, + "lifecycleStage": args.lifecycleStage, + "name": args.name, + "tags": args.tags, + }, opts); +} + +/** + * A collection of arguments for invoking getMlflowExperiment. + */ +export interface GetMlflowExperimentArgs { + /** + * Location where artifacts for the experiment are stored. + */ + artifactLocation?: string; + /** + * Creation time in unix time stamp. + */ + creationTime?: number; + /** + * Unique identifier for the experiment. + */ + experimentId?: string; + /** + * Unique identifier for the experiment. (same as `experimentId`) + */ + id?: string; + /** + * Last update time in unix time stamp. + */ + lastUpdateTime?: number; + /** + * Current life cycle stage of the experiment: `active` or `deleted`. + */ + lifecycleStage?: string; + /** + * Path to experiment. + */ + name?: string; + /** + * Additional metadata key-value pairs. + */ + tags?: inputs.GetMlflowExperimentTag[]; +} + +/** + * A collection of values returned by getMlflowExperiment. + */ +export interface GetMlflowExperimentResult { + /** + * Location where artifacts for the experiment are stored. + */ + readonly artifactLocation: string; + /** + * Creation time in unix time stamp. + */ + readonly creationTime: number; + /** + * Unique identifier for the experiment. (same as `id`) + */ + readonly experimentId: string; + /** + * Unique identifier for the experiment. (same as `experimentId`) + */ + readonly id: string; + /** + * Last update time in unix time stamp. + */ + readonly lastUpdateTime: number; + /** + * Current life cycle stage of the experiment: `active` or `deleted`. + */ + readonly lifecycleStage: string; + /** + * Path to experiment. + */ + readonly name: string; + /** + * Additional metadata key-value pairs. + */ + readonly tags: outputs.GetMlflowExperimentTag[]; +} +/** + * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * + * Retrieves the settings of databricks.MlflowExperiment by id or name. + */ +export function getMlflowExperimentOutput(args?: GetMlflowExperimentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMlflowExperiment(a, opts)) +} + +/** + * A collection of arguments for invoking getMlflowExperiment. + */ +export interface GetMlflowExperimentOutputArgs { + /** + * Location where artifacts for the experiment are stored. + */ + artifactLocation?: pulumi.Input; + /** + * Creation time in unix time stamp. + */ + creationTime?: pulumi.Input; + /** + * Unique identifier for the experiment. + */ + experimentId?: pulumi.Input; + /** + * Unique identifier for the experiment. (same as `experimentId`) + */ + id?: pulumi.Input; + /** + * Last update time in unix time stamp. + */ + lastUpdateTime?: pulumi.Input; + /** + * Current life cycle stage of the experiment: `active` or `deleted`. + */ + lifecycleStage?: pulumi.Input; + /** + * Path to experiment. + */ + name?: pulumi.Input; + /** + * Additional metadata key-value pairs. + */ + tags?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/getTable.ts b/sdk/nodejs/getTable.ts new file mode 100644 index 00000000..9629cbc5 --- /dev/null +++ b/sdk/nodejs/getTable.ts @@ -0,0 +1,127 @@ +// *** WARNING: this file 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"; + +/** + * ## Example Usage + * + * Read on a specific table `main.certified.fct_transactions`: + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const fctTransactions = databricks.getTable({ + * name: "main.certified.fct_transactions", + * }); + * const things = new databricks.Grants("things", { + * table: fctTransactions.then(fctTransactions => fctTransactions.name), + * grants: [{ + * principal: "sensitive", + * privileges: [ + * "SELECT", + * "MODIFY", + * ], + * }], + * }); + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getTables to list all tables within a schema in Unity Catalog. + */ +export function getTable(args: GetTableArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("databricks:index/getTable:getTable", { + "id": args.id, + "name": args.name, + "tableInfo": args.tableInfo, + }, opts); +} + +/** + * A collection of arguments for invoking getTable. + */ +export interface GetTableArgs { + id?: string; + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name: string; + /** + * TableInfo object for a Unity Catalog table. This contains the following attributes: + */ + tableInfo?: inputs.GetTableTableInfo; +} + +/** + * A collection of values returned by getTable. + */ +export interface GetTableResult { + readonly id: string; + /** + * Name of table, relative to parent schema. + */ + readonly name: string; + /** + * TableInfo object for a Unity Catalog table. This contains the following attributes: + */ + readonly tableInfo: outputs.GetTableTableInfo; +} +/** + * ## Example Usage + * + * Read on a specific table `main.certified.fct_transactions`: + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const fctTransactions = databricks.getTable({ + * name: "main.certified.fct_transactions", + * }); + * const things = new databricks.Grants("things", { + * table: fctTransactions.then(fctTransactions => fctTransactions.name), + * grants: [{ + * principal: "sensitive", + * privileges: [ + * "SELECT", + * "MODIFY", + * ], + * }], + * }); + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getTables to list all tables within a schema in Unity Catalog. + */ +export function getTableOutput(args: GetTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getTable(a, opts)) +} + +/** + * A collection of arguments for invoking getTable. + */ +export interface GetTableOutputArgs { + id?: pulumi.Input; + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name: pulumi.Input; + /** + * TableInfo object for a Unity Catalog table. This contains the following attributes: + */ + tableInfo?: pulumi.Input; +} diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 56cb4f0a..2a0cf13c 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -90,6 +90,11 @@ export const getAwsUnityCatalogPolicy: typeof import("./getAwsUnityCatalogPolicy export const getAwsUnityCatalogPolicyOutput: typeof import("./getAwsUnityCatalogPolicy").getAwsUnityCatalogPolicyOutput = null as any; utilities.lazyLoad(exports, ["getAwsUnityCatalogPolicy","getAwsUnityCatalogPolicyOutput"], () => require("./getAwsUnityCatalogPolicy")); +export { GetCatalogArgs, GetCatalogResult, GetCatalogOutputArgs } from "./getCatalog"; +export const getCatalog: typeof import("./getCatalog").getCatalog = null as any; +export const getCatalogOutput: typeof import("./getCatalog").getCatalogOutput = null as any; +utilities.lazyLoad(exports, ["getCatalog","getCatalogOutput"], () => require("./getCatalog")); + export { GetCatalogsArgs, GetCatalogsResult, GetCatalogsOutputArgs } from "./getCatalogs"; export const getCatalogs: typeof import("./getCatalogs").getCatalogs = null as any; export const getCatalogsOutput: typeof import("./getCatalogs").getCatalogsOutput = null as any; @@ -185,6 +190,11 @@ export const getMetastores: typeof import("./getMetastores").getMetastores = nul export const getMetastoresOutput: typeof import("./getMetastores").getMetastoresOutput = null as any; utilities.lazyLoad(exports, ["getMetastores","getMetastoresOutput"], () => require("./getMetastores")); +export { GetMlflowExperimentArgs, GetMlflowExperimentResult, GetMlflowExperimentOutputArgs } from "./getMlflowExperiment"; +export const getMlflowExperiment: typeof import("./getMlflowExperiment").getMlflowExperiment = null as any; +export const getMlflowExperimentOutput: typeof import("./getMlflowExperiment").getMlflowExperimentOutput = null as any; +utilities.lazyLoad(exports, ["getMlflowExperiment","getMlflowExperimentOutput"], () => require("./getMlflowExperiment")); + export { GetMlflowModelArgs, GetMlflowModelResult, GetMlflowModelOutputArgs } from "./getMlflowModel"; export const getMlflowModel: typeof import("./getMlflowModel").getMlflowModel = null as any; export const getMlflowModelOutput: typeof import("./getMlflowModel").getMlflowModelOutput = null as any; @@ -270,6 +280,11 @@ export const getStorageCredentials: typeof import("./getStorageCredentials").get export const getStorageCredentialsOutput: typeof import("./getStorageCredentials").getStorageCredentialsOutput = null as any; utilities.lazyLoad(exports, ["getStorageCredentials","getStorageCredentialsOutput"], () => require("./getStorageCredentials")); +export { GetTableArgs, GetTableResult, GetTableOutputArgs } from "./getTable"; +export const getTable: typeof import("./getTable").getTable = null as any; +export const getTableOutput: typeof import("./getTable").getTableOutput = null as any; +utilities.lazyLoad(exports, ["getTable","getTableOutput"], () => require("./getTable")); + export { GetTablesArgs, GetTablesResult, GetTablesOutputArgs } from "./getTables"; export const getTables: typeof import("./getTables").getTables = null as any; export const getTablesOutput: typeof import("./getTables").getTablesOutput = null as any; diff --git a/sdk/nodejs/job.ts b/sdk/nodejs/job.ts index c7ffa444..72f73ee9 100644 --- a/sdk/nodejs/job.ts +++ b/sdk/nodejs/job.ts @@ -51,6 +51,9 @@ export class Job extends pulumi.CustomResource { * @deprecated always_running will be replaced by controlRunState in the next major release. */ public readonly alwaysRunning!: pulumi.Output; + /** + * Configuration block to configure pause status. See continuous Configuration Block. + */ public readonly continuous!: pulumi.Output; /** * (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the `pauseStatus` by stopping the current active run. This flag cannot be set for non-continuous jobs. @@ -80,7 +83,7 @@ export class Job extends pulumi.CustomResource { */ public readonly gitSource!: pulumi.Output; /** - * An optional block that specifies the health conditions for the job (described below). + * An optional block that specifies the health conditions for the job documented below. */ public readonly health!: pulumi.Output; /** @@ -88,7 +91,7 @@ export class Job extends pulumi.CustomResource { */ public readonly jobClusters!: pulumi.Output; /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ public readonly libraries!: pulumi.Output; /** @@ -118,6 +121,9 @@ export class Job extends pulumi.CustomResource { * An optional block controlling the notification settings on the job level documented below. */ public readonly notificationSettings!: pulumi.Output; + /** + * Specifices job parameter for the job. See parameter Configuration Block + */ public readonly parameters!: pulumi.Output; /** * @deprecated should be used inside a task block and not inside a job block @@ -127,6 +133,9 @@ export class Job extends pulumi.CustomResource { * @deprecated should be used inside a task block and not inside a job block */ public readonly pythonWheelTask!: pulumi.Output; + /** + * The queue status for the job. See queue Configuration Block below. + */ public readonly queue!: pulumi.Output; /** * @deprecated should be used inside a task block and not inside a job block @@ -290,6 +299,9 @@ export interface JobState { * @deprecated always_running will be replaced by controlRunState in the next major release. */ alwaysRunning?: pulumi.Input; + /** + * Configuration block to configure pause status. See continuous Configuration Block. + */ continuous?: pulumi.Input; /** * (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the `pauseStatus` by stopping the current active run. This flag cannot be set for non-continuous jobs. @@ -319,7 +331,7 @@ export interface JobState { */ gitSource?: pulumi.Input; /** - * An optional block that specifies the health conditions for the job (described below). + * An optional block that specifies the health conditions for the job documented below. */ health?: pulumi.Input; /** @@ -327,7 +339,7 @@ export interface JobState { */ jobClusters?: pulumi.Input[]>; /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ libraries?: pulumi.Input[]>; /** @@ -357,6 +369,9 @@ export interface JobState { * An optional block controlling the notification settings on the job level documented below. */ notificationSettings?: pulumi.Input; + /** + * Specifices job parameter for the job. See parameter Configuration Block + */ parameters?: pulumi.Input[]>; /** * @deprecated should be used inside a task block and not inside a job block @@ -366,6 +381,9 @@ export interface JobState { * @deprecated should be used inside a task block and not inside a job block */ pythonWheelTask?: pulumi.Input; + /** + * The queue status for the job. See queue Configuration Block below. + */ queue?: pulumi.Input; /** * @deprecated should be used inside a task block and not inside a job block @@ -431,6 +449,9 @@ export interface JobArgs { * @deprecated always_running will be replaced by controlRunState in the next major release. */ alwaysRunning?: pulumi.Input; + /** + * Configuration block to configure pause status. See continuous Configuration Block. + */ continuous?: pulumi.Input; /** * (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the `pauseStatus` by stopping the current active run. This flag cannot be set for non-continuous jobs. @@ -460,7 +481,7 @@ export interface JobArgs { */ gitSource?: pulumi.Input; /** - * An optional block that specifies the health conditions for the job (described below). + * An optional block that specifies the health conditions for the job documented below. */ health?: pulumi.Input; /** @@ -468,7 +489,7 @@ export interface JobArgs { */ jobClusters?: pulumi.Input[]>; /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ libraries?: pulumi.Input[]>; /** @@ -498,6 +519,9 @@ export interface JobArgs { * An optional block controlling the notification settings on the job level documented below. */ notificationSettings?: pulumi.Input; + /** + * Specifices job parameter for the job. See parameter Configuration Block + */ parameters?: pulumi.Input[]>; /** * @deprecated should be used inside a task block and not inside a job block @@ -507,6 +531,9 @@ export interface JobArgs { * @deprecated should be used inside a task block and not inside a job block */ pythonWheelTask?: pulumi.Input; + /** + * The queue status for the job. See queue Configuration Block below. + */ queue?: pulumi.Input; /** * @deprecated should be used inside a task block and not inside a job block diff --git a/sdk/nodejs/sqlTable.ts b/sdk/nodejs/sqlTable.ts index 195cbf0c..94805ec5 100644 --- a/sdk/nodejs/sqlTable.ts +++ b/sdk/nodejs/sqlTable.ts @@ -77,6 +77,10 @@ export class SqlTable extends pulumi.CustomResource { * Map of user defined table options. Change forces creation of a new resource. */ public readonly options!: pulumi.Output<{[key: string]: any} | undefined>; + /** + * Username/groupname/sp applicationId of the schema owner. + */ + public readonly owner!: pulumi.Output; /** * a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `clusterKeys`. */ @@ -131,6 +135,7 @@ export class SqlTable extends pulumi.CustomResource { resourceInputs["dataSourceFormat"] = state ? state.dataSourceFormat : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["options"] = state ? state.options : undefined; + resourceInputs["owner"] = state ? state.owner : undefined; resourceInputs["partitions"] = state ? state.partitions : undefined; resourceInputs["properties"] = state ? state.properties : undefined; resourceInputs["schemaName"] = state ? state.schemaName : undefined; @@ -158,6 +163,7 @@ export class SqlTable extends pulumi.CustomResource { resourceInputs["dataSourceFormat"] = args ? args.dataSourceFormat : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["owner"] = args ? args.owner : undefined; resourceInputs["partitions"] = args ? args.partitions : undefined; resourceInputs["properties"] = args ? args.properties : undefined; resourceInputs["schemaName"] = args ? args.schemaName : undefined; @@ -202,6 +208,10 @@ export interface SqlTableState { * Map of user defined table options. Change forces creation of a new resource. */ options?: pulumi.Input<{[key: string]: any}>; + /** + * Username/groupname/sp applicationId of the schema owner. + */ + owner?: pulumi.Input; /** * a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `clusterKeys`. */ @@ -266,6 +276,10 @@ export interface SqlTableArgs { * Map of user defined table options. Change forces creation of a new resource. */ options?: pulumi.Input<{[key: string]: any}>; + /** + * Username/groupname/sp applicationId of the schema owner. + */ + owner?: pulumi.Input; /** * a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `clusterKeys`. */ diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 859b867e..1ed5cec0 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -32,6 +32,7 @@ "getAwsBucketPolicy.ts", "getAwsCrossAccountPolicy.ts", "getAwsUnityCatalogPolicy.ts", + "getCatalog.ts", "getCatalogs.ts", "getCluster.ts", "getClusterPolicy.ts", @@ -51,6 +52,7 @@ "getJobs.ts", "getMetastore.ts", "getMetastores.ts", + "getMlflowExperiment.ts", "getMlflowModel.ts", "getMwsCredentials.ts", "getMwsWorkspaces.ts", @@ -68,6 +70,7 @@ "getSqlWarehouses.ts", "getStorageCredential.ts", "getStorageCredentials.ts", + "getTable.ts", "getTables.ts", "getUser.ts", "getViews.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index b9a642cd..1c110659 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -408,6 +408,212 @@ export interface ExternalLocationEncryptionDetailsSseEncryptionDetails { awsKmsKeyArn?: pulumi.Input; } +export interface GetCatalogCatalogInfo { + browseOnly?: boolean; + /** + * Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + */ + catalogType?: string; + /** + * Free-form text description + */ + comment?: string; + /** + * The name of the connection to an external data source. + */ + connectionName?: string; + /** + * Time at which this catalog was created, in epoch milliseconds. + */ + createdAt?: number; + /** + * Username of catalog creator. + */ + createdBy?: string; + /** + * object describing applied predictive optimization flag. + */ + effectivePredictiveOptimizationFlag?: inputs.GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag; + /** + * Whether predictive optimization should be enabled for this object and objects under it. + */ + enablePredictiveOptimization?: string; + /** + * The full name of the catalog. Corresponds with the name field. + */ + fullName?: string; + /** + * Whether the current securable is accessible from all workspaces or a specific set of workspaces. + */ + isolationMode?: string; + /** + * Unique identifier of parent metastore. + */ + metastoreId?: string; + /** + * name of the catalog + */ + name?: string; + /** + * A map of key-value properties attached to the securable. + */ + options?: {[key: string]: any}; + /** + * Current owner of the catalog + */ + owner?: string; + /** + * A map of key-value properties attached to the securable. + */ + properties?: {[key: string]: any}; + /** + * The name of delta sharing provider. + */ + providerName?: string; + provisioningInfo?: inputs.GetCatalogCatalogInfoProvisioningInfo; + /** + * Kind of catalog securable. + */ + securableKind?: string; + /** + * Securable type. + */ + securableType?: string; + /** + * The name of the share under the share provider. + */ + shareName?: string; + /** + * Storage Location URL (full path) for managed tables within catalog. + */ + storageLocation?: string; + /** + * Storage root URL for managed tables within catalog. + */ + storageRoot?: string; + /** + * Time at which this catalog was last modified, in epoch milliseconds. + */ + updatedAt?: number; + /** + * Username of user who last modified catalog. + */ + updatedBy?: string; +} + +export interface GetCatalogCatalogInfoArgs { + browseOnly?: pulumi.Input; + /** + * Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + */ + catalogType?: pulumi.Input; + /** + * Free-form text description + */ + comment?: pulumi.Input; + /** + * The name of the connection to an external data source. + */ + connectionName?: pulumi.Input; + /** + * Time at which this catalog was created, in epoch milliseconds. + */ + createdAt?: pulumi.Input; + /** + * Username of catalog creator. + */ + createdBy?: pulumi.Input; + /** + * object describing applied predictive optimization flag. + */ + effectivePredictiveOptimizationFlag?: pulumi.Input; + /** + * Whether predictive optimization should be enabled for this object and objects under it. + */ + enablePredictiveOptimization?: pulumi.Input; + /** + * The full name of the catalog. Corresponds with the name field. + */ + fullName?: pulumi.Input; + /** + * Whether the current securable is accessible from all workspaces or a specific set of workspaces. + */ + isolationMode?: pulumi.Input; + /** + * Unique identifier of parent metastore. + */ + metastoreId?: pulumi.Input; + /** + * name of the catalog + */ + name?: pulumi.Input; + /** + * A map of key-value properties attached to the securable. + */ + options?: pulumi.Input<{[key: string]: any}>; + /** + * Current owner of the catalog + */ + owner?: pulumi.Input; + /** + * A map of key-value properties attached to the securable. + */ + properties?: pulumi.Input<{[key: string]: any}>; + /** + * The name of delta sharing provider. + */ + providerName?: pulumi.Input; + provisioningInfo?: pulumi.Input; + /** + * Kind of catalog securable. + */ + securableKind?: pulumi.Input; + /** + * Securable type. + */ + securableType?: pulumi.Input; + /** + * The name of the share under the share provider. + */ + shareName?: pulumi.Input; + /** + * Storage Location URL (full path) for managed tables within catalog. + */ + storageLocation?: pulumi.Input; + /** + * Storage root URL for managed tables within catalog. + */ + storageRoot?: 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; +} + +export interface GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { + inheritedFromName?: string; + inheritedFromType?: string; + value: string; +} + +export interface GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs { + inheritedFromName?: pulumi.Input; + inheritedFromType?: pulumi.Input; + value: pulumi.Input; +} + +export interface GetCatalogCatalogInfoProvisioningInfo { + state?: string; +} + +export interface GetCatalogCatalogInfoProvisioningInfoArgs { + state?: pulumi.Input; +} + export interface GetClusterClusterInfo { autoscale?: inputs.GetClusterClusterInfoAutoscale; /** @@ -4110,6 +4316,16 @@ export interface GetMetastoreMetastoreInfoArgs { updatedBy?: pulumi.Input; } +export interface GetMlflowExperimentTag { + key?: string; + value?: string; +} + +export interface GetMlflowExperimentTagArgs { + key?: pulumi.Input; + value?: pulumi.Input; +} + export interface GetMlflowModelLatestVersion { creationTimestamp?: number; currentStage?: string; @@ -4504,6 +4720,332 @@ export interface GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAc email?: pulumi.Input; } +export interface GetTableTableInfo { + accessPoint?: string; + browseOnly?: boolean; + /** + * Name of parent catalog. + */ + catalogName?: string; + /** + * Array of ColumnInfo objects of the table's columns + */ + columns?: inputs.GetTableTableInfoColumn[]; + /** + * Free-form text description + */ + comment?: string; + createdAt?: number; + createdBy?: string; + dataAccessConfigurationId?: string; + /** + * Table format, e.g. DELTA, CSV, JSON + */ + dataSourceFormat?: string; + deletedAt?: number; + deltaRuntimePropertiesKvpairs?: inputs.GetTableTableInfoDeltaRuntimePropertiesKvpairs; + effectivePredictiveOptimizationFlag?: inputs.GetTableTableInfoEffectivePredictiveOptimizationFlag; + enablePredictiveOptimization?: string; + encryptionDetails?: inputs.GetTableTableInfoEncryptionDetails; + fullName?: string; + metastoreId?: string; + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name?: string; + /** + * Current owner of the table + */ + owner?: string; + pipelineId?: string; + properties?: {[key: string]: any}; + rowFilter?: inputs.GetTableTableInfoRowFilter; + /** + * Name of parent schema relative to its parent catalog. + */ + schemaName?: string; + sqlPath?: string; + storageCredentialName?: string; + storageLocation?: string; + tableConstraints?: inputs.GetTableTableInfoTableConstraint[]; + tableId?: string; + /** + * Table type, e.g. MANAGED, EXTERNAL, VIEW + */ + tableType?: string; + updatedAt?: number; + updatedBy?: string; + /** + * View definition SQL (when `tableType` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + */ + viewDefinition?: string; + /** + * View dependencies (when `tableType` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + */ + viewDependencies?: inputs.GetTableTableInfoViewDependencies; +} + +export interface GetTableTableInfoArgs { + accessPoint?: pulumi.Input; + browseOnly?: pulumi.Input; + /** + * Name of parent catalog. + */ + catalogName?: pulumi.Input; + /** + * Array of ColumnInfo objects of the table's columns + */ + columns?: pulumi.Input[]>; + /** + * Free-form text description + */ + comment?: pulumi.Input; + createdAt?: pulumi.Input; + createdBy?: pulumi.Input; + dataAccessConfigurationId?: pulumi.Input; + /** + * Table format, e.g. DELTA, CSV, JSON + */ + dataSourceFormat?: pulumi.Input; + deletedAt?: pulumi.Input; + deltaRuntimePropertiesKvpairs?: pulumi.Input; + effectivePredictiveOptimizationFlag?: pulumi.Input; + enablePredictiveOptimization?: pulumi.Input; + encryptionDetails?: pulumi.Input; + fullName?: pulumi.Input; + metastoreId?: pulumi.Input; + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name?: pulumi.Input; + /** + * Current owner of the table + */ + owner?: pulumi.Input; + pipelineId?: pulumi.Input; + properties?: pulumi.Input<{[key: string]: any}>; + rowFilter?: pulumi.Input; + /** + * Name of parent schema relative to its parent catalog. + */ + schemaName?: pulumi.Input; + sqlPath?: pulumi.Input; + storageCredentialName?: pulumi.Input; + storageLocation?: pulumi.Input; + tableConstraints?: pulumi.Input[]>; + tableId?: pulumi.Input; + /** + * Table type, e.g. MANAGED, EXTERNAL, VIEW + */ + tableType?: pulumi.Input; + updatedAt?: pulumi.Input; + updatedBy?: pulumi.Input; + /** + * View definition SQL (when `tableType` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + */ + viewDefinition?: pulumi.Input; + /** + * View dependencies (when `tableType` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + */ + viewDependencies?: pulumi.Input; +} + +export interface GetTableTableInfoColumn { + /** + * Free-form text description + */ + comment?: string; + mask?: inputs.GetTableTableInfoColumnMask; + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name?: string; + nullable?: boolean; + partitionIndex?: number; + position?: number; + typeIntervalType?: string; + typeJson?: string; + typeName?: string; + typePrecision?: number; + typeScale?: number; + typeText?: string; +} + +export interface GetTableTableInfoColumnArgs { + /** + * Free-form text description + */ + comment?: pulumi.Input; + mask?: pulumi.Input; + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name?: pulumi.Input; + nullable?: pulumi.Input; + partitionIndex?: pulumi.Input; + position?: pulumi.Input; + typeIntervalType?: pulumi.Input; + typeJson?: pulumi.Input; + typeName?: pulumi.Input; + typePrecision?: pulumi.Input; + typeScale?: pulumi.Input; + typeText?: pulumi.Input; +} + +export interface GetTableTableInfoColumnMask { + functionName?: string; + usingColumnNames?: string[]; +} + +export interface GetTableTableInfoColumnMaskArgs { + functionName?: pulumi.Input; + usingColumnNames?: pulumi.Input[]>; +} + +export interface GetTableTableInfoDeltaRuntimePropertiesKvpairs { + deltaRuntimeProperties: {[key: string]: any}; +} + +export interface GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs { + deltaRuntimeProperties: pulumi.Input<{[key: string]: any}>; +} + +export interface GetTableTableInfoEffectivePredictiveOptimizationFlag { + inheritedFromName?: string; + inheritedFromType?: string; + value: string; +} + +export interface GetTableTableInfoEffectivePredictiveOptimizationFlagArgs { + inheritedFromName?: pulumi.Input; + inheritedFromType?: pulumi.Input; + value: pulumi.Input; +} + +export interface GetTableTableInfoEncryptionDetails { + sseEncryptionDetails?: inputs.GetTableTableInfoEncryptionDetailsSseEncryptionDetails; +} + +export interface GetTableTableInfoEncryptionDetailsArgs { + sseEncryptionDetails?: pulumi.Input; +} + +export interface GetTableTableInfoEncryptionDetailsSseEncryptionDetails { + algorithm?: string; + awsKmsKeyArn?: string; +} + +export interface GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs { + algorithm?: pulumi.Input; + awsKmsKeyArn?: pulumi.Input; +} + +export interface GetTableTableInfoRowFilter { + functionName: string; + inputColumnNames: string[]; +} + +export interface GetTableTableInfoRowFilterArgs { + functionName: pulumi.Input; + inputColumnNames: pulumi.Input[]>; +} + +export interface GetTableTableInfoTableConstraint { + foreignKeyConstraint?: inputs.GetTableTableInfoTableConstraintForeignKeyConstraint; + namedTableConstraint?: inputs.GetTableTableInfoTableConstraintNamedTableConstraint; + primaryKeyConstraint?: inputs.GetTableTableInfoTableConstraintPrimaryKeyConstraint; +} + +export interface GetTableTableInfoTableConstraintArgs { + foreignKeyConstraint?: pulumi.Input; + namedTableConstraint?: pulumi.Input; + primaryKeyConstraint?: pulumi.Input; +} + +export interface GetTableTableInfoTableConstraintForeignKeyConstraint { + childColumns: string[]; + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name: string; + parentColumns: string[]; + parentTable: string; +} + +export interface GetTableTableInfoTableConstraintForeignKeyConstraintArgs { + childColumns: pulumi.Input[]>; + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name: pulumi.Input; + parentColumns: pulumi.Input[]>; + parentTable: pulumi.Input; +} + +export interface GetTableTableInfoTableConstraintNamedTableConstraint { + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name: string; +} + +export interface GetTableTableInfoTableConstraintNamedTableConstraintArgs { + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name: pulumi.Input; +} + +export interface GetTableTableInfoTableConstraintPrimaryKeyConstraint { + childColumns: string[]; + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name: string; +} + +export interface GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs { + childColumns: pulumi.Input[]>; + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name: pulumi.Input; +} + +export interface GetTableTableInfoViewDependencies { + dependencies?: inputs.GetTableTableInfoViewDependenciesDependency[]; +} + +export interface GetTableTableInfoViewDependenciesArgs { + dependencies?: pulumi.Input[]>; +} + +export interface GetTableTableInfoViewDependenciesDependency { + function?: inputs.GetTableTableInfoViewDependenciesDependencyFunction; + table?: inputs.GetTableTableInfoViewDependenciesDependencyTable; +} + +export interface GetTableTableInfoViewDependenciesDependencyArgs { + function?: pulumi.Input; + table?: pulumi.Input; +} + +export interface GetTableTableInfoViewDependenciesDependencyFunction { + functionFullName: string; +} + +export interface GetTableTableInfoViewDependenciesDependencyFunctionArgs { + functionFullName: pulumi.Input; +} + +export interface GetTableTableInfoViewDependenciesDependencyTable { + tableFullName: string; +} + +export interface GetTableTableInfoViewDependenciesDependencyTableArgs { + tableFullName: pulumi.Input; +} + export interface GrantsGrant { principal: pulumi.Input; privileges: pulumi.Input[]>; @@ -4797,7 +5339,7 @@ export interface JobJobClusterNewCluster { initScripts?: pulumi.Input[]>; instancePoolId?: pulumi.Input; /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ libraries?: pulumi.Input[]>; nodeTypeId?: pulumi.Input; @@ -5029,7 +5571,7 @@ export interface JobNewCluster { initScripts?: pulumi.Input[]>; instancePoolId?: pulumi.Input; /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ libraries?: pulumi.Input[]>; nodeTypeId?: pulumi.Input; @@ -5799,7 +6341,7 @@ export interface JobTaskForEachTaskTaskNewCluster { initScripts?: pulumi.Input[]>; instancePoolId?: pulumi.Input; /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ libraries?: pulumi.Input[]>; nodeTypeId?: pulumi.Input; @@ -6361,7 +6903,7 @@ export interface JobTaskNewCluster { initScripts?: pulumi.Input[]>; instancePoolId?: pulumi.Input; /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ libraries?: pulumi.Input[]>; nodeTypeId?: pulumi.Input; diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index a6504177..20eacd5b 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -408,6 +408,109 @@ export interface ExternalLocationEncryptionDetailsSseEncryptionDetails { awsKmsKeyArn?: string; } +export interface GetCatalogCatalogInfo { + browseOnly?: boolean; + /** + * Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + */ + catalogType?: string; + /** + * Free-form text description + */ + comment?: string; + /** + * The name of the connection to an external data source. + */ + connectionName?: string; + /** + * Time at which this catalog was created, in epoch milliseconds. + */ + createdAt?: number; + /** + * Username of catalog creator. + */ + createdBy?: string; + /** + * object describing applied predictive optimization flag. + */ + effectivePredictiveOptimizationFlag?: outputs.GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag; + /** + * Whether predictive optimization should be enabled for this object and objects under it. + */ + enablePredictiveOptimization?: string; + /** + * The full name of the catalog. Corresponds with the name field. + */ + fullName?: string; + /** + * Whether the current securable is accessible from all workspaces or a specific set of workspaces. + */ + isolationMode?: string; + /** + * Unique identifier of parent metastore. + */ + metastoreId?: string; + /** + * name of the catalog + */ + name?: string; + /** + * A map of key-value properties attached to the securable. + */ + options?: {[key: string]: any}; + /** + * Current owner of the catalog + */ + owner?: string; + /** + * A map of key-value properties attached to the securable. + */ + properties?: {[key: string]: any}; + /** + * The name of delta sharing provider. + */ + providerName?: string; + provisioningInfo?: outputs.GetCatalogCatalogInfoProvisioningInfo; + /** + * Kind of catalog securable. + */ + securableKind?: string; + /** + * Securable type. + */ + securableType?: string; + /** + * The name of the share under the share provider. + */ + shareName?: string; + /** + * Storage Location URL (full path) for managed tables within catalog. + */ + storageLocation?: string; + /** + * Storage root URL for managed tables within catalog. + */ + storageRoot?: string; + /** + * Time at which this catalog was last modified, in epoch milliseconds. + */ + updatedAt?: number; + /** + * Username of user who last modified catalog. + */ + updatedBy?: string; +} + +export interface GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { + inheritedFromName?: string; + inheritedFromType?: string; + value: string; +} + +export interface GetCatalogCatalogInfoProvisioningInfo { + state?: string; +} + export interface GetClusterClusterInfo { autoscale?: outputs.GetClusterClusterInfoAutoscale; /** @@ -2267,6 +2370,11 @@ export interface GetMetastoreMetastoreInfo { updatedBy?: string; } +export interface GetMlflowExperimentTag { + key?: string; + value?: string; +} + export interface GetMlflowModelLatestVersion { creationTimestamp?: number; currentStage?: string; @@ -2472,6 +2580,169 @@ export interface GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAc email?: string; } +export interface GetTableTableInfo { + accessPoint?: string; + browseOnly?: boolean; + /** + * Name of parent catalog. + */ + catalogName?: string; + /** + * Array of ColumnInfo objects of the table's columns + */ + columns?: outputs.GetTableTableInfoColumn[]; + /** + * Free-form text description + */ + comment?: string; + createdAt?: number; + createdBy?: string; + dataAccessConfigurationId?: string; + /** + * Table format, e.g. DELTA, CSV, JSON + */ + dataSourceFormat?: string; + deletedAt?: number; + deltaRuntimePropertiesKvpairs?: outputs.GetTableTableInfoDeltaRuntimePropertiesKvpairs; + effectivePredictiveOptimizationFlag?: outputs.GetTableTableInfoEffectivePredictiveOptimizationFlag; + enablePredictiveOptimization?: string; + encryptionDetails?: outputs.GetTableTableInfoEncryptionDetails; + fullName?: string; + metastoreId?: string; + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name?: string; + /** + * Current owner of the table + */ + owner?: string; + pipelineId?: string; + properties?: {[key: string]: any}; + rowFilter?: outputs.GetTableTableInfoRowFilter; + /** + * Name of parent schema relative to its parent catalog. + */ + schemaName?: string; + sqlPath?: string; + storageCredentialName?: string; + storageLocation?: string; + tableConstraints?: outputs.GetTableTableInfoTableConstraint[]; + tableId?: string; + /** + * Table type, e.g. MANAGED, EXTERNAL, VIEW + */ + tableType?: string; + updatedAt?: number; + updatedBy?: string; + /** + * View definition SQL (when `tableType` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + */ + viewDefinition?: string; + /** + * View dependencies (when `tableType` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + */ + viewDependencies?: outputs.GetTableTableInfoViewDependencies; +} + +export interface GetTableTableInfoColumn { + /** + * Free-form text description + */ + comment?: string; + mask?: outputs.GetTableTableInfoColumnMask; + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name?: string; + nullable?: boolean; + partitionIndex?: number; + position?: number; + typeIntervalType?: string; + typeJson?: string; + typeName?: string; + typePrecision?: number; + typeScale?: number; + typeText?: string; +} + +export interface GetTableTableInfoColumnMask { + functionName?: string; + usingColumnNames?: string[]; +} + +export interface GetTableTableInfoDeltaRuntimePropertiesKvpairs { + deltaRuntimeProperties: {[key: string]: any}; +} + +export interface GetTableTableInfoEffectivePredictiveOptimizationFlag { + inheritedFromName?: string; + inheritedFromType?: string; + value: string; +} + +export interface GetTableTableInfoEncryptionDetails { + sseEncryptionDetails?: outputs.GetTableTableInfoEncryptionDetailsSseEncryptionDetails; +} + +export interface GetTableTableInfoEncryptionDetailsSseEncryptionDetails { + algorithm?: string; + awsKmsKeyArn?: string; +} + +export interface GetTableTableInfoRowFilter { + functionName: string; + inputColumnNames: string[]; +} + +export interface GetTableTableInfoTableConstraint { + foreignKeyConstraint?: outputs.GetTableTableInfoTableConstraintForeignKeyConstraint; + namedTableConstraint?: outputs.GetTableTableInfoTableConstraintNamedTableConstraint; + primaryKeyConstraint?: outputs.GetTableTableInfoTableConstraintPrimaryKeyConstraint; +} + +export interface GetTableTableInfoTableConstraintForeignKeyConstraint { + childColumns: string[]; + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name: string; + parentColumns: string[]; + parentTable: string; +} + +export interface GetTableTableInfoTableConstraintNamedTableConstraint { + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name: string; +} + +export interface GetTableTableInfoTableConstraintPrimaryKeyConstraint { + childColumns: string[]; + /** + * Full name of the databricks_table: _`catalog`.`schema`.`table`_ + */ + name: string; +} + +export interface GetTableTableInfoViewDependencies { + dependencies?: outputs.GetTableTableInfoViewDependenciesDependency[]; +} + +export interface GetTableTableInfoViewDependenciesDependency { + function?: outputs.GetTableTableInfoViewDependenciesDependencyFunction; + table?: outputs.GetTableTableInfoViewDependenciesDependencyTable; +} + +export interface GetTableTableInfoViewDependenciesDependencyFunction { + functionFullName: string; +} + +export interface GetTableTableInfoViewDependenciesDependencyTable { + tableFullName: string; +} + export interface GrantsGrant { principal: string; privileges: string[]; @@ -2765,7 +3036,7 @@ export interface JobJobClusterNewCluster { initScripts?: outputs.JobJobClusterNewClusterInitScript[]; instancePoolId?: string; /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ libraries?: outputs.JobJobClusterNewClusterLibrary[]; nodeTypeId: string; @@ -2997,7 +3268,7 @@ export interface JobNewCluster { initScripts?: outputs.JobNewClusterInitScript[]; instancePoolId?: string; /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ libraries?: outputs.JobNewClusterLibrary[]; nodeTypeId: string; @@ -3767,7 +4038,7 @@ export interface JobTaskForEachTaskTaskNewCluster { initScripts?: outputs.JobTaskForEachTaskTaskNewClusterInitScript[]; instancePoolId?: string; /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ libraries?: outputs.JobTaskForEachTaskTaskNewClusterLibrary[]; nodeTypeId: string; @@ -4329,7 +4600,7 @@ export interface JobTaskNewCluster { initScripts?: outputs.JobTaskNewClusterInitScript[]; instancePoolId?: string; /** - * (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. + * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ libraries?: outputs.JobTaskNewClusterLibrary[]; nodeTypeId: string; diff --git a/sdk/python/pulumi_databricks/__init__.py b/sdk/python/pulumi_databricks/__init__.py index 337825d3..6bede4ae 100644 --- a/sdk/python/pulumi_databricks/__init__.py +++ b/sdk/python/pulumi_databricks/__init__.py @@ -22,6 +22,7 @@ from .get_aws_bucket_policy import * from .get_aws_cross_account_policy import * from .get_aws_unity_catalog_policy import * +from .get_catalog import * from .get_catalogs import * from .get_cluster import * from .get_cluster_policy import * @@ -41,6 +42,7 @@ from .get_jobs import * from .get_metastore import * from .get_metastores import * +from .get_mlflow_experiment import * from .get_mlflow_model import * from .get_mws_credentials import * from .get_mws_workspaces import * @@ -58,6 +60,7 @@ from .get_sql_warehouses import * from .get_storage_credential import * from .get_storage_credentials import * +from .get_table import * from .get_tables import * from .get_user import * from .get_views import * diff --git a/sdk/python/pulumi_databricks/_inputs.py b/sdk/python/pulumi_databricks/_inputs.py index 907eef53..c5765ebe 100644 --- a/sdk/python/pulumi_databricks/_inputs.py +++ b/sdk/python/pulumi_databricks/_inputs.py @@ -420,6 +420,9 @@ 'VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs', 'VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs', 'VectorSearchIndexStatusArgs', + 'GetCatalogCatalogInfoArgs', + 'GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs', + 'GetCatalogCatalogInfoProvisioningInfoArgs', 'GetClusterClusterInfoArgs', 'GetClusterClusterInfoAutoscaleArgs', 'GetClusterClusterInfoAwsAttributesArgs', @@ -651,6 +654,7 @@ 'GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs', 'GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs', 'GetMetastoreMetastoreInfoArgs', + 'GetMlflowExperimentTagArgs', 'GetMlflowModelLatestVersionArgs', 'GetMlflowModelLatestVersionTagArgs', 'GetMlflowModelTagArgs', @@ -669,6 +673,22 @@ 'GetStorageCredentialStorageCredentialInfoAzureServicePrincipalArgs', 'GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs', 'GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs', + 'GetTableTableInfoArgs', + 'GetTableTableInfoColumnArgs', + 'GetTableTableInfoColumnMaskArgs', + 'GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs', + 'GetTableTableInfoEffectivePredictiveOptimizationFlagArgs', + 'GetTableTableInfoEncryptionDetailsArgs', + 'GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs', + 'GetTableTableInfoRowFilterArgs', + 'GetTableTableInfoTableConstraintArgs', + 'GetTableTableInfoTableConstraintForeignKeyConstraintArgs', + 'GetTableTableInfoTableConstraintNamedTableConstraintArgs', + 'GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs', + 'GetTableTableInfoViewDependenciesArgs', + 'GetTableTableInfoViewDependenciesDependencyArgs', + 'GetTableTableInfoViewDependenciesDependencyFunctionArgs', + 'GetTableTableInfoViewDependenciesDependencyTableArgs', ] @pulumi.input_type @@ -3515,7 +3535,7 @@ def __init__(__self__, *, ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, workload_type: Optional[pulumi.Input['JobJobClusterNewClusterWorkloadTypeArgs']] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + :param pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ pulumi.set(__self__, "spark_version", spark_version) if apply_policy_default_values is not None: @@ -3783,7 +3803,7 @@ def instance_pool_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterLibraryArgs']]]]: """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ return pulumi.get(self, "libraries") @@ -5193,7 +5213,7 @@ def __init__(__self__, *, ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, workload_type: Optional[pulumi.Input['JobNewClusterWorkloadTypeArgs']] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['JobNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + :param pulumi.Input[Sequence[pulumi.Input['JobNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ pulumi.set(__self__, "spark_version", spark_version) if apply_policy_default_values is not None: @@ -5461,7 +5481,7 @@ def instance_pool_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterLibraryArgs']]]]: """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ return pulumi.get(self, "libraries") @@ -9022,7 +9042,7 @@ def __init__(__self__, *, ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, workload_type: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs']] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ pulumi.set(__self__, "spark_version", spark_version) if apply_policy_default_values is not None: @@ -9290,7 +9310,7 @@ def instance_pool_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryArgs']]]]: """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ return pulumi.get(self, "libraries") @@ -11893,7 +11913,7 @@ def __init__(__self__, *, ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, workload_type: Optional[pulumi.Input['JobTaskNewClusterWorkloadTypeArgs']] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + :param pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ pulumi.set(__self__, "spark_version", spark_version) if apply_policy_default_values is not None: @@ -12161,7 +12181,7 @@ def instance_pool_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterLibraryArgs']]]]: """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ return pulumi.get(self, "libraries") @@ -22130,6 +22150,446 @@ def ready(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "ready", value) +@pulumi.input_type +class GetCatalogCatalogInfoArgs: + def __init__(__self__, *, + browse_only: Optional[bool] = None, + catalog_type: Optional[str] = None, + comment: Optional[str] = None, + connection_name: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + effective_predictive_optimization_flag: Optional['GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs'] = None, + enable_predictive_optimization: Optional[str] = None, + full_name: Optional[str] = None, + isolation_mode: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + options: Optional[Mapping[str, Any]] = None, + owner: Optional[str] = None, + properties: Optional[Mapping[str, Any]] = None, + provider_name: Optional[str] = None, + provisioning_info: Optional['GetCatalogCatalogInfoProvisioningInfoArgs'] = None, + securable_kind: Optional[str] = None, + securable_type: Optional[str] = None, + share_name: Optional[str] = None, + storage_location: Optional[str] = None, + storage_root: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None): + """ + :param str catalog_type: Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + :param str comment: Free-form text description + :param str connection_name: The name of the connection to an external data source. + :param int created_at: Time at which this catalog was created, in epoch milliseconds. + :param str created_by: Username of catalog creator. + :param 'GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs' effective_predictive_optimization_flag: object describing applied predictive optimization flag. + :param str enable_predictive_optimization: Whether predictive optimization should be enabled for this object and objects under it. + :param str full_name: The full name of the catalog. Corresponds with the name field. + :param str isolation_mode: Whether the current securable is accessible from all workspaces or a specific set of workspaces. + :param str metastore_id: Unique identifier of parent metastore. + :param str name: name of the catalog + :param Mapping[str, Any] options: A map of key-value properties attached to the securable. + :param str owner: Current owner of the catalog + :param Mapping[str, Any] properties: A map of key-value properties attached to the securable. + :param str provider_name: The name of delta sharing provider. + :param str securable_kind: Kind of catalog securable. + :param str securable_type: Securable type. + :param str share_name: The name of the share under the share provider. + :param str storage_location: Storage Location URL (full path) for managed tables within catalog. + :param str storage_root: Storage root URL for managed tables within catalog. + :param int updated_at: Time at which this catalog was last modified, in epoch milliseconds. + :param str updated_by: Username of user who last modified catalog. + """ + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if catalog_type is not None: + pulumi.set(__self__, "catalog_type", catalog_type) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if connection_name is not None: + pulumi.set(__self__, "connection_name", connection_name) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if effective_predictive_optimization_flag is not None: + pulumi.set(__self__, "effective_predictive_optimization_flag", effective_predictive_optimization_flag) + if enable_predictive_optimization is not None: + pulumi.set(__self__, "enable_predictive_optimization", enable_predictive_optimization) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if isolation_mode is not None: + pulumi.set(__self__, "isolation_mode", isolation_mode) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if options is not None: + pulumi.set(__self__, "options", options) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if provider_name is not None: + pulumi.set(__self__, "provider_name", provider_name) + if provisioning_info is not None: + pulumi.set(__self__, "provisioning_info", provisioning_info) + if securable_kind is not None: + pulumi.set(__self__, "securable_kind", securable_kind) + if securable_type is not None: + pulumi.set(__self__, "securable_type", securable_type) + if share_name is not None: + pulumi.set(__self__, "share_name", share_name) + if storage_location is not None: + pulumi.set(__self__, "storage_location", storage_location) + if storage_root is not None: + pulumi.set(__self__, "storage_root", storage_root) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + + @property + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + return pulumi.get(self, "browse_only") + + @browse_only.setter + def browse_only(self, value: Optional[bool]): + pulumi.set(self, "browse_only", value) + + @property + @pulumi.getter(name="catalogType") + def catalog_type(self) -> Optional[str]: + """ + Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + """ + return pulumi.get(self, "catalog_type") + + @catalog_type.setter + def catalog_type(self, value: Optional[str]): + pulumi.set(self, "catalog_type", value) + + @property + @pulumi.getter + def comment(self) -> Optional[str]: + """ + Free-form text description + """ + return pulumi.get(self, "comment") + + @comment.setter + def comment(self, value: Optional[str]): + pulumi.set(self, "comment", value) + + @property + @pulumi.getter(name="connectionName") + def connection_name(self) -> Optional[str]: + """ + The name of the connection to an external data source. + """ + return pulumi.get(self, "connection_name") + + @connection_name.setter + def connection_name(self, value: Optional[str]): + pulumi.set(self, "connection_name", value) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + """ + Time at which this catalog was created, in epoch milliseconds. + """ + return pulumi.get(self, "created_at") + + @created_at.setter + def created_at(self, value: Optional[int]): + pulumi.set(self, "created_at", value) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + Username of catalog creator. + """ + return pulumi.get(self, "created_by") + + @created_by.setter + def created_by(self, value: Optional[str]): + pulumi.set(self, "created_by", value) + + @property + @pulumi.getter(name="effectivePredictiveOptimizationFlag") + def effective_predictive_optimization_flag(self) -> Optional['GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs']: + """ + object describing applied predictive optimization flag. + """ + return pulumi.get(self, "effective_predictive_optimization_flag") + + @effective_predictive_optimization_flag.setter + def effective_predictive_optimization_flag(self, value: Optional['GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs']): + pulumi.set(self, "effective_predictive_optimization_flag", value) + + @property + @pulumi.getter(name="enablePredictiveOptimization") + def enable_predictive_optimization(self) -> Optional[str]: + """ + Whether predictive optimization should be enabled for this object and objects under it. + """ + return pulumi.get(self, "enable_predictive_optimization") + + @enable_predictive_optimization.setter + def enable_predictive_optimization(self, value: Optional[str]): + pulumi.set(self, "enable_predictive_optimization", value) + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + """ + The full name of the catalog. Corresponds with the name field. + """ + return pulumi.get(self, "full_name") + + @full_name.setter + def full_name(self, value: Optional[str]): + pulumi.set(self, "full_name", value) + + @property + @pulumi.getter(name="isolationMode") + def isolation_mode(self) -> Optional[str]: + """ + Whether the current securable is accessible from all workspaces or a specific set of workspaces. + """ + return pulumi.get(self, "isolation_mode") + + @isolation_mode.setter + def isolation_mode(self, value: Optional[str]): + pulumi.set(self, "isolation_mode", value) + + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + Unique identifier of parent metastore. + """ + return pulumi.get(self, "metastore_id") + + @metastore_id.setter + def metastore_id(self, value: Optional[str]): + pulumi.set(self, "metastore_id", value) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + name of the catalog + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def options(self) -> Optional[Mapping[str, Any]]: + """ + A map of key-value properties attached to the securable. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[Mapping[str, Any]]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def owner(self) -> Optional[str]: + """ + Current owner of the catalog + """ + return pulumi.get(self, "owner") + + @owner.setter + def owner(self, value: Optional[str]): + pulumi.set(self, "owner", value) + + @property + @pulumi.getter + def properties(self) -> Optional[Mapping[str, Any]]: + """ + A map of key-value properties attached to the securable. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[Mapping[str, Any]]): + pulumi.set(self, "properties", value) + + @property + @pulumi.getter(name="providerName") + def provider_name(self) -> Optional[str]: + """ + The name of delta sharing provider. + """ + return pulumi.get(self, "provider_name") + + @provider_name.setter + def provider_name(self, value: Optional[str]): + pulumi.set(self, "provider_name", value) + + @property + @pulumi.getter(name="provisioningInfo") + def provisioning_info(self) -> Optional['GetCatalogCatalogInfoProvisioningInfoArgs']: + return pulumi.get(self, "provisioning_info") + + @provisioning_info.setter + def provisioning_info(self, value: Optional['GetCatalogCatalogInfoProvisioningInfoArgs']): + pulumi.set(self, "provisioning_info", value) + + @property + @pulumi.getter(name="securableKind") + def securable_kind(self) -> Optional[str]: + """ + Kind of catalog securable. + """ + return pulumi.get(self, "securable_kind") + + @securable_kind.setter + def securable_kind(self, value: Optional[str]): + pulumi.set(self, "securable_kind", value) + + @property + @pulumi.getter(name="securableType") + def securable_type(self) -> Optional[str]: + """ + Securable type. + """ + return pulumi.get(self, "securable_type") + + @securable_type.setter + def securable_type(self, value: Optional[str]): + pulumi.set(self, "securable_type", value) + + @property + @pulumi.getter(name="shareName") + def share_name(self) -> Optional[str]: + """ + The name of the share under the share provider. + """ + return pulumi.get(self, "share_name") + + @share_name.setter + def share_name(self, value: Optional[str]): + pulumi.set(self, "share_name", value) + + @property + @pulumi.getter(name="storageLocation") + def storage_location(self) -> Optional[str]: + """ + Storage Location URL (full path) for managed tables within catalog. + """ + return pulumi.get(self, "storage_location") + + @storage_location.setter + def storage_location(self, value: Optional[str]): + pulumi.set(self, "storage_location", value) + + @property + @pulumi.getter(name="storageRoot") + def storage_root(self) -> Optional[str]: + """ + Storage root URL for managed tables within catalog. + """ + return pulumi.get(self, "storage_root") + + @storage_root.setter + def storage_root(self, value: Optional[str]): + pulumi.set(self, "storage_root", value) + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + """ + Time at which this catalog was last modified, in epoch milliseconds. + """ + return pulumi.get(self, "updated_at") + + @updated_at.setter + def updated_at(self, value: Optional[int]): + pulumi.set(self, "updated_at", value) + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + """ + Username of user who last modified catalog. + """ + return pulumi.get(self, "updated_by") + + @updated_by.setter + def updated_by(self, value: Optional[str]): + pulumi.set(self, "updated_by", value) + + +@pulumi.input_type +class GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs: + def __init__(__self__, *, + value: str, + inherited_from_name: Optional[str] = None, + inherited_from_type: Optional[str] = None): + pulumi.set(__self__, "value", value) + if inherited_from_name is not None: + pulumi.set(__self__, "inherited_from_name", inherited_from_name) + if inherited_from_type is not None: + pulumi.set(__self__, "inherited_from_type", inherited_from_type) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: str): + pulumi.set(self, "value", value) + + @property + @pulumi.getter(name="inheritedFromName") + def inherited_from_name(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_name") + + @inherited_from_name.setter + def inherited_from_name(self, value: Optional[str]): + pulumi.set(self, "inherited_from_name", value) + + @property + @pulumi.getter(name="inheritedFromType") + def inherited_from_type(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_type") + + @inherited_from_type.setter + def inherited_from_type(self, value: Optional[str]): + pulumi.set(self, "inherited_from_type", value) + + +@pulumi.input_type +class GetCatalogCatalogInfoProvisioningInfoArgs: + def __init__(__self__, *, + state: Optional[str] = None): + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> Optional[str]: + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[str]): + pulumi.set(self, "state", value) + + @pulumi.input_type class GetClusterClusterInfoArgs: def __init__(__self__, *, @@ -34806,6 +35266,35 @@ def updated_by(self, value: Optional[str]): pulumi.set(self, "updated_by", value) +@pulumi.input_type +class GetMlflowExperimentTagArgs: + def __init__(__self__, *, + key: Optional[str] = None, + value: Optional[str] = None): + if key is not None: + pulumi.set(__self__, "key", key) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> Optional[str]: + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def value(self) -> Optional[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[str]): + pulumi.set(self, "value", value) + + @pulumi.input_type class GetMlflowModelLatestVersionArgs: def __init__(__self__, *, @@ -35942,3 +36431,980 @@ def email(self, value: Optional[str]): pulumi.set(self, "email", value) +@pulumi.input_type +class GetTableTableInfoArgs: + def __init__(__self__, *, + access_point: Optional[str] = None, + browse_only: Optional[bool] = None, + catalog_name: Optional[str] = None, + columns: Optional[Sequence['GetTableTableInfoColumnArgs']] = None, + comment: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + data_access_configuration_id: Optional[str] = None, + data_source_format: Optional[str] = None, + deleted_at: Optional[int] = None, + delta_runtime_properties_kvpairs: Optional['GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs'] = None, + effective_predictive_optimization_flag: Optional['GetTableTableInfoEffectivePredictiveOptimizationFlagArgs'] = None, + enable_predictive_optimization: Optional[str] = None, + encryption_details: Optional['GetTableTableInfoEncryptionDetailsArgs'] = None, + full_name: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + owner: Optional[str] = None, + pipeline_id: Optional[str] = None, + properties: Optional[Mapping[str, Any]] = None, + row_filter: Optional['GetTableTableInfoRowFilterArgs'] = None, + schema_name: Optional[str] = None, + sql_path: Optional[str] = None, + storage_credential_name: Optional[str] = None, + storage_location: Optional[str] = None, + table_constraints: Optional[Sequence['GetTableTableInfoTableConstraintArgs']] = None, + table_id: Optional[str] = None, + table_type: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None, + view_definition: Optional[str] = None, + view_dependencies: Optional['GetTableTableInfoViewDependenciesArgs'] = None): + """ + :param str catalog_name: Name of parent catalog. + :param Sequence['GetTableTableInfoColumnArgs'] columns: Array of ColumnInfo objects of the table's columns + :param str comment: Free-form text description + :param str data_source_format: Table format, e.g. DELTA, CSV, JSON + :param str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_ + :param str owner: Current owner of the table + :param str schema_name: Name of parent schema relative to its parent catalog. + :param str table_type: Table type, e.g. MANAGED, EXTERNAL, VIEW + :param str view_definition: View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + :param 'GetTableTableInfoViewDependenciesArgs' view_dependencies: View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + """ + if access_point is not None: + pulumi.set(__self__, "access_point", access_point) + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if catalog_name is not None: + pulumi.set(__self__, "catalog_name", catalog_name) + if columns is not None: + pulumi.set(__self__, "columns", columns) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if data_access_configuration_id is not None: + pulumi.set(__self__, "data_access_configuration_id", data_access_configuration_id) + if data_source_format is not None: + pulumi.set(__self__, "data_source_format", data_source_format) + if deleted_at is not None: + pulumi.set(__self__, "deleted_at", deleted_at) + if delta_runtime_properties_kvpairs is not None: + pulumi.set(__self__, "delta_runtime_properties_kvpairs", delta_runtime_properties_kvpairs) + if effective_predictive_optimization_flag is not None: + pulumi.set(__self__, "effective_predictive_optimization_flag", effective_predictive_optimization_flag) + if enable_predictive_optimization is not None: + pulumi.set(__self__, "enable_predictive_optimization", enable_predictive_optimization) + if encryption_details is not None: + pulumi.set(__self__, "encryption_details", encryption_details) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if pipeline_id is not None: + pulumi.set(__self__, "pipeline_id", pipeline_id) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if row_filter is not None: + pulumi.set(__self__, "row_filter", row_filter) + if schema_name is not None: + pulumi.set(__self__, "schema_name", schema_name) + if sql_path is not None: + pulumi.set(__self__, "sql_path", sql_path) + if storage_credential_name is not None: + pulumi.set(__self__, "storage_credential_name", storage_credential_name) + if storage_location is not None: + pulumi.set(__self__, "storage_location", storage_location) + if table_constraints is not None: + pulumi.set(__self__, "table_constraints", table_constraints) + if table_id is not None: + pulumi.set(__self__, "table_id", table_id) + if table_type is not None: + pulumi.set(__self__, "table_type", table_type) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + if view_definition is not None: + pulumi.set(__self__, "view_definition", view_definition) + if view_dependencies is not None: + pulumi.set(__self__, "view_dependencies", view_dependencies) + + @property + @pulumi.getter(name="accessPoint") + def access_point(self) -> Optional[str]: + return pulumi.get(self, "access_point") + + @access_point.setter + def access_point(self, value: Optional[str]): + pulumi.set(self, "access_point", value) + + @property + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + return pulumi.get(self, "browse_only") + + @browse_only.setter + def browse_only(self, value: Optional[bool]): + pulumi.set(self, "browse_only", value) + + @property + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[str]: + """ + Name of parent catalog. + """ + return pulumi.get(self, "catalog_name") + + @catalog_name.setter + def catalog_name(self, value: Optional[str]): + pulumi.set(self, "catalog_name", value) + + @property + @pulumi.getter + def columns(self) -> Optional[Sequence['GetTableTableInfoColumnArgs']]: + """ + Array of ColumnInfo objects of the table's columns + """ + return pulumi.get(self, "columns") + + @columns.setter + def columns(self, value: Optional[Sequence['GetTableTableInfoColumnArgs']]): + pulumi.set(self, "columns", value) + + @property + @pulumi.getter + def comment(self) -> Optional[str]: + """ + Free-form text description + """ + return pulumi.get(self, "comment") + + @comment.setter + def comment(self, value: Optional[str]): + pulumi.set(self, "comment", value) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + return pulumi.get(self, "created_at") + + @created_at.setter + def created_at(self, value: Optional[int]): + pulumi.set(self, "created_at", value) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + return pulumi.get(self, "created_by") + + @created_by.setter + def created_by(self, value: Optional[str]): + pulumi.set(self, "created_by", value) + + @property + @pulumi.getter(name="dataAccessConfigurationId") + def data_access_configuration_id(self) -> Optional[str]: + return pulumi.get(self, "data_access_configuration_id") + + @data_access_configuration_id.setter + def data_access_configuration_id(self, value: Optional[str]): + pulumi.set(self, "data_access_configuration_id", value) + + @property + @pulumi.getter(name="dataSourceFormat") + def data_source_format(self) -> Optional[str]: + """ + Table format, e.g. DELTA, CSV, JSON + """ + return pulumi.get(self, "data_source_format") + + @data_source_format.setter + def data_source_format(self, value: Optional[str]): + pulumi.set(self, "data_source_format", value) + + @property + @pulumi.getter(name="deletedAt") + def deleted_at(self) -> Optional[int]: + return pulumi.get(self, "deleted_at") + + @deleted_at.setter + def deleted_at(self, value: Optional[int]): + pulumi.set(self, "deleted_at", value) + + @property + @pulumi.getter(name="deltaRuntimePropertiesKvpairs") + def delta_runtime_properties_kvpairs(self) -> Optional['GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs']: + return pulumi.get(self, "delta_runtime_properties_kvpairs") + + @delta_runtime_properties_kvpairs.setter + def delta_runtime_properties_kvpairs(self, value: Optional['GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs']): + pulumi.set(self, "delta_runtime_properties_kvpairs", value) + + @property + @pulumi.getter(name="effectivePredictiveOptimizationFlag") + def effective_predictive_optimization_flag(self) -> Optional['GetTableTableInfoEffectivePredictiveOptimizationFlagArgs']: + return pulumi.get(self, "effective_predictive_optimization_flag") + + @effective_predictive_optimization_flag.setter + def effective_predictive_optimization_flag(self, value: Optional['GetTableTableInfoEffectivePredictiveOptimizationFlagArgs']): + pulumi.set(self, "effective_predictive_optimization_flag", value) + + @property + @pulumi.getter(name="enablePredictiveOptimization") + def enable_predictive_optimization(self) -> Optional[str]: + return pulumi.get(self, "enable_predictive_optimization") + + @enable_predictive_optimization.setter + def enable_predictive_optimization(self, value: Optional[str]): + pulumi.set(self, "enable_predictive_optimization", value) + + @property + @pulumi.getter(name="encryptionDetails") + def encryption_details(self) -> Optional['GetTableTableInfoEncryptionDetailsArgs']: + return pulumi.get(self, "encryption_details") + + @encryption_details.setter + def encryption_details(self, value: Optional['GetTableTableInfoEncryptionDetailsArgs']): + pulumi.set(self, "encryption_details", value) + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + return pulumi.get(self, "full_name") + + @full_name.setter + def full_name(self, value: Optional[str]): + pulumi.set(self, "full_name", value) + + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + return pulumi.get(self, "metastore_id") + + @metastore_id.setter + def metastore_id(self, value: Optional[str]): + pulumi.set(self, "metastore_id", value) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def owner(self) -> Optional[str]: + """ + Current owner of the table + """ + return pulumi.get(self, "owner") + + @owner.setter + def owner(self, value: Optional[str]): + pulumi.set(self, "owner", value) + + @property + @pulumi.getter(name="pipelineId") + def pipeline_id(self) -> Optional[str]: + return pulumi.get(self, "pipeline_id") + + @pipeline_id.setter + def pipeline_id(self, value: Optional[str]): + pulumi.set(self, "pipeline_id", value) + + @property + @pulumi.getter + def properties(self) -> Optional[Mapping[str, Any]]: + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[Mapping[str, Any]]): + pulumi.set(self, "properties", value) + + @property + @pulumi.getter(name="rowFilter") + def row_filter(self) -> Optional['GetTableTableInfoRowFilterArgs']: + return pulumi.get(self, "row_filter") + + @row_filter.setter + def row_filter(self, value: Optional['GetTableTableInfoRowFilterArgs']): + pulumi.set(self, "row_filter", value) + + @property + @pulumi.getter(name="schemaName") + def schema_name(self) -> Optional[str]: + """ + Name of parent schema relative to its parent catalog. + """ + return pulumi.get(self, "schema_name") + + @schema_name.setter + def schema_name(self, value: Optional[str]): + pulumi.set(self, "schema_name", value) + + @property + @pulumi.getter(name="sqlPath") + def sql_path(self) -> Optional[str]: + return pulumi.get(self, "sql_path") + + @sql_path.setter + def sql_path(self, value: Optional[str]): + pulumi.set(self, "sql_path", value) + + @property + @pulumi.getter(name="storageCredentialName") + def storage_credential_name(self) -> Optional[str]: + return pulumi.get(self, "storage_credential_name") + + @storage_credential_name.setter + def storage_credential_name(self, value: Optional[str]): + pulumi.set(self, "storage_credential_name", value) + + @property + @pulumi.getter(name="storageLocation") + def storage_location(self) -> Optional[str]: + return pulumi.get(self, "storage_location") + + @storage_location.setter + def storage_location(self, value: Optional[str]): + pulumi.set(self, "storage_location", value) + + @property + @pulumi.getter(name="tableConstraints") + def table_constraints(self) -> Optional[Sequence['GetTableTableInfoTableConstraintArgs']]: + return pulumi.get(self, "table_constraints") + + @table_constraints.setter + def table_constraints(self, value: Optional[Sequence['GetTableTableInfoTableConstraintArgs']]): + pulumi.set(self, "table_constraints", value) + + @property + @pulumi.getter(name="tableId") + def table_id(self) -> Optional[str]: + return pulumi.get(self, "table_id") + + @table_id.setter + def table_id(self, value: Optional[str]): + pulumi.set(self, "table_id", value) + + @property + @pulumi.getter(name="tableType") + def table_type(self) -> Optional[str]: + """ + Table type, e.g. MANAGED, EXTERNAL, VIEW + """ + return pulumi.get(self, "table_type") + + @table_type.setter + def table_type(self, value: Optional[str]): + pulumi.set(self, "table_type", value) + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + return pulumi.get(self, "updated_at") + + @updated_at.setter + def updated_at(self, value: Optional[int]): + pulumi.set(self, "updated_at", value) + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + return pulumi.get(self, "updated_by") + + @updated_by.setter + def updated_by(self, value: Optional[str]): + pulumi.set(self, "updated_by", value) + + @property + @pulumi.getter(name="viewDefinition") + def view_definition(self) -> Optional[str]: + """ + View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + """ + return pulumi.get(self, "view_definition") + + @view_definition.setter + def view_definition(self, value: Optional[str]): + pulumi.set(self, "view_definition", value) + + @property + @pulumi.getter(name="viewDependencies") + def view_dependencies(self) -> Optional['GetTableTableInfoViewDependenciesArgs']: + """ + View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + """ + return pulumi.get(self, "view_dependencies") + + @view_dependencies.setter + def view_dependencies(self, value: Optional['GetTableTableInfoViewDependenciesArgs']): + pulumi.set(self, "view_dependencies", value) + + +@pulumi.input_type +class GetTableTableInfoColumnArgs: + def __init__(__self__, *, + comment: Optional[str] = None, + mask: Optional['GetTableTableInfoColumnMaskArgs'] = None, + name: Optional[str] = None, + nullable: Optional[bool] = None, + partition_index: Optional[int] = None, + position: Optional[int] = None, + type_interval_type: Optional[str] = None, + type_json: Optional[str] = None, + type_name: Optional[str] = None, + type_precision: Optional[int] = None, + type_scale: Optional[int] = None, + type_text: Optional[str] = None): + """ + :param str comment: Free-form text description + :param str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + if comment is not None: + pulumi.set(__self__, "comment", comment) + if mask is not None: + pulumi.set(__self__, "mask", mask) + if name is not None: + pulumi.set(__self__, "name", name) + if nullable is not None: + pulumi.set(__self__, "nullable", nullable) + if partition_index is not None: + pulumi.set(__self__, "partition_index", partition_index) + if position is not None: + pulumi.set(__self__, "position", position) + if type_interval_type is not None: + pulumi.set(__self__, "type_interval_type", type_interval_type) + if type_json is not None: + pulumi.set(__self__, "type_json", type_json) + if type_name is not None: + pulumi.set(__self__, "type_name", type_name) + if type_precision is not None: + pulumi.set(__self__, "type_precision", type_precision) + if type_scale is not None: + pulumi.set(__self__, "type_scale", type_scale) + if type_text is not None: + pulumi.set(__self__, "type_text", type_text) + + @property + @pulumi.getter + def comment(self) -> Optional[str]: + """ + Free-form text description + """ + return pulumi.get(self, "comment") + + @comment.setter + def comment(self, value: Optional[str]): + pulumi.set(self, "comment", value) + + @property + @pulumi.getter + def mask(self) -> Optional['GetTableTableInfoColumnMaskArgs']: + return pulumi.get(self, "mask") + + @mask.setter + def mask(self, value: Optional['GetTableTableInfoColumnMaskArgs']): + pulumi.set(self, "mask", value) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def nullable(self) -> Optional[bool]: + return pulumi.get(self, "nullable") + + @nullable.setter + def nullable(self, value: Optional[bool]): + pulumi.set(self, "nullable", value) + + @property + @pulumi.getter(name="partitionIndex") + def partition_index(self) -> Optional[int]: + return pulumi.get(self, "partition_index") + + @partition_index.setter + def partition_index(self, value: Optional[int]): + pulumi.set(self, "partition_index", value) + + @property + @pulumi.getter + def position(self) -> Optional[int]: + return pulumi.get(self, "position") + + @position.setter + def position(self, value: Optional[int]): + pulumi.set(self, "position", value) + + @property + @pulumi.getter(name="typeIntervalType") + def type_interval_type(self) -> Optional[str]: + return pulumi.get(self, "type_interval_type") + + @type_interval_type.setter + def type_interval_type(self, value: Optional[str]): + pulumi.set(self, "type_interval_type", value) + + @property + @pulumi.getter(name="typeJson") + def type_json(self) -> Optional[str]: + return pulumi.get(self, "type_json") + + @type_json.setter + def type_json(self, value: Optional[str]): + pulumi.set(self, "type_json", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> Optional[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: Optional[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="typePrecision") + def type_precision(self) -> Optional[int]: + return pulumi.get(self, "type_precision") + + @type_precision.setter + def type_precision(self, value: Optional[int]): + pulumi.set(self, "type_precision", value) + + @property + @pulumi.getter(name="typeScale") + def type_scale(self) -> Optional[int]: + return pulumi.get(self, "type_scale") + + @type_scale.setter + def type_scale(self, value: Optional[int]): + pulumi.set(self, "type_scale", value) + + @property + @pulumi.getter(name="typeText") + def type_text(self) -> Optional[str]: + return pulumi.get(self, "type_text") + + @type_text.setter + def type_text(self, value: Optional[str]): + pulumi.set(self, "type_text", value) + + +@pulumi.input_type +class GetTableTableInfoColumnMaskArgs: + def __init__(__self__, *, + function_name: Optional[str] = None, + using_column_names: Optional[Sequence[str]] = None): + if function_name is not None: + pulumi.set(__self__, "function_name", function_name) + if using_column_names is not None: + pulumi.set(__self__, "using_column_names", using_column_names) + + @property + @pulumi.getter(name="functionName") + def function_name(self) -> Optional[str]: + return pulumi.get(self, "function_name") + + @function_name.setter + def function_name(self, value: Optional[str]): + pulumi.set(self, "function_name", value) + + @property + @pulumi.getter(name="usingColumnNames") + def using_column_names(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "using_column_names") + + @using_column_names.setter + def using_column_names(self, value: Optional[Sequence[str]]): + pulumi.set(self, "using_column_names", value) + + +@pulumi.input_type +class GetTableTableInfoDeltaRuntimePropertiesKvpairsArgs: + def __init__(__self__, *, + delta_runtime_properties: Mapping[str, Any]): + pulumi.set(__self__, "delta_runtime_properties", delta_runtime_properties) + + @property + @pulumi.getter(name="deltaRuntimeProperties") + def delta_runtime_properties(self) -> Mapping[str, Any]: + return pulumi.get(self, "delta_runtime_properties") + + @delta_runtime_properties.setter + def delta_runtime_properties(self, value: Mapping[str, Any]): + pulumi.set(self, "delta_runtime_properties", value) + + +@pulumi.input_type +class GetTableTableInfoEffectivePredictiveOptimizationFlagArgs: + def __init__(__self__, *, + value: str, + inherited_from_name: Optional[str] = None, + inherited_from_type: Optional[str] = None): + pulumi.set(__self__, "value", value) + if inherited_from_name is not None: + pulumi.set(__self__, "inherited_from_name", inherited_from_name) + if inherited_from_type is not None: + pulumi.set(__self__, "inherited_from_type", inherited_from_type) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: str): + pulumi.set(self, "value", value) + + @property + @pulumi.getter(name="inheritedFromName") + def inherited_from_name(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_name") + + @inherited_from_name.setter + def inherited_from_name(self, value: Optional[str]): + pulumi.set(self, "inherited_from_name", value) + + @property + @pulumi.getter(name="inheritedFromType") + def inherited_from_type(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_type") + + @inherited_from_type.setter + def inherited_from_type(self, value: Optional[str]): + pulumi.set(self, "inherited_from_type", value) + + +@pulumi.input_type +class GetTableTableInfoEncryptionDetailsArgs: + def __init__(__self__, *, + sse_encryption_details: Optional['GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs'] = None): + if sse_encryption_details is not None: + pulumi.set(__self__, "sse_encryption_details", sse_encryption_details) + + @property + @pulumi.getter(name="sseEncryptionDetails") + def sse_encryption_details(self) -> Optional['GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs']: + return pulumi.get(self, "sse_encryption_details") + + @sse_encryption_details.setter + def sse_encryption_details(self, value: Optional['GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs']): + pulumi.set(self, "sse_encryption_details", value) + + +@pulumi.input_type +class GetTableTableInfoEncryptionDetailsSseEncryptionDetailsArgs: + def __init__(__self__, *, + algorithm: Optional[str] = None, + aws_kms_key_arn: Optional[str] = None): + if algorithm is not None: + pulumi.set(__self__, "algorithm", algorithm) + if aws_kms_key_arn is not None: + pulumi.set(__self__, "aws_kms_key_arn", aws_kms_key_arn) + + @property + @pulumi.getter + def algorithm(self) -> Optional[str]: + return pulumi.get(self, "algorithm") + + @algorithm.setter + def algorithm(self, value: Optional[str]): + pulumi.set(self, "algorithm", value) + + @property + @pulumi.getter(name="awsKmsKeyArn") + def aws_kms_key_arn(self) -> Optional[str]: + return pulumi.get(self, "aws_kms_key_arn") + + @aws_kms_key_arn.setter + def aws_kms_key_arn(self, value: Optional[str]): + pulumi.set(self, "aws_kms_key_arn", value) + + +@pulumi.input_type +class GetTableTableInfoRowFilterArgs: + def __init__(__self__, *, + function_name: str, + input_column_names: Sequence[str]): + pulumi.set(__self__, "function_name", function_name) + pulumi.set(__self__, "input_column_names", input_column_names) + + @property + @pulumi.getter(name="functionName") + def function_name(self) -> str: + return pulumi.get(self, "function_name") + + @function_name.setter + def function_name(self, value: str): + pulumi.set(self, "function_name", value) + + @property + @pulumi.getter(name="inputColumnNames") + def input_column_names(self) -> Sequence[str]: + return pulumi.get(self, "input_column_names") + + @input_column_names.setter + def input_column_names(self, value: Sequence[str]): + pulumi.set(self, "input_column_names", value) + + +@pulumi.input_type +class GetTableTableInfoTableConstraintArgs: + def __init__(__self__, *, + foreign_key_constraint: Optional['GetTableTableInfoTableConstraintForeignKeyConstraintArgs'] = None, + named_table_constraint: Optional['GetTableTableInfoTableConstraintNamedTableConstraintArgs'] = None, + primary_key_constraint: Optional['GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs'] = None): + if foreign_key_constraint is not None: + pulumi.set(__self__, "foreign_key_constraint", foreign_key_constraint) + if named_table_constraint is not None: + pulumi.set(__self__, "named_table_constraint", named_table_constraint) + if primary_key_constraint is not None: + pulumi.set(__self__, "primary_key_constraint", primary_key_constraint) + + @property + @pulumi.getter(name="foreignKeyConstraint") + def foreign_key_constraint(self) -> Optional['GetTableTableInfoTableConstraintForeignKeyConstraintArgs']: + return pulumi.get(self, "foreign_key_constraint") + + @foreign_key_constraint.setter + def foreign_key_constraint(self, value: Optional['GetTableTableInfoTableConstraintForeignKeyConstraintArgs']): + pulumi.set(self, "foreign_key_constraint", value) + + @property + @pulumi.getter(name="namedTableConstraint") + def named_table_constraint(self) -> Optional['GetTableTableInfoTableConstraintNamedTableConstraintArgs']: + return pulumi.get(self, "named_table_constraint") + + @named_table_constraint.setter + def named_table_constraint(self, value: Optional['GetTableTableInfoTableConstraintNamedTableConstraintArgs']): + pulumi.set(self, "named_table_constraint", value) + + @property + @pulumi.getter(name="primaryKeyConstraint") + def primary_key_constraint(self) -> Optional['GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs']: + return pulumi.get(self, "primary_key_constraint") + + @primary_key_constraint.setter + def primary_key_constraint(self, value: Optional['GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs']): + pulumi.set(self, "primary_key_constraint", value) + + +@pulumi.input_type +class GetTableTableInfoTableConstraintForeignKeyConstraintArgs: + def __init__(__self__, *, + child_columns: Sequence[str], + name: str, + parent_columns: Sequence[str], + parent_table: str): + """ + :param str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + pulumi.set(__self__, "child_columns", child_columns) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "parent_columns", parent_columns) + pulumi.set(__self__, "parent_table", parent_table) + + @property + @pulumi.getter(name="childColumns") + def child_columns(self) -> Sequence[str]: + return pulumi.get(self, "child_columns") + + @child_columns.setter + def child_columns(self, value: Sequence[str]): + pulumi.set(self, "child_columns", value) + + @property + @pulumi.getter + def name(self) -> str: + """ + Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: str): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="parentColumns") + def parent_columns(self) -> Sequence[str]: + return pulumi.get(self, "parent_columns") + + @parent_columns.setter + def parent_columns(self, value: Sequence[str]): + pulumi.set(self, "parent_columns", value) + + @property + @pulumi.getter(name="parentTable") + def parent_table(self) -> str: + return pulumi.get(self, "parent_table") + + @parent_table.setter + def parent_table(self, value: str): + pulumi.set(self, "parent_table", value) + + +@pulumi.input_type +class GetTableTableInfoTableConstraintNamedTableConstraintArgs: + def __init__(__self__, *, + name: str): + """ + :param str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> str: + """ + Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: str): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class GetTableTableInfoTableConstraintPrimaryKeyConstraintArgs: + def __init__(__self__, *, + child_columns: Sequence[str], + name: str): + """ + :param str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + pulumi.set(__self__, "child_columns", child_columns) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="childColumns") + def child_columns(self) -> Sequence[str]: + return pulumi.get(self, "child_columns") + + @child_columns.setter + def child_columns(self, value: Sequence[str]): + pulumi.set(self, "child_columns", value) + + @property + @pulumi.getter + def name(self) -> str: + """ + Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: str): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class GetTableTableInfoViewDependenciesArgs: + def __init__(__self__, *, + dependencies: Optional[Sequence['GetTableTableInfoViewDependenciesDependencyArgs']] = None): + if dependencies is not None: + pulumi.set(__self__, "dependencies", dependencies) + + @property + @pulumi.getter + def dependencies(self) -> Optional[Sequence['GetTableTableInfoViewDependenciesDependencyArgs']]: + return pulumi.get(self, "dependencies") + + @dependencies.setter + def dependencies(self, value: Optional[Sequence['GetTableTableInfoViewDependenciesDependencyArgs']]): + pulumi.set(self, "dependencies", value) + + +@pulumi.input_type +class GetTableTableInfoViewDependenciesDependencyArgs: + def __init__(__self__, *, + function: Optional['GetTableTableInfoViewDependenciesDependencyFunctionArgs'] = None, + table: Optional['GetTableTableInfoViewDependenciesDependencyTableArgs'] = None): + if function is not None: + pulumi.set(__self__, "function", function) + if table is not None: + pulumi.set(__self__, "table", table) + + @property + @pulumi.getter + def function(self) -> Optional['GetTableTableInfoViewDependenciesDependencyFunctionArgs']: + return pulumi.get(self, "function") + + @function.setter + def function(self, value: Optional['GetTableTableInfoViewDependenciesDependencyFunctionArgs']): + pulumi.set(self, "function", value) + + @property + @pulumi.getter + def table(self) -> Optional['GetTableTableInfoViewDependenciesDependencyTableArgs']: + return pulumi.get(self, "table") + + @table.setter + def table(self, value: Optional['GetTableTableInfoViewDependenciesDependencyTableArgs']): + pulumi.set(self, "table", value) + + +@pulumi.input_type +class GetTableTableInfoViewDependenciesDependencyFunctionArgs: + def __init__(__self__, *, + function_full_name: str): + pulumi.set(__self__, "function_full_name", function_full_name) + + @property + @pulumi.getter(name="functionFullName") + def function_full_name(self) -> str: + return pulumi.get(self, "function_full_name") + + @function_full_name.setter + def function_full_name(self, value: str): + pulumi.set(self, "function_full_name", value) + + +@pulumi.input_type +class GetTableTableInfoViewDependenciesDependencyTableArgs: + def __init__(__self__, *, + table_full_name: str): + pulumi.set(__self__, "table_full_name", table_full_name) + + @property + @pulumi.getter(name="tableFullName") + def table_full_name(self) -> str: + return pulumi.get(self, "table_full_name") + + @table_full_name.setter + def table_full_name(self, value: str): + pulumi.set(self, "table_full_name", value) + + diff --git a/sdk/python/pulumi_databricks/get_catalog.py b/sdk/python/pulumi_databricks/get_catalog.py new file mode 100644 index 00000000..733c953a --- /dev/null +++ b/sdk/python/pulumi_databricks/get_catalog.py @@ -0,0 +1,155 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetCatalogResult', + 'AwaitableGetCatalogResult', + 'get_catalog', + 'get_catalog_output', +] + +@pulumi.output_type +class GetCatalogResult: + """ + A collection of values returned by getCatalog. + """ + def __init__(__self__, catalog_info=None, id=None, name=None): + if catalog_info and not isinstance(catalog_info, dict): + raise TypeError("Expected argument 'catalog_info' to be a dict") + pulumi.set(__self__, "catalog_info", catalog_info) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="catalogInfo") + def catalog_info(self) -> 'outputs.GetCatalogCatalogInfoResult': + """ + the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + """ + return pulumi.get(self, "catalog_info") + + @property + @pulumi.getter + def id(self) -> str: + """ + same as the `name` + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the catalog + """ + return pulumi.get(self, "name") + + +class AwaitableGetCatalogResult(GetCatalogResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCatalogResult( + catalog_info=self.catalog_info, + id=self.id, + name=self.name) + + +def get_catalog(catalog_info: Optional[pulumi.InputType['GetCatalogCatalogInfoArgs']] = None, + id: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCatalogResult: + """ + ## Example Usage + + Read on a specific catalog `test`: + + ```python + import pulumi + import pulumi_databricks as databricks + + test = databricks.get_catalog(name="test") + things = databricks.Grants("things", + catalog=test.name, + grants=[databricks.GrantsGrantArgs( + principal="sensitive", + privileges=["USE_CATALOG"], + )]) + ``` + + ## Related Resources + + The following resources are used in the same context: + + * Grant to manage grants within Unity Catalog. + * get_catalogs to list all catalogs within Unity Catalog metastore. + + + :param pulumi.InputType['GetCatalogCatalogInfoArgs'] catalog_info: the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + :param str id: same as the `name` + :param str name: name of the catalog + """ + __args__ = dict() + __args__['catalogInfo'] = catalog_info + __args__['id'] = id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('databricks:index/getCatalog:getCatalog', __args__, opts=opts, typ=GetCatalogResult).value + + return AwaitableGetCatalogResult( + catalog_info=pulumi.get(__ret__, 'catalog_info'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name')) + + +@_utilities.lift_output_func(get_catalog) +def get_catalog_output(catalog_info: Optional[pulumi.Input[Optional[pulumi.InputType['GetCatalogCatalogInfoArgs']]]] = None, + id: Optional[pulumi.Input[Optional[str]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCatalogResult]: + """ + ## Example Usage + + Read on a specific catalog `test`: + + ```python + import pulumi + import pulumi_databricks as databricks + + test = databricks.get_catalog(name="test") + things = databricks.Grants("things", + catalog=test.name, + grants=[databricks.GrantsGrantArgs( + principal="sensitive", + privileges=["USE_CATALOG"], + )]) + ``` + + ## Related Resources + + The following resources are used in the same context: + + * Grant to manage grants within Unity Catalog. + * get_catalogs to list all catalogs within Unity Catalog metastore. + + + :param pulumi.InputType['GetCatalogCatalogInfoArgs'] catalog_info: the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ): + :param str id: same as the `name` + :param str name: name of the catalog + """ + ... diff --git a/sdk/python/pulumi_databricks/get_mlflow_experiment.py b/sdk/python/pulumi_databricks/get_mlflow_experiment.py new file mode 100644 index 00000000..2522141d --- /dev/null +++ b/sdk/python/pulumi_databricks/get_mlflow_experiment.py @@ -0,0 +1,205 @@ +# 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__ = [ + 'GetMlflowExperimentResult', + 'AwaitableGetMlflowExperimentResult', + 'get_mlflow_experiment', + 'get_mlflow_experiment_output', +] + +@pulumi.output_type +class GetMlflowExperimentResult: + """ + A collection of values returned by getMlflowExperiment. + """ + def __init__(__self__, artifact_location=None, creation_time=None, experiment_id=None, id=None, last_update_time=None, lifecycle_stage=None, name=None, tags=None): + if artifact_location and not isinstance(artifact_location, str): + raise TypeError("Expected argument 'artifact_location' to be a str") + pulumi.set(__self__, "artifact_location", artifact_location) + if creation_time and not isinstance(creation_time, int): + raise TypeError("Expected argument 'creation_time' to be a int") + pulumi.set(__self__, "creation_time", creation_time) + if experiment_id and not isinstance(experiment_id, str): + raise TypeError("Expected argument 'experiment_id' to be a str") + pulumi.set(__self__, "experiment_id", experiment_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if last_update_time and not isinstance(last_update_time, int): + raise TypeError("Expected argument 'last_update_time' to be a int") + pulumi.set(__self__, "last_update_time", last_update_time) + if lifecycle_stage and not isinstance(lifecycle_stage, str): + raise TypeError("Expected argument 'lifecycle_stage' to be a str") + pulumi.set(__self__, "lifecycle_stage", lifecycle_stage) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if tags and not isinstance(tags, list): + raise TypeError("Expected argument 'tags' to be a list") + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="artifactLocation") + def artifact_location(self) -> str: + """ + Location where artifacts for the experiment are stored. + """ + return pulumi.get(self, "artifact_location") + + @property + @pulumi.getter(name="creationTime") + def creation_time(self) -> int: + """ + Creation time in unix time stamp. + """ + return pulumi.get(self, "creation_time") + + @property + @pulumi.getter(name="experimentId") + def experiment_id(self) -> str: + """ + Unique identifier for the experiment. (same as `id`) + """ + return pulumi.get(self, "experiment_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + Unique identifier for the experiment. (same as `experiment_id`) + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lastUpdateTime") + def last_update_time(self) -> int: + """ + Last update time in unix time stamp. + """ + return pulumi.get(self, "last_update_time") + + @property + @pulumi.getter(name="lifecycleStage") + def lifecycle_stage(self) -> str: + """ + Current life cycle stage of the experiment: `active` or `deleted`. + """ + return pulumi.get(self, "lifecycle_stage") + + @property + @pulumi.getter + def name(self) -> str: + """ + Path to experiment. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def tags(self) -> Sequence['outputs.GetMlflowExperimentTagResult']: + """ + Additional metadata key-value pairs. + """ + return pulumi.get(self, "tags") + + +class AwaitableGetMlflowExperimentResult(GetMlflowExperimentResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMlflowExperimentResult( + artifact_location=self.artifact_location, + creation_time=self.creation_time, + experiment_id=self.experiment_id, + id=self.id, + last_update_time=self.last_update_time, + lifecycle_stage=self.lifecycle_stage, + name=self.name, + tags=self.tags) + + +def get_mlflow_experiment(artifact_location: Optional[str] = None, + creation_time: Optional[int] = None, + experiment_id: Optional[str] = None, + id: Optional[str] = None, + last_update_time: Optional[int] = None, + lifecycle_stage: Optional[str] = None, + name: Optional[str] = None, + tags: Optional[Sequence[pulumi.InputType['GetMlflowExperimentTagArgs']]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMlflowExperimentResult: + """ + > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + + Retrieves the settings of MlflowExperiment by id or name. + + + :param str artifact_location: Location where artifacts for the experiment are stored. + :param int creation_time: Creation time in unix time stamp. + :param str experiment_id: Unique identifier for the experiment. + :param str id: Unique identifier for the experiment. (same as `experiment_id`) + :param int last_update_time: Last update time in unix time stamp. + :param str lifecycle_stage: Current life cycle stage of the experiment: `active` or `deleted`. + :param str name: Path to experiment. + :param Sequence[pulumi.InputType['GetMlflowExperimentTagArgs']] tags: Additional metadata key-value pairs. + """ + __args__ = dict() + __args__['artifactLocation'] = artifact_location + __args__['creationTime'] = creation_time + __args__['experimentId'] = experiment_id + __args__['id'] = id + __args__['lastUpdateTime'] = last_update_time + __args__['lifecycleStage'] = lifecycle_stage + __args__['name'] = name + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('databricks:index/getMlflowExperiment:getMlflowExperiment', __args__, opts=opts, typ=GetMlflowExperimentResult).value + + return AwaitableGetMlflowExperimentResult( + artifact_location=pulumi.get(__ret__, 'artifact_location'), + creation_time=pulumi.get(__ret__, 'creation_time'), + experiment_id=pulumi.get(__ret__, 'experiment_id'), + id=pulumi.get(__ret__, 'id'), + last_update_time=pulumi.get(__ret__, 'last_update_time'), + lifecycle_stage=pulumi.get(__ret__, 'lifecycle_stage'), + name=pulumi.get(__ret__, 'name'), + tags=pulumi.get(__ret__, 'tags')) + + +@_utilities.lift_output_func(get_mlflow_experiment) +def get_mlflow_experiment_output(artifact_location: Optional[pulumi.Input[Optional[str]]] = None, + creation_time: Optional[pulumi.Input[Optional[int]]] = None, + experiment_id: Optional[pulumi.Input[Optional[str]]] = None, + id: Optional[pulumi.Input[Optional[str]]] = None, + last_update_time: Optional[pulumi.Input[Optional[int]]] = None, + lifecycle_stage: Optional[pulumi.Input[Optional[str]]] = None, + name: Optional[pulumi.Input[Optional[str]]] = None, + tags: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetMlflowExperimentTagArgs']]]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMlflowExperimentResult]: + """ + > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + + Retrieves the settings of MlflowExperiment by id or name. + + + :param str artifact_location: Location where artifacts for the experiment are stored. + :param int creation_time: Creation time in unix time stamp. + :param str experiment_id: Unique identifier for the experiment. + :param str id: Unique identifier for the experiment. (same as `experiment_id`) + :param int last_update_time: Last update time in unix time stamp. + :param str lifecycle_stage: Current life cycle stage of the experiment: `active` or `deleted`. + :param str name: Path to experiment. + :param Sequence[pulumi.InputType['GetMlflowExperimentTagArgs']] tags: Additional metadata key-value pairs. + """ + ... diff --git a/sdk/python/pulumi_databricks/get_table.py b/sdk/python/pulumi_databricks/get_table.py new file mode 100644 index 00000000..a5139cb0 --- /dev/null +++ b/sdk/python/pulumi_databricks/get_table.py @@ -0,0 +1,156 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetTableResult', + 'AwaitableGetTableResult', + 'get_table', + 'get_table_output', +] + +@pulumi.output_type +class GetTableResult: + """ + A collection of values returned by getTable. + """ + def __init__(__self__, id=None, name=None, table_info=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if table_info and not isinstance(table_info, dict): + raise TypeError("Expected argument 'table_info' to be a dict") + pulumi.set(__self__, "table_info", table_info) + + @property + @pulumi.getter + def id(self) -> str: + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of table, relative to parent schema. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="tableInfo") + def table_info(self) -> 'outputs.GetTableTableInfoResult': + """ + TableInfo object for a Unity Catalog table. This contains the following attributes: + """ + return pulumi.get(self, "table_info") + + +class AwaitableGetTableResult(GetTableResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetTableResult( + id=self.id, + name=self.name, + table_info=self.table_info) + + +def get_table(id: Optional[str] = None, + name: Optional[str] = None, + table_info: Optional[pulumi.InputType['GetTableTableInfoArgs']] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTableResult: + """ + ## Example Usage + + Read on a specific table `main.certified.fct_transactions`: + + ```python + import pulumi + import pulumi_databricks as databricks + + fct_transactions = databricks.get_table(name="main.certified.fct_transactions") + things = databricks.Grants("things", + table=fct_transactions.name, + grants=[databricks.GrantsGrantArgs( + principal="sensitive", + privileges=[ + "SELECT", + "MODIFY", + ], + )]) + ``` + + ## Related Resources + + The following resources are used in the same context: + + * Grant to manage grants within Unity Catalog. + * get_tables to list all tables within a schema in Unity Catalog. + + + :param str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_ + :param pulumi.InputType['GetTableTableInfoArgs'] table_info: TableInfo object for a Unity Catalog table. This contains the following attributes: + """ + __args__ = dict() + __args__['id'] = id + __args__['name'] = name + __args__['tableInfo'] = table_info + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('databricks:index/getTable:getTable', __args__, opts=opts, typ=GetTableResult).value + + return AwaitableGetTableResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + table_info=pulumi.get(__ret__, 'table_info')) + + +@_utilities.lift_output_func(get_table) +def get_table_output(id: Optional[pulumi.Input[Optional[str]]] = None, + name: Optional[pulumi.Input[str]] = None, + table_info: Optional[pulumi.Input[Optional[pulumi.InputType['GetTableTableInfoArgs']]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTableResult]: + """ + ## Example Usage + + Read on a specific table `main.certified.fct_transactions`: + + ```python + import pulumi + import pulumi_databricks as databricks + + fct_transactions = databricks.get_table(name="main.certified.fct_transactions") + things = databricks.Grants("things", + table=fct_transactions.name, + grants=[databricks.GrantsGrantArgs( + principal="sensitive", + privileges=[ + "SELECT", + "MODIFY", + ], + )]) + ``` + + ## Related Resources + + The following resources are used in the same context: + + * Grant to manage grants within Unity Catalog. + * get_tables to list all tables within a schema in Unity Catalog. + + + :param str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_ + :param pulumi.InputType['GetTableTableInfoArgs'] table_info: TableInfo object for a Unity Catalog table. This contains the following attributes: + """ + ... diff --git a/sdk/python/pulumi_databricks/job.py b/sdk/python/pulumi_databricks/job.py index acc0878d..09d6b53a 100644 --- a/sdk/python/pulumi_databricks/job.py +++ b/sdk/python/pulumi_databricks/job.py @@ -57,19 +57,22 @@ def __init__(__self__, *, """ The set of arguments for constructing a Job resource. :param pulumi.Input[bool] always_running: (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with `parameters` specified in `spark_jar_task` or `spark_submit_task` or `spark_python_task` or `notebook_task` blocks. + :param pulumi.Input['JobContinuousArgs'] continuous: Configuration block to configure pause status. See continuous Configuration Block. :param pulumi.Input[bool] control_run_state: (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the `pause_status` by stopping the current active run. This flag cannot be set for non-continuous jobs. When migrating from `always_running` to `control_run_state`, set `continuous` as follows: :param pulumi.Input[str] description: An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding. :param pulumi.Input['JobEmailNotificationsArgs'] email_notifications: (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below. :param pulumi.Input['JobGitSourceArgs'] git_source: Specifices the a Git repository for task source code. See git_source Configuration Block below. - :param pulumi.Input['JobHealthArgs'] health: An optional block that specifies the health conditions for the job (described below). + :param pulumi.Input['JobHealthArgs'] health: An optional block that specifies the health conditions for the job documented below. :param pulumi.Input[Sequence[pulumi.Input['JobJobClusterArgs']]] job_clusters: A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* - :param pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + :param pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. :param pulumi.Input[int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. :param pulumi.Input[int] min_retry_interval_millis: (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. :param pulumi.Input[str] name: An optional name for the job. The default value is Untitled. :param pulumi.Input['JobNotificationSettingsArgs'] notification_settings: An optional block controlling the notification settings on the job level documented below. + :param pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]] parameters: Specifices job parameter for the job. See parameter Configuration Block + :param pulumi.Input['JobQueueArgs'] queue: The queue status for the job. See queue Configuration Block below. :param pulumi.Input['JobRunAsArgs'] run_as: The user or the service prinicipal the job runs as. See run_as Configuration Block below. :param pulumi.Input['JobScheduleArgs'] schedule: (List) An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. This field is a block and is documented below. :param pulumi.Input[Mapping[str, Any]] tags: An optional map of the tags associated with the job. See tags Configuration Map @@ -209,6 +212,9 @@ def always_running(self, value: Optional[pulumi.Input[bool]]): @property @pulumi.getter def continuous(self) -> Optional[pulumi.Input['JobContinuousArgs']]: + """ + Configuration block to configure pause status. See continuous Configuration Block. + """ return pulumi.get(self, "continuous") @continuous.setter @@ -326,7 +332,7 @@ def git_source(self, value: Optional[pulumi.Input['JobGitSourceArgs']]): @pulumi.getter def health(self) -> Optional[pulumi.Input['JobHealthArgs']]: """ - An optional block that specifies the health conditions for the job (described below). + An optional block that specifies the health conditions for the job documented below. """ return pulumi.get(self, "health") @@ -350,7 +356,7 @@ def job_clusters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobJo @pulumi.getter def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]]]: """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ return pulumi.get(self, "libraries") @@ -445,6 +451,9 @@ def notification_settings(self, value: Optional[pulumi.Input['JobNotificationSet @property @pulumi.getter def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]]]: + """ + Specifices job parameter for the job. See parameter Configuration Block + """ return pulumi.get(self, "parameters") @parameters.setter @@ -478,6 +487,9 @@ def python_wheel_task(self, value: Optional[pulumi.Input['JobPythonWheelTaskArgs @property @pulumi.getter def queue(self) -> Optional[pulumi.Input['JobQueueArgs']]: + """ + The queue status for the job. See queue Configuration Block below. + """ return pulumi.get(self, "queue") @queue.setter @@ -674,19 +686,22 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering Job resources. :param pulumi.Input[bool] always_running: (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with `parameters` specified in `spark_jar_task` or `spark_submit_task` or `spark_python_task` or `notebook_task` blocks. + :param pulumi.Input['JobContinuousArgs'] continuous: Configuration block to configure pause status. See continuous Configuration Block. :param pulumi.Input[bool] control_run_state: (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the `pause_status` by stopping the current active run. This flag cannot be set for non-continuous jobs. When migrating from `always_running` to `control_run_state`, set `continuous` as follows: :param pulumi.Input[str] description: An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding. :param pulumi.Input['JobEmailNotificationsArgs'] email_notifications: (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below. :param pulumi.Input['JobGitSourceArgs'] git_source: Specifices the a Git repository for task source code. See git_source Configuration Block below. - :param pulumi.Input['JobHealthArgs'] health: An optional block that specifies the health conditions for the job (described below). + :param pulumi.Input['JobHealthArgs'] health: An optional block that specifies the health conditions for the job documented below. :param pulumi.Input[Sequence[pulumi.Input['JobJobClusterArgs']]] job_clusters: A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* - :param pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + :param pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. :param pulumi.Input[int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. :param pulumi.Input[int] min_retry_interval_millis: (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. :param pulumi.Input[str] name: An optional name for the job. The default value is Untitled. :param pulumi.Input['JobNotificationSettingsArgs'] notification_settings: An optional block controlling the notification settings on the job level documented below. + :param pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]] parameters: Specifices job parameter for the job. See parameter Configuration Block + :param pulumi.Input['JobQueueArgs'] queue: The queue status for the job. See queue Configuration Block below. :param pulumi.Input['JobRunAsArgs'] run_as: The user or the service prinicipal the job runs as. See run_as Configuration Block below. :param pulumi.Input['JobScheduleArgs'] schedule: (List) An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. This field is a block and is documented below. :param pulumi.Input[Mapping[str, Any]] tags: An optional map of the tags associated with the job. See tags Configuration Map @@ -829,6 +844,9 @@ def always_running(self, value: Optional[pulumi.Input[bool]]): @property @pulumi.getter def continuous(self) -> Optional[pulumi.Input['JobContinuousArgs']]: + """ + Configuration block to configure pause status. See continuous Configuration Block. + """ return pulumi.get(self, "continuous") @continuous.setter @@ -946,7 +964,7 @@ def git_source(self, value: Optional[pulumi.Input['JobGitSourceArgs']]): @pulumi.getter def health(self) -> Optional[pulumi.Input['JobHealthArgs']]: """ - An optional block that specifies the health conditions for the job (described below). + An optional block that specifies the health conditions for the job documented below. """ return pulumi.get(self, "health") @@ -970,7 +988,7 @@ def job_clusters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobJo @pulumi.getter def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]]]: """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ return pulumi.get(self, "libraries") @@ -1065,6 +1083,9 @@ def notification_settings(self, value: Optional[pulumi.Input['JobNotificationSet @property @pulumi.getter def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]]]: + """ + Specifices job parameter for the job. See parameter Configuration Block + """ return pulumi.get(self, "parameters") @parameters.setter @@ -1098,6 +1119,9 @@ def python_wheel_task(self, value: Optional[pulumi.Input['JobPythonWheelTaskArgs @property @pulumi.getter def queue(self) -> Optional[pulumi.Input['JobQueueArgs']]: + """ + The queue status for the job. See queue Configuration Block below. + """ return pulumi.get(self, "queue") @queue.setter @@ -1319,19 +1343,22 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] always_running: (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with `parameters` specified in `spark_jar_task` or `spark_submit_task` or `spark_python_task` or `notebook_task` blocks. + :param pulumi.Input[pulumi.InputType['JobContinuousArgs']] continuous: Configuration block to configure pause status. See continuous Configuration Block. :param pulumi.Input[bool] control_run_state: (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the `pause_status` by stopping the current active run. This flag cannot be set for non-continuous jobs. When migrating from `always_running` to `control_run_state`, set `continuous` as follows: :param pulumi.Input[str] description: An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding. :param pulumi.Input[pulumi.InputType['JobEmailNotificationsArgs']] email_notifications: (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below. :param pulumi.Input[pulumi.InputType['JobGitSourceArgs']] git_source: Specifices the a Git repository for task source code. See git_source Configuration Block below. - :param pulumi.Input[pulumi.InputType['JobHealthArgs']] health: An optional block that specifies the health conditions for the job (described below). + :param pulumi.Input[pulumi.InputType['JobHealthArgs']] health: An optional block that specifies the health conditions for the job documented below. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobJobClusterArgs']]]] job_clusters: A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobLibraryArgs']]]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobLibraryArgs']]]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. :param pulumi.Input[int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. :param pulumi.Input[int] min_retry_interval_millis: (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. :param pulumi.Input[str] name: An optional name for the job. The default value is Untitled. :param pulumi.Input[pulumi.InputType['JobNotificationSettingsArgs']] notification_settings: An optional block controlling the notification settings on the job level documented below. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobParameterArgs']]]] parameters: Specifices job parameter for the job. See parameter Configuration Block + :param pulumi.Input[pulumi.InputType['JobQueueArgs']] queue: The queue status for the job. See queue Configuration Block below. :param pulumi.Input[pulumi.InputType['JobRunAsArgs']] run_as: The user or the service prinicipal the job runs as. See run_as Configuration Block below. :param pulumi.Input[pulumi.InputType['JobScheduleArgs']] schedule: (List) An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. This field is a block and is documented below. :param pulumi.Input[Mapping[str, Any]] tags: An optional map of the tags associated with the job. See tags Configuration Map @@ -1515,19 +1542,22 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] always_running: (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with `parameters` specified in `spark_jar_task` or `spark_submit_task` or `spark_python_task` or `notebook_task` blocks. + :param pulumi.Input[pulumi.InputType['JobContinuousArgs']] continuous: Configuration block to configure pause status. See continuous Configuration Block. :param pulumi.Input[bool] control_run_state: (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the `pause_status` by stopping the current active run. This flag cannot be set for non-continuous jobs. When migrating from `always_running` to `control_run_state`, set `continuous` as follows: :param pulumi.Input[str] description: An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding. :param pulumi.Input[pulumi.InputType['JobEmailNotificationsArgs']] email_notifications: (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below. :param pulumi.Input[pulumi.InputType['JobGitSourceArgs']] git_source: Specifices the a Git repository for task source code. See git_source Configuration Block below. - :param pulumi.Input[pulumi.InputType['JobHealthArgs']] health: An optional block that specifies the health conditions for the job (described below). + :param pulumi.Input[pulumi.InputType['JobHealthArgs']] health: An optional block that specifies the health conditions for the job documented below. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobJobClusterArgs']]]] job_clusters: A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobLibraryArgs']]]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobLibraryArgs']]]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. :param pulumi.Input[int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. :param pulumi.Input[int] min_retry_interval_millis: (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. :param pulumi.Input[str] name: An optional name for the job. The default value is Untitled. :param pulumi.Input[pulumi.InputType['JobNotificationSettingsArgs']] notification_settings: An optional block controlling the notification settings on the job level documented below. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobParameterArgs']]]] parameters: Specifices job parameter for the job. See parameter Configuration Block + :param pulumi.Input[pulumi.InputType['JobQueueArgs']] queue: The queue status for the job. See queue Configuration Block below. :param pulumi.Input[pulumi.InputType['JobRunAsArgs']] run_as: The user or the service prinicipal the job runs as. See run_as Configuration Block below. :param pulumi.Input[pulumi.InputType['JobScheduleArgs']] schedule: (List) An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. This field is a block and is documented below. :param pulumi.Input[Mapping[str, Any]] tags: An optional map of the tags associated with the job. See tags Configuration Map @@ -1596,6 +1626,9 @@ def always_running(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter def continuous(self) -> pulumi.Output[Optional['outputs.JobContinuous']]: + """ + Configuration block to configure pause status. See continuous Configuration Block. + """ return pulumi.get(self, "continuous") @property @@ -1669,7 +1702,7 @@ def git_source(self) -> pulumi.Output[Optional['outputs.JobGitSource']]: @pulumi.getter def health(self) -> pulumi.Output[Optional['outputs.JobHealth']]: """ - An optional block that specifies the health conditions for the job (described below). + An optional block that specifies the health conditions for the job documented below. """ return pulumi.get(self, "health") @@ -1685,7 +1718,7 @@ def job_clusters(self) -> pulumi.Output[Optional[Sequence['outputs.JobJobCluster @pulumi.getter def libraries(self) -> pulumi.Output[Optional[Sequence['outputs.JobLibrary']]]: """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ return pulumi.get(self, "libraries") @@ -1748,6 +1781,9 @@ def notification_settings(self) -> pulumi.Output[Optional['outputs.JobNotificati @property @pulumi.getter def parameters(self) -> pulumi.Output[Optional[Sequence['outputs.JobParameter']]]: + """ + Specifices job parameter for the job. See parameter Configuration Block + """ return pulumi.get(self, "parameters") @property @@ -1769,6 +1805,9 @@ def python_wheel_task(self) -> pulumi.Output[Optional['outputs.JobPythonWheelTas @property @pulumi.getter def queue(self) -> pulumi.Output[Optional['outputs.JobQueue']]: + """ + The queue status for the job. See queue Configuration Block below. + """ return pulumi.get(self, "queue") @property diff --git a/sdk/python/pulumi_databricks/outputs.py b/sdk/python/pulumi_databricks/outputs.py index 97185f02..affca8e9 100644 --- a/sdk/python/pulumi_databricks/outputs.py +++ b/sdk/python/pulumi_databricks/outputs.py @@ -421,6 +421,9 @@ 'VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn', 'VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn', 'VectorSearchIndexStatus', + 'GetCatalogCatalogInfoResult', + 'GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult', + 'GetCatalogCatalogInfoProvisioningInfoResult', 'GetClusterClusterInfoResult', 'GetClusterClusterInfoAutoscaleResult', 'GetClusterClusterInfoAwsAttributesResult', @@ -653,6 +656,7 @@ 'GetJobJobSettingsSettingsWebhookNotificationsOnStartResult', 'GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult', 'GetMetastoreMetastoreInfoResult', + 'GetMlflowExperimentTagResult', 'GetMlflowModelLatestVersionResult', 'GetMlflowModelLatestVersionTagResult', 'GetMlflowModelTagResult', @@ -672,6 +676,22 @@ 'GetStorageCredentialStorageCredentialInfoAzureServicePrincipalResult', 'GetStorageCredentialStorageCredentialInfoCloudflareApiTokenResult', 'GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountResult', + 'GetTableTableInfoResult', + 'GetTableTableInfoColumnResult', + 'GetTableTableInfoColumnMaskResult', + 'GetTableTableInfoDeltaRuntimePropertiesKvpairsResult', + 'GetTableTableInfoEffectivePredictiveOptimizationFlagResult', + 'GetTableTableInfoEncryptionDetailsResult', + 'GetTableTableInfoEncryptionDetailsSseEncryptionDetailsResult', + 'GetTableTableInfoRowFilterResult', + 'GetTableTableInfoTableConstraintResult', + 'GetTableTableInfoTableConstraintForeignKeyConstraintResult', + 'GetTableTableInfoTableConstraintNamedTableConstraintResult', + 'GetTableTableInfoTableConstraintPrimaryKeyConstraintResult', + 'GetTableTableInfoViewDependenciesResult', + 'GetTableTableInfoViewDependenciesDependencyResult', + 'GetTableTableInfoViewDependenciesDependencyFunctionResult', + 'GetTableTableInfoViewDependenciesDependencyTableResult', ] @pulumi.output_type @@ -3575,7 +3595,7 @@ def __init__(__self__, *, ssh_public_keys: Optional[Sequence[str]] = None, workload_type: Optional['outputs.JobJobClusterNewClusterWorkloadType'] = None): """ - :param Sequence['JobJobClusterNewClusterLibraryArgs'] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + :param Sequence['JobJobClusterNewClusterLibraryArgs'] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ pulumi.set(__self__, "spark_version", spark_version) if apply_policy_default_values is not None: @@ -3755,7 +3775,7 @@ def instance_pool_id(self) -> Optional[str]: @pulumi.getter def libraries(self) -> Optional[Sequence['outputs.JobJobClusterNewClusterLibrary']]: """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ return pulumi.get(self, "libraries") @@ -5054,7 +5074,7 @@ def __init__(__self__, *, ssh_public_keys: Optional[Sequence[str]] = None, workload_type: Optional['outputs.JobNewClusterWorkloadType'] = None): """ - :param Sequence['JobNewClusterLibraryArgs'] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + :param Sequence['JobNewClusterLibraryArgs'] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ pulumi.set(__self__, "spark_version", spark_version) if apply_policy_default_values is not None: @@ -5234,7 +5254,7 @@ def instance_pool_id(self) -> Optional[str]: @pulumi.getter def libraries(self) -> Optional[Sequence['outputs.JobNewClusterLibrary']]: """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ return pulumi.get(self, "libraries") @@ -8609,7 +8629,7 @@ def __init__(__self__, *, ssh_public_keys: Optional[Sequence[str]] = None, workload_type: Optional['outputs.JobTaskForEachTaskTaskNewClusterWorkloadType'] = None): """ - :param Sequence['JobTaskForEachTaskTaskNewClusterLibraryArgs'] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + :param Sequence['JobTaskForEachTaskTaskNewClusterLibraryArgs'] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ pulumi.set(__self__, "spark_version", spark_version) if apply_policy_default_values is not None: @@ -8789,7 +8809,7 @@ def instance_pool_id(self) -> Optional[str]: @pulumi.getter def libraries(self) -> Optional[Sequence['outputs.JobTaskForEachTaskTaskNewClusterLibrary']]: """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ return pulumi.get(self, "libraries") @@ -11334,7 +11354,7 @@ def __init__(__self__, *, ssh_public_keys: Optional[Sequence[str]] = None, workload_type: Optional['outputs.JobTaskNewClusterWorkloadType'] = None): """ - :param Sequence['JobTaskNewClusterLibraryArgs'] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + :param Sequence['JobTaskNewClusterLibraryArgs'] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ pulumi.set(__self__, "spark_version", spark_version) if apply_policy_default_values is not None: @@ -11514,7 +11534,7 @@ def instance_pool_id(self) -> Optional[str]: @pulumi.getter def libraries(self) -> Optional[Sequence['outputs.JobTaskNewClusterLibrary']]: """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ return pulumi.get(self, "libraries") @@ -21565,6 +21585,334 @@ def ready(self) -> Optional[bool]: return pulumi.get(self, "ready") +@pulumi.output_type +class GetCatalogCatalogInfoResult(dict): + def __init__(__self__, *, + browse_only: Optional[bool] = None, + catalog_type: Optional[str] = None, + comment: Optional[str] = None, + connection_name: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + effective_predictive_optimization_flag: Optional['outputs.GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult'] = None, + enable_predictive_optimization: Optional[str] = None, + full_name: Optional[str] = None, + isolation_mode: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + options: Optional[Mapping[str, Any]] = None, + owner: Optional[str] = None, + properties: Optional[Mapping[str, Any]] = None, + provider_name: Optional[str] = None, + provisioning_info: Optional['outputs.GetCatalogCatalogInfoProvisioningInfoResult'] = None, + securable_kind: Optional[str] = None, + securable_type: Optional[str] = None, + share_name: Optional[str] = None, + storage_location: Optional[str] = None, + storage_root: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None): + """ + :param str catalog_type: Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + :param str comment: Free-form text description + :param str connection_name: The name of the connection to an external data source. + :param int created_at: Time at which this catalog was created, in epoch milliseconds. + :param str created_by: Username of catalog creator. + :param 'GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs' effective_predictive_optimization_flag: object describing applied predictive optimization flag. + :param str enable_predictive_optimization: Whether predictive optimization should be enabled for this object and objects under it. + :param str full_name: The full name of the catalog. Corresponds with the name field. + :param str isolation_mode: Whether the current securable is accessible from all workspaces or a specific set of workspaces. + :param str metastore_id: Unique identifier of parent metastore. + :param str name: name of the catalog + :param Mapping[str, Any] options: A map of key-value properties attached to the securable. + :param str owner: Current owner of the catalog + :param Mapping[str, Any] properties: A map of key-value properties attached to the securable. + :param str provider_name: The name of delta sharing provider. + :param str securable_kind: Kind of catalog securable. + :param str securable_type: Securable type. + :param str share_name: The name of the share under the share provider. + :param str storage_location: Storage Location URL (full path) for managed tables within catalog. + :param str storage_root: Storage root URL for managed tables within catalog. + :param int updated_at: Time at which this catalog was last modified, in epoch milliseconds. + :param str updated_by: Username of user who last modified catalog. + """ + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if catalog_type is not None: + pulumi.set(__self__, "catalog_type", catalog_type) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if connection_name is not None: + pulumi.set(__self__, "connection_name", connection_name) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if effective_predictive_optimization_flag is not None: + pulumi.set(__self__, "effective_predictive_optimization_flag", effective_predictive_optimization_flag) + if enable_predictive_optimization is not None: + pulumi.set(__self__, "enable_predictive_optimization", enable_predictive_optimization) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if isolation_mode is not None: + pulumi.set(__self__, "isolation_mode", isolation_mode) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if options is not None: + pulumi.set(__self__, "options", options) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if provider_name is not None: + pulumi.set(__self__, "provider_name", provider_name) + if provisioning_info is not None: + pulumi.set(__self__, "provisioning_info", provisioning_info) + if securable_kind is not None: + pulumi.set(__self__, "securable_kind", securable_kind) + if securable_type is not None: + pulumi.set(__self__, "securable_type", securable_type) + if share_name is not None: + pulumi.set(__self__, "share_name", share_name) + if storage_location is not None: + pulumi.set(__self__, "storage_location", storage_location) + if storage_root is not None: + pulumi.set(__self__, "storage_root", storage_root) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + + @property + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + return pulumi.get(self, "browse_only") + + @property + @pulumi.getter(name="catalogType") + def catalog_type(self) -> Optional[str]: + """ + Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + """ + return pulumi.get(self, "catalog_type") + + @property + @pulumi.getter + def comment(self) -> Optional[str]: + """ + Free-form text description + """ + return pulumi.get(self, "comment") + + @property + @pulumi.getter(name="connectionName") + def connection_name(self) -> Optional[str]: + """ + The name of the connection to an external data source. + """ + return pulumi.get(self, "connection_name") + + @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="effectivePredictiveOptimizationFlag") + def effective_predictive_optimization_flag(self) -> Optional['outputs.GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult']: + """ + object describing applied predictive optimization flag. + """ + return pulumi.get(self, "effective_predictive_optimization_flag") + + @property + @pulumi.getter(name="enablePredictiveOptimization") + def enable_predictive_optimization(self) -> Optional[str]: + """ + Whether predictive optimization should be enabled for this object and objects under it. + """ + return pulumi.get(self, "enable_predictive_optimization") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + """ + The full name of the catalog. Corresponds with the name field. + """ + return pulumi.get(self, "full_name") + + @property + @pulumi.getter(name="isolationMode") + def isolation_mode(self) -> Optional[str]: + """ + Whether the current securable is accessible from all workspaces or a specific set of workspaces. + """ + return pulumi.get(self, "isolation_mode") + + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + Unique identifier of parent metastore. + """ + return pulumi.get(self, "metastore_id") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + name of the catalog + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional[Mapping[str, Any]]: + """ + A map of key-value properties attached to the securable. + """ + return pulumi.get(self, "options") + + @property + @pulumi.getter + def owner(self) -> Optional[str]: + """ + Current owner of the catalog + """ + return pulumi.get(self, "owner") + + @property + @pulumi.getter + def properties(self) -> Optional[Mapping[str, Any]]: + """ + A map of key-value properties attached to the securable. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="providerName") + def provider_name(self) -> Optional[str]: + """ + The name of delta sharing provider. + """ + return pulumi.get(self, "provider_name") + + @property + @pulumi.getter(name="provisioningInfo") + def provisioning_info(self) -> Optional['outputs.GetCatalogCatalogInfoProvisioningInfoResult']: + return pulumi.get(self, "provisioning_info") + + @property + @pulumi.getter(name="securableKind") + def securable_kind(self) -> Optional[str]: + """ + Kind of catalog securable. + """ + return pulumi.get(self, "securable_kind") + + @property + @pulumi.getter(name="securableType") + def securable_type(self) -> Optional[str]: + """ + Securable type. + """ + return pulumi.get(self, "securable_type") + + @property + @pulumi.getter(name="shareName") + def share_name(self) -> Optional[str]: + """ + The name of the share under the share provider. + """ + return pulumi.get(self, "share_name") + + @property + @pulumi.getter(name="storageLocation") + def storage_location(self) -> Optional[str]: + """ + Storage Location URL (full path) for managed tables within catalog. + """ + return pulumi.get(self, "storage_location") + + @property + @pulumi.getter(name="storageRoot") + def storage_root(self) -> Optional[str]: + """ + Storage root URL for managed tables within catalog. + """ + return pulumi.get(self, "storage_root") + + @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") + + +@pulumi.output_type +class GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult(dict): + def __init__(__self__, *, + value: str, + inherited_from_name: Optional[str] = None, + inherited_from_type: Optional[str] = None): + pulumi.set(__self__, "value", value) + if inherited_from_name is not None: + pulumi.set(__self__, "inherited_from_name", inherited_from_name) + if inherited_from_type is not None: + pulumi.set(__self__, "inherited_from_type", inherited_from_type) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @property + @pulumi.getter(name="inheritedFromName") + def inherited_from_name(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_name") + + @property + @pulumi.getter(name="inheritedFromType") + def inherited_from_type(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_type") + + +@pulumi.output_type +class GetCatalogCatalogInfoProvisioningInfoResult(dict): + def __init__(__self__, *, + state: Optional[str] = None): + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> Optional[str]: + return pulumi.get(self, "state") + + @pulumi.output_type class GetClusterClusterInfoResult(dict): def __init__(__self__, *, @@ -30464,6 +30812,27 @@ def updated_by(self) -> Optional[str]: return pulumi.get(self, "updated_by") +@pulumi.output_type +class GetMlflowExperimentTagResult(dict): + def __init__(__self__, *, + key: Optional[str] = None, + value: Optional[str] = None): + if key is not None: + pulumi.set(__self__, "key", key) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> Optional[str]: + return pulumi.get(self, "key") + + @property + @pulumi.getter + def value(self) -> Optional[str]: + return pulumi.get(self, "value") + + @pulumi.output_type class GetMlflowModelLatestVersionResult(dict): def __init__(__self__, *, @@ -31307,3 +31676,700 @@ def email(self) -> Optional[str]: return pulumi.get(self, "email") +@pulumi.output_type +class GetTableTableInfoResult(dict): + def __init__(__self__, *, + access_point: Optional[str] = None, + browse_only: Optional[bool] = None, + catalog_name: Optional[str] = None, + columns: Optional[Sequence['outputs.GetTableTableInfoColumnResult']] = None, + comment: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + data_access_configuration_id: Optional[str] = None, + data_source_format: Optional[str] = None, + deleted_at: Optional[int] = None, + delta_runtime_properties_kvpairs: Optional['outputs.GetTableTableInfoDeltaRuntimePropertiesKvpairsResult'] = None, + effective_predictive_optimization_flag: Optional['outputs.GetTableTableInfoEffectivePredictiveOptimizationFlagResult'] = None, + enable_predictive_optimization: Optional[str] = None, + encryption_details: Optional['outputs.GetTableTableInfoEncryptionDetailsResult'] = None, + full_name: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + owner: Optional[str] = None, + pipeline_id: Optional[str] = None, + properties: Optional[Mapping[str, Any]] = None, + row_filter: Optional['outputs.GetTableTableInfoRowFilterResult'] = None, + schema_name: Optional[str] = None, + sql_path: Optional[str] = None, + storage_credential_name: Optional[str] = None, + storage_location: Optional[str] = None, + table_constraints: Optional[Sequence['outputs.GetTableTableInfoTableConstraintResult']] = None, + table_id: Optional[str] = None, + table_type: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None, + view_definition: Optional[str] = None, + view_dependencies: Optional['outputs.GetTableTableInfoViewDependenciesResult'] = None): + """ + :param str catalog_name: Name of parent catalog. + :param Sequence['GetTableTableInfoColumnArgs'] columns: Array of ColumnInfo objects of the table's columns + :param str comment: Free-form text description + :param str data_source_format: Table format, e.g. DELTA, CSV, JSON + :param str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_ + :param str owner: Current owner of the table + :param str schema_name: Name of parent schema relative to its parent catalog. + :param str table_type: Table type, e.g. MANAGED, EXTERNAL, VIEW + :param str view_definition: View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + :param 'GetTableTableInfoViewDependenciesArgs' view_dependencies: View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + """ + if access_point is not None: + pulumi.set(__self__, "access_point", access_point) + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if catalog_name is not None: + pulumi.set(__self__, "catalog_name", catalog_name) + if columns is not None: + pulumi.set(__self__, "columns", columns) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if data_access_configuration_id is not None: + pulumi.set(__self__, "data_access_configuration_id", data_access_configuration_id) + if data_source_format is not None: + pulumi.set(__self__, "data_source_format", data_source_format) + if deleted_at is not None: + pulumi.set(__self__, "deleted_at", deleted_at) + if delta_runtime_properties_kvpairs is not None: + pulumi.set(__self__, "delta_runtime_properties_kvpairs", delta_runtime_properties_kvpairs) + if effective_predictive_optimization_flag is not None: + pulumi.set(__self__, "effective_predictive_optimization_flag", effective_predictive_optimization_flag) + if enable_predictive_optimization is not None: + pulumi.set(__self__, "enable_predictive_optimization", enable_predictive_optimization) + if encryption_details is not None: + pulumi.set(__self__, "encryption_details", encryption_details) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if pipeline_id is not None: + pulumi.set(__self__, "pipeline_id", pipeline_id) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if row_filter is not None: + pulumi.set(__self__, "row_filter", row_filter) + if schema_name is not None: + pulumi.set(__self__, "schema_name", schema_name) + if sql_path is not None: + pulumi.set(__self__, "sql_path", sql_path) + if storage_credential_name is not None: + pulumi.set(__self__, "storage_credential_name", storage_credential_name) + if storage_location is not None: + pulumi.set(__self__, "storage_location", storage_location) + if table_constraints is not None: + pulumi.set(__self__, "table_constraints", table_constraints) + if table_id is not None: + pulumi.set(__self__, "table_id", table_id) + if table_type is not None: + pulumi.set(__self__, "table_type", table_type) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + if view_definition is not None: + pulumi.set(__self__, "view_definition", view_definition) + if view_dependencies is not None: + pulumi.set(__self__, "view_dependencies", view_dependencies) + + @property + @pulumi.getter(name="accessPoint") + def access_point(self) -> Optional[str]: + return pulumi.get(self, "access_point") + + @property + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + return pulumi.get(self, "browse_only") + + @property + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[str]: + """ + Name of parent catalog. + """ + return pulumi.get(self, "catalog_name") + + @property + @pulumi.getter + def columns(self) -> Optional[Sequence['outputs.GetTableTableInfoColumnResult']]: + """ + Array of ColumnInfo objects of the table's columns + """ + return pulumi.get(self, "columns") + + @property + @pulumi.getter + def comment(self) -> Optional[str]: + """ + Free-form text description + """ + return pulumi.get(self, "comment") + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="dataAccessConfigurationId") + def data_access_configuration_id(self) -> Optional[str]: + return pulumi.get(self, "data_access_configuration_id") + + @property + @pulumi.getter(name="dataSourceFormat") + def data_source_format(self) -> Optional[str]: + """ + Table format, e.g. DELTA, CSV, JSON + """ + return pulumi.get(self, "data_source_format") + + @property + @pulumi.getter(name="deletedAt") + def deleted_at(self) -> Optional[int]: + return pulumi.get(self, "deleted_at") + + @property + @pulumi.getter(name="deltaRuntimePropertiesKvpairs") + def delta_runtime_properties_kvpairs(self) -> Optional['outputs.GetTableTableInfoDeltaRuntimePropertiesKvpairsResult']: + return pulumi.get(self, "delta_runtime_properties_kvpairs") + + @property + @pulumi.getter(name="effectivePredictiveOptimizationFlag") + def effective_predictive_optimization_flag(self) -> Optional['outputs.GetTableTableInfoEffectivePredictiveOptimizationFlagResult']: + return pulumi.get(self, "effective_predictive_optimization_flag") + + @property + @pulumi.getter(name="enablePredictiveOptimization") + def enable_predictive_optimization(self) -> Optional[str]: + return pulumi.get(self, "enable_predictive_optimization") + + @property + @pulumi.getter(name="encryptionDetails") + def encryption_details(self) -> Optional['outputs.GetTableTableInfoEncryptionDetailsResult']: + return pulumi.get(self, "encryption_details") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + return pulumi.get(self, "full_name") + + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + return pulumi.get(self, "metastore_id") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def owner(self) -> Optional[str]: + """ + Current owner of the table + """ + return pulumi.get(self, "owner") + + @property + @pulumi.getter(name="pipelineId") + def pipeline_id(self) -> Optional[str]: + return pulumi.get(self, "pipeline_id") + + @property + @pulumi.getter + def properties(self) -> Optional[Mapping[str, Any]]: + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="rowFilter") + def row_filter(self) -> Optional['outputs.GetTableTableInfoRowFilterResult']: + return pulumi.get(self, "row_filter") + + @property + @pulumi.getter(name="schemaName") + def schema_name(self) -> Optional[str]: + """ + Name of parent schema relative to its parent catalog. + """ + return pulumi.get(self, "schema_name") + + @property + @pulumi.getter(name="sqlPath") + def sql_path(self) -> Optional[str]: + return pulumi.get(self, "sql_path") + + @property + @pulumi.getter(name="storageCredentialName") + def storage_credential_name(self) -> Optional[str]: + return pulumi.get(self, "storage_credential_name") + + @property + @pulumi.getter(name="storageLocation") + def storage_location(self) -> Optional[str]: + return pulumi.get(self, "storage_location") + + @property + @pulumi.getter(name="tableConstraints") + def table_constraints(self) -> Optional[Sequence['outputs.GetTableTableInfoTableConstraintResult']]: + return pulumi.get(self, "table_constraints") + + @property + @pulumi.getter(name="tableId") + def table_id(self) -> Optional[str]: + return pulumi.get(self, "table_id") + + @property + @pulumi.getter(name="tableType") + def table_type(self) -> Optional[str]: + """ + Table type, e.g. MANAGED, EXTERNAL, VIEW + """ + return pulumi.get(self, "table_type") + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + return pulumi.get(self, "updated_at") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + return pulumi.get(self, "updated_by") + + @property + @pulumi.getter(name="viewDefinition") + def view_definition(self) -> Optional[str]: + """ + View definition SQL (when `table_type` is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE) + """ + return pulumi.get(self, "view_definition") + + @property + @pulumi.getter(name="viewDependencies") + def view_dependencies(self) -> Optional['outputs.GetTableTableInfoViewDependenciesResult']: + """ + View dependencies (when `table_type` is VIEW or MATERIALIZED_VIEW, STREAMING_TABLE) + """ + return pulumi.get(self, "view_dependencies") + + +@pulumi.output_type +class GetTableTableInfoColumnResult(dict): + def __init__(__self__, *, + comment: Optional[str] = None, + mask: Optional['outputs.GetTableTableInfoColumnMaskResult'] = None, + name: Optional[str] = None, + nullable: Optional[bool] = None, + partition_index: Optional[int] = None, + position: Optional[int] = None, + type_interval_type: Optional[str] = None, + type_json: Optional[str] = None, + type_name: Optional[str] = None, + type_precision: Optional[int] = None, + type_scale: Optional[int] = None, + type_text: Optional[str] = None): + """ + :param str comment: Free-form text description + :param str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + if comment is not None: + pulumi.set(__self__, "comment", comment) + if mask is not None: + pulumi.set(__self__, "mask", mask) + if name is not None: + pulumi.set(__self__, "name", name) + if nullable is not None: + pulumi.set(__self__, "nullable", nullable) + if partition_index is not None: + pulumi.set(__self__, "partition_index", partition_index) + if position is not None: + pulumi.set(__self__, "position", position) + if type_interval_type is not None: + pulumi.set(__self__, "type_interval_type", type_interval_type) + if type_json is not None: + pulumi.set(__self__, "type_json", type_json) + if type_name is not None: + pulumi.set(__self__, "type_name", type_name) + if type_precision is not None: + pulumi.set(__self__, "type_precision", type_precision) + if type_scale is not None: + pulumi.set(__self__, "type_scale", type_scale) + if type_text is not None: + pulumi.set(__self__, "type_text", type_text) + + @property + @pulumi.getter + def comment(self) -> Optional[str]: + """ + Free-form text description + """ + return pulumi.get(self, "comment") + + @property + @pulumi.getter + def mask(self) -> Optional['outputs.GetTableTableInfoColumnMaskResult']: + return pulumi.get(self, "mask") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def nullable(self) -> Optional[bool]: + return pulumi.get(self, "nullable") + + @property + @pulumi.getter(name="partitionIndex") + def partition_index(self) -> Optional[int]: + return pulumi.get(self, "partition_index") + + @property + @pulumi.getter + def position(self) -> Optional[int]: + return pulumi.get(self, "position") + + @property + @pulumi.getter(name="typeIntervalType") + def type_interval_type(self) -> Optional[str]: + return pulumi.get(self, "type_interval_type") + + @property + @pulumi.getter(name="typeJson") + def type_json(self) -> Optional[str]: + return pulumi.get(self, "type_json") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> Optional[str]: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="typePrecision") + def type_precision(self) -> Optional[int]: + return pulumi.get(self, "type_precision") + + @property + @pulumi.getter(name="typeScale") + def type_scale(self) -> Optional[int]: + return pulumi.get(self, "type_scale") + + @property + @pulumi.getter(name="typeText") + def type_text(self) -> Optional[str]: + return pulumi.get(self, "type_text") + + +@pulumi.output_type +class GetTableTableInfoColumnMaskResult(dict): + def __init__(__self__, *, + function_name: Optional[str] = None, + using_column_names: Optional[Sequence[str]] = None): + if function_name is not None: + pulumi.set(__self__, "function_name", function_name) + if using_column_names is not None: + pulumi.set(__self__, "using_column_names", using_column_names) + + @property + @pulumi.getter(name="functionName") + def function_name(self) -> Optional[str]: + return pulumi.get(self, "function_name") + + @property + @pulumi.getter(name="usingColumnNames") + def using_column_names(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "using_column_names") + + +@pulumi.output_type +class GetTableTableInfoDeltaRuntimePropertiesKvpairsResult(dict): + def __init__(__self__, *, + delta_runtime_properties: Mapping[str, Any]): + pulumi.set(__self__, "delta_runtime_properties", delta_runtime_properties) + + @property + @pulumi.getter(name="deltaRuntimeProperties") + def delta_runtime_properties(self) -> Mapping[str, Any]: + return pulumi.get(self, "delta_runtime_properties") + + +@pulumi.output_type +class GetTableTableInfoEffectivePredictiveOptimizationFlagResult(dict): + def __init__(__self__, *, + value: str, + inherited_from_name: Optional[str] = None, + inherited_from_type: Optional[str] = None): + pulumi.set(__self__, "value", value) + if inherited_from_name is not None: + pulumi.set(__self__, "inherited_from_name", inherited_from_name) + if inherited_from_type is not None: + pulumi.set(__self__, "inherited_from_type", inherited_from_type) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @property + @pulumi.getter(name="inheritedFromName") + def inherited_from_name(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_name") + + @property + @pulumi.getter(name="inheritedFromType") + def inherited_from_type(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_type") + + +@pulumi.output_type +class GetTableTableInfoEncryptionDetailsResult(dict): + def __init__(__self__, *, + sse_encryption_details: Optional['outputs.GetTableTableInfoEncryptionDetailsSseEncryptionDetailsResult'] = None): + if sse_encryption_details is not None: + pulumi.set(__self__, "sse_encryption_details", sse_encryption_details) + + @property + @pulumi.getter(name="sseEncryptionDetails") + def sse_encryption_details(self) -> Optional['outputs.GetTableTableInfoEncryptionDetailsSseEncryptionDetailsResult']: + return pulumi.get(self, "sse_encryption_details") + + +@pulumi.output_type +class GetTableTableInfoEncryptionDetailsSseEncryptionDetailsResult(dict): + def __init__(__self__, *, + algorithm: Optional[str] = None, + aws_kms_key_arn: Optional[str] = None): + if algorithm is not None: + pulumi.set(__self__, "algorithm", algorithm) + if aws_kms_key_arn is not None: + pulumi.set(__self__, "aws_kms_key_arn", aws_kms_key_arn) + + @property + @pulumi.getter + def algorithm(self) -> Optional[str]: + return pulumi.get(self, "algorithm") + + @property + @pulumi.getter(name="awsKmsKeyArn") + def aws_kms_key_arn(self) -> Optional[str]: + return pulumi.get(self, "aws_kms_key_arn") + + +@pulumi.output_type +class GetTableTableInfoRowFilterResult(dict): + def __init__(__self__, *, + function_name: str, + input_column_names: Sequence[str]): + pulumi.set(__self__, "function_name", function_name) + pulumi.set(__self__, "input_column_names", input_column_names) + + @property + @pulumi.getter(name="functionName") + def function_name(self) -> str: + return pulumi.get(self, "function_name") + + @property + @pulumi.getter(name="inputColumnNames") + def input_column_names(self) -> Sequence[str]: + return pulumi.get(self, "input_column_names") + + +@pulumi.output_type +class GetTableTableInfoTableConstraintResult(dict): + def __init__(__self__, *, + foreign_key_constraint: Optional['outputs.GetTableTableInfoTableConstraintForeignKeyConstraintResult'] = None, + named_table_constraint: Optional['outputs.GetTableTableInfoTableConstraintNamedTableConstraintResult'] = None, + primary_key_constraint: Optional['outputs.GetTableTableInfoTableConstraintPrimaryKeyConstraintResult'] = None): + if foreign_key_constraint is not None: + pulumi.set(__self__, "foreign_key_constraint", foreign_key_constraint) + if named_table_constraint is not None: + pulumi.set(__self__, "named_table_constraint", named_table_constraint) + if primary_key_constraint is not None: + pulumi.set(__self__, "primary_key_constraint", primary_key_constraint) + + @property + @pulumi.getter(name="foreignKeyConstraint") + def foreign_key_constraint(self) -> Optional['outputs.GetTableTableInfoTableConstraintForeignKeyConstraintResult']: + return pulumi.get(self, "foreign_key_constraint") + + @property + @pulumi.getter(name="namedTableConstraint") + def named_table_constraint(self) -> Optional['outputs.GetTableTableInfoTableConstraintNamedTableConstraintResult']: + return pulumi.get(self, "named_table_constraint") + + @property + @pulumi.getter(name="primaryKeyConstraint") + def primary_key_constraint(self) -> Optional['outputs.GetTableTableInfoTableConstraintPrimaryKeyConstraintResult']: + return pulumi.get(self, "primary_key_constraint") + + +@pulumi.output_type +class GetTableTableInfoTableConstraintForeignKeyConstraintResult(dict): + def __init__(__self__, *, + child_columns: Sequence[str], + name: str, + parent_columns: Sequence[str], + parent_table: str): + """ + :param str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + pulumi.set(__self__, "child_columns", child_columns) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "parent_columns", parent_columns) + pulumi.set(__self__, "parent_table", parent_table) + + @property + @pulumi.getter(name="childColumns") + def child_columns(self) -> Sequence[str]: + return pulumi.get(self, "child_columns") + + @property + @pulumi.getter + def name(self) -> str: + """ + Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="parentColumns") + def parent_columns(self) -> Sequence[str]: + return pulumi.get(self, "parent_columns") + + @property + @pulumi.getter(name="parentTable") + def parent_table(self) -> str: + return pulumi.get(self, "parent_table") + + +@pulumi.output_type +class GetTableTableInfoTableConstraintNamedTableConstraintResult(dict): + def __init__(__self__, *, + name: str): + """ + :param str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> str: + """ + Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class GetTableTableInfoTableConstraintPrimaryKeyConstraintResult(dict): + def __init__(__self__, *, + child_columns: Sequence[str], + name: str): + """ + :param str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + pulumi.set(__self__, "child_columns", child_columns) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="childColumns") + def child_columns(self) -> Sequence[str]: + return pulumi.get(self, "child_columns") + + @property + @pulumi.getter + def name(self) -> str: + """ + Full name of the databricks_table: _`catalog`.`schema`.`table`_ + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class GetTableTableInfoViewDependenciesResult(dict): + def __init__(__self__, *, + dependencies: Optional[Sequence['outputs.GetTableTableInfoViewDependenciesDependencyResult']] = None): + if dependencies is not None: + pulumi.set(__self__, "dependencies", dependencies) + + @property + @pulumi.getter + def dependencies(self) -> Optional[Sequence['outputs.GetTableTableInfoViewDependenciesDependencyResult']]: + return pulumi.get(self, "dependencies") + + +@pulumi.output_type +class GetTableTableInfoViewDependenciesDependencyResult(dict): + def __init__(__self__, *, + function: Optional['outputs.GetTableTableInfoViewDependenciesDependencyFunctionResult'] = None, + table: Optional['outputs.GetTableTableInfoViewDependenciesDependencyTableResult'] = None): + if function is not None: + pulumi.set(__self__, "function", function) + if table is not None: + pulumi.set(__self__, "table", table) + + @property + @pulumi.getter + def function(self) -> Optional['outputs.GetTableTableInfoViewDependenciesDependencyFunctionResult']: + return pulumi.get(self, "function") + + @property + @pulumi.getter + def table(self) -> Optional['outputs.GetTableTableInfoViewDependenciesDependencyTableResult']: + return pulumi.get(self, "table") + + +@pulumi.output_type +class GetTableTableInfoViewDependenciesDependencyFunctionResult(dict): + def __init__(__self__, *, + function_full_name: str): + pulumi.set(__self__, "function_full_name", function_full_name) + + @property + @pulumi.getter(name="functionFullName") + def function_full_name(self) -> str: + return pulumi.get(self, "function_full_name") + + +@pulumi.output_type +class GetTableTableInfoViewDependenciesDependencyTableResult(dict): + def __init__(__self__, *, + table_full_name: str): + pulumi.set(__self__, "table_full_name", table_full_name) + + @property + @pulumi.getter(name="tableFullName") + def table_full_name(self) -> str: + return pulumi.get(self, "table_full_name") + + diff --git a/sdk/python/pulumi_databricks/sql_table.py b/sdk/python/pulumi_databricks/sql_table.py index fc20d668..f70b0642 100644 --- a/sdk/python/pulumi_databricks/sql_table.py +++ b/sdk/python/pulumi_databricks/sql_table.py @@ -26,6 +26,7 @@ def __init__(__self__, *, data_source_format: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, options: Optional[pulumi.Input[Mapping[str, Any]]] = None, + owner: Optional[pulumi.Input[str]] = None, partitions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, storage_credential_name: Optional[pulumi.Input[str]] = None, @@ -42,6 +43,7 @@ def __init__(__self__, *, :param pulumi.Input[str] data_source_format: External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, `TEXT`. Change forces creation of a new resource. Not supported for `MANAGED` tables or `VIEW`. :param pulumi.Input[str] name: Name of table relative to parent catalog and schema. Change forces creation of a new resource. :param pulumi.Input[Mapping[str, Any]] options: Map of user defined table options. Change forces creation of a new resource. + :param pulumi.Input[str] owner: Username/groupname/sp application_id of the schema owner. :param pulumi.Input[Sequence[pulumi.Input[str]]] partitions: a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `cluster_keys`. :param pulumi.Input[Mapping[str, Any]] properties: Map of table properties. :param pulumi.Input[str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces creation of a new resource. @@ -66,6 +68,8 @@ def __init__(__self__, *, pulumi.set(__self__, "name", name) if options is not None: pulumi.set(__self__, "options", options) + if owner is not None: + pulumi.set(__self__, "owner", owner) if partitions is not None: pulumi.set(__self__, "partitions", partitions) if properties is not None: @@ -193,6 +197,18 @@ def options(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: def options(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): pulumi.set(self, "options", value) + @property + @pulumi.getter + def owner(self) -> Optional[pulumi.Input[str]]: + """ + Username/groupname/sp application_id of the schema owner. + """ + return pulumi.get(self, "owner") + + @owner.setter + def owner(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "owner", value) + @property @pulumi.getter def partitions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -277,6 +293,7 @@ def __init__(__self__, *, data_source_format: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, options: Optional[pulumi.Input[Mapping[str, Any]]] = None, + owner: Optional[pulumi.Input[str]] = None, partitions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, schema_name: Optional[pulumi.Input[str]] = None, @@ -293,6 +310,7 @@ def __init__(__self__, *, :param pulumi.Input[str] data_source_format: External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, `TEXT`. Change forces creation of a new resource. Not supported for `MANAGED` tables or `VIEW`. :param pulumi.Input[str] name: Name of table relative to parent catalog and schema. Change forces creation of a new resource. :param pulumi.Input[Mapping[str, Any]] options: Map of user defined table options. Change forces creation of a new resource. + :param pulumi.Input[str] owner: Username/groupname/sp application_id of the schema owner. :param pulumi.Input[Sequence[pulumi.Input[str]]] partitions: a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `cluster_keys`. :param pulumi.Input[Mapping[str, Any]] properties: Map of table properties. :param pulumi.Input[str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource. @@ -318,6 +336,8 @@ def __init__(__self__, *, pulumi.set(__self__, "name", name) if options is not None: pulumi.set(__self__, "options", options) + if owner is not None: + pulumi.set(__self__, "owner", owner) if partitions is not None: pulumi.set(__self__, "partitions", partitions) if properties is not None: @@ -425,6 +445,18 @@ def options(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: def options(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): pulumi.set(self, "options", value) + @property + @pulumi.getter + def owner(self) -> Optional[pulumi.Input[str]]: + """ + Username/groupname/sp application_id of the schema owner. + """ + return pulumi.get(self, "owner") + + @owner.setter + def owner(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "owner", value) + @property @pulumi.getter def partitions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -535,6 +567,7 @@ def __init__(__self__, data_source_format: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, options: Optional[pulumi.Input[Mapping[str, Any]]] = None, + owner: Optional[pulumi.Input[str]] = None, partitions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, schema_name: Optional[pulumi.Input[str]] = None, @@ -569,6 +602,7 @@ def __init__(__self__, :param pulumi.Input[str] data_source_format: External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, `TEXT`. Change forces creation of a new resource. Not supported for `MANAGED` tables or `VIEW`. :param pulumi.Input[str] name: Name of table relative to parent catalog and schema. Change forces creation of a new resource. :param pulumi.Input[Mapping[str, Any]] options: Map of user defined table options. Change forces creation of a new resource. + :param pulumi.Input[str] owner: Username/groupname/sp application_id of the schema owner. :param pulumi.Input[Sequence[pulumi.Input[str]]] partitions: a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `cluster_keys`. :param pulumi.Input[Mapping[str, Any]] properties: Map of table properties. :param pulumi.Input[str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource. @@ -624,6 +658,7 @@ def _internal_init(__self__, data_source_format: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, options: Optional[pulumi.Input[Mapping[str, Any]]] = None, + owner: Optional[pulumi.Input[str]] = None, partitions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, schema_name: Optional[pulumi.Input[str]] = None, @@ -651,6 +686,7 @@ def _internal_init(__self__, __props__.__dict__["data_source_format"] = data_source_format __props__.__dict__["name"] = name __props__.__dict__["options"] = options + __props__.__dict__["owner"] = owner __props__.__dict__["partitions"] = partitions __props__.__dict__["properties"] = properties if schema_name is None and not opts.urn: @@ -681,6 +717,7 @@ def get(resource_name: str, data_source_format: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, options: Optional[pulumi.Input[Mapping[str, Any]]] = None, + owner: Optional[pulumi.Input[str]] = None, partitions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, schema_name: Optional[pulumi.Input[str]] = None, @@ -702,6 +739,7 @@ def get(resource_name: str, :param pulumi.Input[str] data_source_format: External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, `TEXT`. Change forces creation of a new resource. Not supported for `MANAGED` tables or `VIEW`. :param pulumi.Input[str] name: Name of table relative to parent catalog and schema. Change forces creation of a new resource. :param pulumi.Input[Mapping[str, Any]] options: Map of user defined table options. Change forces creation of a new resource. + :param pulumi.Input[str] owner: Username/groupname/sp application_id of the schema owner. :param pulumi.Input[Sequence[pulumi.Input[str]]] partitions: a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `cluster_keys`. :param pulumi.Input[Mapping[str, Any]] properties: Map of table properties. :param pulumi.Input[str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource. @@ -723,6 +761,7 @@ def get(resource_name: str, __props__.__dict__["data_source_format"] = data_source_format __props__.__dict__["name"] = name __props__.__dict__["options"] = options + __props__.__dict__["owner"] = owner __props__.__dict__["partitions"] = partitions __props__.__dict__["properties"] = properties __props__.__dict__["schema_name"] = schema_name @@ -791,6 +830,14 @@ def options(self) -> pulumi.Output[Optional[Mapping[str, Any]]]: """ return pulumi.get(self, "options") + @property + @pulumi.getter + def owner(self) -> pulumi.Output[str]: + """ + Username/groupname/sp application_id of the schema owner. + """ + return pulumi.get(self, "owner") + @property @pulumi.getter def partitions(self) -> pulumi.Output[Optional[Sequence[str]]]: