@pulumi/gcp 10.0.0-beta.1 → 10.0.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/README.md +2 -2
- package/agenticapplications/analystAgentPersona.d.ts +96 -0
- package/agenticapplications/analystAgentPersona.d.ts.map +1 -1
- package/agenticapplications/analystAgentPersona.js +64 -0
- package/agenticapplications/analystAgentPersona.js.map +1 -1
- package/appengine/standardAppVersion.d.ts +4 -4
- package/appengine/standardAppVersion.js +4 -4
- package/bigquery/connection.d.ts +49 -5
- package/bigquery/connection.d.ts.map +1 -1
- package/bigquery/connection.js +49 -5
- package/bigquery/connection.js.map +1 -1
- package/bigquery/job.d.ts +1 -1
- package/bigquery/job.js +1 -1
- package/bigquery/routine.d.ts +1 -1
- package/bigquery/routine.js +1 -1
- package/bigqueryanalyticshub/queryTemplate.d.ts +1 -0
- package/bigqueryanalyticshub/queryTemplate.d.ts.map +1 -1
- package/bigqueryanalyticshub/queryTemplate.js +1 -0
- package/bigqueryanalyticshub/queryTemplate.js.map +1 -1
- package/billing/projectInfo.d.ts +2 -2
- package/billing/projectInfo.js +2 -2
- package/ces/agent.d.ts +88 -0
- package/ces/agent.d.ts.map +1 -1
- package/ces/agent.js +72 -0
- package/ces/agent.js.map +1 -1
- package/ces/example.d.ts +1 -0
- package/ces/example.d.ts.map +1 -1
- package/ces/example.js +1 -0
- package/ces/example.js.map +1 -1
- package/chronicle/caseTagDefinition.d.ts +1 -1
- package/chronicle/caseTagDefinition.js +1 -1
- package/chronicle/dataExport.d.ts +2 -2
- package/chronicle/dataExport.js +2 -2
- package/chronicle/environment.d.ts +28 -0
- package/chronicle/environment.d.ts.map +1 -1
- package/chronicle/environment.js +3 -0
- package/chronicle/environment.js.map +1 -1
- package/chronicle/feed.d.ts +3 -3
- package/chronicle/feed.js +3 -3
- package/chronicle/findingsRefinementDeployment.d.ts +2 -2
- package/chronicle/findingsRefinementDeployment.js +2 -2
- package/chronicle/retrohunt.d.ts +2 -2
- package/chronicle/retrohunt.js +2 -2
- package/chronicle/ruleDeployment.d.ts +6 -6
- package/chronicle/ruleDeployment.js +6 -6
- package/cloudbuild/getWorkerPool.d.ts +111 -0
- package/cloudbuild/getWorkerPool.d.ts.map +1 -0
- package/cloudbuild/getWorkerPool.js +89 -0
- package/cloudbuild/getWorkerPool.js.map +1 -0
- package/cloudbuild/index.d.ts +3 -0
- package/cloudbuild/index.d.ts.map +1 -1
- package/cloudbuild/index.js +4 -1
- package/cloudbuild/index.js.map +1 -1
- package/cloudfunctionsv2/function.d.ts +11 -11
- package/cloudfunctionsv2/function.js +11 -11
- package/cloudrunv2/getService.d.ts +1 -0
- package/cloudrunv2/getService.d.ts.map +1 -1
- package/cloudrunv2/getService.js.map +1 -1
- package/cloudrunv2/job.d.ts +21 -0
- package/cloudrunv2/job.d.ts.map +1 -1
- package/cloudrunv2/job.js +21 -0
- package/cloudrunv2/job.js.map +1 -1
- package/cloudrunv2/service.d.ts +13 -2
- package/cloudrunv2/service.d.ts.map +1 -1
- package/cloudrunv2/service.js +3 -2
- package/cloudrunv2/service.js.map +1 -1
- package/cloudsupport/supportEventSubscription.d.ts +2 -2
- package/cloudsupport/supportEventSubscription.js +2 -2
- package/compute/disk.d.ts +41 -0
- package/compute/disk.d.ts.map +1 -1
- package/compute/disk.js +41 -0
- package/compute/disk.js.map +1 -1
- package/compute/forwardingRule.d.ts +6 -6
- package/compute/forwardingRule.js +6 -6
- package/compute/getRegions.d.ts +28 -24
- package/compute/getRegions.d.ts.map +1 -1
- package/compute/getRegions.js +28 -24
- package/compute/getRegions.js.map +1 -1
- package/compute/getServiceAttachment.d.ts +1 -0
- package/compute/getServiceAttachment.d.ts.map +1 -1
- package/compute/getServiceAttachment.js.map +1 -1
- package/compute/getZones.d.ts +30 -26
- package/compute/getZones.d.ts.map +1 -1
- package/compute/getZones.js +30 -26
- package/compute/getZones.js.map +1 -1
- package/compute/globalForwardingRule.d.ts +7 -7
- package/compute/globalForwardingRule.js +7 -7
- package/compute/globalVmExtensionPolicy.d.ts +4 -4
- package/compute/globalVmExtensionPolicy.js +4 -4
- package/compute/networkEndpoint.d.ts +1 -1
- package/compute/networkEndpoint.js +1 -1
- package/compute/networkEndpointList.d.ts +2 -2
- package/compute/networkEndpointList.js +2 -2
- package/compute/networkFirewallPolicyRule.d.ts +1 -1
- package/compute/networkFirewallPolicyRule.js +1 -1
- package/compute/organizationSecurityPolicyAssociation.d.ts +2 -2
- package/compute/organizationSecurityPolicyAssociation.js +2 -2
- package/compute/organizationSecurityPolicyRule.d.ts +5 -5
- package/compute/organizationSecurityPolicyRule.js +5 -5
- package/compute/regionBackendService.d.ts +1 -1
- package/compute/regionBackendService.js +1 -1
- package/compute/regionDisk.d.ts +71 -0
- package/compute/regionDisk.d.ts.map +1 -1
- package/compute/regionDisk.js +71 -0
- package/compute/regionDisk.js.map +1 -1
- package/compute/regionNetworkFirewallPolicyRule.d.ts +1 -1
- package/compute/regionNetworkFirewallPolicyRule.js +1 -1
- package/compute/regionNetworkFirewallPolicyWithRules.d.ts +8 -8
- package/compute/regionNetworkFirewallPolicyWithRules.js +8 -8
- package/compute/rolloutPlan.d.ts +1 -1
- package/compute/rolloutPlan.js +1 -1
- package/compute/router.d.ts +1 -1
- package/compute/router.js +1 -1
- package/compute/serviceAttachment.d.ts +68 -0
- package/compute/serviceAttachment.d.ts.map +1 -1
- package/compute/serviceAttachment.js +58 -0
- package/compute/serviceAttachment.js.map +1 -1
- package/compute/targetInstance.d.ts +2 -2
- package/compute/targetInstance.js +2 -2
- package/compute/targetSSLProxy.d.ts +1 -1
- package/compute/targetSSLProxy.js +1 -1
- package/compute/zoneVmExtensionPolicy.d.ts +1 -1
- package/compute/zoneVmExtensionPolicy.js +1 -1
- package/container/cluster.d.ts +9 -6
- package/container/cluster.d.ts.map +1 -1
- package/container/cluster.js.map +1 -1
- package/container/getCluster.d.ts +25 -1
- package/container/getCluster.d.ts.map +1 -1
- package/container/getCluster.js +2 -0
- package/container/getCluster.js.map +1 -1
- package/databasemigrationservice/connectionProfile.d.ts +3 -3
- package/databasemigrationservice/connectionProfile.js +3 -3
- package/dataform/folder.d.ts +3 -3
- package/dataform/folder.js +3 -3
- package/dataform/teamFolder.d.ts +1 -1
- package/dataform/teamFolder.js +1 -1
- package/datalineage/config.d.ts +2 -2
- package/datalineage/config.js +2 -2
- package/dataloss/preventionContentPolicy.d.ts +130 -6
- package/dataloss/preventionContentPolicy.d.ts.map +1 -1
- package/dataloss/preventionContentPolicy.js +130 -6
- package/dataloss/preventionContentPolicy.js.map +1 -1
- package/dataplex/dataAsset.d.ts +5 -5
- package/dataplex/dataAsset.js +5 -5
- package/dataplex/dataProduct.d.ts +3 -3
- package/dataplex/dataProduct.js +3 -3
- package/dataplex/dataProductDataAsset.d.ts +5 -5
- package/dataplex/dataProductDataAsset.js +5 -5
- package/dataplex/datascan.d.ts +24 -24
- package/dataplex/datascan.js +24 -24
- package/dataplex/entryLink.d.ts +11 -11
- package/dataplex/entryLink.js +11 -11
- package/dataplex/entryType.d.ts +1 -1
- package/dataplex/entryType.js +1 -1
- package/dataplex/glossaryCategory.d.ts +4 -4
- package/dataplex/glossaryCategory.js +4 -4
- package/dataplex/glossaryTerm.d.ts +4 -4
- package/dataplex/glossaryTerm.js +4 -4
- package/dataplex/task.d.ts +8 -8
- package/dataplex/task.js +8 -8
- package/dataproc/autoscalingPolicy.d.ts +18 -2
- package/dataproc/autoscalingPolicy.d.ts.map +1 -1
- package/dataproc/autoscalingPolicy.js +18 -2
- package/dataproc/autoscalingPolicy.js.map +1 -1
- package/dataproc/batch.d.ts +22 -21
- package/dataproc/batch.d.ts.map +1 -1
- package/dataproc/batch.js +22 -21
- package/dataproc/batch.js.map +1 -1
- package/dataproc/sessionTemplate.d.ts +11 -10
- package/dataproc/sessionTemplate.d.ts.map +1 -1
- package/dataproc/sessionTemplate.js +11 -10
- package/dataproc/sessionTemplate.js.map +1 -1
- package/dataproc/workflowTemplate.d.ts +3 -3
- package/datastream/stream.d.ts +3 -3
- package/datastream/stream.js +3 -3
- package/developerconnect/insightsConfig.d.ts +5 -5
- package/developerconnect/insightsConfig.js +5 -5
- package/discoveryengine/dataConnector.d.ts +37 -3
- package/discoveryengine/dataConnector.d.ts.map +1 -1
- package/discoveryengine/dataConnector.js +14 -3
- package/discoveryengine/dataConnector.js.map +1 -1
- package/firebase/aiLogicConfig.d.ts +27 -22
- package/firebase/aiLogicConfig.d.ts.map +1 -1
- package/firebase/aiLogicConfig.js +0 -13
- package/firebase/aiLogicConfig.js.map +1 -1
- package/firestore/field.d.ts +4 -4
- package/firestore/field.js +4 -4
- package/gemini/gibqObservabilitySetting.d.ts +239 -0
- package/gemini/gibqObservabilitySetting.d.ts.map +1 -0
- package/gemini/gibqObservabilitySetting.js +140 -0
- package/gemini/gibqObservabilitySetting.js.map +1 -0
- package/gemini/gibqObservabilitySettingBinding.d.ts +268 -0
- package/gemini/gibqObservabilitySettingBinding.d.ts.map +1 -0
- package/gemini/gibqObservabilitySettingBinding.js +160 -0
- package/gemini/gibqObservabilitySettingBinding.js.map +1 -0
- package/gemini/index.d.ts +6 -0
- package/gemini/index.d.ts.map +1 -1
- package/gemini/index.js +11 -1
- package/gemini/index.js.map +1 -1
- package/gkebackup/backupChannel.d.ts +1 -1
- package/gkebackup/backupChannel.js +1 -1
- package/gkebackup/backupPlan.d.ts +38 -17
- package/gkebackup/backupPlan.d.ts.map +1 -1
- package/gkebackup/backupPlan.js +38 -17
- package/gkebackup/backupPlan.js.map +1 -1
- package/gkebackup/restoreChannel.d.ts +1 -1
- package/gkebackup/restoreChannel.js +1 -1
- package/gkebackup/restorePlan.d.ts +54 -27
- package/gkebackup/restorePlan.d.ts.map +1 -1
- package/gkebackup/restorePlan.js +54 -27
- package/gkebackup/restorePlan.js.map +1 -1
- package/gkehub/membershipBinding.d.ts +3 -3
- package/gkehub/membershipBinding.js +3 -3
- package/gkehub/membershipRbacRoleBinding.d.ts +2 -2
- package/gkehub/membershipRbacRoleBinding.js +2 -2
- package/gkehub/namespace.d.ts +2 -2
- package/gkehub/namespace.js +2 -2
- package/gkehub/rolloutSequence.d.ts +2 -2
- package/gkehub/rolloutSequence.js +2 -2
- package/gkehub/scopeRbacRoleBinding.d.ts +4 -4
- package/gkehub/scopeRbacRoleBinding.js +4 -4
- package/iap/tunnelDestGroup.d.ts +1 -1
- package/iap/tunnelDestGroup.js +1 -1
- package/integrationconnectors/managedZone.d.ts +4 -4
- package/integrationconnectors/managedZone.js +4 -4
- package/memorystore/instance.d.ts +15 -15
- package/memorystore/instance.js +15 -15
- package/monitoring/uptimeCheckConfig.d.ts +1 -1
- package/monitoring/uptimeCheckConfig.js +1 -1
- package/networkconnectivity/gatewayAdvertisedRoute.d.ts +1 -1
- package/networkconnectivity/gatewayAdvertisedRoute.js +1 -1
- package/networkconnectivity/spoke.d.ts +6 -6
- package/networkconnectivity/spoke.js +6 -6
- package/networkconnectivity/transport.d.ts +2 -2
- package/networkconnectivity/transport.js +2 -2
- package/networkservices/agentConnectivityTemplate.d.ts +374 -0
- package/networkservices/agentConnectivityTemplate.d.ts.map +1 -0
- package/networkservices/agentConnectivityTemplate.js +226 -0
- package/networkservices/agentConnectivityTemplate.js.map +1 -0
- package/networkservices/agentGateway.d.ts +37 -11
- package/networkservices/agentGateway.d.ts.map +1 -1
- package/networkservices/agentGateway.js +21 -11
- package/networkservices/agentGateway.js.map +1 -1
- package/networkservices/getGateway.d.ts +113 -0
- package/networkservices/getGateway.d.ts.map +1 -0
- package/networkservices/getGateway.js +79 -0
- package/networkservices/getGateway.js.map +1 -0
- package/networkservices/index.d.ts +6 -0
- package/networkservices/index.d.ts.map +1 -1
- package/networkservices/index.js +9 -1
- package/networkservices/index.js.map +1 -1
- package/observability/folderSettings.d.ts +2 -2
- package/observability/folderSettings.js +2 -2
- package/observability/projectSettings.d.ts +2 -2
- package/observability/projectSettings.js +2 -2
- package/observability/traceScope.d.ts +2 -2
- package/observability/traceScope.js +2 -2
- package/orgpolicy/policy.d.ts +1 -1
- package/orgpolicy/policy.js +1 -1
- package/package.json +2 -2
- package/parametermanager/parameterVersion.d.ts +26 -0
- package/parametermanager/parameterVersion.d.ts.map +1 -1
- package/parametermanager/parameterVersion.js +16 -0
- package/parametermanager/parameterVersion.js.map +1 -1
- package/parametermanager/regionalParameterVersion.d.ts +29 -0
- package/parametermanager/regionalParameterVersion.d.ts.map +1 -1
- package/parametermanager/regionalParameterVersion.js +19 -0
- package/parametermanager/regionalParameterVersion.js.map +1 -1
- package/pubsub/subscription.d.ts +4 -4
- package/pubsub/subscription.js +4 -4
- package/redis/cluster.d.ts +27 -27
- package/redis/cluster.js +27 -27
- package/redis/clusterUserCreatedConnections.d.ts +21 -21
- package/redis/clusterUserCreatedConnections.js +21 -21
- package/redis/instance.d.ts +17 -11
- package/redis/instance.d.ts.map +1 -1
- package/redis/instance.js +17 -11
- package/redis/instance.js.map +1 -1
- package/resourcemanager/capabilityConfig.d.ts +282 -0
- package/resourcemanager/capabilityConfig.d.ts.map +1 -0
- package/resourcemanager/capabilityConfig.js +202 -0
- package/resourcemanager/capabilityConfig.js.map +1 -0
- package/resourcemanager/index.d.ts +3 -0
- package/resourcemanager/index.d.ts.map +1 -1
- package/resourcemanager/index.js +6 -1
- package/resourcemanager/index.js.map +1 -1
- package/secretmanager/getRegionalSecret.d.ts +1 -0
- package/secretmanager/getRegionalSecret.d.ts.map +1 -1
- package/secretmanager/getRegionalSecret.js.map +1 -1
- package/secretmanager/getSecret.d.ts +1 -0
- package/secretmanager/getSecret.d.ts.map +1 -1
- package/secretmanager/getSecret.js.map +1 -1
- package/secretmanager/regionalSecret.d.ts +16 -0
- package/secretmanager/regionalSecret.d.ts.map +1 -1
- package/secretmanager/regionalSecret.js +3 -0
- package/secretmanager/regionalSecret.js.map +1 -1
- package/secretmanager/regionalSecretVersion.d.ts +83 -2
- package/secretmanager/regionalSecretVersion.d.ts.map +1 -1
- package/secretmanager/regionalSecretVersion.js +47 -4
- package/secretmanager/regionalSecretVersion.js.map +1 -1
- package/secretmanager/secret.d.ts +16 -0
- package/secretmanager/secret.d.ts.map +1 -1
- package/secretmanager/secret.js +3 -0
- package/secretmanager/secret.js.map +1 -1
- package/sql/databaseInstance.d.ts +12 -0
- package/sql/databaseInstance.d.ts.map +1 -1
- package/sql/databaseInstance.js +2 -0
- package/sql/databaseInstance.js.map +1 -1
- package/sql/getDatabaseInstance.d.ts +1 -0
- package/sql/getDatabaseInstance.d.ts.map +1 -1
- package/sql/getDatabaseInstance.js.map +1 -1
- package/storage/ftpServer.d.ts +16 -0
- package/storage/ftpServer.d.ts.map +1 -1
- package/storage/ftpServer.js +4 -0
- package/storage/ftpServer.js.map +1 -1
- package/storage/ftpUser.d.ts +21 -5
- package/storage/ftpUser.d.ts.map +1 -1
- package/storage/ftpUser.js +6 -2
- package/storage/ftpUser.js.map +1 -1
- package/types/input.d.ts +1481 -117
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1622 -125
- package/types/output.d.ts.map +1 -1
- package/vertex/aiEndpoint.d.ts +3 -3
- package/vertex/aiEndpoint.js +3 -3
- package/vertex/aiFeatureOnlineStoreFeatureview.d.ts +2 -2
- package/vertex/aiFeatureOnlineStoreFeatureview.js +2 -2
- package/vertex/aiFeatureStore.d.ts +3 -3
- package/vertex/aiFeatureStore.js +3 -3
- package/vertex/aiFeatureStoreEntityType.d.ts +4 -4
- package/vertex/aiFeatureStoreEntityType.js +4 -4
- package/vertex/aiFeatureStoreEntityTypeFeature.d.ts +6 -6
- package/vertex/aiFeatureStoreEntityTypeFeature.js +6 -6
- package/vertex/aiRagCorpus.d.ts +163 -0
- package/vertex/aiRagCorpus.d.ts.map +1 -1
- package/vertex/aiRagCorpus.js +150 -0
- package/vertex/aiRagCorpus.js.map +1 -1
- package/vertex/aiReasoningEngine.d.ts +2 -2
- package/vertex/aiReasoningEngine.js +2 -2
- package/vertex/aiSemanticGovernancePolicy.d.ts +296 -0
- package/vertex/aiSemanticGovernancePolicy.d.ts.map +1 -0
- package/vertex/aiSemanticGovernancePolicy.js +173 -0
- package/vertex/aiSemanticGovernancePolicy.js.map +1 -0
- package/vertex/getAiReasoningEngineQuery.d.ts +2 -2
- package/vertex/getAiReasoningEngineQuery.js +2 -2
- package/vertex/index.d.ts +3 -0
- package/vertex/index.d.ts.map +1 -1
- package/vertex/index.js +7 -2
- package/vertex/index.js.map +1 -1
- package/workbench/instance.d.ts +49 -24
- package/workbench/instance.d.ts.map +1 -1
- package/workbench/instance.js +49 -24
- package/workbench/instance.js.map +1 -1
package/gkebackup/backupPlan.js
CHANGED
|
@@ -47,8 +47,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
47
47
|
*
|
|
48
48
|
* const primary = new gcp.container.Cluster("primary", {
|
|
49
49
|
* name: "basic-cluster",
|
|
50
|
-
* location: "us-
|
|
50
|
+
* location: "us-east1",
|
|
51
51
|
* initialNodeCount: 1,
|
|
52
|
+
* nodeConfig: {
|
|
53
|
+
* machineType: "n4-standard-2",
|
|
54
|
+
* },
|
|
52
55
|
* workloadIdentityConfig: {
|
|
53
56
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
54
57
|
* },
|
|
@@ -64,7 +67,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
64
67
|
* const basic = new gcp.gkebackup.BackupPlan("basic", {
|
|
65
68
|
* name: "basic-plan",
|
|
66
69
|
* cluster: primary.id,
|
|
67
|
-
* location: "us-
|
|
70
|
+
* location: "us-east1",
|
|
68
71
|
* backupConfig: {
|
|
69
72
|
* includeVolumeData: true,
|
|
70
73
|
* includeSecrets: true,
|
|
@@ -80,7 +83,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
80
83
|
*
|
|
81
84
|
* const primary = new gcp.container.Cluster("primary", {
|
|
82
85
|
* name: "autopilot-cluster",
|
|
83
|
-
* location: "us-
|
|
86
|
+
* location: "us-east1",
|
|
84
87
|
* enableAutopilot: true,
|
|
85
88
|
* ipAllocationPolicy: {},
|
|
86
89
|
* releaseChannel: {
|
|
@@ -98,7 +101,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
98
101
|
* const autopilot = new gcp.gkebackup.BackupPlan("autopilot", {
|
|
99
102
|
* name: "autopilot-plan",
|
|
100
103
|
* cluster: primary.id,
|
|
101
|
-
* location: "us-
|
|
104
|
+
* location: "us-east1",
|
|
102
105
|
* backupConfig: {
|
|
103
106
|
* includeVolumeData: true,
|
|
104
107
|
* includeSecrets: true,
|
|
@@ -114,8 +117,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
114
117
|
*
|
|
115
118
|
* const primary = new gcp.container.Cluster("primary", {
|
|
116
119
|
* name: "cmek-cluster",
|
|
117
|
-
* location: "us-
|
|
120
|
+
* location: "us-east1",
|
|
118
121
|
* initialNodeCount: 1,
|
|
122
|
+
* nodeConfig: {
|
|
123
|
+
* machineType: "n4-standard-2",
|
|
124
|
+
* },
|
|
119
125
|
* workloadIdentityConfig: {
|
|
120
126
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
121
127
|
* },
|
|
@@ -130,7 +136,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
130
136
|
* });
|
|
131
137
|
* const keyRing = new gcp.kms.KeyRing("key_ring", {
|
|
132
138
|
* name: "backup-key",
|
|
133
|
-
* location: "us-
|
|
139
|
+
* location: "us-east1",
|
|
134
140
|
* });
|
|
135
141
|
* const cryptoKey = new gcp.kms.CryptoKey("crypto_key", {
|
|
136
142
|
* name: "backup-key",
|
|
@@ -139,7 +145,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
139
145
|
* const cmek = new gcp.gkebackup.BackupPlan("cmek", {
|
|
140
146
|
* name: "cmek-plan",
|
|
141
147
|
* cluster: primary.id,
|
|
142
|
-
* location: "us-
|
|
148
|
+
* location: "us-east1",
|
|
143
149
|
* backupConfig: {
|
|
144
150
|
* includeVolumeData: true,
|
|
145
151
|
* includeSecrets: true,
|
|
@@ -163,8 +169,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
163
169
|
*
|
|
164
170
|
* const primary = new gcp.container.Cluster("primary", {
|
|
165
171
|
* name: "nslabels-cluster",
|
|
166
|
-
* location: "us-
|
|
172
|
+
* location: "us-east1",
|
|
167
173
|
* initialNodeCount: 1,
|
|
174
|
+
* nodeConfig: {
|
|
175
|
+
* machineType: "n4-standard-2",
|
|
176
|
+
* },
|
|
168
177
|
* workloadIdentityConfig: {
|
|
169
178
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
170
179
|
* },
|
|
@@ -180,7 +189,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
180
189
|
* const nslabels = new gcp.gkebackup.BackupPlan("nslabels", {
|
|
181
190
|
* name: "nslabels-plan",
|
|
182
191
|
* cluster: primary.id,
|
|
183
|
-
* location: "us-
|
|
192
|
+
* location: "us-east1",
|
|
184
193
|
* backupConfig: {
|
|
185
194
|
* includeVolumeData: true,
|
|
186
195
|
* includeSecrets: true,
|
|
@@ -201,8 +210,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
201
210
|
*
|
|
202
211
|
* const primary = new gcp.container.Cluster("primary", {
|
|
203
212
|
* name: "full-cluster",
|
|
204
|
-
* location: "us-
|
|
213
|
+
* location: "us-east1",
|
|
205
214
|
* initialNodeCount: 1,
|
|
215
|
+
* nodeConfig: {
|
|
216
|
+
* machineType: "n4-standard-2",
|
|
217
|
+
* },
|
|
206
218
|
* workloadIdentityConfig: {
|
|
207
219
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
208
220
|
* },
|
|
@@ -218,7 +230,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
218
230
|
* const full = new gcp.gkebackup.BackupPlan("full", {
|
|
219
231
|
* name: "full-plan",
|
|
220
232
|
* cluster: primary.id,
|
|
221
|
-
* location: "us-
|
|
233
|
+
* location: "us-east1",
|
|
222
234
|
* retentionPolicy: {
|
|
223
235
|
* backupDeleteLockDays: 30,
|
|
224
236
|
* backupRetainDays: 180,
|
|
@@ -252,8 +264,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
252
264
|
*
|
|
253
265
|
* const primary = new gcp.container.Cluster("primary", {
|
|
254
266
|
* name: "permissive-cluster",
|
|
255
|
-
* location: "us-
|
|
267
|
+
* location: "us-east1",
|
|
256
268
|
* initialNodeCount: 1,
|
|
269
|
+
* nodeConfig: {
|
|
270
|
+
* machineType: "n4-standard-2",
|
|
271
|
+
* },
|
|
257
272
|
* workloadIdentityConfig: {
|
|
258
273
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
259
274
|
* },
|
|
@@ -269,7 +284,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
269
284
|
* const permissive = new gcp.gkebackup.BackupPlan("permissive", {
|
|
270
285
|
* name: "permissive-plan",
|
|
271
286
|
* cluster: primary.id,
|
|
272
|
-
* location: "us-
|
|
287
|
+
* location: "us-east1",
|
|
273
288
|
* retentionPolicy: {
|
|
274
289
|
* backupDeleteLockDays: 30,
|
|
275
290
|
* backupRetainDays: 180,
|
|
@@ -304,8 +319,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
304
319
|
*
|
|
305
320
|
* const primary = new gcp.container.Cluster("primary", {
|
|
306
321
|
* name: "rpo-daily-cluster",
|
|
307
|
-
* location: "us-
|
|
322
|
+
* location: "us-east1",
|
|
308
323
|
* initialNodeCount: 1,
|
|
324
|
+
* nodeConfig: {
|
|
325
|
+
* machineType: "n4-standard-2",
|
|
326
|
+
* },
|
|
309
327
|
* workloadIdentityConfig: {
|
|
310
328
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
311
329
|
* },
|
|
@@ -321,7 +339,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
321
339
|
* const rpoDailyWindow = new gcp.gkebackup.BackupPlan("rpo_daily_window", {
|
|
322
340
|
* name: "rpo-daily-window",
|
|
323
341
|
* cluster: primary.id,
|
|
324
|
-
* location: "us-
|
|
342
|
+
* location: "us-east1",
|
|
325
343
|
* retentionPolicy: {
|
|
326
344
|
* backupDeleteLockDays: 30,
|
|
327
345
|
* backupRetainDays: 180,
|
|
@@ -370,8 +388,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
370
388
|
*
|
|
371
389
|
* const primary = new gcp.container.Cluster("primary", {
|
|
372
390
|
* name: "rpo-weekly-cluster",
|
|
373
|
-
* location: "us-
|
|
391
|
+
* location: "us-east1",
|
|
374
392
|
* initialNodeCount: 1,
|
|
393
|
+
* nodeConfig: {
|
|
394
|
+
* machineType: "n4-standard-2",
|
|
395
|
+
* },
|
|
375
396
|
* workloadIdentityConfig: {
|
|
376
397
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
377
398
|
* },
|
|
@@ -387,7 +408,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
387
408
|
* const rpoWeeklyWindow = new gcp.gkebackup.BackupPlan("rpo_weekly_window", {
|
|
388
409
|
* name: "rpo-weekly-window",
|
|
389
410
|
* cluster: primary.id,
|
|
390
|
-
* location: "us-
|
|
411
|
+
* location: "us-east1",
|
|
391
412
|
* retentionPolicy: {
|
|
392
413
|
* backupDeleteLockDays: 30,
|
|
393
414
|
* backupRetainDays: 180,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backupPlan.js","sourceRoot":"","sources":["../../gkebackup/backupPlan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"backupPlan.js","sourceRoot":"","sources":["../../gkebackup/backupPlan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C,OAAO,CAAC;YAClD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,iBAAiB,EAAE,cAAc,CAAC,EAAE,CAAC;QACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAhML,gCAiMC"}
|
|
@@ -21,7 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
21
21
|
*
|
|
22
22
|
* const basic = new gcp.gkebackup.RestoreChannel("basic", {
|
|
23
23
|
* name: "basic-channel",
|
|
24
|
-
* location: "us-
|
|
24
|
+
* location: "us-east1",
|
|
25
25
|
* description: "Description",
|
|
26
26
|
* destinationProject: "projects/24240755850",
|
|
27
27
|
* labels: {
|
|
@@ -50,7 +50,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
50
50
|
*
|
|
51
51
|
* const basic = new gcp.gkebackup.RestoreChannel("basic", {
|
|
52
52
|
* name: "basic-channel",
|
|
53
|
-
* location: "us-
|
|
53
|
+
* location: "us-east1",
|
|
54
54
|
* description: "Description",
|
|
55
55
|
* destinationProject: "projects/24240755850",
|
|
56
56
|
* labels: {
|
|
@@ -20,8 +20,11 @@ import * as outputs from "../types/output";
|
|
|
20
20
|
*
|
|
21
21
|
* const primary = new gcp.container.Cluster("primary", {
|
|
22
22
|
* name: "restore-all-ns-cluster",
|
|
23
|
-
* location: "us-
|
|
23
|
+
* location: "us-east1",
|
|
24
24
|
* initialNodeCount: 1,
|
|
25
|
+
* nodeConfig: {
|
|
26
|
+
* machineType: "n4-standard-2",
|
|
27
|
+
* },
|
|
25
28
|
* workloadIdentityConfig: {
|
|
26
29
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
27
30
|
* },
|
|
@@ -37,7 +40,7 @@ import * as outputs from "../types/output";
|
|
|
37
40
|
* const basic = new gcp.gkebackup.BackupPlan("basic", {
|
|
38
41
|
* name: "restore-all-ns",
|
|
39
42
|
* cluster: primary.id,
|
|
40
|
-
* location: "us-
|
|
43
|
+
* location: "us-east1",
|
|
41
44
|
* backupConfig: {
|
|
42
45
|
* includeVolumeData: true,
|
|
43
46
|
* includeSecrets: true,
|
|
@@ -46,7 +49,7 @@ import * as outputs from "../types/output";
|
|
|
46
49
|
* });
|
|
47
50
|
* const allNs = new gcp.gkebackup.RestorePlan("all_ns", {
|
|
48
51
|
* name: "restore-all-ns",
|
|
49
|
-
* location: "us-
|
|
52
|
+
* location: "us-east1",
|
|
50
53
|
* backupPlan: basic.id,
|
|
51
54
|
* cluster: primary.id,
|
|
52
55
|
* restoreConfig: {
|
|
@@ -68,8 +71,11 @@ import * as outputs from "../types/output";
|
|
|
68
71
|
*
|
|
69
72
|
* const primary = new gcp.container.Cluster("primary", {
|
|
70
73
|
* name: "rollback-ns-cluster",
|
|
71
|
-
* location: "us-
|
|
74
|
+
* location: "us-east1",
|
|
72
75
|
* initialNodeCount: 1,
|
|
76
|
+
* nodeConfig: {
|
|
77
|
+
* machineType: "n4-standard-2",
|
|
78
|
+
* },
|
|
73
79
|
* workloadIdentityConfig: {
|
|
74
80
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
75
81
|
* },
|
|
@@ -85,7 +91,7 @@ import * as outputs from "../types/output";
|
|
|
85
91
|
* const basic = new gcp.gkebackup.BackupPlan("basic", {
|
|
86
92
|
* name: "rollback-ns",
|
|
87
93
|
* cluster: primary.id,
|
|
88
|
-
* location: "us-
|
|
94
|
+
* location: "us-east1",
|
|
89
95
|
* backupConfig: {
|
|
90
96
|
* includeVolumeData: true,
|
|
91
97
|
* includeSecrets: true,
|
|
@@ -94,7 +100,7 @@ import * as outputs from "../types/output";
|
|
|
94
100
|
* });
|
|
95
101
|
* const rollbackNs = new gcp.gkebackup.RestorePlan("rollback_ns", {
|
|
96
102
|
* name: "rollback-ns-rp",
|
|
97
|
-
* location: "us-
|
|
103
|
+
* location: "us-east1",
|
|
98
104
|
* backupPlan: basic.id,
|
|
99
105
|
* cluster: primary.id,
|
|
100
106
|
* restoreConfig: {
|
|
@@ -127,8 +133,11 @@ import * as outputs from "../types/output";
|
|
|
127
133
|
*
|
|
128
134
|
* const primary = new gcp.container.Cluster("primary", {
|
|
129
135
|
* name: "rollback-app-cluster",
|
|
130
|
-
* location: "us-
|
|
136
|
+
* location: "us-east1",
|
|
131
137
|
* initialNodeCount: 1,
|
|
138
|
+
* nodeConfig: {
|
|
139
|
+
* machineType: "n4-standard-2",
|
|
140
|
+
* },
|
|
132
141
|
* workloadIdentityConfig: {
|
|
133
142
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
134
143
|
* },
|
|
@@ -144,7 +153,7 @@ import * as outputs from "../types/output";
|
|
|
144
153
|
* const basic = new gcp.gkebackup.BackupPlan("basic", {
|
|
145
154
|
* name: "rollback-app",
|
|
146
155
|
* cluster: primary.id,
|
|
147
|
-
* location: "us-
|
|
156
|
+
* location: "us-east1",
|
|
148
157
|
* backupConfig: {
|
|
149
158
|
* includeVolumeData: true,
|
|
150
159
|
* includeSecrets: true,
|
|
@@ -153,7 +162,7 @@ import * as outputs from "../types/output";
|
|
|
153
162
|
* });
|
|
154
163
|
* const rollbackApp = new gcp.gkebackup.RestorePlan("rollback_app", {
|
|
155
164
|
* name: "rollback-app-rp",
|
|
156
|
-
* location: "us-
|
|
165
|
+
* location: "us-east1",
|
|
157
166
|
* backupPlan: basic.id,
|
|
158
167
|
* cluster: primary.id,
|
|
159
168
|
* restoreConfig: {
|
|
@@ -179,8 +188,11 @@ import * as outputs from "../types/output";
|
|
|
179
188
|
*
|
|
180
189
|
* const primary = new gcp.container.Cluster("primary", {
|
|
181
190
|
* name: "all-groupkinds-cluster",
|
|
182
|
-
* location: "us-
|
|
191
|
+
* location: "us-east1",
|
|
183
192
|
* initialNodeCount: 1,
|
|
193
|
+
* nodeConfig: {
|
|
194
|
+
* machineType: "n4-standard-2",
|
|
195
|
+
* },
|
|
184
196
|
* workloadIdentityConfig: {
|
|
185
197
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
186
198
|
* },
|
|
@@ -196,7 +208,7 @@ import * as outputs from "../types/output";
|
|
|
196
208
|
* const basic = new gcp.gkebackup.BackupPlan("basic", {
|
|
197
209
|
* name: "all-groupkinds",
|
|
198
210
|
* cluster: primary.id,
|
|
199
|
-
* location: "us-
|
|
211
|
+
* location: "us-east1",
|
|
200
212
|
* backupConfig: {
|
|
201
213
|
* includeVolumeData: true,
|
|
202
214
|
* includeSecrets: true,
|
|
@@ -205,7 +217,7 @@ import * as outputs from "../types/output";
|
|
|
205
217
|
* });
|
|
206
218
|
* const allClusterResources = new gcp.gkebackup.RestorePlan("all_cluster_resources", {
|
|
207
219
|
* name: "all-groupkinds-rp",
|
|
208
|
-
* location: "us-
|
|
220
|
+
* location: "us-east1",
|
|
209
221
|
* backupPlan: basic.id,
|
|
210
222
|
* cluster: primary.id,
|
|
211
223
|
* restoreConfig: {
|
|
@@ -226,8 +238,11 @@ import * as outputs from "../types/output";
|
|
|
226
238
|
*
|
|
227
239
|
* const primary = new gcp.container.Cluster("primary", {
|
|
228
240
|
* name: "rename-ns-cluster",
|
|
229
|
-
* location: "us-
|
|
241
|
+
* location: "us-east1",
|
|
230
242
|
* initialNodeCount: 1,
|
|
243
|
+
* nodeConfig: {
|
|
244
|
+
* machineType: "n4-standard-2",
|
|
245
|
+
* },
|
|
231
246
|
* workloadIdentityConfig: {
|
|
232
247
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
233
248
|
* },
|
|
@@ -243,7 +258,7 @@ import * as outputs from "../types/output";
|
|
|
243
258
|
* const basic = new gcp.gkebackup.BackupPlan("basic", {
|
|
244
259
|
* name: "rename-ns",
|
|
245
260
|
* cluster: primary.id,
|
|
246
|
-
* location: "us-
|
|
261
|
+
* location: "us-east1",
|
|
247
262
|
* backupConfig: {
|
|
248
263
|
* includeVolumeData: true,
|
|
249
264
|
* includeSecrets: true,
|
|
@@ -252,7 +267,7 @@ import * as outputs from "../types/output";
|
|
|
252
267
|
* });
|
|
253
268
|
* const renameNs = new gcp.gkebackup.RestorePlan("rename_ns", {
|
|
254
269
|
* name: "rename-ns-rp",
|
|
255
|
-
* location: "us-
|
|
270
|
+
* location: "us-east1",
|
|
256
271
|
* backupPlan: basic.id,
|
|
257
272
|
* cluster: primary.id,
|
|
258
273
|
* restoreConfig: {
|
|
@@ -302,8 +317,11 @@ import * as outputs from "../types/output";
|
|
|
302
317
|
*
|
|
303
318
|
* const primary = new gcp.container.Cluster("primary", {
|
|
304
319
|
* name: "transform-rule-cluster",
|
|
305
|
-
* location: "us-
|
|
320
|
+
* location: "us-east1",
|
|
306
321
|
* initialNodeCount: 1,
|
|
322
|
+
* nodeConfig: {
|
|
323
|
+
* machineType: "n4-standard-2",
|
|
324
|
+
* },
|
|
307
325
|
* workloadIdentityConfig: {
|
|
308
326
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
309
327
|
* },
|
|
@@ -319,7 +337,7 @@ import * as outputs from "../types/output";
|
|
|
319
337
|
* const basic = new gcp.gkebackup.BackupPlan("basic", {
|
|
320
338
|
* name: "transform-rule",
|
|
321
339
|
* cluster: primary.id,
|
|
322
|
-
* location: "us-
|
|
340
|
+
* location: "us-east1",
|
|
323
341
|
* backupConfig: {
|
|
324
342
|
* includeVolumeData: true,
|
|
325
343
|
* includeSecrets: true,
|
|
@@ -332,7 +350,7 @@ import * as outputs from "../types/output";
|
|
|
332
350
|
* labels: {
|
|
333
351
|
* app: "nginx",
|
|
334
352
|
* },
|
|
335
|
-
* location: "us-
|
|
353
|
+
* location: "us-east1",
|
|
336
354
|
* backupPlan: basic.id,
|
|
337
355
|
* cluster: primary.id,
|
|
338
356
|
* restoreConfig: {
|
|
@@ -374,8 +392,11 @@ import * as outputs from "../types/output";
|
|
|
374
392
|
*
|
|
375
393
|
* const primary = new gcp.container.Cluster("primary", {
|
|
376
394
|
* name: "gitops-mode-cluster",
|
|
377
|
-
* location: "us-
|
|
395
|
+
* location: "us-east1",
|
|
378
396
|
* initialNodeCount: 1,
|
|
397
|
+
* nodeConfig: {
|
|
398
|
+
* machineType: "n4-standard-2",
|
|
399
|
+
* },
|
|
379
400
|
* workloadIdentityConfig: {
|
|
380
401
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
381
402
|
* },
|
|
@@ -391,7 +412,7 @@ import * as outputs from "../types/output";
|
|
|
391
412
|
* const basic = new gcp.gkebackup.BackupPlan("basic", {
|
|
392
413
|
* name: "gitops-mode",
|
|
393
414
|
* cluster: primary.id,
|
|
394
|
-
* location: "us-
|
|
415
|
+
* location: "us-east1",
|
|
395
416
|
* backupConfig: {
|
|
396
417
|
* includeVolumeData: true,
|
|
397
418
|
* includeSecrets: true,
|
|
@@ -400,7 +421,7 @@ import * as outputs from "../types/output";
|
|
|
400
421
|
* });
|
|
401
422
|
* const gitopsMode = new gcp.gkebackup.RestorePlan("gitops_mode", {
|
|
402
423
|
* name: "gitops-mode",
|
|
403
|
-
* location: "us-
|
|
424
|
+
* location: "us-east1",
|
|
404
425
|
* backupPlan: basic.id,
|
|
405
426
|
* cluster: primary.id,
|
|
406
427
|
* restoreConfig: {
|
|
@@ -422,8 +443,11 @@ import * as outputs from "../types/output";
|
|
|
422
443
|
*
|
|
423
444
|
* const primary = new gcp.container.Cluster("primary", {
|
|
424
445
|
* name: "restore-order-cluster",
|
|
425
|
-
* location: "us-
|
|
446
|
+
* location: "us-east1",
|
|
426
447
|
* initialNodeCount: 1,
|
|
448
|
+
* nodeConfig: {
|
|
449
|
+
* machineType: "n4-standard-2",
|
|
450
|
+
* },
|
|
427
451
|
* workloadIdentityConfig: {
|
|
428
452
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
429
453
|
* },
|
|
@@ -439,7 +463,7 @@ import * as outputs from "../types/output";
|
|
|
439
463
|
* const basic = new gcp.gkebackup.BackupPlan("basic", {
|
|
440
464
|
* name: "restore-order",
|
|
441
465
|
* cluster: primary.id,
|
|
442
|
-
* location: "us-
|
|
466
|
+
* location: "us-east1",
|
|
443
467
|
* backupConfig: {
|
|
444
468
|
* includeVolumeData: true,
|
|
445
469
|
* includeSecrets: true,
|
|
@@ -448,7 +472,7 @@ import * as outputs from "../types/output";
|
|
|
448
472
|
* });
|
|
449
473
|
* const restoreOrder = new gcp.gkebackup.RestorePlan("restore_order", {
|
|
450
474
|
* name: "restore-order",
|
|
451
|
-
* location: "us-
|
|
475
|
+
* location: "us-east1",
|
|
452
476
|
* backupPlan: basic.id,
|
|
453
477
|
* cluster: primary.id,
|
|
454
478
|
* restoreConfig: {
|
|
@@ -494,8 +518,11 @@ import * as outputs from "../types/output";
|
|
|
494
518
|
*
|
|
495
519
|
* const primary = new gcp.container.Cluster("primary", {
|
|
496
520
|
* name: "volume-res-cluster",
|
|
497
|
-
* location: "us-
|
|
521
|
+
* location: "us-east1",
|
|
498
522
|
* initialNodeCount: 1,
|
|
523
|
+
* nodeConfig: {
|
|
524
|
+
* machineType: "n4-standard-2",
|
|
525
|
+
* },
|
|
499
526
|
* workloadIdentityConfig: {
|
|
500
527
|
* workloadPool: "my-project-name.svc.id.goog",
|
|
501
528
|
* },
|
|
@@ -511,7 +538,7 @@ import * as outputs from "../types/output";
|
|
|
511
538
|
* const basic = new gcp.gkebackup.BackupPlan("basic", {
|
|
512
539
|
* name: "volume-res",
|
|
513
540
|
* cluster: primary.id,
|
|
514
|
-
* location: "us-
|
|
541
|
+
* location: "us-east1",
|
|
515
542
|
* backupConfig: {
|
|
516
543
|
* includeVolumeData: true,
|
|
517
544
|
* includeSecrets: true,
|
|
@@ -520,7 +547,7 @@ import * as outputs from "../types/output";
|
|
|
520
547
|
* });
|
|
521
548
|
* const volumeRes = new gcp.gkebackup.RestorePlan("volume_res", {
|
|
522
549
|
* name: "volume-res",
|
|
523
|
-
* location: "us-
|
|
550
|
+
* location: "us-east1",
|
|
524
551
|
* backupPlan: basic.id,
|
|
525
552
|
* cluster: primary.id,
|
|
526
553
|
* restoreConfig: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restorePlan.d.ts","sourceRoot":"","sources":["../../gkebackup/restorePlan.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C
|
|
1
|
+
{"version":3,"file":"restorePlan.d.ts","sourceRoot":"","sources":["../../gkebackup/restorePlan.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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