@pulumi/databricks 1.99.0-alpha.1783234126 → 1.99.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/budget.d.ts +35 -0
  2. package/budget.d.ts.map +1 -1
  3. package/budget.js +35 -0
  4. package/budget.js.map +1 -1
  5. package/cluster.d.ts +12 -0
  6. package/cluster.d.ts.map +1 -1
  7. package/cluster.js +2 -0
  8. package/cluster.js.map +1 -1
  9. package/dataClassificationCatalogConfig.d.ts +21 -0
  10. package/dataClassificationCatalogConfig.d.ts.map +1 -1
  11. package/dataClassificationCatalogConfig.js +2 -0
  12. package/dataClassificationCatalogConfig.js.map +1 -1
  13. package/getDataClassificationCatalogConfig.d.ts +7 -0
  14. package/getDataClassificationCatalogConfig.d.ts.map +1 -1
  15. package/getDataClassificationCatalogConfig.js.map +1 -1
  16. package/getGroup.d.ts +23 -5
  17. package/getGroup.d.ts.map +1 -1
  18. package/getGroup.js +4 -2
  19. package/getGroup.js.map +1 -1
  20. package/getSecretUc.d.ts +42 -11
  21. package/getSecretUc.d.ts.map +1 -1
  22. package/getSecretUc.js +42 -2
  23. package/getSecretUc.js.map +1 -1
  24. package/getSecretUcs.d.ts +50 -19
  25. package/getSecretUcs.d.ts.map +1 -1
  26. package/getSecretUcs.js +44 -4
  27. package/getSecretUcs.js.map +1 -1
  28. package/mwsNccPrivateEndpointRule.d.ts +25 -45
  29. package/mwsNccPrivateEndpointRule.d.ts.map +1 -1
  30. package/mwsNccPrivateEndpointRule.js +14 -10
  31. package/mwsNccPrivateEndpointRule.js.map +1 -1
  32. package/mwsWorkspaces.d.ts +3 -3
  33. package/package.json +2 -2
  34. package/postgresDatabase.d.ts +65 -0
  35. package/postgresDatabase.d.ts.map +1 -1
  36. package/postgresDatabase.js +65 -0
  37. package/postgresDatabase.js.map +1 -1
  38. package/postgresRole.d.ts +82 -0
  39. package/postgresRole.d.ts.map +1 -1
  40. package/postgresRole.js +82 -0
  41. package/postgresRole.js.map +1 -1
  42. package/secretUc.d.ts +3 -19
  43. package/secretUc.d.ts.map +1 -1
  44. package/secretUc.js +3 -5
  45. package/secretUc.js.map +1 -1
  46. package/types/input.d.ts +318 -42
  47. package/types/input.d.ts.map +1 -1
  48. package/types/output.d.ts +840 -199
  49. package/types/output.d.ts.map +1 -1
package/getSecretUc.js CHANGED
@@ -29,7 +29,27 @@ exports.getSecretUcOutput = exports.getSecretUc = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("./utilities"));
31
31
  /**
32
- * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
32
+ * [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
33
+ *
34
+ * [API Documentation](https://docs.databricks.com/api/workspace/secretsuc)
35
+ *
36
+ * The Secret data source allows you to read a single secret in Unity Catalog by its three-level fully qualified name (`catalog_name.schema_name.secret_name`).
37
+ *
38
+ * This returns the secret's metadata. The secret value is only returned to principals with the `READ_SECRET` privilege.
39
+ *
40
+ * ## Example Usage
41
+ *
42
+ * ### Basic Example
43
+ * This example reads a secret in Unity Catalog by its fully qualified name:
44
+ *
45
+ * ```typescript
46
+ * import * as pulumi from "@pulumi/pulumi";
47
+ * import * as databricks from "@pulumi/databricks";
48
+ *
49
+ * const example = databricks.getSecretUc({
50
+ * fullName: "my_catalog.my_schema.my_secret",
51
+ * });
52
+ * ```
33
53
  */
34
54
  function getSecretUc(args, opts) {
35
55
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -40,7 +60,27 @@ function getSecretUc(args, opts) {
40
60
  }
41
61
  exports.getSecretUc = getSecretUc;
42
62
  /**
43
- * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
63
+ * [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
64
+ *
65
+ * [API Documentation](https://docs.databricks.com/api/workspace/secretsuc)
66
+ *
67
+ * The Secret data source allows you to read a single secret in Unity Catalog by its three-level fully qualified name (`catalog_name.schema_name.secret_name`).
68
+ *
69
+ * This returns the secret's metadata. The secret value is only returned to principals with the `READ_SECRET` privilege.
70
+ *
71
+ * ## Example Usage
72
+ *
73
+ * ### Basic Example
74
+ * This example reads a secret in Unity Catalog by its fully qualified name:
75
+ *
76
+ * ```typescript
77
+ * import * as pulumi from "@pulumi/pulumi";
78
+ * import * as databricks from "@pulumi/databricks";
79
+ *
80
+ * const example = databricks.getSecretUc({
81
+ * fullName: "my_catalog.my_schema.my_secret",
82
+ * });
83
+ * ```
44
84
  */
45
85
  function getSecretUcOutput(args, opts) {
46
86
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getSecretUc.js","sourceRoot":"","sources":["../getSecretUc.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AAuGD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAA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 import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
- * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
5
+ * [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
6
+ *
7
+ * [API Documentation](https://docs.databricks.com/api/workspace/secretsuc)
8
+ *
9
+ * The Secrets data source allows you to list secrets in Unity Catalog within a given catalog and schema.
10
+ *
11
+ * This returns the metadata of the secrets the calling principal is allowed to see. Secret values are not returned when listing.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ### Basic Example
16
+ * This example lists the secrets in a given catalog and schema:
17
+ *
18
+ * ```typescript
19
+ * import * as pulumi from "@pulumi/pulumi";
20
+ * import * as databricks from "@pulumi/databricks";
21
+ *
22
+ * const all = databricks.getSecretUcs({
23
+ * catalogName: "my_catalog",
24
+ * schemaName: "my_schema",
25
+ * });
26
+ * ```
6
27
  */
7
28
  export declare function getSecretUcs(args?: GetSecretUcsArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretUcsResult>;
8
29
  /**
@@ -14,17 +35,12 @@ export interface GetSecretUcsArgs {
14
35
  * **schema_name** must be specified together
15
36
  */
16
37
  catalogName?: string;
17
- /**
18
- * Whether to include secrets in the response for which you only have the **BROWSE** privilege,
19
- * which limits access to metadata
20
- */
21
- includeBrowse?: boolean;
22
38
  /**
23
39
  * Maximum number of secrets to return.
24
40
  *
25
- * - If not specified, at most 10000 secrets are returned.
26
- * - If set to a value greater than 0, the page length is the minimum of this value and 10000.
27
- * - If set to 0, the page length is set to 10000.
41
+ * - If not specified, at most 1000 secrets are returned.
42
+ * - If set to a value greater than 0, the page length is the minimum of this value and 1000.
43
+ * - If set to 0, the page length is set to 1000.
28
44
  * - If set to a value less than 0, an invalid parameter error is returned
29
45
  */
30
46
  pageSize?: number;
@@ -50,7 +66,6 @@ export interface GetSecretUcsResult {
50
66
  * The provider-assigned unique ID for this managed resource.
51
67
  */
52
68
  readonly id: string;
53
- readonly includeBrowse?: boolean;
54
69
  readonly pageSize?: number;
55
70
  readonly providerConfig?: outputs.GetSecretUcsProviderConfig;
56
71
  /**
@@ -60,7 +75,28 @@ export interface GetSecretUcsResult {
60
75
  readonly secrets: outputs.GetSecretUcsSecret[];
61
76
  }
62
77
  /**
63
- * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
78
+ * [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
79
+ *
80
+ * [API Documentation](https://docs.databricks.com/api/workspace/secretsuc)
81
+ *
82
+ * The Secrets data source allows you to list secrets in Unity Catalog within a given catalog and schema.
83
+ *
84
+ * This returns the metadata of the secrets the calling principal is allowed to see. Secret values are not returned when listing.
85
+ *
86
+ * ## Example Usage
87
+ *
88
+ * ### Basic Example
89
+ * This example lists the secrets in a given catalog and schema:
90
+ *
91
+ * ```typescript
92
+ * import * as pulumi from "@pulumi/pulumi";
93
+ * import * as databricks from "@pulumi/databricks";
94
+ *
95
+ * const all = databricks.getSecretUcs({
96
+ * catalogName: "my_catalog",
97
+ * schemaName: "my_schema",
98
+ * });
99
+ * ```
64
100
  */
65
101
  export declare function getSecretUcsOutput(args?: GetSecretUcsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecretUcsResult>;
66
102
  /**
@@ -72,17 +108,12 @@ export interface GetSecretUcsOutputArgs {
72
108
  * **schema_name** must be specified together
73
109
  */
74
110
  catalogName?: pulumi.Input<string | undefined>;
75
- /**
76
- * Whether to include secrets in the response for which you only have the **BROWSE** privilege,
77
- * which limits access to metadata
78
- */
79
- includeBrowse?: pulumi.Input<boolean | undefined>;
80
111
  /**
81
112
  * Maximum number of secrets to return.
82
113
  *
83
- * - If not specified, at most 10000 secrets are returned.
84
- * - If set to a value greater than 0, the page length is the minimum of this value and 10000.
85
- * - If set to 0, the page length is set to 10000.
114
+ * - If not specified, at most 1000 secrets are returned.
115
+ * - If set to a value greater than 0, the page length is the minimum of this value and 1000.
116
+ * - If set to 0, the page length is set to 1000.
86
117
  * - If set to a value less than 0, an invalid parameter error is returned
87
118
  */
88
119
  pageSize?: pulumi.Input<number | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"getSecretUcs.d.ts","sourceRoot":"","sources":["../getSecretUcs.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,CAAC,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAU9G;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,0BAA0B,CAAC;IACnD;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,cAAc,CAAC,EAA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AAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD"}
package/getSecretUcs.js CHANGED
@@ -29,14 +29,34 @@ exports.getSecretUcsOutput = exports.getSecretUcs = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("./utilities"));
31
31
  /**
32
- * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
32
+ * [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
33
+ *
34
+ * [API Documentation](https://docs.databricks.com/api/workspace/secretsuc)
35
+ *
36
+ * The Secrets data source allows you to list secrets in Unity Catalog within a given catalog and schema.
37
+ *
38
+ * This returns the metadata of the secrets the calling principal is allowed to see. Secret values are not returned when listing.
39
+ *
40
+ * ## Example Usage
41
+ *
42
+ * ### Basic Example
43
+ * This example lists the secrets in a given catalog and schema:
44
+ *
45
+ * ```typescript
46
+ * import * as pulumi from "@pulumi/pulumi";
47
+ * import * as databricks from "@pulumi/databricks";
48
+ *
49
+ * const all = databricks.getSecretUcs({
50
+ * catalogName: "my_catalog",
51
+ * schemaName: "my_schema",
52
+ * });
53
+ * ```
33
54
  */
34
55
  function getSecretUcs(args, opts) {
35
56
  args = args || {};
36
57
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
37
58
  return pulumi.runtime.invoke("databricks:index/getSecretUcs:getSecretUcs", {
38
59
  "catalogName": args.catalogName,
39
- "includeBrowse": args.includeBrowse,
40
60
  "pageSize": args.pageSize,
41
61
  "providerConfig": args.providerConfig,
42
62
  "schemaName": args.schemaName,
@@ -44,14 +64,34 @@ function getSecretUcs(args, opts) {
44
64
  }
45
65
  exports.getSecretUcs = getSecretUcs;
46
66
  /**
47
- * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
67
+ * [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
68
+ *
69
+ * [API Documentation](https://docs.databricks.com/api/workspace/secretsuc)
70
+ *
71
+ * The Secrets data source allows you to list secrets in Unity Catalog within a given catalog and schema.
72
+ *
73
+ * This returns the metadata of the secrets the calling principal is allowed to see. Secret values are not returned when listing.
74
+ *
75
+ * ## Example Usage
76
+ *
77
+ * ### Basic Example
78
+ * This example lists the secrets in a given catalog and schema:
79
+ *
80
+ * ```typescript
81
+ * import * as pulumi from "@pulumi/pulumi";
82
+ * import * as databricks from "@pulumi/databricks";
83
+ *
84
+ * const all = databricks.getSecretUcs({
85
+ * catalogName: "my_catalog",
86
+ * schemaName: "my_schema",
87
+ * });
88
+ * ```
48
89
  */
49
90
  function getSecretUcsOutput(args, opts) {
50
91
  args = args || {};
51
92
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
52
93
  return pulumi.runtime.invokeOutput("databricks:index/getSecretUcs:getSecretUcs", {
53
94
  "catalogName": args.catalogName,
54
- "includeBrowse": args.includeBrowse,
55
95
  "pageSize": args.pageSize,
56
96
  "providerConfig": args.providerConfig,
57
97
  "schemaName": args.schemaName,
@@ -1 +1 @@
1
- {"version":3,"file":"getSecretUcs.js","sourceRoot":"","sources":["../getSecretUcs.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,aAAa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,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oCASC;AAmDD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAAiC;IAC/F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gDASC"}
@@ -10,6 +10,10 @@ import * as outputs from "./types/output";
10
10
  *
11
11
  * > This feature is available on Azure, and in Public Preview on AWS.
12
12
  *
13
+ * ## Plugin Framework Opt-In
14
+ *
15
+ * A Plugin Framework implementation of this resource is available. The default remains the SDK V2 implementation; to opt in, set the environment variable `export DATABRICKS_TF_ENABLED_PF_RESOURCES="databricks.MwsNccPrivateEndpointRule"`. Once opted in, `pulumi up` waits for the rule to leave `CREATING` before returning: `PENDING` and `ESTABLISHED` succeed, while a `CREATE_FAILED`, `REJECTED`, `DISCONNECTED`, or `EXPIRED` connection state surfaces as an apply-time error instead of on the next plan.
16
+ *
13
17
  * ## Example Usage
14
18
  *
15
19
  * Create private endpoints to an Azure storage account and an Azure standard load balancer.
@@ -85,15 +89,20 @@ export declare class MwsNccPrivateEndpointRule extends pulumi.CustomResource {
85
89
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
86
90
  */
87
91
  static isInstance(obj: any): obj is MwsNccPrivateEndpointRule;
92
+ /**
93
+ * The Databricks account ID that owns this private endpoint rule.
94
+ */
88
95
  readonly accountId: pulumi.Output<string>;
89
96
  /**
90
- * The current status of this private endpoint. The private endpoint rules are effective only if the connection state is `ESTABLISHED`. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect.
97
+ * The current status of this private endpoint. The private endpoint rules are effective only if the connection state is `ESTABLISHED`. Remember that you must approve new endpoints on your resources in the cloud console before they take effect.
91
98
  * The possible values are:
92
99
  * * `PENDING`: The endpoint has been created and pending approval.
93
100
  * * `ESTABLISHED`: The endpoint has been approved and is ready to be used in your serverless compute resources.
94
101
  * * `REJECTED`: Connection was rejected by the private link resource owner.
95
102
  * * `DISCONNECTED`: Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for clean-up.
96
103
  * * `EXPIRED`: If the endpoint was created but not approved in 14 days, it will be EXPIRED.
104
+ * * `CREATING`: The endpoint creation is in progress. Once successfully created, the state transitions to `PENDING`.
105
+ * * `CREATE_FAILED`: The endpoint creation failed; see `errorMessage` for details.
97
106
  */
98
107
  readonly connectionState: pulumi.Output<string>;
99
108
  /**
@@ -103,11 +112,11 @@ export declare class MwsNccPrivateEndpointRule extends pulumi.CustomResource {
103
112
  /**
104
113
  * Whether this private endpoint is deactivated.
105
114
  */
106
- readonly deactivated: pulumi.Output<boolean | undefined>;
115
+ readonly deactivated: pulumi.Output<boolean>;
107
116
  /**
108
117
  * Time in epoch milliseconds when this object was deactivated.
109
118
  */
110
- readonly deactivatedAt: pulumi.Output<number | undefined>;
119
+ readonly deactivatedAt: pulumi.Output<number>;
111
120
  /**
112
121
  * * On Azure: List of domain names of target private link service. Only used by private endpoints to customer-managed private endpoint services. Conflicts with `groupId`.
113
122
  * * On AWS: List of target resource FQDNs accessible via the VPC endpoint service. Only used by private endpoints towards a VPC endpoint service behind a customer-managed VPC endpoint service. Conflicts with `resourceNames`.
@@ -125,7 +134,10 @@ export declare class MwsNccPrivateEndpointRule extends pulumi.CustomResource {
125
134
  * Example `com.amazonaws.vpce.us-east-1.vpce-svc-123abcc1298abc123`. The full target AWS endpoint service name that connects to the destination resources of the private endpoint. Change forces creation of a new resource.
126
135
  */
127
136
  readonly endpointService: pulumi.Output<string | undefined>;
128
- readonly errorMessage: pulumi.Output<string | undefined>;
137
+ /**
138
+ * Error message describing why the rule is in a `CREATE_FAILED` or otherwise failed state, if any.
139
+ */
140
+ readonly errorMessage: pulumi.Output<string>;
129
141
  readonly gcpEndpoint: pulumi.Output<outputs.MwsNccPrivateEndpointRuleGcpEndpoint | undefined>;
130
142
  /**
131
143
  * Not used by customer-managed private endpoint services. The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. Conflicts with `domainNames`.
@@ -168,15 +180,20 @@ export declare class MwsNccPrivateEndpointRule extends pulumi.CustomResource {
168
180
  * Input properties used for looking up and filtering MwsNccPrivateEndpointRule resources.
169
181
  */
170
182
  export interface MwsNccPrivateEndpointRuleState {
183
+ /**
184
+ * The Databricks account ID that owns this private endpoint rule.
185
+ */
171
186
  accountId?: pulumi.Input<string | undefined>;
172
187
  /**
173
- * The current status of this private endpoint. The private endpoint rules are effective only if the connection state is `ESTABLISHED`. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect.
188
+ * The current status of this private endpoint. The private endpoint rules are effective only if the connection state is `ESTABLISHED`. Remember that you must approve new endpoints on your resources in the cloud console before they take effect.
174
189
  * The possible values are:
175
190
  * * `PENDING`: The endpoint has been created and pending approval.
176
191
  * * `ESTABLISHED`: The endpoint has been approved and is ready to be used in your serverless compute resources.
177
192
  * * `REJECTED`: Connection was rejected by the private link resource owner.
178
193
  * * `DISCONNECTED`: Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for clean-up.
179
194
  * * `EXPIRED`: If the endpoint was created but not approved in 14 days, it will be EXPIRED.
195
+ * * `CREATING`: The endpoint creation is in progress. Once successfully created, the state transitions to `PENDING`.
196
+ * * `CREATE_FAILED`: The endpoint creation failed; see `errorMessage` for details.
180
197
  */
181
198
  connectionState?: pulumi.Input<string | undefined>;
182
199
  /**
@@ -208,6 +225,9 @@ export interface MwsNccPrivateEndpointRuleState {
208
225
  * Example `com.amazonaws.vpce.us-east-1.vpce-svc-123abcc1298abc123`. The full target AWS endpoint service name that connects to the destination resources of the private endpoint. Change forces creation of a new resource.
209
226
  */
210
227
  endpointService?: pulumi.Input<string | undefined>;
228
+ /**
229
+ * Error message describing why the rule is in a `CREATE_FAILED` or otherwise failed state, if any.
230
+ */
211
231
  errorMessage?: pulumi.Input<string | undefined>;
212
232
  gcpEndpoint?: pulumi.Input<inputs.MwsNccPrivateEndpointRuleGcpEndpoint | undefined>;
213
233
  /**
@@ -243,29 +263,6 @@ export interface MwsNccPrivateEndpointRuleState {
243
263
  * The set of arguments for constructing a MwsNccPrivateEndpointRule resource.
244
264
  */
245
265
  export interface MwsNccPrivateEndpointRuleArgs {
246
- accountId?: pulumi.Input<string | undefined>;
247
- /**
248
- * The current status of this private endpoint. The private endpoint rules are effective only if the connection state is `ESTABLISHED`. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect.
249
- * The possible values are:
250
- * * `PENDING`: The endpoint has been created and pending approval.
251
- * * `ESTABLISHED`: The endpoint has been approved and is ready to be used in your serverless compute resources.
252
- * * `REJECTED`: Connection was rejected by the private link resource owner.
253
- * * `DISCONNECTED`: Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for clean-up.
254
- * * `EXPIRED`: If the endpoint was created but not approved in 14 days, it will be EXPIRED.
255
- */
256
- connectionState?: pulumi.Input<string | undefined>;
257
- /**
258
- * Time in epoch milliseconds when this object was created.
259
- */
260
- creationTime?: pulumi.Input<number | undefined>;
261
- /**
262
- * Whether this private endpoint is deactivated.
263
- */
264
- deactivated?: pulumi.Input<boolean | undefined>;
265
- /**
266
- * Time in epoch milliseconds when this object was deactivated.
267
- */
268
- deactivatedAt?: pulumi.Input<number | undefined>;
269
266
  /**
270
267
  * * On Azure: List of domain names of target private link service. Only used by private endpoints to customer-managed private endpoint services. Conflicts with `groupId`.
271
268
  * * On AWS: List of target resource FQDNs accessible via the VPC endpoint service. Only used by private endpoints towards a VPC endpoint service behind a customer-managed VPC endpoint service. Conflicts with `resourceNames`.
@@ -275,15 +272,10 @@ export interface MwsNccPrivateEndpointRuleArgs {
275
272
  * Activation status. Only used by private endpoints towards an AWS S3 service. Update this field to activate/deactivate this private endpoint to allow egress access from serverless compute resources. Can only be updated after a private endpoint rule towards an AWS S3 service is successfully created.
276
273
  */
277
274
  enabled?: pulumi.Input<boolean | undefined>;
278
- /**
279
- * The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
280
- */
281
- endpointName?: pulumi.Input<string | undefined>;
282
275
  /**
283
276
  * Example `com.amazonaws.vpce.us-east-1.vpce-svc-123abcc1298abc123`. The full target AWS endpoint service name that connects to the destination resources of the private endpoint. Change forces creation of a new resource.
284
277
  */
285
278
  endpointService?: pulumi.Input<string | undefined>;
286
- errorMessage?: pulumi.Input<string | undefined>;
287
279
  gcpEndpoint?: pulumi.Input<inputs.MwsNccPrivateEndpointRuleGcpEndpoint | undefined>;
288
280
  /**
289
281
  * Not used by customer-managed private endpoint services. The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. Conflicts with `domainNames`.
@@ -301,17 +293,5 @@ export interface MwsNccPrivateEndpointRuleArgs {
301
293
  * Only used by private endpoints towards AWS S3 service. List of globally unique S3 bucket names that will be accessed via the VPC endpoint. The bucket names must be in the same region as the NCC/endpoint service. Conflict with `domainNames`.
302
294
  */
303
295
  resourceNames?: pulumi.Input<pulumi.Input<string>[] | undefined>;
304
- /**
305
- * the ID of a private endpoint rule.
306
- */
307
- ruleId?: pulumi.Input<string | undefined>;
308
- /**
309
- * Time in epoch milliseconds when this object was updated.
310
- */
311
- updatedTime?: pulumi.Input<number | undefined>;
312
- /**
313
- * The AWS VPC endpoint ID. You can use this ID to identify the VPC endpoint created by Databricks.
314
- */
315
- vpcEndpointId?: pulumi.Input<string | undefined>;
316
296
  }
317
297
  //# sourceMappingURL=mwsNccPrivateEndpointRule.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mwsNccPrivateEndpointRule.d.ts","sourceRoot":"","sources":["../mwsNccPrivateEndpointRule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,qBAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,yBAAyB;IAOpK;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,yBAAyB;IAOpE,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzD;;;;;;;;OAQG;IACH,SAAwB,eAAe,EAAE,MAAM,CA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C,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACpE"}
@@ -37,6 +37,10 @@ const utilities = __importStar(require("./utilities"));
37
37
  *
38
38
  * > This feature is available on Azure, and in Public Preview on AWS.
39
39
  *
40
+ * ## Plugin Framework Opt-In
41
+ *
42
+ * A Plugin Framework implementation of this resource is available. The default remains the SDK V2 implementation; to opt in, set the environment variable `export DATABRICKS_TF_ENABLED_PF_RESOURCES="databricks.MwsNccPrivateEndpointRule"`. Once opted in, `pulumi up` waits for the rule to leave `CREATING` before returning: `PENDING` and `ESTABLISHED` succeed, while a `CREATE_FAILED`, `REJECTED`, `DISCONNECTED`, or `EXPIRED` connection state surfaces as an apply-time error instead of on the next plan.
43
+ *
40
44
  * ## Example Usage
41
45
  *
42
46
  * Create private endpoints to an Azure storage account and an Azure standard load balancer.
@@ -150,24 +154,24 @@ class MwsNccPrivateEndpointRule extends pulumi.CustomResource {
150
154
  if (args?.networkConnectivityConfigId === undefined && !opts.urn) {
151
155
  throw new Error("Missing required property 'networkConnectivityConfigId'");
152
156
  }
153
- resourceInputs["accountId"] = args?.accountId;
154
- resourceInputs["connectionState"] = args?.connectionState;
155
- resourceInputs["creationTime"] = args?.creationTime;
156
- resourceInputs["deactivated"] = args?.deactivated;
157
- resourceInputs["deactivatedAt"] = args?.deactivatedAt;
158
157
  resourceInputs["domainNames"] = args?.domainNames;
159
158
  resourceInputs["enabled"] = args?.enabled;
160
- resourceInputs["endpointName"] = args?.endpointName;
161
159
  resourceInputs["endpointService"] = args?.endpointService;
162
- resourceInputs["errorMessage"] = args?.errorMessage;
163
160
  resourceInputs["gcpEndpoint"] = args?.gcpEndpoint;
164
161
  resourceInputs["groupId"] = args?.groupId;
165
162
  resourceInputs["networkConnectivityConfigId"] = args?.networkConnectivityConfigId;
166
163
  resourceInputs["resourceId"] = args?.resourceId;
167
164
  resourceInputs["resourceNames"] = args?.resourceNames;
168
- resourceInputs["ruleId"] = args?.ruleId;
169
- resourceInputs["updatedTime"] = args?.updatedTime;
170
- resourceInputs["vpcEndpointId"] = args?.vpcEndpointId;
165
+ resourceInputs["accountId"] = undefined /*out*/;
166
+ resourceInputs["connectionState"] = undefined /*out*/;
167
+ resourceInputs["creationTime"] = undefined /*out*/;
168
+ resourceInputs["deactivated"] = undefined /*out*/;
169
+ resourceInputs["deactivatedAt"] = undefined /*out*/;
170
+ resourceInputs["endpointName"] = undefined /*out*/;
171
+ resourceInputs["errorMessage"] = undefined /*out*/;
172
+ resourceInputs["ruleId"] = undefined /*out*/;
173
+ resourceInputs["updatedTime"] = undefined /*out*/;
174
+ resourceInputs["vpcEndpointId"] = undefined /*out*/;
171
175
  }
172
176
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
173
177
  super(MwsNccPrivateEndpointRule.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"mwsNccPrivateEndpointRule.js","sourceRoot":"","sources":["../mwsNccPrivateEndpointRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,sEAAsE,CAAC;IAE7G;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,I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,OAAO,CAAC;YACnD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AApKL,8DAqKC"}
@@ -354,7 +354,7 @@ export declare class MwsWorkspaces extends pulumi.CustomResource {
354
354
  */
355
355
  readonly gcpWorkspaceSa: pulumi.Output<string>;
356
356
  /**
357
- * @deprecated gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.120.0/docs/guides/gcp-workspace#creating-a-databricks-workspace
357
+ * @deprecated gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.121.0/docs/guides/gcp-workspace#creating-a-databricks-workspace
358
358
  */
359
359
  readonly gkeConfig: pulumi.Output<outputs.MwsWorkspacesGkeConfig | undefined>;
360
360
  readonly isNoPublicIpEnabled: pulumi.Output<boolean | undefined>;
@@ -477,7 +477,7 @@ export interface MwsWorkspacesState {
477
477
  */
478
478
  gcpWorkspaceSa?: pulumi.Input<string | undefined>;
479
479
  /**
480
- * @deprecated gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.120.0/docs/guides/gcp-workspace#creating-a-databricks-workspace
480
+ * @deprecated gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.121.0/docs/guides/gcp-workspace#creating-a-databricks-workspace
481
481
  */
482
482
  gkeConfig?: pulumi.Input<inputs.MwsWorkspacesGkeConfig | undefined>;
483
483
  isNoPublicIpEnabled?: pulumi.Input<boolean | undefined>;
@@ -584,7 +584,7 @@ export interface MwsWorkspacesArgs {
584
584
  externalCustomerInfo?: pulumi.Input<inputs.MwsWorkspacesExternalCustomerInfo | undefined>;
585
585
  gcpManagedNetworkConfig?: pulumi.Input<inputs.MwsWorkspacesGcpManagedNetworkConfig | undefined>;
586
586
  /**
587
- * @deprecated gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.120.0/docs/guides/gcp-workspace#creating-a-databricks-workspace
587
+ * @deprecated gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.121.0/docs/guides/gcp-workspace#creating-a-databricks-workspace
588
588
  */
589
589
  gkeConfig?: pulumi.Input<inputs.MwsWorkspacesGkeConfig | undefined>;
590
590
  isNoPublicIpEnabled?: pulumi.Input<boolean | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/databricks",
3
- "version": "1.99.0-alpha.1783234126",
3
+ "version": "1.99.0",
4
4
  "description": "A Pulumi package for creating and managing databricks cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -24,6 +24,6 @@
24
24
  "pulumi": {
25
25
  "resource": true,
26
26
  "name": "databricks",
27
- "version": "1.99.0-alpha.1783234126"
27
+ "version": "1.99.0"
28
28
  }
29
29
  }
@@ -8,6 +8,71 @@ import * as outputs from "./types/output";
8
8
  *
9
9
  * ## Example Usage
10
10
  *
11
+ * ### Managing Implicitly Created Database
12
+ *
13
+ * A database named `databricks-postgres` (Postgres name `databricksPostgres`) is implicitly created on every branch. Since Pulumi is declarative, managing an already-existing resource requires `replaceExisting = true`: it lets Pulumi represent the implicitly created database in Pulumi state and immediately apply the provided configuration to it.
14
+ *
15
+ * `replaceExisting = true` only affects the initial adoption. Once the database is in Pulumi state, it is managed like any other resource: removing it from your configuration and applying **deletes the actual database** (and its data), not just the state entry. This is unlike `databricks.PostgresBranch`, whose deletion is instead controlled by its parent project. To stop managing the database without deleting it, remove it from state with `terraform state rm` before removing it from your configuration.
16
+ *
17
+ * `spec.role` is optional: omit it to keep the database's existing owner (as shown below). When you do set it — to change ownership — it must reference a role in the same branch, written as `<branch-name>/roles/<role_id>`.
18
+ *
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as databricks from "@pulumi/databricks";
22
+ *
23
+ * const _this = new databricks.PostgresProject("this", {
24
+ * projectId: "my-project",
25
+ * spec: {
26
+ * pgVersion: 17,
27
+ * displayName: "My Project",
28
+ * },
29
+ * });
30
+ * const production = new databricks.PostgresBranch("production", {
31
+ * branchId: "production",
32
+ * parent: _this.name,
33
+ * spec: {
34
+ * noExpiry: true,
35
+ * },
36
+ * replaceExisting: true,
37
+ * });
38
+ * const databricksPostgres = new databricks.PostgresDatabase("databricks_postgres", {
39
+ * databaseId: "databricks-postgres",
40
+ * parent: production.name,
41
+ * spec: {
42
+ * postgresDatabase: "databricks_postgres",
43
+ * },
44
+ * replaceExisting: true,
45
+ * });
46
+ * ```
47
+ *
48
+ * ### Managing a Database Inherited by a Child Branch
49
+ *
50
+ * A child branch created from a source branch (via `spec.source_branch`) shares the source's storage through copy-on-write, so every database on the source branch — including the implicit `databricks-postgres` database — already exists on the child at the branch point. These inherited databases are not created by Pulumi, so managing one requires `replaceExisting = true`, exactly as for the implicitly created database above.
51
+ *
52
+ * You typically adopt an inherited database when you want to manage its configuration (for example, transfer ownership via `spec.role`) on the child branch independently of the source.
53
+ *
54
+ * ```typescript
55
+ * import * as pulumi from "@pulumi/pulumi";
56
+ * import * as databricks from "@pulumi/databricks";
57
+ *
58
+ * const child = new databricks.PostgresBranch("child", {
59
+ * branchId: "feature-x",
60
+ * parent: _this.name,
61
+ * spec: {
62
+ * sourceBranch: production.name,
63
+ * noExpiry: true,
64
+ * },
65
+ * });
66
+ * const inherited = new databricks.PostgresDatabase("inherited", {
67
+ * databaseId: "databricks-postgres",
68
+ * parent: child.name,
69
+ * spec: {
70
+ * postgresDatabase: "databricks_postgres",
71
+ * },
72
+ * replaceExisting: true,
73
+ * });
74
+ * ```
75
+ *
11
76
  * ### Database Owned by a Specific Role
12
77
  *
13
78
  * Assign ownership to a role you manage alongside the database. The Postgres database will be created with the specified role as its owner.