@pulumi/databricks 1.27.0 → 1.27.1

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.
@@ -50,7 +50,7 @@ export declare function getAwsAssumeRolePolicy(args: GetAwsAssumeRolePolicyArgs,
50
50
  export interface GetAwsAssumeRolePolicyArgs {
51
51
  databricksAccountId?: string;
52
52
  /**
53
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/).
53
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
54
54
  */
55
55
  externalId: string;
56
56
  /**
@@ -125,7 +125,7 @@ export declare function getAwsAssumeRolePolicyOutput(args: GetAwsAssumeRolePolic
125
125
  export interface GetAwsAssumeRolePolicyOutputArgs {
126
126
  databricksAccountId?: pulumi.Input<string>;
127
127
  /**
128
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/).
128
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
129
129
  */
130
130
  externalId: pulumi.Input<string>;
131
131
  /**
@@ -42,7 +42,11 @@ import * as pulumi from "@pulumi/pulumi";
42
42
  *
43
43
  * ## Import
44
44
  *
45
- * -> **Note** Importing this resource is not currently supported.
45
+ * This resource can be imported by the combination of its identifier and the account idbash
46
+ *
47
+ * ```sh
48
+ * $ pulumi import databricks:index/mwsCredentials:MwsCredentials this <account_id>/<credentials_id>
49
+ * ```
46
50
  */
47
51
  export declare class MwsCredentials extends pulumi.CustomResource {
48
52
  /**
@@ -61,9 +65,9 @@ export declare class MwsCredentials extends pulumi.CustomResource {
61
65
  */
62
66
  static isInstance(obj: any): obj is MwsCredentials;
63
67
  /**
64
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
68
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/)
65
69
  */
66
- readonly accountId: pulumi.Output<string>;
70
+ readonly accountId: pulumi.Output<string | undefined>;
67
71
  /**
68
72
  * (Integer) time of credentials registration
69
73
  */
@@ -95,7 +99,7 @@ export declare class MwsCredentials extends pulumi.CustomResource {
95
99
  */
96
100
  export interface MwsCredentialsState {
97
101
  /**
98
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
102
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/)
99
103
  */
100
104
  accountId?: pulumi.Input<string>;
101
105
  /**
@@ -121,13 +125,22 @@ export interface MwsCredentialsState {
121
125
  */
122
126
  export interface MwsCredentialsArgs {
123
127
  /**
124
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
128
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/)
129
+ */
130
+ accountId?: pulumi.Input<string>;
131
+ /**
132
+ * (Integer) time of credentials registration
133
+ */
134
+ creationTime?: pulumi.Input<number>;
135
+ /**
136
+ * (String) identifier of credentials
125
137
  */
126
- accountId: pulumi.Input<string>;
138
+ credentialsId?: pulumi.Input<string>;
127
139
  /**
128
140
  * name of credentials to register
129
141
  */
130
142
  credentialsName: pulumi.Input<string>;
143
+ externalId?: pulumi.Input<string>;
131
144
  /**
132
145
  * ARN of cross-account role
133
146
  */
package/mwsCredentials.js CHANGED
@@ -48,7 +48,11 @@ const utilities = require("./utilities");
48
48
  *
49
49
  * ## Import
50
50
  *
51
- * -> **Note** Importing this resource is not currently supported.
51
+ * This resource can be imported by the combination of its identifier and the account idbash
52
+ *
53
+ * ```sh
54
+ * $ pulumi import databricks:index/mwsCredentials:MwsCredentials this <account_id>/<credentials_id>
55
+ * ```
52
56
  */
53
57
  class MwsCredentials extends pulumi.CustomResource {
54
58
  /**
@@ -87,25 +91,20 @@ class MwsCredentials extends pulumi.CustomResource {
87
91
  }
88
92
  else {
89
93
  const args = argsOrState;
90
- if ((!args || args.accountId === undefined) && !opts.urn) {
91
- throw new Error("Missing required property 'accountId'");
92
- }
93
94
  if ((!args || args.credentialsName === undefined) && !opts.urn) {
94
95
  throw new Error("Missing required property 'credentialsName'");
95
96
  }
96
97
  if ((!args || args.roleArn === undefined) && !opts.urn) {
97
98
  throw new Error("Missing required property 'roleArn'");
98
99
  }
99
- resourceInputs["accountId"] = (args === null || args === void 0 ? void 0 : args.accountId) ? pulumi.secret(args.accountId) : undefined;
100
+ resourceInputs["accountId"] = args ? args.accountId : undefined;
101
+ resourceInputs["creationTime"] = args ? args.creationTime : undefined;
102
+ resourceInputs["credentialsId"] = args ? args.credentialsId : undefined;
100
103
  resourceInputs["credentialsName"] = args ? args.credentialsName : undefined;
104
+ resourceInputs["externalId"] = args ? args.externalId : undefined;
101
105
  resourceInputs["roleArn"] = args ? args.roleArn : undefined;
102
- resourceInputs["creationTime"] = undefined /*out*/;
103
- resourceInputs["credentialsId"] = undefined /*out*/;
104
- resourceInputs["externalId"] = undefined /*out*/;
105
106
  }
106
107
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
107
- const secretOpts = { additionalSecretOutputs: ["accountId"] };
108
- opts = pulumi.mergeOptions(opts, secretOpts);
109
108
  super(MwsCredentials.__pulumiType, name, resourceInputs, opts);
110
109
  }
111
110
  }
@@ -1 +1 @@
1
- {"version":3,"file":"mwsCredentials.js","sourceRoot":"","sources":["../mwsCredentials.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAG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C,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAtFL,wCAuFC;AAzEG,gBAAgB;AACO,2BAAY,GAAG,gDAAgD,CAAC"}
@@ -216,7 +216,7 @@ export declare class MwsCustomerManagedKeys extends pulumi.CustomResource {
216
216
  */
217
217
  static isInstance(obj: any): obj is MwsCustomerManagedKeys;
218
218
  /**
219
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
219
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/)
220
220
  */
221
221
  readonly accountId: pulumi.Output<string>;
222
222
  /**
@@ -253,7 +253,7 @@ export declare class MwsCustomerManagedKeys extends pulumi.CustomResource {
253
253
  */
254
254
  export interface MwsCustomerManagedKeysState {
255
255
  /**
256
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
256
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/)
257
257
  */
258
258
  accountId?: pulumi.Input<string>;
259
259
  /**
@@ -282,7 +282,7 @@ export interface MwsCustomerManagedKeysState {
282
282
  */
283
283
  export interface MwsCustomerManagedKeysArgs {
284
284
  /**
285
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
285
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/)
286
286
  */
287
287
  accountId: pulumi.Input<string>;
288
288
  /**
@@ -78,7 +78,7 @@ export declare class MwsLogDelivery extends pulumi.CustomResource {
78
78
  */
79
79
  static isInstance(obj: any): obj is MwsLogDelivery;
80
80
  /**
81
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/).
81
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
82
82
  */
83
83
  readonly accountId: pulumi.Output<string>;
84
84
  /**
@@ -135,7 +135,7 @@ export declare class MwsLogDelivery extends pulumi.CustomResource {
135
135
  */
136
136
  export interface MwsLogDeliveryState {
137
137
  /**
138
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/).
138
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
139
139
  */
140
140
  accountId?: pulumi.Input<string>;
141
141
  /**
@@ -184,7 +184,7 @@ export interface MwsLogDeliveryState {
184
184
  */
185
185
  export interface MwsLogDeliveryArgs {
186
186
  /**
187
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/).
187
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
188
188
  */
189
189
  accountId: pulumi.Input<string>;
190
190
  /**
package/mwsNetworks.d.ts CHANGED
@@ -170,7 +170,7 @@ export declare class MwsNetworks extends pulumi.CustomResource {
170
170
  */
171
171
  static isInstance(obj: any): obj is MwsNetworks;
172
172
  /**
173
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
173
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/)
174
174
  */
175
175
  readonly accountId: pulumi.Output<string>;
176
176
  readonly creationTime: pulumi.Output<number>;
@@ -225,7 +225,7 @@ export declare class MwsNetworks extends pulumi.CustomResource {
225
225
  */
226
226
  export interface MwsNetworksState {
227
227
  /**
228
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
228
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/)
229
229
  */
230
230
  accountId?: pulumi.Input<string>;
231
231
  creationTime?: pulumi.Input<number>;
@@ -272,7 +272,7 @@ export interface MwsNetworksState {
272
272
  */
273
273
  export interface MwsNetworksArgs {
274
274
  /**
275
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
275
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/)
276
276
  */
277
277
  accountId: pulumi.Input<string>;
278
278
  creationTime?: pulumi.Input<number>;
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * These resources are invoked in the account context. Permission Assignment Account API endpoints are restricted to account admins. Provider must have `accountId` attribute configured. Account Id that could be found in the bottom left corner of Accounts Console
3
+ * These resources are invoked in the account context. Permission Assignment Account API endpoints are restricted to account admins. Provider must have `accountId` attribute configured. Account Id that could be found in the top right corner of Accounts Console
4
4
  *
5
5
  * ## Example Usage
6
6
  *
@@ -6,7 +6,7 @@ exports.MwsPermissionAssignment = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * These resources are invoked in the account context. Permission Assignment Account API endpoints are restricted to account admins. Provider must have `accountId` attribute configured. Account Id that could be found in the bottom left corner of Accounts Console
9
+ * These resources are invoked in the account context. Permission Assignment Account API endpoints are restricted to account admins. Provider must have `accountId` attribute configured. Account Id that could be found in the top right corner of Accounts Console
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -57,7 +57,7 @@ export declare class MwsStorageConfigurations extends pulumi.CustomResource {
57
57
  */
58
58
  static isInstance(obj: any): obj is MwsStorageConfigurations;
59
59
  /**
60
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
60
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/)
61
61
  */
62
62
  readonly accountId: pulumi.Output<string>;
63
63
  /**
@@ -87,7 +87,7 @@ export declare class MwsStorageConfigurations extends pulumi.CustomResource {
87
87
  */
88
88
  export interface MwsStorageConfigurationsState {
89
89
  /**
90
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
90
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/)
91
91
  */
92
92
  accountId?: pulumi.Input<string>;
93
93
  /**
@@ -109,7 +109,7 @@ export interface MwsStorageConfigurationsState {
109
109
  */
110
110
  export interface MwsStorageConfigurationsArgs {
111
111
  /**
112
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
112
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/)
113
113
  */
114
114
  accountId: pulumi.Input<string>;
115
115
  /**
@@ -23,7 +23,7 @@ export declare class MwsWorkspaces extends pulumi.CustomResource {
23
23
  */
24
24
  static isInstance(obj: any): obj is MwsWorkspaces;
25
25
  /**
26
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/).
26
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
27
27
  */
28
28
  readonly accountId: pulumi.Output<string>;
29
29
  /**
@@ -115,7 +115,7 @@ export declare class MwsWorkspaces extends pulumi.CustomResource {
115
115
  */
116
116
  export interface MwsWorkspacesState {
117
117
  /**
118
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/).
118
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
119
119
  */
120
120
  accountId?: pulumi.Input<string>;
121
121
  /**
@@ -199,7 +199,7 @@ export interface MwsWorkspacesState {
199
199
  */
200
200
  export interface MwsWorkspacesArgs {
201
201
  /**
202
- * Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/).
202
+ * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
203
203
  */
204
204
  accountId: pulumi.Input<string>;
205
205
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/databricks",
3
- "version": "v1.27.0",
3
+ "version": "v1.27.1",
4
4
  "description": "A Pulumi package for creating and managing databricks cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -42,6 +42,10 @@ export declare class WorkspaceFile extends pulumi.CustomResource {
42
42
  * Routable URL of the workspace file
43
43
  */
44
44
  readonly url: pulumi.Output<string>;
45
+ /**
46
+ * path on Workspace File System (WSFS) in form of `/Workspace` + `path`
47
+ */
48
+ readonly workspacePath: pulumi.Output<string>;
45
49
  /**
46
50
  * Create a WorkspaceFile resource with the given unique name, arguments, and options.
47
51
  *
@@ -73,6 +77,10 @@ export interface WorkspaceFileState {
73
77
  * Routable URL of the workspace file
74
78
  */
75
79
  url?: pulumi.Input<string>;
80
+ /**
81
+ * path on Workspace File System (WSFS) in form of `/Workspace` + `path`
82
+ */
83
+ workspacePath?: pulumi.Input<string>;
76
84
  }
77
85
  /**
78
86
  * The set of arguments for constructing a WorkspaceFile resource.
package/workspaceFile.js CHANGED
@@ -48,6 +48,7 @@ class WorkspaceFile extends pulumi.CustomResource {
48
48
  resourceInputs["path"] = state ? state.path : undefined;
49
49
  resourceInputs["source"] = state ? state.source : undefined;
50
50
  resourceInputs["url"] = state ? state.url : undefined;
51
+ resourceInputs["workspacePath"] = state ? state.workspacePath : undefined;
51
52
  }
52
53
  else {
53
54
  const args = argsOrState;
@@ -60,6 +61,7 @@ class WorkspaceFile extends pulumi.CustomResource {
60
61
  resourceInputs["path"] = args ? args.path : undefined;
61
62
  resourceInputs["source"] = args ? args.source : undefined;
62
63
  resourceInputs["url"] = undefined /*out*/;
64
+ resourceInputs["workspacePath"] = undefined /*out*/;
63
65
  }
64
66
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
65
67
  super(WorkspaceFile.__pulumiType, name, resourceInputs, op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