@pulumi/databricks 1.91.0-alpha.1776924583 → 1.91.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.
- package/accessControlRuleSet.d.ts +15 -0
- package/accessControlRuleSet.js +4 -0
- package/accessControlRuleSet.js.map +1 -1
- package/accountNetworkPolicy.d.ts +34 -4
- package/accountNetworkPolicy.js +4 -0
- package/accountNetworkPolicy.js.map +1 -1
- package/accountSettingUserPreferenceV2.d.ts +1 -1
- package/accountSettingUserPreferenceV2.js +1 -1
- package/app.d.ts +1 -1
- package/catalog.d.ts +3 -0
- package/catalog.js +2 -0
- package/catalog.js.map +1 -1
- package/credential.d.ts +12 -0
- package/credential.js +2 -0
- package/credential.js.map +1 -1
- package/entityTagAssignment.d.ts +4 -4
- package/entityTagAssignment.js +1 -1
- package/environmentsDefaultWorkspaceBaseEnvironment.d.ts +6 -10
- package/environmentsDefaultWorkspaceBaseEnvironment.js +6 -10
- package/environmentsDefaultWorkspaceBaseEnvironment.js.map +1 -1
- package/environmentsWorkspaceBaseEnvironment.d.ts +3 -3
- package/environmentsWorkspaceBaseEnvironment.js +3 -3
- package/externalLocation.d.ts +3 -0
- package/externalLocation.js +2 -0
- package/externalLocation.js.map +1 -1
- package/featureEngineeringMaterializedFeature.d.ts +10 -2
- package/featureEngineeringMaterializedFeature.js +2 -0
- package/featureEngineeringMaterializedFeature.js.map +1 -1
- package/getAccountNetworkPolicy.d.ts +10 -0
- package/getAccountNetworkPolicy.js.map +1 -1
- package/getAccountSettingUserPreferenceV2.d.ts +2 -2
- package/getAccountSettingUserPreferenceV2.js +2 -2
- package/getCurrentConfig.d.ts +14 -2
- package/getCurrentConfig.js +6 -2
- package/getCurrentConfig.js.map +1 -1
- package/getEntityTagAssignment.d.ts +5 -5
- package/getEntityTagAssignment.js +2 -2
- package/getEntityTagAssignments.d.ts +5 -5
- package/getEntityTagAssignments.js +2 -2
- package/getEnvironmentsDefaultWorkspaceBaseEnvironment.d.ts +24 -0
- package/getEnvironmentsDefaultWorkspaceBaseEnvironment.js +24 -0
- package/getEnvironmentsDefaultWorkspaceBaseEnvironment.js.map +1 -1
- package/getEnvironmentsWorkspaceBaseEnvironment.d.ts +22 -0
- package/getEnvironmentsWorkspaceBaseEnvironment.js +22 -0
- package/getEnvironmentsWorkspaceBaseEnvironment.js.map +1 -1
- package/getEnvironmentsWorkspaceBaseEnvironments.d.ts +20 -0
- package/getEnvironmentsWorkspaceBaseEnvironments.js +20 -0
- package/getEnvironmentsWorkspaceBaseEnvironments.js.map +1 -1
- package/getFeatureEngineeringMaterializedFeature.d.ts +4 -0
- package/getFeatureEngineeringMaterializedFeature.js.map +1 -1
- package/getGroup.d.ts +9 -0
- package/getGroup.js +2 -0
- package/getGroup.js.map +1 -1
- package/getPostgresCatalog.d.ts +75 -0
- package/getPostgresCatalog.js +30 -0
- package/getPostgresCatalog.js.map +1 -0
- package/getPostgresSyncedTable.d.ts +79 -0
- package/getPostgresSyncedTable.js +30 -0
- package/getPostgresSyncedTable.js.map +1 -0
- package/getTagPolicies.d.ts +2 -2
- package/getTagPolicies.js +2 -2
- package/getTagPolicy.d.ts +2 -2
- package/getTagPolicy.js +2 -2
- package/getUser.d.ts +3 -0
- package/getUser.js +2 -0
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +18 -0
- package/getUsers.js +4 -0
- package/getUsers.js.map +1 -1
- package/group.d.ts +17 -0
- package/group.js +4 -0
- package/group.js.map +1 -1
- package/groupInstanceProfile.d.ts +17 -0
- package/groupInstanceProfile.js +4 -0
- package/groupInstanceProfile.js.map +1 -1
- package/groupMember.d.ts +17 -0
- package/groupMember.js +4 -0
- package/groupMember.js.map +1 -1
- package/groupRole.d.ts +17 -0
- package/groupRole.js +4 -0
- package/groupRole.js.map +1 -1
- package/index.d.ts +12 -0
- package/index.js +21 -5
- package/index.js.map +1 -1
- package/metastore.d.ts +26 -0
- package/metastore.js +4 -0
- package/metastore.js.map +1 -1
- package/metastoreAssignment.d.ts +26 -0
- package/metastoreAssignment.js +4 -0
- package/metastoreAssignment.js.map +1 -1
- package/metastoreDataAccess.d.ts +24 -0
- package/metastoreDataAccess.js +4 -0
- package/metastoreDataAccess.js.map +1 -1
- package/mwsNccPrivateEndpointRule.d.ts +5 -0
- package/mwsNccPrivateEndpointRule.js +2 -0
- package/mwsNccPrivateEndpointRule.js.map +1 -1
- package/mwsWorkspaces.d.ts +3 -3
- package/package.json +2 -2
- package/postgresCatalog.d.ts +120 -0
- package/postgresCatalog.js +69 -0
- package/postgresCatalog.js.map +1 -0
- package/postgresEndpoint.d.ts +58 -0
- package/postgresEndpoint.js +58 -0
- package/postgresEndpoint.js.map +1 -1
- package/postgresProject.d.ts +26 -0
- package/postgresProject.js +26 -0
- package/postgresProject.js.map +1 -1
- package/postgresSyncedTable.d.ts +141 -0
- package/postgresSyncedTable.js +67 -0
- package/postgresSyncedTable.js.map +1 -0
- package/servicePrincipal.d.ts +17 -0
- package/servicePrincipal.js +4 -0
- package/servicePrincipal.js.map +1 -1
- package/servicePrincipalRole.d.ts +17 -0
- package/servicePrincipalRole.js +4 -0
- package/servicePrincipalRole.js.map +1 -1
- package/servicePrincipalSecret.d.ts +12 -0
- package/servicePrincipalSecret.js +2 -0
- package/servicePrincipalSecret.js.map +1 -1
- package/sqlPermissions.d.ts +3 -0
- package/sqlPermissions.js +2 -0
- package/sqlPermissions.js.map +1 -1
- package/storageCredential.d.ts +30 -6
- package/storageCredential.js +4 -0
- package/storageCredential.js.map +1 -1
- package/tagPolicy.d.ts +1 -1
- package/tagPolicy.js +1 -1
- package/types/input.d.ts +1023 -20
- package/types/output.d.ts +2173 -54
- package/user.d.ts +17 -0
- package/user.js +4 -0
- package/user.js.map +1 -1
- package/userInstanceProfile.d.ts +17 -0
- package/userInstanceProfile.js +4 -0
- package/userInstanceProfile.js.map +1 -1
- package/userRole.d.ts +17 -0
- package/userRole.js +4 -0
- package/userRole.js.map +1 -1
- package/vectorSearchIndex.d.ts +3 -0
- package/vectorSearchIndex.js +2 -0
- package/vectorSearchIndex.js.map +1 -1
package/metastoreDataAccess.js
CHANGED
|
@@ -93,6 +93,7 @@ class MetastoreDataAccess extends pulumi.CustomResource {
|
|
|
93
93
|
opts = opts || {};
|
|
94
94
|
if (opts.id) {
|
|
95
95
|
const state = argsOrState;
|
|
96
|
+
resourceInputs["api"] = state?.api;
|
|
96
97
|
resourceInputs["awsIamRole"] = state?.awsIamRole;
|
|
97
98
|
resourceInputs["azureManagedIdentity"] = state?.azureManagedIdentity;
|
|
98
99
|
resourceInputs["azureServicePrincipal"] = state?.azureServicePrincipal;
|
|
@@ -107,11 +108,13 @@ class MetastoreDataAccess extends pulumi.CustomResource {
|
|
|
107
108
|
resourceInputs["metastoreId"] = state?.metastoreId;
|
|
108
109
|
resourceInputs["name"] = state?.name;
|
|
109
110
|
resourceInputs["owner"] = state?.owner;
|
|
111
|
+
resourceInputs["providerConfig"] = state?.providerConfig;
|
|
110
112
|
resourceInputs["readOnly"] = state?.readOnly;
|
|
111
113
|
resourceInputs["skipValidation"] = state?.skipValidation;
|
|
112
114
|
}
|
|
113
115
|
else {
|
|
114
116
|
const args = argsOrState;
|
|
117
|
+
resourceInputs["api"] = args?.api;
|
|
115
118
|
resourceInputs["awsIamRole"] = args?.awsIamRole;
|
|
116
119
|
resourceInputs["azureManagedIdentity"] = args?.azureManagedIdentity;
|
|
117
120
|
resourceInputs["azureServicePrincipal"] = args?.azureServicePrincipal;
|
|
@@ -126,6 +129,7 @@ class MetastoreDataAccess extends pulumi.CustomResource {
|
|
|
126
129
|
resourceInputs["metastoreId"] = args?.metastoreId;
|
|
127
130
|
resourceInputs["name"] = args?.name;
|
|
128
131
|
resourceInputs["owner"] = args?.owner;
|
|
132
|
+
resourceInputs["providerConfig"] = args?.providerConfig;
|
|
129
133
|
resourceInputs["readOnly"] = args?.readOnly;
|
|
130
134
|
resourceInputs["skipValidation"] = args?.skipValidation;
|
|
131
135
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metastoreDataAccess.js","sourceRoot":"","sources":["../metastoreDataAccess.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;
|
|
1
|
+
{"version":3,"file":"metastoreDataAccess.js","sourceRoot":"","sources":["../metastoreDataAccess.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAK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AAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA9GL,kDA+GC;AAjGG,gBAAgB;AACO,gCAAY,GAAG,0DAA0D,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
2
4
|
/**
|
|
3
5
|
* Allows you to create a private endpoint in a Network Connectivity Config that can be used to [configure private connectivity from serverless compute](https://learn.microsoft.com/en-us/azure/databricks/security/network/serverless-network-security/serverless-private-link).
|
|
4
6
|
*
|
|
@@ -122,6 +124,7 @@ export declare class MwsNccPrivateEndpointRule extends pulumi.CustomResource {
|
|
|
122
124
|
*/
|
|
123
125
|
readonly endpointService: pulumi.Output<string | undefined>;
|
|
124
126
|
readonly errorMessage: pulumi.Output<string | undefined>;
|
|
127
|
+
readonly gcpEndpoint: pulumi.Output<outputs.MwsNccPrivateEndpointRuleGcpEndpoint | undefined>;
|
|
125
128
|
/**
|
|
126
129
|
* 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`.
|
|
127
130
|
*/
|
|
@@ -204,6 +207,7 @@ export interface MwsNccPrivateEndpointRuleState {
|
|
|
204
207
|
*/
|
|
205
208
|
endpointService?: pulumi.Input<string>;
|
|
206
209
|
errorMessage?: pulumi.Input<string>;
|
|
210
|
+
gcpEndpoint?: pulumi.Input<inputs.MwsNccPrivateEndpointRuleGcpEndpoint>;
|
|
207
211
|
/**
|
|
208
212
|
* 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`.
|
|
209
213
|
*/
|
|
@@ -278,6 +282,7 @@ export interface MwsNccPrivateEndpointRuleArgs {
|
|
|
278
282
|
*/
|
|
279
283
|
endpointService?: pulumi.Input<string>;
|
|
280
284
|
errorMessage?: pulumi.Input<string>;
|
|
285
|
+
gcpEndpoint?: pulumi.Input<inputs.MwsNccPrivateEndpointRuleGcpEndpoint>;
|
|
281
286
|
/**
|
|
282
287
|
* 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`.
|
|
283
288
|
*/
|
|
@@ -109,6 +109,7 @@ class MwsNccPrivateEndpointRule extends pulumi.CustomResource {
|
|
|
109
109
|
resourceInputs["endpointName"] = state?.endpointName;
|
|
110
110
|
resourceInputs["endpointService"] = state?.endpointService;
|
|
111
111
|
resourceInputs["errorMessage"] = state?.errorMessage;
|
|
112
|
+
resourceInputs["gcpEndpoint"] = state?.gcpEndpoint;
|
|
112
113
|
resourceInputs["groupId"] = state?.groupId;
|
|
113
114
|
resourceInputs["networkConnectivityConfigId"] = state?.networkConnectivityConfigId;
|
|
114
115
|
resourceInputs["resourceId"] = state?.resourceId;
|
|
@@ -132,6 +133,7 @@ class MwsNccPrivateEndpointRule extends pulumi.CustomResource {
|
|
|
132
133
|
resourceInputs["endpointName"] = args?.endpointName;
|
|
133
134
|
resourceInputs["endpointService"] = args?.endpointService;
|
|
134
135
|
resourceInputs["errorMessage"] = args?.errorMessage;
|
|
136
|
+
resourceInputs["gcpEndpoint"] = args?.gcpEndpoint;
|
|
135
137
|
resourceInputs["groupId"] = args?.groupId;
|
|
136
138
|
resourceInputs["networkConnectivityConfigId"] = args?.networkConnectivityConfigId;
|
|
137
139
|
resourceInputs["resourceId"] = args?.resourceId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mwsNccPrivateEndpointRule.js","sourceRoot":"","sources":["../mwsNccPrivateEndpointRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"mwsNccPrivateEndpointRule.js","sourceRoot":"","sources":["../mwsNccPrivateEndpointRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;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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C,cAAc,CAAC,6BAA6B,CAAC,GAAG,IAAI,EAAE,2BAA2B,CAAC;YAClF,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;SACzD;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;;AA5JL,8DA6JC;AA/IG,gBAAgB;AACO,sCAAY,GAAG,sEAAsE,CAAC"}
|
package/mwsWorkspaces.d.ts
CHANGED
|
@@ -350,7 +350,7 @@ export declare class MwsWorkspaces extends pulumi.CustomResource {
|
|
|
350
350
|
*/
|
|
351
351
|
readonly gcpWorkspaceSa: pulumi.Output<string>;
|
|
352
352
|
/**
|
|
353
|
-
* @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.
|
|
353
|
+
* @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.113.0/docs/guides/gcp-workspace#creating-a-databricks-workspace
|
|
354
354
|
*/
|
|
355
355
|
readonly gkeConfig: pulumi.Output<outputs.MwsWorkspacesGkeConfig | undefined>;
|
|
356
356
|
readonly isNoPublicIpEnabled: pulumi.Output<boolean | undefined>;
|
|
@@ -473,7 +473,7 @@ export interface MwsWorkspacesState {
|
|
|
473
473
|
*/
|
|
474
474
|
gcpWorkspaceSa?: pulumi.Input<string>;
|
|
475
475
|
/**
|
|
476
|
-
* @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.
|
|
476
|
+
* @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.113.0/docs/guides/gcp-workspace#creating-a-databricks-workspace
|
|
477
477
|
*/
|
|
478
478
|
gkeConfig?: pulumi.Input<inputs.MwsWorkspacesGkeConfig>;
|
|
479
479
|
isNoPublicIpEnabled?: pulumi.Input<boolean>;
|
|
@@ -580,7 +580,7 @@ export interface MwsWorkspacesArgs {
|
|
|
580
580
|
externalCustomerInfo?: pulumi.Input<inputs.MwsWorkspacesExternalCustomerInfo>;
|
|
581
581
|
gcpManagedNetworkConfig?: pulumi.Input<inputs.MwsWorkspacesGcpManagedNetworkConfig>;
|
|
582
582
|
/**
|
|
583
|
-
* @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.
|
|
583
|
+
* @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.113.0/docs/guides/gcp-workspace#creating-a-databricks-workspace
|
|
584
584
|
*/
|
|
585
585
|
gkeConfig?: pulumi.Input<inputs.MwsWorkspacesGkeConfig>;
|
|
586
586
|
isNoPublicIpEnabled?: pulumi.Input<boolean>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/databricks",
|
|
3
|
-
"version": "1.91.0
|
|
3
|
+
"version": "1.91.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.91.0
|
|
27
|
+
"version": "1.91.0"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
6
|
+
*/
|
|
7
|
+
export declare class PostgresCatalog extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing PostgresCatalog resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PostgresCatalogState, opts?: pulumi.CustomResourceOptions): PostgresCatalog;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of PostgresCatalog. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is PostgresCatalog;
|
|
23
|
+
/**
|
|
24
|
+
* The ID in the Unity Catalog.
|
|
25
|
+
* It becomes the full resource name, for example "myCatalog" becomes "catalogs/my_catalog"
|
|
26
|
+
*/
|
|
27
|
+
readonly catalogId: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* (string) - A timestamp indicating when the catalog was created
|
|
30
|
+
*/
|
|
31
|
+
readonly createTime: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* (string) - Output only. The full resource path of the catalog.
|
|
34
|
+
*/
|
|
35
|
+
readonly name: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Configure the provider for management through account provider.
|
|
38
|
+
*/
|
|
39
|
+
readonly providerConfig: pulumi.Output<outputs.PostgresCatalogProviderConfig | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* The desired state of the Catalog
|
|
42
|
+
*/
|
|
43
|
+
readonly spec: pulumi.Output<outputs.PostgresCatalogSpec>;
|
|
44
|
+
/**
|
|
45
|
+
* (CatalogCatalogStatus) - The observed state of the Catalog
|
|
46
|
+
*/
|
|
47
|
+
readonly status: pulumi.Output<outputs.PostgresCatalogStatus>;
|
|
48
|
+
/**
|
|
49
|
+
* (string) - System-generated unique identifier for the catalog
|
|
50
|
+
*/
|
|
51
|
+
readonly uid: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* (string) - A timestamp indicating when the catalog was last updated
|
|
54
|
+
*/
|
|
55
|
+
readonly updateTime: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Create a PostgresCatalog resource with the given unique name, arguments, and options.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resource.
|
|
60
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
61
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
62
|
+
*/
|
|
63
|
+
constructor(name: string, args: PostgresCatalogArgs, opts?: pulumi.CustomResourceOptions);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Input properties used for looking up and filtering PostgresCatalog resources.
|
|
67
|
+
*/
|
|
68
|
+
export interface PostgresCatalogState {
|
|
69
|
+
/**
|
|
70
|
+
* The ID in the Unity Catalog.
|
|
71
|
+
* It becomes the full resource name, for example "myCatalog" becomes "catalogs/my_catalog"
|
|
72
|
+
*/
|
|
73
|
+
catalogId?: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* (string) - A timestamp indicating when the catalog was created
|
|
76
|
+
*/
|
|
77
|
+
createTime?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* (string) - Output only. The full resource path of the catalog.
|
|
80
|
+
*/
|
|
81
|
+
name?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Configure the provider for management through account provider.
|
|
84
|
+
*/
|
|
85
|
+
providerConfig?: pulumi.Input<inputs.PostgresCatalogProviderConfig>;
|
|
86
|
+
/**
|
|
87
|
+
* The desired state of the Catalog
|
|
88
|
+
*/
|
|
89
|
+
spec?: pulumi.Input<inputs.PostgresCatalogSpec>;
|
|
90
|
+
/**
|
|
91
|
+
* (CatalogCatalogStatus) - The observed state of the Catalog
|
|
92
|
+
*/
|
|
93
|
+
status?: pulumi.Input<inputs.PostgresCatalogStatus>;
|
|
94
|
+
/**
|
|
95
|
+
* (string) - System-generated unique identifier for the catalog
|
|
96
|
+
*/
|
|
97
|
+
uid?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* (string) - A timestamp indicating when the catalog was last updated
|
|
100
|
+
*/
|
|
101
|
+
updateTime?: pulumi.Input<string>;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* The set of arguments for constructing a PostgresCatalog resource.
|
|
105
|
+
*/
|
|
106
|
+
export interface PostgresCatalogArgs {
|
|
107
|
+
/**
|
|
108
|
+
* The ID in the Unity Catalog.
|
|
109
|
+
* It becomes the full resource name, for example "myCatalog" becomes "catalogs/my_catalog"
|
|
110
|
+
*/
|
|
111
|
+
catalogId: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Configure the provider for management through account provider.
|
|
114
|
+
*/
|
|
115
|
+
providerConfig?: pulumi.Input<inputs.PostgresCatalogProviderConfig>;
|
|
116
|
+
/**
|
|
117
|
+
* The desired state of the Catalog
|
|
118
|
+
*/
|
|
119
|
+
spec?: pulumi.Input<inputs.PostgresCatalogSpec>;
|
|
120
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.PostgresCatalog = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
10
|
+
*/
|
|
11
|
+
class PostgresCatalog extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing PostgresCatalog resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new PostgresCatalog(name, state, { ...opts, id: id });
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of PostgresCatalog. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === PostgresCatalog.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["catalogId"] = state?.catalogId;
|
|
40
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
41
|
+
resourceInputs["name"] = state?.name;
|
|
42
|
+
resourceInputs["providerConfig"] = state?.providerConfig;
|
|
43
|
+
resourceInputs["spec"] = state?.spec;
|
|
44
|
+
resourceInputs["status"] = state?.status;
|
|
45
|
+
resourceInputs["uid"] = state?.uid;
|
|
46
|
+
resourceInputs["updateTime"] = state?.updateTime;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const args = argsOrState;
|
|
50
|
+
if (args?.catalogId === undefined && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'catalogId'");
|
|
52
|
+
}
|
|
53
|
+
resourceInputs["catalogId"] = args?.catalogId;
|
|
54
|
+
resourceInputs["providerConfig"] = args?.providerConfig;
|
|
55
|
+
resourceInputs["spec"] = args?.spec;
|
|
56
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["uid"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
61
|
+
}
|
|
62
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
63
|
+
super(PostgresCatalog.__pulumiType, name, resourceInputs, opts);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.PostgresCatalog = PostgresCatalog;
|
|
67
|
+
/** @internal */
|
|
68
|
+
PostgresCatalog.__pulumiType = 'databricks:index/postgresCatalog:PostgresCatalog';
|
|
69
|
+
//# sourceMappingURL=postgresCatalog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgresCatalog.js","sourceRoot":"","sources":["../postgresCatalog.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,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YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAnGL,0CAoGC;AAtFG,gBAAgB;AACO,4BAAY,GAAG,kDAAkD,CAAC"}
|
package/postgresEndpoint.d.ts
CHANGED
|
@@ -102,6 +102,59 @@ import * as outputs from "./types/output";
|
|
|
102
102
|
* });
|
|
103
103
|
* ```
|
|
104
104
|
*
|
|
105
|
+
* ### High Availability Endpoint
|
|
106
|
+
*
|
|
107
|
+
* Configure a single endpoint with multiple compute instances for high availability.
|
|
108
|
+
* One compute instance acts as the read-write primary, while the remaining secondary compute instances stand ready for automatic failover.
|
|
109
|
+
*
|
|
110
|
+
* ```typescript
|
|
111
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
112
|
+
* import * as databricks from "@pulumi/databricks";
|
|
113
|
+
*
|
|
114
|
+
* const haPrimary = new databricks.PostgresEndpoint("ha_primary", {
|
|
115
|
+
* endpointId: "primary",
|
|
116
|
+
* parent: main.name,
|
|
117
|
+
* spec: {
|
|
118
|
+
* endpointType: "ENDPOINT_TYPE_READ_WRITE",
|
|
119
|
+
* group: {
|
|
120
|
+
* min: 2,
|
|
121
|
+
* max: 2,
|
|
122
|
+
* },
|
|
123
|
+
* },
|
|
124
|
+
* });
|
|
125
|
+
* ```
|
|
126
|
+
*
|
|
127
|
+
* ### High Availability Endpoint with Readable Secondaries
|
|
128
|
+
*
|
|
129
|
+
* Enable readable secondaries to offload read traffic to replica computes via a
|
|
130
|
+
* dedicated read-only host, in addition to hot-standby failover. Only supported
|
|
131
|
+
* on read-write endpoints with more than one compute. The secondaries are optionally
|
|
132
|
+
* exposed as read-only host via `enableReadableSecondaries`.
|
|
133
|
+
*
|
|
134
|
+
* High availability requires scale-to-zero to be disabled.
|
|
135
|
+
* Set `noSuspension = true` in `defaultEndpointSettings` as shown in the example below.
|
|
136
|
+
*
|
|
137
|
+
* ```typescript
|
|
138
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
139
|
+
* import * as databricks from "@pulumi/databricks";
|
|
140
|
+
*
|
|
141
|
+
* const haReadable = new databricks.PostgresEndpoint("ha_readable", {
|
|
142
|
+
* endpointId: "primary",
|
|
143
|
+
* parent: main.name,
|
|
144
|
+
* spec: {
|
|
145
|
+
* endpointType: "ENDPOINT_TYPE_READ_WRITE",
|
|
146
|
+
* group: {
|
|
147
|
+
* min: 2,
|
|
148
|
+
* max: 2,
|
|
149
|
+
* enableReadableSecondaries: true,
|
|
150
|
+
* },
|
|
151
|
+
* defaultEndpointSettings: {
|
|
152
|
+
* noSuspension: true,
|
|
153
|
+
* },
|
|
154
|
+
* },
|
|
155
|
+
* });
|
|
156
|
+
* ```
|
|
157
|
+
*
|
|
105
158
|
* ### Complete Example
|
|
106
159
|
*
|
|
107
160
|
* ```typescript
|
|
@@ -136,6 +189,11 @@ import * as outputs from "./types/output";
|
|
|
136
189
|
* autoscalingLimitMinCu: 1,
|
|
137
190
|
* autoscalingLimitMaxCu: 9,
|
|
138
191
|
* noSuspension: true,
|
|
192
|
+
* group: {
|
|
193
|
+
* min: 2,
|
|
194
|
+
* max: 2,
|
|
195
|
+
* enableReadableSecondaries: true,
|
|
196
|
+
* },
|
|
139
197
|
* },
|
|
140
198
|
* });
|
|
141
199
|
* const readReplica = new databricks.PostgresEndpoint("read_replica", {
|
package/postgresEndpoint.js
CHANGED
|
@@ -106,6 +106,59 @@ const utilities = require("./utilities");
|
|
|
106
106
|
* });
|
|
107
107
|
* ```
|
|
108
108
|
*
|
|
109
|
+
* ### High Availability Endpoint
|
|
110
|
+
*
|
|
111
|
+
* Configure a single endpoint with multiple compute instances for high availability.
|
|
112
|
+
* One compute instance acts as the read-write primary, while the remaining secondary compute instances stand ready for automatic failover.
|
|
113
|
+
*
|
|
114
|
+
* ```typescript
|
|
115
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
116
|
+
* import * as databricks from "@pulumi/databricks";
|
|
117
|
+
*
|
|
118
|
+
* const haPrimary = new databricks.PostgresEndpoint("ha_primary", {
|
|
119
|
+
* endpointId: "primary",
|
|
120
|
+
* parent: main.name,
|
|
121
|
+
* spec: {
|
|
122
|
+
* endpointType: "ENDPOINT_TYPE_READ_WRITE",
|
|
123
|
+
* group: {
|
|
124
|
+
* min: 2,
|
|
125
|
+
* max: 2,
|
|
126
|
+
* },
|
|
127
|
+
* },
|
|
128
|
+
* });
|
|
129
|
+
* ```
|
|
130
|
+
*
|
|
131
|
+
* ### High Availability Endpoint with Readable Secondaries
|
|
132
|
+
*
|
|
133
|
+
* Enable readable secondaries to offload read traffic to replica computes via a
|
|
134
|
+
* dedicated read-only host, in addition to hot-standby failover. Only supported
|
|
135
|
+
* on read-write endpoints with more than one compute. The secondaries are optionally
|
|
136
|
+
* exposed as read-only host via `enableReadableSecondaries`.
|
|
137
|
+
*
|
|
138
|
+
* High availability requires scale-to-zero to be disabled.
|
|
139
|
+
* Set `noSuspension = true` in `defaultEndpointSettings` as shown in the example below.
|
|
140
|
+
*
|
|
141
|
+
* ```typescript
|
|
142
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
143
|
+
* import * as databricks from "@pulumi/databricks";
|
|
144
|
+
*
|
|
145
|
+
* const haReadable = new databricks.PostgresEndpoint("ha_readable", {
|
|
146
|
+
* endpointId: "primary",
|
|
147
|
+
* parent: main.name,
|
|
148
|
+
* spec: {
|
|
149
|
+
* endpointType: "ENDPOINT_TYPE_READ_WRITE",
|
|
150
|
+
* group: {
|
|
151
|
+
* min: 2,
|
|
152
|
+
* max: 2,
|
|
153
|
+
* enableReadableSecondaries: true,
|
|
154
|
+
* },
|
|
155
|
+
* defaultEndpointSettings: {
|
|
156
|
+
* noSuspension: true,
|
|
157
|
+
* },
|
|
158
|
+
* },
|
|
159
|
+
* });
|
|
160
|
+
* ```
|
|
161
|
+
*
|
|
109
162
|
* ### Complete Example
|
|
110
163
|
*
|
|
111
164
|
* ```typescript
|
|
@@ -140,6 +193,11 @@ const utilities = require("./utilities");
|
|
|
140
193
|
* autoscalingLimitMinCu: 1,
|
|
141
194
|
* autoscalingLimitMaxCu: 9,
|
|
142
195
|
* noSuspension: true,
|
|
196
|
+
* group: {
|
|
197
|
+
* min: 2,
|
|
198
|
+
* max: 2,
|
|
199
|
+
* enableReadableSecondaries: true,
|
|
200
|
+
* },
|
|
143
201
|
* },
|
|
144
202
|
* });
|
|
145
203
|
* const readReplica = new databricks.PostgresEndpoint("read_replica", {
|
package/postgresEndpoint.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresEndpoint.js","sourceRoot":"","sources":["../postgresEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"postgresEndpoint.js","sourceRoot":"","sources":["../postgresEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AY,GAAG,oDAAoD,CAAC"}
|
package/postgresProject.d.ts
CHANGED
|
@@ -42,6 +42,32 @@ import * as outputs from "./types/output";
|
|
|
42
42
|
* });
|
|
43
43
|
* ```
|
|
44
44
|
*
|
|
45
|
+
* ### Project with High Availability Endpoint
|
|
46
|
+
*
|
|
47
|
+
* Create a project whose initial read-write endpoint is configured with multiple compute instances for high availability.
|
|
48
|
+
* One compute instance acts as the read-write primary.
|
|
49
|
+
* The remaining secondary compute instances are ready for automatic failover if the primary becomes unavailable.
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as databricks from "@pulumi/databricks";
|
|
54
|
+
*
|
|
55
|
+
* const ha = new databricks.PostgresProject("ha", {
|
|
56
|
+
* projectId: "ha-project",
|
|
57
|
+
* spec: {
|
|
58
|
+
* pgVersion: 17,
|
|
59
|
+
* displayName: "HA Production Project",
|
|
60
|
+
* },
|
|
61
|
+
* initialEndpointSpec: {
|
|
62
|
+
* group: {
|
|
63
|
+
* min: 2,
|
|
64
|
+
* max: 2,
|
|
65
|
+
* enableReadableSecondaries: false,
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* });
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
45
71
|
* ### Referencing in Other Resources
|
|
46
72
|
*
|
|
47
73
|
* ```typescript
|
package/postgresProject.js
CHANGED
|
@@ -46,6 +46,32 @@ const utilities = require("./utilities");
|
|
|
46
46
|
* });
|
|
47
47
|
* ```
|
|
48
48
|
*
|
|
49
|
+
* ### Project with High Availability Endpoint
|
|
50
|
+
*
|
|
51
|
+
* Create a project whose initial read-write endpoint is configured with multiple compute instances for high availability.
|
|
52
|
+
* One compute instance acts as the read-write primary.
|
|
53
|
+
* The remaining secondary compute instances are ready for automatic failover if the primary becomes unavailable.
|
|
54
|
+
*
|
|
55
|
+
* ```typescript
|
|
56
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
57
|
+
* import * as databricks from "@pulumi/databricks";
|
|
58
|
+
*
|
|
59
|
+
* const ha = new databricks.PostgresProject("ha", {
|
|
60
|
+
* projectId: "ha-project",
|
|
61
|
+
* spec: {
|
|
62
|
+
* pgVersion: 17,
|
|
63
|
+
* displayName: "HA Production Project",
|
|
64
|
+
* },
|
|
65
|
+
* initialEndpointSpec: {
|
|
66
|
+
* group: {
|
|
67
|
+
* min: 2,
|
|
68
|
+
* max: 2,
|
|
69
|
+
* enableReadableSecondaries: false,
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* });
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
49
75
|
* ### Referencing in Other Resources
|
|
50
76
|
*
|
|
51
77
|
* ```typescript
|
package/postgresProject.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresProject.js","sourceRoot":"","sources":["../postgresProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"postgresProject.js","sourceRoot":"","sources":["../postgresProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwFG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,G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