@pulumi/gcp 9.33.0-alpha.1785902607 → 9.33.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/accesscontextmanager/gcpUserAccessBinding.d.ts +1 -1
- package/accesscontextmanager/gcpUserAccessBinding.js +1 -1
- package/agentidentity/authProvider.d.ts +366 -0
- package/agentidentity/authProvider.d.ts.map +1 -0
- package/agentidentity/authProvider.js +158 -0
- package/agentidentity/authProvider.js.map +1 -0
- package/agentidentity/index.d.ts +4 -0
- package/agentidentity/index.d.ts.map +1 -0
- package/agentidentity/index.js +45 -0
- package/agentidentity/index.js.map +1 -0
- package/apihub/index.d.ts +3 -0
- package/apihub/index.d.ts.map +1 -1
- package/apihub/index.js +6 -1
- package/apihub/index.js.map +1 -1
- package/apihub/runtimeProjectAttachment.d.ts +228 -0
- package/apihub/runtimeProjectAttachment.d.ts.map +1 -0
- package/apihub/runtimeProjectAttachment.js +173 -0
- package/apihub/runtimeProjectAttachment.js.map +1 -0
- package/apphub/service.d.ts +2 -2
- package/apphub/service.js +2 -2
- package/artifactregistry/getDockerImage.d.ts +2 -2
- package/artifactregistry/getDockerImage.js +2 -2
- package/bigquery/routine.d.ts +28 -0
- package/bigquery/routine.d.ts.map +1 -1
- package/bigquery/routine.js +28 -0
- package/bigquery/routine.js.map +1 -1
- package/binaryauthorization/attestor.d.ts +1 -1
- package/binaryauthorization/attestor.js +1 -1
- package/certificateauthority/certificate.d.ts +1 -1
- package/certificateauthority/certificate.js +1 -1
- package/certificatemanager/dnsAuthorization.d.ts +3 -3
- package/certificatemanager/dnsAuthorization.js +3 -3
- package/ces/agent.d.ts +1 -1
- package/ces/agent.js +1 -1
- package/ces/example.d.ts +2 -2
- package/ces/example.js +2 -2
- package/ces/tool.d.ts +1 -1
- package/ces/tool.js +1 -1
- package/chronicle/bigQueryExport.d.ts +263 -0
- package/chronicle/bigQueryExport.d.ts.map +1 -0
- package/chronicle/bigQueryExport.js +173 -0
- package/chronicle/bigQueryExport.js.map +1 -0
- package/chronicle/index.d.ts +3 -0
- package/chronicle/index.d.ts.map +1 -1
- package/chronicle/index.js +6 -1
- package/chronicle/index.js.map +1 -1
- package/cloudbuild/bitbucketServerConfig.d.ts +1 -1
- package/cloudbuild/bitbucketServerConfig.js +1 -1
- package/cloudidentity/groupMembership.d.ts +1 -1
- package/cloudidentity/groupMembership.js +1 -1
- package/cloudquota/squotaAdjusterSettings.d.ts +1 -4
- package/cloudquota/squotaAdjusterSettings.d.ts.map +1 -1
- package/cloudquota/squotaAdjusterSettings.js +1 -4
- package/cloudquota/squotaAdjusterSettings.js.map +1 -1
- package/cloudrun/service.d.ts +1 -1
- package/cloudrun/service.js +1 -1
- package/cloudrunv2/job.d.ts +0 -6
- package/cloudrunv2/job.d.ts.map +1 -1
- package/cloudrunv2/job.js.map +1 -1
- package/colab/schedule.d.ts +275 -2
- package/colab/schedule.d.ts.map +1 -1
- package/colab/schedule.js +200 -3
- package/colab/schedule.js.map +1 -1
- package/compute/backendService.d.ts +1 -1
- package/compute/backendService.js +1 -1
- package/compute/getInstanceSerialPort.d.ts +2 -2
- package/compute/getInstanceSerialPort.js +2 -2
- package/compute/globalVmExtensionPolicy.d.ts +0 -3
- package/compute/globalVmExtensionPolicy.d.ts.map +1 -1
- package/compute/globalVmExtensionPolicy.js +0 -3
- package/compute/globalVmExtensionPolicy.js.map +1 -1
- package/compute/interconnect.d.ts +14 -4
- package/compute/interconnect.d.ts.map +1 -1
- package/compute/interconnect.js +3 -1
- package/compute/interconnect.js.map +1 -1
- 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/networkPeeringRoutesConfig.d.ts +2 -2
- package/compute/networkPeeringRoutesConfig.js +2 -2
- package/compute/regionBackendService.d.ts +1 -1
- package/compute/regionBackendService.js +1 -1
- package/compute/regionNetworkEndpoint.d.ts +1 -1
- package/compute/regionNetworkEndpoint.js +1 -1
- package/compute/rolloutPlan.d.ts +1 -4
- package/compute/rolloutPlan.d.ts.map +1 -1
- package/compute/rolloutPlan.js +1 -4
- package/compute/rolloutPlan.js.map +1 -1
- package/config/vars.d.ts +1 -0
- package/config/vars.d.ts.map +1 -1
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/contactcenterinsights/encryptionSpec.d.ts +1 -1
- package/contactcenterinsights/encryptionSpec.js +1 -1
- package/container/cluster.d.ts +71 -0
- package/container/cluster.d.ts.map +1 -1
- package/container/cluster.js +45 -0
- package/container/cluster.js.map +1 -1
- package/container/getCluster.d.ts +3 -0
- package/container/getCluster.d.ts.map +1 -1
- package/container/getCluster.js.map +1 -1
- package/databasemigrationservice/connectionProfile.d.ts +4 -4
- package/databasemigrationservice/connectionProfile.js +4 -4
- package/databasemigrationservice/migrationJob.d.ts +4 -4
- package/databasemigrationservice/migrationJob.js +4 -4
- package/dataplex/datascan.d.ts +1 -1
- package/dataplex/datascan.js +1 -1
- package/dataplex/entry.d.ts +1 -1
- package/dataplex/entry.js +1 -1
- package/dataplex/entryLink.d.ts +1 -1
- package/dataplex/entryLink.js +1 -1
- package/dataproc/job.d.ts +2 -2
- package/dataproc/job.js +2 -2
- package/datastream/connectionProfile.d.ts +1 -1
- package/datastream/connectionProfile.js +1 -1
- package/datastream/stream.d.ts +1 -1
- package/datastream/stream.js +1 -1
- package/developerconnect/connection.d.ts +1 -1
- package/developerconnect/connection.js +1 -1
- package/diagflow/encryptionSpec.d.ts +1 -1
- package/diagflow/encryptionSpec.js +1 -1
- package/dns/managedZone.d.ts +2 -2
- package/dns/managedZone.js +2 -2
- package/dns/responsePolicy.d.ts +2 -2
- package/dns/responsePolicy.js +2 -2
- package/firebase/webApp.d.ts +6 -6
- package/firebase/webApp.js +6 -6
- package/folder/accessApprovalSettings.d.ts +2 -2
- package/folder/accessApprovalSettings.js +2 -2
- package/gkehub/rolloutSequence.d.ts +225 -3
- package/gkehub/rolloutSequence.d.ts.map +1 -1
- package/gkehub/rolloutSequence.js +149 -3
- package/gkehub/rolloutSequence.js.map +1 -1
- package/gkehub/scopeRbacRoleBinding.d.ts +4 -4
- package/gkehub/scopeRbacRoleBinding.js +4 -4
- package/iam/accessBoundaryPolicy.d.ts +3 -3
- package/iam/accessBoundaryPolicy.js +3 -3
- package/iam/denyPolicy.d.ts +1 -1
- package/iam/denyPolicy.js +1 -1
- package/iap/tunnelDestGroup.d.ts +1 -1
- package/iap/tunnelDestGroup.js +1 -1
- package/index.d.ts +2 -1
- package/index.d.ts.map +1 -1
- package/index.js +6 -4
- package/index.js.map +1 -1
- package/integrationconnectors/managedZone.d.ts +4 -4
- package/integrationconnectors/managedZone.js +4 -4
- package/logging/folderSettings.d.ts +1 -1
- package/logging/folderSettings.js +1 -1
- package/managedkafka/connectCluster.d.ts +1 -1
- package/managedkafka/connectCluster.js +1 -1
- package/managedkafka/connector.d.ts +1 -1
- package/managedkafka/connector.js +1 -1
- package/memorystore/instanceDesiredUserCreatedEndpoints.d.ts +12 -12
- package/memorystore/instanceDesiredUserCreatedEndpoints.js +12 -12
- package/modelarmor/template.d.ts +27 -0
- package/modelarmor/template.d.ts.map +1 -1
- package/modelarmor/template.js +27 -0
- package/modelarmor/template.js.map +1 -1
- package/networkconnectivity/gatewayAdvertisedRoute.d.ts +1 -1
- package/networkconnectivity/gatewayAdvertisedRoute.js +1 -1
- package/networkconnectivity/spoke.d.ts +8 -8
- package/networkconnectivity/spoke.js +8 -8
- package/networkconnectivity/transport.d.ts +2 -2
- package/networkconnectivity/transport.js +2 -2
- package/observability/folderSettings.d.ts +3 -3
- package/observability/folderSettings.js +3 -3
- 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/organizations/accessApprovalSettings.d.ts +1 -1
- package/organizations/accessApprovalSettings.js +1 -1
- package/orgpolicy/policy.d.ts +1 -1
- package/orgpolicy/policy.js +1 -1
- package/package.json +2 -2
- package/projects/accessApprovalSettings.d.ts +1 -1
- package/projects/accessApprovalSettings.js +1 -1
- package/provider.d.ts +2 -0
- package/provider.d.ts.map +1 -1
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/pubsub/subscription.d.ts +4 -4
- package/pubsub/subscription.js +4 -4
- package/redis/clusterUserCreatedConnections.d.ts +12 -12
- package/redis/clusterUserCreatedConnections.js +12 -12
- package/securesourcemanager/instance.d.ts +6 -6
- package/securesourcemanager/instance.js +6 -6
- package/siteverification/owner.d.ts +5 -5
- package/siteverification/owner.js +5 -5
- package/types/input.d.ts +928 -7
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +991 -7
- package/types/output.d.ts.map +1 -1
- package/vectorsearch/dataObject.d.ts +405 -0
- package/vectorsearch/dataObject.d.ts.map +1 -0
- package/vectorsearch/dataObject.js +290 -0
- package/vectorsearch/dataObject.js.map +1 -0
- package/vectorsearch/index.d.ts +3 -0
- package/vectorsearch/index.d.ts.map +1 -1
- package/vectorsearch/index.js +6 -1
- package/vectorsearch/index.js.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/aiPersistentResource.d.ts +614 -0
- package/vertex/aiPersistentResource.d.ts.map +1 -0
- package/vertex/aiPersistentResource.js +307 -0
- package/vertex/aiPersistentResource.js.map +1 -0
- package/vertex/aiReasoningEngine.d.ts +1 -1
- package/vertex/aiReasoningEngine.js +1 -1
- package/vertex/aiSchedule.d.ts +2 -0
- package/vertex/aiSchedule.d.ts.map +1 -1
- package/vertex/aiSchedule.js +2 -0
- package/vertex/aiSchedule.js.map +1 -1
- package/vertex/aiTensorboardExperiment.d.ts +1 -1
- package/vertex/aiTensorboardExperiment.js +1 -1
- package/vertex/aiTensorboardRun.d.ts +2 -2
- package/vertex/aiTensorboardRun.js +2 -2
- 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
|
@@ -17,15 +17,38 @@ import * as outputs from "../types/output";
|
|
|
17
17
|
* ```typescript
|
|
18
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
19
|
* import * as gcp from "@pulumi/gcp";
|
|
20
|
+
* import * as time from "@pulumiverse/time";
|
|
20
21
|
*
|
|
22
|
+
* const project = new gcp.organizations.Project("project", {
|
|
23
|
+
* projectId: "rs-project",
|
|
24
|
+
* name: "rs-project",
|
|
25
|
+
* orgId: "123456789",
|
|
26
|
+
* billingAccount: "000000-0000000-0000000-000000",
|
|
27
|
+
* deletionPolicy: "DELETE",
|
|
28
|
+
* });
|
|
29
|
+
* const gkehub = new gcp.projects.Service("gkehub", {
|
|
30
|
+
* project: project.projectId,
|
|
31
|
+
* service: "gkehub.googleapis.com",
|
|
32
|
+
* });
|
|
33
|
+
* // wait for API enablement
|
|
34
|
+
* const wait120Seconds = new time.Sleep("wait_120_seconds", {createDuration: "120s"}, {
|
|
35
|
+
* dependsOn: [gkehub],
|
|
36
|
+
* });
|
|
37
|
+
* const _default = new gcp.gkehub.Fleet("default", {
|
|
38
|
+
* displayName: "rs-fleet",
|
|
39
|
+
* project: project.projectId,
|
|
40
|
+
* }, {
|
|
41
|
+
* dependsOn: [wait120Seconds],
|
|
42
|
+
* });
|
|
21
43
|
* const rolloutSequence = new gcp.gkehub.RolloutSequence("rollout_sequence", {
|
|
44
|
+
* project: project.projectId,
|
|
22
45
|
* rolloutSequenceId: "rs-basic",
|
|
23
46
|
* displayName: "Basic Rollout Sequence",
|
|
24
47
|
* ignoredClustersSelector: {
|
|
25
48
|
* labelSelector: "resource.labels.ignored == 'true'",
|
|
26
49
|
* },
|
|
27
50
|
* stages: [{
|
|
28
|
-
* fleetProjects: [
|
|
51
|
+
* fleetProjects: [pulumi.interpolate`projects/${project.projectId}`],
|
|
29
52
|
* soakDuration: "1h",
|
|
30
53
|
* }],
|
|
31
54
|
* autoUpgradeConfig: {
|
|
@@ -38,6 +61,8 @@ import * as outputs from "../types/output";
|
|
|
38
61
|
* ],
|
|
39
62
|
* },
|
|
40
63
|
* },
|
|
64
|
+
* }, {
|
|
65
|
+
* dependsOn: [_default],
|
|
41
66
|
* });
|
|
42
67
|
* ```
|
|
43
68
|
* ### Gke Hub Rollout Sequence Update
|
|
@@ -45,8 +70,31 @@ import * as outputs from "../types/output";
|
|
|
45
70
|
* ```typescript
|
|
46
71
|
* import * as pulumi from "@pulumi/pulumi";
|
|
47
72
|
* import * as gcp from "@pulumi/gcp";
|
|
73
|
+
* import * as time from "@pulumiverse/time";
|
|
48
74
|
*
|
|
75
|
+
* const project = new gcp.organizations.Project("project", {
|
|
76
|
+
* projectId: "rs-project",
|
|
77
|
+
* name: "rs-project",
|
|
78
|
+
* orgId: "123456789",
|
|
79
|
+
* billingAccount: "000000-0000000-0000000-000000",
|
|
80
|
+
* deletionPolicy: "DELETE",
|
|
81
|
+
* });
|
|
82
|
+
* const gkehub = new gcp.projects.Service("gkehub", {
|
|
83
|
+
* project: project.projectId,
|
|
84
|
+
* service: "gkehub.googleapis.com",
|
|
85
|
+
* });
|
|
86
|
+
* // wait for API enablement
|
|
87
|
+
* const wait120Seconds = new time.Sleep("wait_120_seconds", {createDuration: "120s"}, {
|
|
88
|
+
* dependsOn: [gkehub],
|
|
89
|
+
* });
|
|
90
|
+
* const _default = new gcp.gkehub.Fleet("default", {
|
|
91
|
+
* displayName: "rs-fleet",
|
|
92
|
+
* project: project.projectId,
|
|
93
|
+
* }, {
|
|
94
|
+
* dependsOn: [wait120Seconds],
|
|
95
|
+
* });
|
|
49
96
|
* const rolloutSequence = new gcp.gkehub.RolloutSequence("rollout_sequence", {
|
|
97
|
+
* project: project.projectId,
|
|
50
98
|
* rolloutSequenceId: "rs-basic",
|
|
51
99
|
* displayName: "Modified Rollout Sequence",
|
|
52
100
|
* ignoredClustersSelector: {
|
|
@@ -54,14 +102,14 @@ import * as outputs from "../types/output";
|
|
|
54
102
|
* },
|
|
55
103
|
* stages: [
|
|
56
104
|
* {
|
|
57
|
-
* fleetProjects: [
|
|
105
|
+
* fleetProjects: [pulumi.interpolate`projects/${project.projectId}`],
|
|
58
106
|
* clusterSelector: {
|
|
59
107
|
* labelSelector: "resource.labels.canary=='true'",
|
|
60
108
|
* },
|
|
61
109
|
* soakDuration: "2h",
|
|
62
110
|
* },
|
|
63
111
|
* {
|
|
64
|
-
* fleetProjects: [
|
|
112
|
+
* fleetProjects: [pulumi.interpolate`projects/${project.projectId}`],
|
|
65
113
|
* soakDuration: "1d",
|
|
66
114
|
* },
|
|
67
115
|
* ],
|
|
@@ -76,6 +124,94 @@ import * as outputs from "../types/output";
|
|
|
76
124
|
* labels: {
|
|
77
125
|
* some_key: "some_value",
|
|
78
126
|
* },
|
|
127
|
+
* }, {
|
|
128
|
+
* dependsOn: [_default],
|
|
129
|
+
* });
|
|
130
|
+
* ```
|
|
131
|
+
* ### Gke Hub Rollout Sequence User Triggered Create
|
|
132
|
+
*
|
|
133
|
+
* ```typescript
|
|
134
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
135
|
+
* import * as gcp from "@pulumi/gcp";
|
|
136
|
+
* import * as time from "@pulumiverse/time";
|
|
137
|
+
*
|
|
138
|
+
* const project = new gcp.organizations.Project("project", {
|
|
139
|
+
* projectId: "rs-project",
|
|
140
|
+
* name: "rs-project",
|
|
141
|
+
* orgId: "123456789",
|
|
142
|
+
* billingAccount: "000000-0000000-0000000-000000",
|
|
143
|
+
* deletionPolicy: "DELETE",
|
|
144
|
+
* });
|
|
145
|
+
* // Enable APIs in a deterministic order to avoid inconsistent VCR recordings
|
|
146
|
+
* const gkehub = new gcp.projects.Service("gkehub", {
|
|
147
|
+
* project: project.projectId,
|
|
148
|
+
* service: "gkehub.googleapis.com",
|
|
149
|
+
* });
|
|
150
|
+
* const container = new gcp.projects.Service("container", {
|
|
151
|
+
* project: project.projectId,
|
|
152
|
+
* service: "container.googleapis.com",
|
|
153
|
+
* }, {
|
|
154
|
+
* dependsOn: [gkehub],
|
|
155
|
+
* });
|
|
156
|
+
* const compute = new gcp.projects.Service("compute", {
|
|
157
|
+
* project: project.projectId,
|
|
158
|
+
* service: "compute.googleapis.com",
|
|
159
|
+
* }, {
|
|
160
|
+
* dependsOn: [container],
|
|
161
|
+
* });
|
|
162
|
+
* // wait for API enablement
|
|
163
|
+
* const wait120Seconds = new time.Sleep("wait_120_seconds", {createDuration: "120s"}, {
|
|
164
|
+
* dependsOn: [compute],
|
|
165
|
+
* });
|
|
166
|
+
* const _default = new gcp.gkehub.Fleet("default", {
|
|
167
|
+
* displayName: "rs-fleet",
|
|
168
|
+
* project: project.projectId,
|
|
169
|
+
* }, {
|
|
170
|
+
* dependsOn: [wait120Seconds],
|
|
171
|
+
* });
|
|
172
|
+
* const versions = gcp.container.getEngineVersionsOutput({
|
|
173
|
+
* location: "us-central1-a",
|
|
174
|
+
* project: project.projectId,
|
|
175
|
+
* });
|
|
176
|
+
* const primary = new gcp.container.Cluster("primary", {
|
|
177
|
+
* project: project.projectId,
|
|
178
|
+
* name: "rs-cluster",
|
|
179
|
+
* location: "us-central1-a",
|
|
180
|
+
* initialNodeCount: 1,
|
|
181
|
+
* minMasterVersion: versions.apply(versions => versions.releaseChannelDefaultVersion?.REGULAR),
|
|
182
|
+
* nodeVersion: versions.apply(versions => versions.releaseChannelDefaultVersion?.REGULAR),
|
|
183
|
+
* deletionProtection: false,
|
|
184
|
+
* releaseChannel: {
|
|
185
|
+
* channel: "REGULAR",
|
|
186
|
+
* },
|
|
187
|
+
* resourceLabels: {
|
|
188
|
+
* rs_test_cluster: "tf-test-_25601",
|
|
189
|
+
* },
|
|
190
|
+
* fleet: {
|
|
191
|
+
* project: project.number,
|
|
192
|
+
* },
|
|
193
|
+
* }, {
|
|
194
|
+
* dependsOn: [_default],
|
|
195
|
+
* });
|
|
196
|
+
* const rolloutSequence = new gcp.gkehub.RolloutSequence("rollout_sequence", {
|
|
197
|
+
* project: project.projectId,
|
|
198
|
+
* rolloutSequenceId: "rs-user-triggered",
|
|
199
|
+
* displayName: "User Triggered Rollout Sequence",
|
|
200
|
+
* minControlPlaneVersion: versions.apply(versions => versions.releaseChannelLatestVersion?.REGULAR),
|
|
201
|
+
* ignoredClustersSelector: {
|
|
202
|
+
* labelSelector: "!(has(resource.labels.rs_test_cluster) && resource.labels.rs_test_cluster == 'tf-test-_17228')",
|
|
203
|
+
* },
|
|
204
|
+
* stages: [{
|
|
205
|
+
* fleetProjects: [pulumi.interpolate`projects/${project.projectId}`],
|
|
206
|
+
* soakDuration: "30s",
|
|
207
|
+
* }],
|
|
208
|
+
* autoUpgradeConfig: {
|
|
209
|
+
* rolloutCreationScope: {
|
|
210
|
+
* upgradeTypes: [],
|
|
211
|
+
* },
|
|
212
|
+
* },
|
|
213
|
+
* }, {
|
|
214
|
+
* dependsOn: [primary],
|
|
79
215
|
* });
|
|
80
216
|
* ```
|
|
81
217
|
*
|
|
@@ -162,10 +298,35 @@ export declare class RolloutSequence extends pulumi.CustomResource {
|
|
|
162
298
|
readonly labels: pulumi.Output<{
|
|
163
299
|
[key: string]: string;
|
|
164
300
|
} | undefined>;
|
|
301
|
+
/**
|
|
302
|
+
* Minimum control plane version that the clusters in the sequence should be upgraded to.
|
|
303
|
+
* Setting this field will cause the creation of a rollout to the specified version.
|
|
304
|
+
* Any rollout of the same type already running on the first stage of the sequence will be cancelled to allow for the creation of the new rollout.
|
|
305
|
+
* Should be a valid [semantic version](https://semver.org/).
|
|
306
|
+
* Version aliases are supported, as described in the [cluster version docs](https://docs.cloud.google.com/kubernetes-engine/versioning#specifying_cluster_version).
|
|
307
|
+
* Note that the `latest` and `-` aliases are not supported for this field.
|
|
308
|
+
* Supported formats: `1.X`, `1.X.Y`, `1.X.Y-gke.N`.
|
|
309
|
+
*/
|
|
310
|
+
readonly minControlPlaneVersion: pulumi.Output<string | undefined>;
|
|
311
|
+
/**
|
|
312
|
+
* Minimum node version that the clusters in the sequence should be upgraded to.
|
|
313
|
+
* Setting this field will cause the creation of a rollout to the specified version.
|
|
314
|
+
* Any rollout of the same type already running on the first stage of the sequence will be cancelled to allow for the creation of the new rollout.
|
|
315
|
+
* Should be a valid [semantic version](https://semver.org/).
|
|
316
|
+
* Version aliases are supported, as described in the [cluster version docs](https://docs.cloud.google.com/kubernetes-engine/versioning#specifying_cluster_version).
|
|
317
|
+
* Note that the `latest` and `-` aliases are not supported for this field.
|
|
318
|
+
* Supported formats: `1.X`, `1.X.Y`, `1.X.Y-gke.N`.
|
|
319
|
+
*/
|
|
320
|
+
readonly minNodeVersion: pulumi.Output<string | undefined>;
|
|
165
321
|
/**
|
|
166
322
|
* The full resource name of the RolloutSequence.
|
|
167
323
|
*/
|
|
168
324
|
readonly name: pulumi.Output<string>;
|
|
325
|
+
/**
|
|
326
|
+
* The operational state of the rollout sequence.
|
|
327
|
+
* Structure is documented below.
|
|
328
|
+
*/
|
|
329
|
+
readonly operationalStates: pulumi.Output<outputs.gkehub.RolloutSequenceOperationalState[]>;
|
|
169
330
|
/**
|
|
170
331
|
* The ID of the project in which the resource belongs.
|
|
171
332
|
* If it is not provided, the provider project is used.
|
|
@@ -187,6 +348,14 @@ export declare class RolloutSequence extends pulumi.CustomResource {
|
|
|
187
348
|
* Structure is documented below.
|
|
188
349
|
*/
|
|
189
350
|
readonly stages: pulumi.Output<outputs.gkehub.RolloutSequenceStage[]>;
|
|
351
|
+
/**
|
|
352
|
+
* The current target control plane version.
|
|
353
|
+
*/
|
|
354
|
+
readonly targetControlPlaneVersion: pulumi.Output<string>;
|
|
355
|
+
/**
|
|
356
|
+
* The current target node version.
|
|
357
|
+
*/
|
|
358
|
+
readonly targetNodeVersion: pulumi.Output<string>;
|
|
190
359
|
/**
|
|
191
360
|
* Google-generated UUID for this resource.
|
|
192
361
|
*/
|
|
@@ -259,10 +428,35 @@ export interface RolloutSequenceState {
|
|
|
259
428
|
labels?: pulumi.Input<{
|
|
260
429
|
[key: string]: pulumi.Input<string>;
|
|
261
430
|
} | undefined>;
|
|
431
|
+
/**
|
|
432
|
+
* Minimum control plane version that the clusters in the sequence should be upgraded to.
|
|
433
|
+
* Setting this field will cause the creation of a rollout to the specified version.
|
|
434
|
+
* Any rollout of the same type already running on the first stage of the sequence will be cancelled to allow for the creation of the new rollout.
|
|
435
|
+
* Should be a valid [semantic version](https://semver.org/).
|
|
436
|
+
* Version aliases are supported, as described in the [cluster version docs](https://docs.cloud.google.com/kubernetes-engine/versioning#specifying_cluster_version).
|
|
437
|
+
* Note that the `latest` and `-` aliases are not supported for this field.
|
|
438
|
+
* Supported formats: `1.X`, `1.X.Y`, `1.X.Y-gke.N`.
|
|
439
|
+
*/
|
|
440
|
+
minControlPlaneVersion?: pulumi.Input<string | undefined>;
|
|
441
|
+
/**
|
|
442
|
+
* Minimum node version that the clusters in the sequence should be upgraded to.
|
|
443
|
+
* Setting this field will cause the creation of a rollout to the specified version.
|
|
444
|
+
* Any rollout of the same type already running on the first stage of the sequence will be cancelled to allow for the creation of the new rollout.
|
|
445
|
+
* Should be a valid [semantic version](https://semver.org/).
|
|
446
|
+
* Version aliases are supported, as described in the [cluster version docs](https://docs.cloud.google.com/kubernetes-engine/versioning#specifying_cluster_version).
|
|
447
|
+
* Note that the `latest` and `-` aliases are not supported for this field.
|
|
448
|
+
* Supported formats: `1.X`, `1.X.Y`, `1.X.Y-gke.N`.
|
|
449
|
+
*/
|
|
450
|
+
minNodeVersion?: pulumi.Input<string | undefined>;
|
|
262
451
|
/**
|
|
263
452
|
* The full resource name of the RolloutSequence.
|
|
264
453
|
*/
|
|
265
454
|
name?: pulumi.Input<string | undefined>;
|
|
455
|
+
/**
|
|
456
|
+
* The operational state of the rollout sequence.
|
|
457
|
+
* Structure is documented below.
|
|
458
|
+
*/
|
|
459
|
+
operationalStates?: pulumi.Input<pulumi.Input<inputs.gkehub.RolloutSequenceOperationalState>[] | undefined>;
|
|
266
460
|
/**
|
|
267
461
|
* The ID of the project in which the resource belongs.
|
|
268
462
|
* If it is not provided, the provider project is used.
|
|
@@ -284,6 +478,14 @@ export interface RolloutSequenceState {
|
|
|
284
478
|
* Structure is documented below.
|
|
285
479
|
*/
|
|
286
480
|
stages?: pulumi.Input<pulumi.Input<inputs.gkehub.RolloutSequenceStage>[] | undefined>;
|
|
481
|
+
/**
|
|
482
|
+
* The current target control plane version.
|
|
483
|
+
*/
|
|
484
|
+
targetControlPlaneVersion?: pulumi.Input<string | undefined>;
|
|
485
|
+
/**
|
|
486
|
+
* The current target node version.
|
|
487
|
+
*/
|
|
488
|
+
targetNodeVersion?: pulumi.Input<string | undefined>;
|
|
287
489
|
/**
|
|
288
490
|
* Google-generated UUID for this resource.
|
|
289
491
|
*/
|
|
@@ -330,6 +532,26 @@ export interface RolloutSequenceArgs {
|
|
|
330
532
|
labels?: pulumi.Input<{
|
|
331
533
|
[key: string]: pulumi.Input<string>;
|
|
332
534
|
} | undefined>;
|
|
535
|
+
/**
|
|
536
|
+
* Minimum control plane version that the clusters in the sequence should be upgraded to.
|
|
537
|
+
* Setting this field will cause the creation of a rollout to the specified version.
|
|
538
|
+
* Any rollout of the same type already running on the first stage of the sequence will be cancelled to allow for the creation of the new rollout.
|
|
539
|
+
* Should be a valid [semantic version](https://semver.org/).
|
|
540
|
+
* Version aliases are supported, as described in the [cluster version docs](https://docs.cloud.google.com/kubernetes-engine/versioning#specifying_cluster_version).
|
|
541
|
+
* Note that the `latest` and `-` aliases are not supported for this field.
|
|
542
|
+
* Supported formats: `1.X`, `1.X.Y`, `1.X.Y-gke.N`.
|
|
543
|
+
*/
|
|
544
|
+
minControlPlaneVersion?: pulumi.Input<string | undefined>;
|
|
545
|
+
/**
|
|
546
|
+
* Minimum node version that the clusters in the sequence should be upgraded to.
|
|
547
|
+
* Setting this field will cause the creation of a rollout to the specified version.
|
|
548
|
+
* Any rollout of the same type already running on the first stage of the sequence will be cancelled to allow for the creation of the new rollout.
|
|
549
|
+
* Should be a valid [semantic version](https://semver.org/).
|
|
550
|
+
* Version aliases are supported, as described in the [cluster version docs](https://docs.cloud.google.com/kubernetes-engine/versioning#specifying_cluster_version).
|
|
551
|
+
* Note that the `latest` and `-` aliases are not supported for this field.
|
|
552
|
+
* Supported formats: `1.X`, `1.X.Y`, `1.X.Y-gke.N`.
|
|
553
|
+
*/
|
|
554
|
+
minNodeVersion?: pulumi.Input<string | undefined>;
|
|
333
555
|
/**
|
|
334
556
|
* The ID of the project in which the resource belongs.
|
|
335
557
|
* If it is not provided, the provider project is used.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rolloutSequence.d.ts","sourceRoot":"","sources":["../../gkehub/rolloutSequence.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":"rolloutSequence.d.ts","sourceRoot":"","sources":["../../gkehub/rolloutSequence.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqOG;AACH,qBAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;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G;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,gCAAgC,GAAG,SAAS,CAAC,CAAC;IAC7F;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;;OAGG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,sCAAsC,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACzE;;;;;;;;OAQG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1D;;;;;;;;OAQG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACxC;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,CAAC,CAAC;CAC5E"}
|
|
@@ -44,15 +44,38 @@ const utilities = __importStar(require("../utilities"));
|
|
|
44
44
|
* ```typescript
|
|
45
45
|
* import * as pulumi from "@pulumi/pulumi";
|
|
46
46
|
* import * as gcp from "@pulumi/gcp";
|
|
47
|
+
* import * as time from "@pulumiverse/time";
|
|
47
48
|
*
|
|
49
|
+
* const project = new gcp.organizations.Project("project", {
|
|
50
|
+
* projectId: "rs-project",
|
|
51
|
+
* name: "rs-project",
|
|
52
|
+
* orgId: "123456789",
|
|
53
|
+
* billingAccount: "000000-0000000-0000000-000000",
|
|
54
|
+
* deletionPolicy: "DELETE",
|
|
55
|
+
* });
|
|
56
|
+
* const gkehub = new gcp.projects.Service("gkehub", {
|
|
57
|
+
* project: project.projectId,
|
|
58
|
+
* service: "gkehub.googleapis.com",
|
|
59
|
+
* });
|
|
60
|
+
* // wait for API enablement
|
|
61
|
+
* const wait120Seconds = new time.Sleep("wait_120_seconds", {createDuration: "120s"}, {
|
|
62
|
+
* dependsOn: [gkehub],
|
|
63
|
+
* });
|
|
64
|
+
* const _default = new gcp.gkehub.Fleet("default", {
|
|
65
|
+
* displayName: "rs-fleet",
|
|
66
|
+
* project: project.projectId,
|
|
67
|
+
* }, {
|
|
68
|
+
* dependsOn: [wait120Seconds],
|
|
69
|
+
* });
|
|
48
70
|
* const rolloutSequence = new gcp.gkehub.RolloutSequence("rollout_sequence", {
|
|
71
|
+
* project: project.projectId,
|
|
49
72
|
* rolloutSequenceId: "rs-basic",
|
|
50
73
|
* displayName: "Basic Rollout Sequence",
|
|
51
74
|
* ignoredClustersSelector: {
|
|
52
75
|
* labelSelector: "resource.labels.ignored == 'true'",
|
|
53
76
|
* },
|
|
54
77
|
* stages: [{
|
|
55
|
-
* fleetProjects: [
|
|
78
|
+
* fleetProjects: [pulumi.interpolate`projects/${project.projectId}`],
|
|
56
79
|
* soakDuration: "1h",
|
|
57
80
|
* }],
|
|
58
81
|
* autoUpgradeConfig: {
|
|
@@ -65,6 +88,8 @@ const utilities = __importStar(require("../utilities"));
|
|
|
65
88
|
* ],
|
|
66
89
|
* },
|
|
67
90
|
* },
|
|
91
|
+
* }, {
|
|
92
|
+
* dependsOn: [_default],
|
|
68
93
|
* });
|
|
69
94
|
* ```
|
|
70
95
|
* ### Gke Hub Rollout Sequence Update
|
|
@@ -72,8 +97,31 @@ const utilities = __importStar(require("../utilities"));
|
|
|
72
97
|
* ```typescript
|
|
73
98
|
* import * as pulumi from "@pulumi/pulumi";
|
|
74
99
|
* import * as gcp from "@pulumi/gcp";
|
|
100
|
+
* import * as time from "@pulumiverse/time";
|
|
75
101
|
*
|
|
102
|
+
* const project = new gcp.organizations.Project("project", {
|
|
103
|
+
* projectId: "rs-project",
|
|
104
|
+
* name: "rs-project",
|
|
105
|
+
* orgId: "123456789",
|
|
106
|
+
* billingAccount: "000000-0000000-0000000-000000",
|
|
107
|
+
* deletionPolicy: "DELETE",
|
|
108
|
+
* });
|
|
109
|
+
* const gkehub = new gcp.projects.Service("gkehub", {
|
|
110
|
+
* project: project.projectId,
|
|
111
|
+
* service: "gkehub.googleapis.com",
|
|
112
|
+
* });
|
|
113
|
+
* // wait for API enablement
|
|
114
|
+
* const wait120Seconds = new time.Sleep("wait_120_seconds", {createDuration: "120s"}, {
|
|
115
|
+
* dependsOn: [gkehub],
|
|
116
|
+
* });
|
|
117
|
+
* const _default = new gcp.gkehub.Fleet("default", {
|
|
118
|
+
* displayName: "rs-fleet",
|
|
119
|
+
* project: project.projectId,
|
|
120
|
+
* }, {
|
|
121
|
+
* dependsOn: [wait120Seconds],
|
|
122
|
+
* });
|
|
76
123
|
* const rolloutSequence = new gcp.gkehub.RolloutSequence("rollout_sequence", {
|
|
124
|
+
* project: project.projectId,
|
|
77
125
|
* rolloutSequenceId: "rs-basic",
|
|
78
126
|
* displayName: "Modified Rollout Sequence",
|
|
79
127
|
* ignoredClustersSelector: {
|
|
@@ -81,14 +129,14 @@ const utilities = __importStar(require("../utilities"));
|
|
|
81
129
|
* },
|
|
82
130
|
* stages: [
|
|
83
131
|
* {
|
|
84
|
-
* fleetProjects: [
|
|
132
|
+
* fleetProjects: [pulumi.interpolate`projects/${project.projectId}`],
|
|
85
133
|
* clusterSelector: {
|
|
86
134
|
* labelSelector: "resource.labels.canary=='true'",
|
|
87
135
|
* },
|
|
88
136
|
* soakDuration: "2h",
|
|
89
137
|
* },
|
|
90
138
|
* {
|
|
91
|
-
* fleetProjects: [
|
|
139
|
+
* fleetProjects: [pulumi.interpolate`projects/${project.projectId}`],
|
|
92
140
|
* soakDuration: "1d",
|
|
93
141
|
* },
|
|
94
142
|
* ],
|
|
@@ -103,6 +151,94 @@ const utilities = __importStar(require("../utilities"));
|
|
|
103
151
|
* labels: {
|
|
104
152
|
* some_key: "some_value",
|
|
105
153
|
* },
|
|
154
|
+
* }, {
|
|
155
|
+
* dependsOn: [_default],
|
|
156
|
+
* });
|
|
157
|
+
* ```
|
|
158
|
+
* ### Gke Hub Rollout Sequence User Triggered Create
|
|
159
|
+
*
|
|
160
|
+
* ```typescript
|
|
161
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
162
|
+
* import * as gcp from "@pulumi/gcp";
|
|
163
|
+
* import * as time from "@pulumiverse/time";
|
|
164
|
+
*
|
|
165
|
+
* const project = new gcp.organizations.Project("project", {
|
|
166
|
+
* projectId: "rs-project",
|
|
167
|
+
* name: "rs-project",
|
|
168
|
+
* orgId: "123456789",
|
|
169
|
+
* billingAccount: "000000-0000000-0000000-000000",
|
|
170
|
+
* deletionPolicy: "DELETE",
|
|
171
|
+
* });
|
|
172
|
+
* // Enable APIs in a deterministic order to avoid inconsistent VCR recordings
|
|
173
|
+
* const gkehub = new gcp.projects.Service("gkehub", {
|
|
174
|
+
* project: project.projectId,
|
|
175
|
+
* service: "gkehub.googleapis.com",
|
|
176
|
+
* });
|
|
177
|
+
* const container = new gcp.projects.Service("container", {
|
|
178
|
+
* project: project.projectId,
|
|
179
|
+
* service: "container.googleapis.com",
|
|
180
|
+
* }, {
|
|
181
|
+
* dependsOn: [gkehub],
|
|
182
|
+
* });
|
|
183
|
+
* const compute = new gcp.projects.Service("compute", {
|
|
184
|
+
* project: project.projectId,
|
|
185
|
+
* service: "compute.googleapis.com",
|
|
186
|
+
* }, {
|
|
187
|
+
* dependsOn: [container],
|
|
188
|
+
* });
|
|
189
|
+
* // wait for API enablement
|
|
190
|
+
* const wait120Seconds = new time.Sleep("wait_120_seconds", {createDuration: "120s"}, {
|
|
191
|
+
* dependsOn: [compute],
|
|
192
|
+
* });
|
|
193
|
+
* const _default = new gcp.gkehub.Fleet("default", {
|
|
194
|
+
* displayName: "rs-fleet",
|
|
195
|
+
* project: project.projectId,
|
|
196
|
+
* }, {
|
|
197
|
+
* dependsOn: [wait120Seconds],
|
|
198
|
+
* });
|
|
199
|
+
* const versions = gcp.container.getEngineVersionsOutput({
|
|
200
|
+
* location: "us-central1-a",
|
|
201
|
+
* project: project.projectId,
|
|
202
|
+
* });
|
|
203
|
+
* const primary = new gcp.container.Cluster("primary", {
|
|
204
|
+
* project: project.projectId,
|
|
205
|
+
* name: "rs-cluster",
|
|
206
|
+
* location: "us-central1-a",
|
|
207
|
+
* initialNodeCount: 1,
|
|
208
|
+
* minMasterVersion: versions.apply(versions => versions.releaseChannelDefaultVersion?.REGULAR),
|
|
209
|
+
* nodeVersion: versions.apply(versions => versions.releaseChannelDefaultVersion?.REGULAR),
|
|
210
|
+
* deletionProtection: false,
|
|
211
|
+
* releaseChannel: {
|
|
212
|
+
* channel: "REGULAR",
|
|
213
|
+
* },
|
|
214
|
+
* resourceLabels: {
|
|
215
|
+
* rs_test_cluster: "tf-test-_25601",
|
|
216
|
+
* },
|
|
217
|
+
* fleet: {
|
|
218
|
+
* project: project.number,
|
|
219
|
+
* },
|
|
220
|
+
* }, {
|
|
221
|
+
* dependsOn: [_default],
|
|
222
|
+
* });
|
|
223
|
+
* const rolloutSequence = new gcp.gkehub.RolloutSequence("rollout_sequence", {
|
|
224
|
+
* project: project.projectId,
|
|
225
|
+
* rolloutSequenceId: "rs-user-triggered",
|
|
226
|
+
* displayName: "User Triggered Rollout Sequence",
|
|
227
|
+
* minControlPlaneVersion: versions.apply(versions => versions.releaseChannelLatestVersion?.REGULAR),
|
|
228
|
+
* ignoredClustersSelector: {
|
|
229
|
+
* labelSelector: "!(has(resource.labels.rs_test_cluster) && resource.labels.rs_test_cluster == 'tf-test-_17228')",
|
|
230
|
+
* },
|
|
231
|
+
* stages: [{
|
|
232
|
+
* fleetProjects: [pulumi.interpolate`projects/${project.projectId}`],
|
|
233
|
+
* soakDuration: "30s",
|
|
234
|
+
* }],
|
|
235
|
+
* autoUpgradeConfig: {
|
|
236
|
+
* rolloutCreationScope: {
|
|
237
|
+
* upgradeTypes: [],
|
|
238
|
+
* },
|
|
239
|
+
* },
|
|
240
|
+
* }, {
|
|
241
|
+
* dependsOn: [primary],
|
|
106
242
|
* });
|
|
107
243
|
* ```
|
|
108
244
|
*
|
|
@@ -161,11 +297,16 @@ class RolloutSequence extends pulumi.CustomResource {
|
|
|
161
297
|
resourceInputs["etag"] = state?.etag;
|
|
162
298
|
resourceInputs["ignoredClustersSelector"] = state?.ignoredClustersSelector;
|
|
163
299
|
resourceInputs["labels"] = state?.labels;
|
|
300
|
+
resourceInputs["minControlPlaneVersion"] = state?.minControlPlaneVersion;
|
|
301
|
+
resourceInputs["minNodeVersion"] = state?.minNodeVersion;
|
|
164
302
|
resourceInputs["name"] = state?.name;
|
|
303
|
+
resourceInputs["operationalStates"] = state?.operationalStates;
|
|
165
304
|
resourceInputs["project"] = state?.project;
|
|
166
305
|
resourceInputs["pulumiLabels"] = state?.pulumiLabels;
|
|
167
306
|
resourceInputs["rolloutSequenceId"] = state?.rolloutSequenceId;
|
|
168
307
|
resourceInputs["stages"] = state?.stages;
|
|
308
|
+
resourceInputs["targetControlPlaneVersion"] = state?.targetControlPlaneVersion;
|
|
309
|
+
resourceInputs["targetNodeVersion"] = state?.targetNodeVersion;
|
|
169
310
|
resourceInputs["uid"] = state?.uid;
|
|
170
311
|
resourceInputs["updateTime"] = state?.updateTime;
|
|
171
312
|
}
|
|
@@ -182,6 +323,8 @@ class RolloutSequence extends pulumi.CustomResource {
|
|
|
182
323
|
resourceInputs["displayName"] = args?.displayName;
|
|
183
324
|
resourceInputs["ignoredClustersSelector"] = args?.ignoredClustersSelector;
|
|
184
325
|
resourceInputs["labels"] = args?.labels;
|
|
326
|
+
resourceInputs["minControlPlaneVersion"] = args?.minControlPlaneVersion;
|
|
327
|
+
resourceInputs["minNodeVersion"] = args?.minNodeVersion;
|
|
185
328
|
resourceInputs["project"] = args?.project;
|
|
186
329
|
resourceInputs["rolloutSequenceId"] = args?.rolloutSequenceId;
|
|
187
330
|
resourceInputs["stages"] = args?.stages;
|
|
@@ -190,7 +333,10 @@ class RolloutSequence extends pulumi.CustomResource {
|
|
|
190
333
|
resourceInputs["effectiveLabels"] = undefined /*out*/;
|
|
191
334
|
resourceInputs["etag"] = undefined /*out*/;
|
|
192
335
|
resourceInputs["name"] = undefined /*out*/;
|
|
336
|
+
resourceInputs["operationalStates"] = undefined /*out*/;
|
|
193
337
|
resourceInputs["pulumiLabels"] = undefined /*out*/;
|
|
338
|
+
resourceInputs["targetControlPlaneVersion"] = undefined /*out*/;
|
|
339
|
+
resourceInputs["targetNodeVersion"] = undefined /*out*/;
|
|
194
340
|
resourceInputs["uid"] = undefined /*out*/;
|
|
195
341
|
resourceInputs["updateTime"] = undefined /*out*/;
|
|
196
342
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rolloutSequence.js","sourceRoot":"","sources":["../../gkehub/rolloutSequence.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"rolloutSequence.js","sourceRoot":"","sources":["../../gkehub/rolloutSequence.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC,OAAO,CAAC;YAChE,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,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,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,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAhNL,0CAiNC"}
|
|
@@ -18,9 +18,9 @@ import * as outputs from "../types/output";
|
|
|
18
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
19
|
* import * as gcp from "@pulumi/gcp";
|
|
20
20
|
*
|
|
21
|
-
* const scope = new gcp.gkehub.Scope("scope", {scopeId: "tf-test-
|
|
21
|
+
* const scope = new gcp.gkehub.Scope("scope", {scopeId: "tf-test-scope_89239"});
|
|
22
22
|
* const scopeRbacRoleBinding = new gcp.gkehub.ScopeRbacRoleBinding("scope_rbac_role_binding", {
|
|
23
|
-
* scopeRbacRoleBindingId: "tf-test-scope-rbac-role-
|
|
23
|
+
* scopeRbacRoleBindingId: "tf-test-scope-rbac-role-binding_41898",
|
|
24
24
|
* scopeId: scope.scopeId,
|
|
25
25
|
* user: "test-email@gmail.com",
|
|
26
26
|
* role: {
|
|
@@ -37,7 +37,7 @@ import * as outputs from "../types/output";
|
|
|
37
37
|
* import * as pulumi from "@pulumi/pulumi";
|
|
38
38
|
* import * as gcp from "@pulumi/gcp";
|
|
39
39
|
*
|
|
40
|
-
* const scope = new gcp.gkehub.Scope("scope", {scopeId: "tf-test-
|
|
40
|
+
* const scope = new gcp.gkehub.Scope("scope", {scopeId: "tf-test-scope_63399"});
|
|
41
41
|
* const rbacrolebindingactuation = new gcp.gkehub.Feature("rbacrolebindingactuation", {
|
|
42
42
|
* name: "rbacrolebindingactuation",
|
|
43
43
|
* location: "global",
|
|
@@ -48,7 +48,7 @@ import * as outputs from "../types/output";
|
|
|
48
48
|
* },
|
|
49
49
|
* });
|
|
50
50
|
* const scopeRbacRoleBinding = new gcp.gkehub.ScopeRbacRoleBinding("scope_rbac_role_binding", {
|
|
51
|
-
* scopeRbacRoleBindingId: "tf-test-scope-rbac-role-
|
|
51
|
+
* scopeRbacRoleBindingId: "tf-test-scope-rbac-role-binding_97523",
|
|
52
52
|
* scopeId: scope.scopeId,
|
|
53
53
|
* user: "test-email@gmail.com",
|
|
54
54
|
* role: {
|
|
@@ -45,9 +45,9 @@ const utilities = __importStar(require("../utilities"));
|
|
|
45
45
|
* import * as pulumi from "@pulumi/pulumi";
|
|
46
46
|
* import * as gcp from "@pulumi/gcp";
|
|
47
47
|
*
|
|
48
|
-
* const scope = new gcp.gkehub.Scope("scope", {scopeId: "tf-test-
|
|
48
|
+
* const scope = new gcp.gkehub.Scope("scope", {scopeId: "tf-test-scope_89239"});
|
|
49
49
|
* const scopeRbacRoleBinding = new gcp.gkehub.ScopeRbacRoleBinding("scope_rbac_role_binding", {
|
|
50
|
-
* scopeRbacRoleBindingId: "tf-test-scope-rbac-role-
|
|
50
|
+
* scopeRbacRoleBindingId: "tf-test-scope-rbac-role-binding_41898",
|
|
51
51
|
* scopeId: scope.scopeId,
|
|
52
52
|
* user: "test-email@gmail.com",
|
|
53
53
|
* role: {
|
|
@@ -64,7 +64,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
64
64
|
* import * as pulumi from "@pulumi/pulumi";
|
|
65
65
|
* import * as gcp from "@pulumi/gcp";
|
|
66
66
|
*
|
|
67
|
-
* const scope = new gcp.gkehub.Scope("scope", {scopeId: "tf-test-
|
|
67
|
+
* const scope = new gcp.gkehub.Scope("scope", {scopeId: "tf-test-scope_63399"});
|
|
68
68
|
* const rbacrolebindingactuation = new gcp.gkehub.Feature("rbacrolebindingactuation", {
|
|
69
69
|
* name: "rbacrolebindingactuation",
|
|
70
70
|
* location: "global",
|
|
@@ -75,7 +75,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
75
75
|
* },
|
|
76
76
|
* });
|
|
77
77
|
* const scopeRbacRoleBinding = new gcp.gkehub.ScopeRbacRoleBinding("scope_rbac_role_binding", {
|
|
78
|
-
* scopeRbacRoleBindingId: "tf-test-scope-rbac-role-
|
|
78
|
+
* scopeRbacRoleBindingId: "tf-test-scope-rbac-role-binding_97523",
|
|
79
79
|
* scopeId: scope.scopeId,
|
|
80
80
|
* user: "test-email@gmail.com",
|
|
81
81
|
* role: {
|