@pulumi/databricks 0.4.1 → 1.0.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.
Files changed (98) hide show
  1. package/catalog.d.ts +3 -3
  2. package/cluster.d.ts +12 -12
  3. package/externalLocation.d.ts +3 -3
  4. package/getAwsCrossAccountPolicy.d.ts +1 -1
  5. package/getAwsCrossAccountPolicy.js +1 -1
  6. package/getCurrentUser.d.ts +1 -0
  7. package/getCurrentUser.js +1 -0
  8. package/getCurrentUser.js.map +1 -1
  9. package/getNodeType.d.ts +3 -0
  10. package/getNodeType.js +1 -0
  11. package/getNodeType.js.map +1 -1
  12. package/getServicePrincipal.d.ts +117 -0
  13. package/getServicePrincipal.js +43 -0
  14. package/getServicePrincipal.js.map +1 -0
  15. package/getServicePrincipals.d.ts +57 -0
  16. package/getServicePrincipals.js +38 -0
  17. package/getServicePrincipals.js.map +1 -0
  18. package/getUser.d.ts +1 -0
  19. package/getUser.js.map +1 -1
  20. package/gitCredential.d.ts +0 -9
  21. package/gitCredential.js.map +1 -1
  22. package/grants.d.ts +3 -0
  23. package/grants.js +2 -0
  24. package/grants.js.map +1 -1
  25. package/index.d.ts +2 -4
  26. package/index.js +2 -20
  27. package/index.js.map +1 -1
  28. package/instanceProfile.d.ts +2 -2
  29. package/instanceProfile.js +2 -2
  30. package/ipAccessList.d.ts +3 -3
  31. package/library.d.ts +3 -3
  32. package/library.js +3 -3
  33. package/metastore.d.ts +60 -3
  34. package/metastore.js +20 -0
  35. package/metastore.js.map +1 -1
  36. package/metastoreDataAccess.d.ts +3 -0
  37. package/metastoreDataAccess.js +2 -0
  38. package/metastoreDataAccess.js.map +1 -1
  39. package/mlflowWebhook.d.ts +3 -3
  40. package/mwsLogDelivery.d.ts +12 -1
  41. package/mwsLogDelivery.js +3 -1
  42. package/mwsLogDelivery.js.map +1 -1
  43. package/mwsNetworks.d.ts +3 -3
  44. package/oboToken.d.ts +3 -16
  45. package/oboToken.js +0 -13
  46. package/oboToken.js.map +1 -1
  47. package/package.json +2 -2
  48. package/package.json.dev +2 -2
  49. package/permissions.d.ts +86 -2
  50. package/permissions.js +22 -2
  51. package/permissions.js.map +1 -1
  52. package/pipeline.d.ts +60 -16
  53. package/pipeline.js +8 -7
  54. package/pipeline.js.map +1 -1
  55. package/repo.d.ts +6 -6
  56. package/schema.d.ts +3 -3
  57. package/sqlDashboard.d.ts +5 -1
  58. package/sqlDashboard.js +5 -1
  59. package/sqlDashboard.js.map +1 -1
  60. package/sqlEndpoint.d.ts +3 -3
  61. package/sqlGlobalConfig.d.ts +1 -1
  62. package/sqlGlobalConfig.js +1 -1
  63. package/sqlQuery.d.ts +5 -1
  64. package/sqlQuery.js +5 -1
  65. package/sqlQuery.js.map +1 -1
  66. package/sqlVisualization.d.ts +5 -1
  67. package/sqlVisualization.js +5 -1
  68. package/sqlVisualization.js.map +1 -1
  69. package/sqlWidget.d.ts +5 -1
  70. package/sqlWidget.js +5 -1
  71. package/sqlWidget.js.map +1 -1
  72. package/storageCredential.d.ts +15 -3
  73. package/storageCredential.js +13 -3
  74. package/storageCredential.js.map +1 -1
  75. package/table.d.ts +3 -3
  76. package/token.d.ts +1 -1
  77. package/token.js +1 -1
  78. package/types/input.d.ts +55 -5
  79. package/types/output.d.ts +55 -5
  80. package/user.d.ts +1 -1
  81. package/user.js +1 -1
  82. package/userInstanceProfile.d.ts +1 -1
  83. package/userInstanceProfile.js +1 -1
  84. package/userRole.d.ts +1 -1
  85. package/userRole.js +1 -1
  86. package/workspaceConf.d.ts +3 -3
  87. package/awsS3Mount.d.ts +0 -50
  88. package/awsS3Mount.js +0 -63
  89. package/awsS3Mount.js.map +0 -1
  90. package/azureAdlsGen1Mount.d.ts +0 -65
  91. package/azureAdlsGen1Mount.js +0 -85
  92. package/azureAdlsGen1Mount.js.map +0 -1
  93. package/azureAdlsGen2Mount.d.ts +0 -68
  94. package/azureAdlsGen2Mount.js +0 -93
  95. package/azureAdlsGen2Mount.js.map +0 -1
  96. package/azureBlobMount.d.ts +0 -62
  97. package/azureBlobMount.js +0 -83
  98. package/azureBlobMount.js.map +0 -1
package/catalog.d.ts CHANGED
@@ -56,7 +56,7 @@ export declare class Catalog extends pulumi.CustomResource {
56
56
  */
57
57
  readonly name: pulumi.Output<string>;
58
58
  /**
59
- * Username/groupname of catalog owner. Currently this field can only be changed after the resource is created.
59
+ * Username/groupname/sp applicationId catalog owner.
60
60
  */
61
61
  readonly owner: pulumi.Output<string>;
62
62
  /**
@@ -88,7 +88,7 @@ export interface CatalogState {
88
88
  */
89
89
  name?: pulumi.Input<string>;
90
90
  /**
91
- * Username/groupname of catalog owner. Currently this field can only be changed after the resource is created.
91
+ * Username/groupname/sp applicationId catalog owner.
92
92
  */
93
93
  owner?: pulumi.Input<string>;
94
94
  /**
@@ -112,7 +112,7 @@ export interface CatalogArgs {
112
112
  */
113
113
  name?: pulumi.Input<string>;
114
114
  /**
115
- * Username/groupname of catalog owner. Currently this field can only be changed after the resource is created.
115
+ * Username/groupname/sp applicationId catalog owner.
116
116
  */
117
117
  owner?: pulumi.Input<string>;
118
118
  /**
package/cluster.d.ts CHANGED
@@ -27,7 +27,7 @@ export declare class Cluster extends pulumi.CustomResource {
27
27
  static isInstance(obj: any): obj is Cluster;
28
28
  readonly autoscale: pulumi.Output<outputs.ClusterAutoscale | undefined>;
29
29
  /**
30
- * Automatically terminate the cluster after being inactive for this time in minutes. If not set, Databricks won't automatically terminate an inactive cluster. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. _We highly recommend having this setting present for Interactive/BI clusters._
30
+ * 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. Defaults to `60`. _We highly recommend having this setting present for Interactive/BI clusters._
31
31
  */
32
32
  readonly autoterminationMinutes: pulumi.Output<number | undefined>;
33
33
  readonly awsAttributes: pulumi.Output<outputs.ClusterAwsAttributes | undefined>;
@@ -56,7 +56,7 @@ export declare class Cluster extends pulumi.CustomResource {
56
56
  }>;
57
57
  readonly dockerImage: pulumi.Output<outputs.ClusterDockerImage | undefined>;
58
58
  /**
59
- * similar to `instancePoolId`, but for driver node. If omitted, and `instancePoolId` is specified, then driver will be allocated from that pool.
59
+ * similar to `instancePoolId`, but for driver node. If omitted, and `instancePoolId` is specified, then the driver will be allocated from that pool.
60
60
  */
61
61
  readonly driverInstancePoolId: pulumi.Output<string>;
62
62
  /**
@@ -68,7 +68,7 @@ export declare class Cluster extends pulumi.CustomResource {
68
68
  */
69
69
  readonly enableElasticDisk: pulumi.Output<boolean>;
70
70
  /**
71
- * Some instance types you use to run clusters may have locally attached disks. Databricks may store shuffle data or temporary data on these locally attached disks. To ensure that all data at rest is encrypted for all storage types, including shuffle data stored temporarily on your cluster’s local disks, you can enable local disk encryption. When local disk encryption is enabled, Databricks generates an encryption key locally unique to each cluster node and encrypting all data stored on local disks. The scope of the key is local to each cluster node and is destroyed along with the cluster node itself. During its lifetime, the key resides in memory for encryption and decryption and is stored encrypted on the disk. _Your workloads may run more slowly because of the performance impact of reading and writing encrypted data to and from local volumes. This feature is not available for all Azure Databricks subscriptions. Contact your Microsoft or Databricks account representative to request access._
71
+ * Some instance types you use to run clusters may have locally attached disks. Databricks may store shuffle data or temporary data on these locally attached disks. To ensure that all data at rest is encrypted for all storage types, including shuffle data stored temporarily on your cluster’s local disks, you can enable local disk encryption. When local disk encryption is enabled, Databricks generates an encryption key locally unique to each cluster node and uses it to encrypt all data stored on local disks. The scope of the key is local to each cluster node and is destroyed along with the cluster node itself. During its lifetime, the key resides in memory for encryption and decryption and is stored encrypted on the disk. _Your workloads may run more slowly because of the performance impact of reading and writing encrypted data to and from local volumes. This feature is not available for all Azure Databricks subscriptions. Contact your Microsoft or Databricks account representative to request access._
72
72
  */
73
73
  readonly enableLocalDiskEncryption: pulumi.Output<boolean>;
74
74
  readonly gcpAttributes: pulumi.Output<outputs.ClusterGcpAttributes | undefined>;
@@ -82,7 +82,7 @@ export declare class Cluster extends pulumi.CustomResource {
82
82
  */
83
83
  readonly instancePoolId: pulumi.Output<string | undefined>;
84
84
  /**
85
- * boolean value specifying if cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 70](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that.
85
+ * boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 70](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that.
86
86
  */
87
87
  readonly isPinned: pulumi.Output<boolean | undefined>;
88
88
  readonly libraries: pulumi.Output<outputs.ClusterLibrary[] | undefined>;
@@ -139,7 +139,7 @@ export declare class Cluster extends pulumi.CustomResource {
139
139
  export interface ClusterState {
140
140
  autoscale?: pulumi.Input<inputs.ClusterAutoscale>;
141
141
  /**
142
- * Automatically terminate the cluster after being inactive for this time in minutes. If not set, Databricks won't automatically terminate an inactive cluster. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. _We highly recommend having this setting present for Interactive/BI clusters._
142
+ * 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. Defaults to `60`. _We highly recommend having this setting present for Interactive/BI clusters._
143
143
  */
144
144
  autoterminationMinutes?: pulumi.Input<number>;
145
145
  awsAttributes?: pulumi.Input<inputs.ClusterAwsAttributes>;
@@ -168,7 +168,7 @@ export interface ClusterState {
168
168
  }>;
169
169
  dockerImage?: pulumi.Input<inputs.ClusterDockerImage>;
170
170
  /**
171
- * similar to `instancePoolId`, but for driver node. If omitted, and `instancePoolId` is specified, then driver will be allocated from that pool.
171
+ * similar to `instancePoolId`, but for driver node. If omitted, and `instancePoolId` is specified, then the driver will be allocated from that pool.
172
172
  */
173
173
  driverInstancePoolId?: pulumi.Input<string>;
174
174
  /**
@@ -180,7 +180,7 @@ export interface ClusterState {
180
180
  */
181
181
  enableElasticDisk?: pulumi.Input<boolean>;
182
182
  /**
183
- * Some instance types you use to run clusters may have locally attached disks. Databricks may store shuffle data or temporary data on these locally attached disks. To ensure that all data at rest is encrypted for all storage types, including shuffle data stored temporarily on your cluster’s local disks, you can enable local disk encryption. When local disk encryption is enabled, Databricks generates an encryption key locally unique to each cluster node and encrypting all data stored on local disks. The scope of the key is local to each cluster node and is destroyed along with the cluster node itself. During its lifetime, the key resides in memory for encryption and decryption and is stored encrypted on the disk. _Your workloads may run more slowly because of the performance impact of reading and writing encrypted data to and from local volumes. This feature is not available for all Azure Databricks subscriptions. Contact your Microsoft or Databricks account representative to request access._
183
+ * Some instance types you use to run clusters may have locally attached disks. Databricks may store shuffle data or temporary data on these locally attached disks. To ensure that all data at rest is encrypted for all storage types, including shuffle data stored temporarily on your cluster’s local disks, you can enable local disk encryption. When local disk encryption is enabled, Databricks generates an encryption key locally unique to each cluster node and uses it to encrypt all data stored on local disks. The scope of the key is local to each cluster node and is destroyed along with the cluster node itself. During its lifetime, the key resides in memory for encryption and decryption and is stored encrypted on the disk. _Your workloads may run more slowly because of the performance impact of reading and writing encrypted data to and from local volumes. This feature is not available for all Azure Databricks subscriptions. Contact your Microsoft or Databricks account representative to request access._
184
184
  */
185
185
  enableLocalDiskEncryption?: pulumi.Input<boolean>;
186
186
  gcpAttributes?: pulumi.Input<inputs.ClusterGcpAttributes>;
@@ -194,7 +194,7 @@ export interface ClusterState {
194
194
  */
195
195
  instancePoolId?: pulumi.Input<string>;
196
196
  /**
197
- * boolean value specifying if cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 70](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that.
197
+ * boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 70](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that.
198
198
  */
199
199
  isPinned?: pulumi.Input<boolean>;
200
200
  libraries?: pulumi.Input<pulumi.Input<inputs.ClusterLibrary>[]>;
@@ -243,7 +243,7 @@ export interface ClusterState {
243
243
  export interface ClusterArgs {
244
244
  autoscale?: pulumi.Input<inputs.ClusterAutoscale>;
245
245
  /**
246
- * Automatically terminate the cluster after being inactive for this time in minutes. If not set, Databricks won't automatically terminate an inactive cluster. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. _We highly recommend having this setting present for Interactive/BI clusters._
246
+ * 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. Defaults to `60`. _We highly recommend having this setting present for Interactive/BI clusters._
247
247
  */
248
248
  autoterminationMinutes?: pulumi.Input<number>;
249
249
  awsAttributes?: pulumi.Input<inputs.ClusterAwsAttributes>;
@@ -266,7 +266,7 @@ export interface ClusterArgs {
266
266
  dataSecurityMode?: pulumi.Input<string>;
267
267
  dockerImage?: pulumi.Input<inputs.ClusterDockerImage>;
268
268
  /**
269
- * similar to `instancePoolId`, but for driver node. If omitted, and `instancePoolId` is specified, then driver will be allocated from that pool.
269
+ * similar to `instancePoolId`, but for driver node. If omitted, and `instancePoolId` is specified, then the driver will be allocated from that pool.
270
270
  */
271
271
  driverInstancePoolId?: pulumi.Input<string>;
272
272
  /**
@@ -278,7 +278,7 @@ export interface ClusterArgs {
278
278
  */
279
279
  enableElasticDisk?: pulumi.Input<boolean>;
280
280
  /**
281
- * Some instance types you use to run clusters may have locally attached disks. Databricks may store shuffle data or temporary data on these locally attached disks. To ensure that all data at rest is encrypted for all storage types, including shuffle data stored temporarily on your cluster’s local disks, you can enable local disk encryption. When local disk encryption is enabled, Databricks generates an encryption key locally unique to each cluster node and encrypting all data stored on local disks. The scope of the key is local to each cluster node and is destroyed along with the cluster node itself. During its lifetime, the key resides in memory for encryption and decryption and is stored encrypted on the disk. _Your workloads may run more slowly because of the performance impact of reading and writing encrypted data to and from local volumes. This feature is not available for all Azure Databricks subscriptions. Contact your Microsoft or Databricks account representative to request access._
281
+ * Some instance types you use to run clusters may have locally attached disks. Databricks may store shuffle data or temporary data on these locally attached disks. To ensure that all data at rest is encrypted for all storage types, including shuffle data stored temporarily on your cluster’s local disks, you can enable local disk encryption. When local disk encryption is enabled, Databricks generates an encryption key locally unique to each cluster node and uses it to encrypt all data stored on local disks. The scope of the key is local to each cluster node and is destroyed along with the cluster node itself. During its lifetime, the key resides in memory for encryption and decryption and is stored encrypted on the disk. _Your workloads may run more slowly because of the performance impact of reading and writing encrypted data to and from local volumes. This feature is not available for all Azure Databricks subscriptions. Contact your Microsoft or Databricks account representative to request access._
282
282
  */
283
283
  enableLocalDiskEncryption?: pulumi.Input<boolean>;
284
284
  gcpAttributes?: pulumi.Input<inputs.ClusterGcpAttributes>;
@@ -292,7 +292,7 @@ export interface ClusterArgs {
292
292
  */
293
293
  instancePoolId?: pulumi.Input<string>;
294
294
  /**
295
- * boolean value specifying if cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 70](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that.
295
+ * boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 70](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that.
296
296
  */
297
297
  isPinned?: pulumi.Input<boolean>;
298
298
  libraries?: pulumi.Input<pulumi.Input<inputs.ClusterLibrary>[]>;
@@ -44,7 +44,7 @@ export declare class ExternalLocation extends pulumi.CustomResource {
44
44
  */
45
45
  readonly name: pulumi.Output<string>;
46
46
  /**
47
- * Username/groupname of External Location owner. Currently this field can only be changed after the resource is created.
47
+ * Username/groupname/sp applicationId External Location owner.
48
48
  */
49
49
  readonly owner: pulumi.Output<string>;
50
50
  /**
@@ -82,7 +82,7 @@ export interface ExternalLocationState {
82
82
  */
83
83
  name?: pulumi.Input<string>;
84
84
  /**
85
- * Username/groupname of External Location owner. Currently this field can only be changed after the resource is created.
85
+ * Username/groupname/sp applicationId External Location owner.
86
86
  */
87
87
  owner?: pulumi.Input<string>;
88
88
  /**
@@ -112,7 +112,7 @@ export interface ExternalLocationArgs {
112
112
  */
113
113
  name?: pulumi.Input<string>;
114
114
  /**
115
- * Username/groupname of External Location owner. Currently this field can only be changed after the resource is created.
115
+ * Username/groupname/sp applicationId External Location owner.
116
116
  */
117
117
  owner?: pulumi.Input<string>;
118
118
  /**
@@ -6,7 +6,7 @@ import * as pulumi from "@pulumi/pulumi";
6
6
  *
7
7
  * ## Example Usage
8
8
  *
9
- * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks.AwsS3Mount pages.
9
+ * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricksAwsS3Mount pages.
10
10
  *
11
11
  * ```typescript
12
12
  * import * as pulumi from "@pulumi/pulumi";
@@ -12,7 +12,7 @@ const utilities = require("./utilities");
12
12
  *
13
13
  * ## Example Usage
14
14
  *
15
- * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks.AwsS3Mount pages.
15
+ * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricksAwsS3Mount pages.
16
16
  *
17
17
  * ```typescript
18
18
  * import * as pulumi from "@pulumi/pulumi";
@@ -5,6 +5,7 @@ import * as pulumi from "@pulumi/pulumi";
5
5
  * Data source exposes the following attributes:
6
6
  *
7
7
  * * `id` - The id of the calling user.
8
+ * * `applicationId` - Application ID of the service principal if the currently logged-in user is a service principal, e.g. `11111111-2222-3333-4444-555666777888`
8
9
  * * `externalId` - ID of the user in an external identity provider.
9
10
  * * `userName` - Name of the user, e.g. `mr.foo@example.com`.
10
11
  * * `home` - Home folder of the user, e.g. `/Users/mr.foo@example.com`.
package/getCurrentUser.js CHANGED
@@ -11,6 +11,7 @@ const utilities = require("./utilities");
11
11
  * Data source exposes the following attributes:
12
12
  *
13
13
  * * `id` - The id of the calling user.
14
+ * * `applicationId` - Application ID of the service principal if the currently logged-in user is a service principal, e.g. `11111111-2222-3333-4444-555666777888`
14
15
  * * `externalId` - ID of the user in an external identity provider.
15
16
  * * `userName` - Name of the user, e.g. `mr.foo@example.com`.
16
17
  * * `home` - Home folder of the user, e.g. `/Users/mr.foo@example.com`.
@@ -1 +1 @@
1
- {"version":3,"file":"getCurrentUser.js","sourceRoot":"","sources":["../getCurrentUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC"}
1
+ {"version":3,"file":"getCurrentUser.js","sourceRoot":"","sources":["../getCurrentUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC"}
package/getNodeType.d.ts CHANGED
@@ -93,6 +93,7 @@ export interface GetNodeTypeArgs {
93
93
  * Pick only nodes that support port forwarding. Defaults to *false*.
94
94
  */
95
95
  supportPortForwarding?: boolean;
96
+ vcpu?: boolean;
96
97
  }
97
98
  /**
98
99
  * A collection of values returned by getNodeType.
@@ -113,6 +114,7 @@ export interface GetNodeTypeResult {
113
114
  readonly photonDriverCapable?: boolean;
114
115
  readonly photonWorkerCapable?: boolean;
115
116
  readonly supportPortForwarding?: boolean;
117
+ readonly vcpu?: boolean;
116
118
  }
117
119
  export declare function getNodeTypeOutput(args?: GetNodeTypeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNodeTypeResult>;
118
120
  /**
@@ -170,4 +172,5 @@ export interface GetNodeTypeOutputArgs {
170
172
  * Pick only nodes that support port forwarding. Defaults to *false*.
171
173
  */
172
174
  supportPortForwarding?: pulumi.Input<boolean>;
175
+ vcpu?: pulumi.Input<boolean>;
173
176
  }
package/getNodeType.js CHANGED
@@ -61,6 +61,7 @@ function getNodeType(args, opts) {
61
61
  "photonDriverCapable": args.photonDriverCapable,
62
62
  "photonWorkerCapable": args.photonWorkerCapable,
63
63
  "supportPortForwarding": args.supportPortForwarding,
64
+ "vcpu": args.vcpu,
64
65
  }, opts);
65
66
  }
66
67
  exports.getNodeType = getNodeType;
@@ -1 +1 @@
1
- {"version":3,"file":"getNodeType.js","sourceRoot":"","sources":["../getNodeType.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,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C,MAAM,CAAC,0CAA0C,EAAE;QACrE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AArBD,kCAqBC;AAkFD,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
@@ -0,0 +1,117 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Related Resources
4
+ *
5
+ * The following resources are used in the same context:
6
+ *
7
+ * * End to end workspace management guide
8
+ * * databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
9
+ * * databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
10
+ * * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
11
+ * * databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
12
+ * * databricksGroupMember to attach users and groups as group members.
13
+ * * databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
14
+ * * databricksService principal to manage service principals
15
+ */
16
+ export declare function getServicePrincipal(args?: GetServicePrincipalArgs, opts?: pulumi.InvokeOptions): Promise<GetServicePrincipalResult>;
17
+ /**
18
+ * A collection of arguments for invoking getServicePrincipal.
19
+ */
20
+ export interface GetServicePrincipalArgs {
21
+ /**
22
+ * Whether service principal is active or not.
23
+ */
24
+ active?: boolean;
25
+ /**
26
+ * ID of the service principal. The service principal must exist before this resource can be retrieved.
27
+ */
28
+ applicationId?: string;
29
+ /**
30
+ * Display name of the service principal, e.g. `Foo SPN`.
31
+ */
32
+ displayName?: string;
33
+ /**
34
+ * ID of the service principal in an external identity provider.
35
+ */
36
+ externalId?: string;
37
+ /**
38
+ * Home folder of the service principal, e.g. `/Users/11111111-2222-3333-4444-555666777888`.
39
+ */
40
+ home?: string;
41
+ /**
42
+ * Repos location of the service principal, e.g. `/Repos/11111111-2222-3333-4444-555666777888`.
43
+ */
44
+ repos?: string;
45
+ /**
46
+ * The id of the service principal.
47
+ */
48
+ spId?: string;
49
+ }
50
+ /**
51
+ * A collection of values returned by getServicePrincipal.
52
+ */
53
+ export interface GetServicePrincipalResult {
54
+ /**
55
+ * Whether service principal is active or not.
56
+ */
57
+ readonly active: boolean;
58
+ readonly applicationId: string;
59
+ /**
60
+ * Display name of the service principal, e.g. `Foo SPN`.
61
+ */
62
+ readonly displayName: string;
63
+ /**
64
+ * ID of the service principal in an external identity provider.
65
+ */
66
+ readonly externalId: string;
67
+ /**
68
+ * Home folder of the service principal, e.g. `/Users/11111111-2222-3333-4444-555666777888`.
69
+ */
70
+ readonly home: string;
71
+ /**
72
+ * The provider-assigned unique ID for this managed resource.
73
+ */
74
+ readonly id: string;
75
+ /**
76
+ * Repos location of the service principal, e.g. `/Repos/11111111-2222-3333-4444-555666777888`.
77
+ */
78
+ readonly repos: string;
79
+ /**
80
+ * The id of the service principal.
81
+ */
82
+ readonly spId: string;
83
+ }
84
+ export declare function getServicePrincipalOutput(args?: GetServicePrincipalOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServicePrincipalResult>;
85
+ /**
86
+ * A collection of arguments for invoking getServicePrincipal.
87
+ */
88
+ export interface GetServicePrincipalOutputArgs {
89
+ /**
90
+ * Whether service principal is active or not.
91
+ */
92
+ active?: pulumi.Input<boolean>;
93
+ /**
94
+ * ID of the service principal. The service principal must exist before this resource can be retrieved.
95
+ */
96
+ applicationId?: pulumi.Input<string>;
97
+ /**
98
+ * Display name of the service principal, e.g. `Foo SPN`.
99
+ */
100
+ displayName?: pulumi.Input<string>;
101
+ /**
102
+ * ID of the service principal in an external identity provider.
103
+ */
104
+ externalId?: pulumi.Input<string>;
105
+ /**
106
+ * Home folder of the service principal, e.g. `/Users/11111111-2222-3333-4444-555666777888`.
107
+ */
108
+ home?: pulumi.Input<string>;
109
+ /**
110
+ * Repos location of the service principal, e.g. `/Repos/11111111-2222-3333-4444-555666777888`.
111
+ */
112
+ repos?: pulumi.Input<string>;
113
+ /**
114
+ * The id of the service principal.
115
+ */
116
+ spId?: pulumi.Input<string>;
117
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getServicePrincipalOutput = exports.getServicePrincipal = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Related Resources
10
+ *
11
+ * The following resources are used in the same context:
12
+ *
13
+ * * End to end workspace management guide
14
+ * * databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
15
+ * * databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
16
+ * * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
17
+ * * databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
18
+ * * databricksGroupMember to attach users and groups as group members.
19
+ * * databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
20
+ * * databricksService principal to manage service principals
21
+ */
22
+ function getServicePrincipal(args, opts) {
23
+ args = args || {};
24
+ if (!opts) {
25
+ opts = {};
26
+ }
27
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
28
+ return pulumi.runtime.invoke("databricks:index/getServicePrincipal:getServicePrincipal", {
29
+ "active": args.active,
30
+ "applicationId": args.applicationId,
31
+ "displayName": args.displayName,
32
+ "externalId": args.externalId,
33
+ "home": args.home,
34
+ "repos": args.repos,
35
+ "spId": args.spId,
36
+ }, opts);
37
+ }
38
+ exports.getServicePrincipal = getServicePrincipal;
39
+ function getServicePrincipalOutput(args, opts) {
40
+ return pulumi.output(args).apply(a => getServicePrincipal(a, opts));
41
+ }
42
+ exports.getServicePrincipalOutput = getServicePrincipalOutput;
43
+ //# sourceMappingURL=getServicePrincipal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getServicePrincipal.js","sourceRoot":"","sources":["../getServicePrincipal.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,kDAgBC;AAuED,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,8DAEC"}
@@ -0,0 +1,57 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Related Resources
4
+ *
5
+ * The following resources are used in the same context:
6
+ *
7
+ * * End to end workspace management guide
8
+ * * databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
9
+ * * databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
10
+ * * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
11
+ * * databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
12
+ * * databricksGroupMember to attach users and groups as group members.
13
+ * * databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
14
+ * * databricksService principal to manage service principals
15
+ */
16
+ export declare function getServicePrincipals(args?: GetServicePrincipalsArgs, opts?: pulumi.InvokeOptions): Promise<GetServicePrincipalsResult>;
17
+ /**
18
+ * A collection of arguments for invoking getServicePrincipals.
19
+ */
20
+ export interface GetServicePrincipalsArgs {
21
+ /**
22
+ * List of `applicationIds` of service principals Individual service principal can be retrieved using databricks.ServicePrincipal data source
23
+ */
24
+ applicationIds?: string[];
25
+ /**
26
+ * Only return databricks.ServicePrincipal display name that match the given name string
27
+ */
28
+ displayNameContains?: string;
29
+ }
30
+ /**
31
+ * A collection of values returned by getServicePrincipals.
32
+ */
33
+ export interface GetServicePrincipalsResult {
34
+ /**
35
+ * List of `applicationIds` of service principals Individual service principal can be retrieved using databricks.ServicePrincipal data source
36
+ */
37
+ readonly applicationIds: string[];
38
+ readonly displayNameContains: string;
39
+ /**
40
+ * The provider-assigned unique ID for this managed resource.
41
+ */
42
+ readonly id: string;
43
+ }
44
+ export declare function getServicePrincipalsOutput(args?: GetServicePrincipalsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServicePrincipalsResult>;
45
+ /**
46
+ * A collection of arguments for invoking getServicePrincipals.
47
+ */
48
+ export interface GetServicePrincipalsOutputArgs {
49
+ /**
50
+ * List of `applicationIds` of service principals Individual service principal can be retrieved using databricks.ServicePrincipal data source
51
+ */
52
+ applicationIds?: pulumi.Input<pulumi.Input<string>[]>;
53
+ /**
54
+ * Only return databricks.ServicePrincipal display name that match the given name string
55
+ */
56
+ displayNameContains?: pulumi.Input<string>;
57
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getServicePrincipalsOutput = exports.getServicePrincipals = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Related Resources
10
+ *
11
+ * The following resources are used in the same context:
12
+ *
13
+ * * End to end workspace management guide
14
+ * * databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
15
+ * * databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
16
+ * * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
17
+ * * databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
18
+ * * databricksGroupMember to attach users and groups as group members.
19
+ * * databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
20
+ * * databricksService principal to manage service principals
21
+ */
22
+ function getServicePrincipals(args, opts) {
23
+ args = args || {};
24
+ if (!opts) {
25
+ opts = {};
26
+ }
27
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
28
+ return pulumi.runtime.invoke("databricks:index/getServicePrincipals:getServicePrincipals", {
29
+ "applicationIds": args.applicationIds,
30
+ "displayNameContains": args.displayNameContains,
31
+ }, opts);
32
+ }
33
+ exports.getServicePrincipals = getServicePrincipals;
34
+ function getServicePrincipalsOutput(args, opts) {
35
+ return pulumi.output(args).apply(a => getServicePrincipals(a, opts));
36
+ }
37
+ exports.getServicePrincipalsOutput = getServicePrincipalsOutput;
38
+ //# sourceMappingURL=getServicePrincipals.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getServicePrincipals.js","sourceRoot":"","sources":["../getServicePrincipals.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oDAWC;AA+BD,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAA2B;IACzG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,gEAEC"}
package/getUser.d.ts CHANGED
@@ -36,6 +36,7 @@ export interface GetUserResult {
36
36
  * Alphanumeric representation of user local name. e.g. `mrFoo`.
37
37
  */
38
38
  readonly alphanumeric: string;
39
+ readonly applicationId: string;
39
40
  /**
40
41
  * Display name of the user, e.g. `Mr Foo`.
41
42
  */
package/getUser.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0BAWC;AAmDD,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0BAWC;AAoDD,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
@@ -36,9 +36,6 @@ export declare class GitCredential extends pulumi.CustomResource {
36
36
  * user name at Git provider.
37
37
  */
38
38
  readonly gitUsername: pulumi.Output<string>;
39
- /**
40
- * The personal access token used to authenticate to the corresponding Git provider.
41
- */
42
39
  readonly personalAccessToken: pulumi.Output<string>;
43
40
  /**
44
41
  * Create a GitCredential resource with the given unique name, arguments, and options.
@@ -65,9 +62,6 @@ export interface GitCredentialState {
65
62
  * user name at Git provider.
66
63
  */
67
64
  gitUsername?: pulumi.Input<string>;
68
- /**
69
- * The personal access token used to authenticate to the corresponding Git provider.
70
- */
71
65
  personalAccessToken?: pulumi.Input<string>;
72
66
  }
73
67
  /**
@@ -86,8 +80,5 @@ export interface GitCredentialArgs {
86
80
  * user name at Git provider.
87
81
  */
88
82
  gitUsername: pulumi.Input<string>;
89
- /**
90
- * The personal access token used to authenticate to the corresponding Git provider.
91
- */
92
83
  personalAccessToken: pulumi.Input<string>;
93
84
  }
@@ -1 +1 @@
1
- {"version":3,"file":"gitCredential.js","sourceRoot":"","sources":["../gitCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IAqDpD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;SACzF;aAAM;YACH,MAAM,IAAI,GAAG,WAA4C,CAAC;YAC1D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,yCAAy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C;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCA8EC;AAhEG,gBAAgB;AACO,0BAAY,GAAG,8CAA8C,CAAC"}
package/grants.d.ts CHANGED
@@ -19,6 +19,7 @@ export declare class Grants extends pulumi.CustomResource {
19
19
  readonly catalog: pulumi.Output<string | undefined>;
20
20
  readonly externalLocation: pulumi.Output<string | undefined>;
21
21
  readonly grants: pulumi.Output<outputs.GrantsGrant[]>;
22
+ readonly metastore: pulumi.Output<string | undefined>;
22
23
  readonly schema: pulumi.Output<string | undefined>;
23
24
  readonly storageCredential: pulumi.Output<string | undefined>;
24
25
  readonly table: pulumi.Output<string | undefined>;
@@ -39,6 +40,7 @@ export interface GrantsState {
39
40
  catalog?: pulumi.Input<string>;
40
41
  externalLocation?: pulumi.Input<string>;
41
42
  grants?: pulumi.Input<pulumi.Input<inputs.GrantsGrant>[]>;
43
+ metastore?: pulumi.Input<string>;
42
44
  schema?: pulumi.Input<string>;
43
45
  storageCredential?: pulumi.Input<string>;
44
46
  table?: pulumi.Input<string>;
@@ -51,6 +53,7 @@ export interface GrantsArgs {
51
53
  catalog?: pulumi.Input<string>;
52
54
  externalLocation?: pulumi.Input<string>;
53
55
  grants: pulumi.Input<pulumi.Input<inputs.GrantsGrant>[]>;
56
+ metastore?: pulumi.Input<string>;
54
57
  schema?: pulumi.Input<string>;
55
58
  storageCredential?: pulumi.Input<string>;
56
59
  table?: pulumi.Input<string>;
package/grants.js CHANGED
@@ -14,6 +14,7 @@ class Grants extends pulumi.CustomResource {
14
14
  resourceInputs["catalog"] = state ? state.catalog : undefined;
15
15
  resourceInputs["externalLocation"] = state ? state.externalLocation : undefined;
16
16
  resourceInputs["grants"] = state ? state.grants : undefined;
17
+ resourceInputs["metastore"] = state ? state.metastore : undefined;
17
18
  resourceInputs["schema"] = state ? state.schema : undefined;
18
19
  resourceInputs["storageCredential"] = state ? state.storageCredential : undefined;
19
20
  resourceInputs["table"] = state ? state.table : undefined;
@@ -27,6 +28,7 @@ class Grants extends pulumi.CustomResource {
27
28
  resourceInputs["catalog"] = args ? args.catalog : undefined;
28
29
  resourceInputs["externalLocation"] = args ? args.externalLocation : undefined;
29
30
  resourceInputs["grants"] = args ? args.grants : undefined;
31
+ resourceInputs["metastore"] = args ? args.metastore : undefined;
30
32
  resourceInputs["schema"] = args ? args.schema : undefined;
31
33
  resourceInputs["storageCredential"] = args ? args.storageCredential : undefined;
32
34
  resourceInputs["table"] = args ? args.table : undefined;