@pulumi/gcp 6.44.0 → 6.45.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/alloydb/instance.d.ts +3 -0
- package/alloydb/instance.js +3 -0
- package/alloydb/instance.js.map +1 -1
- package/bigtable/gcpolicy.d.ts +58 -32
- package/bigtable/gcpolicy.js +45 -32
- package/bigtable/gcpolicy.js.map +1 -1
- package/bigtable/instance.d.ts +6 -3
- package/bigtable/instance.js.map +1 -1
- package/certificateauthority/authority.d.ts +3 -2
- package/certificateauthority/authority.js +3 -2
- package/certificateauthority/authority.js.map +1 -1
- package/certificateauthority/certificate.d.ts +12 -5
- package/certificateauthority/certificate.js +12 -5
- package/certificateauthority/certificate.js.map +1 -1
- package/cloudrunv2/index.d.ts +6 -0
- package/cloudrunv2/index.js +27 -0
- package/cloudrunv2/index.js.map +1 -0
- package/cloudrunv2/job.d.ts +501 -0
- package/cloudrunv2/job.js +321 -0
- package/cloudrunv2/job.js.map +1 -0
- package/cloudrunv2/service.d.ts +574 -0
- package/cloudrunv2/service.js +334 -0
- package/cloudrunv2/service.js.map +1 -0
- package/compute/backendService.d.ts +19 -0
- package/compute/backendService.js +19 -0
- package/compute/backendService.js.map +1 -1
- package/compute/forwardingRule.d.ts +21 -30
- package/compute/forwardingRule.js.map +1 -1
- package/compute/instanceGroupManager.d.ts +27 -0
- package/compute/instanceGroupManager.js +2 -0
- package/compute/instanceGroupManager.js.map +1 -1
- package/compute/regionInstanceGroupManager.d.ts +27 -0
- package/compute/regionInstanceGroupManager.js +2 -0
- package/compute/regionInstanceGroupManager.js.map +1 -1
- package/compute/routerInterface.d.ts +52 -31
- package/compute/routerInterface.js +4 -0
- package/compute/routerInterface.js.map +1 -1
- package/compute/securityPolicy.d.ts +83 -0
- package/compute/securityPolicy.js +73 -0
- package/compute/securityPolicy.js.map +1 -1
- package/config/vars.d.ts +3 -0
- package/config/vars.js +18 -0
- package/config/vars.js.map +1 -1
- package/container/cluster.d.ts +7 -4
- package/container/cluster.js.map +1 -1
- package/container/nodePool.d.ts +9 -6
- package/container/nodePool.js.map +1 -1
- package/datafusion/instance.d.ts +97 -5
- package/datafusion/instance.js +52 -5
- package/datafusion/instance.js.map +1 -1
- package/dataproc/metastoreService.d.ts +49 -0
- package/dataproc/metastoreService.js +34 -0
- package/dataproc/metastoreService.js.map +1 -1
- package/datastream/privateConnection.d.ts +16 -0
- package/datastream/privateConnection.js +4 -0
- package/datastream/privateConnection.js.map +1 -1
- package/eventarc/googleChannelConfig.d.ts +142 -0
- package/eventarc/googleChannelConfig.js +110 -0
- package/eventarc/googleChannelConfig.js.map +1 -0
- package/eventarc/index.d.ts +3 -0
- package/eventarc/index.js +6 -1
- package/eventarc/index.js.map +1 -1
- package/firebase/getAndroidApp.d.ts +36 -0
- package/firebase/getAndroidApp.js +22 -0
- package/firebase/getAndroidApp.js.map +1 -0
- package/firebase/index.d.ts +6 -0
- package/firebase/index.js +9 -1
- package/firebase/index.js.map +1 -1
- package/firebase/storageBucket.d.ts +109 -0
- package/firebase/storageBucket.js +91 -0
- package/firebase/storageBucket.js.map +1 -0
- package/gkebackup/backupPlan.d.ts +403 -0
- package/gkebackup/backupPlan.js +259 -0
- package/gkebackup/backupPlan.js.map +1 -0
- package/gkebackup/index.d.ts +3 -0
- package/gkebackup/index.js +22 -0
- package/gkebackup/index.js.map +1 -0
- package/gkehub/featureMembership.d.ts +1 -0
- package/gkehub/featureMembership.js +1 -0
- package/gkehub/featureMembership.js.map +1 -1
- package/iam/index.d.ts +3 -0
- package/iam/index.js +6 -1
- package/iam/index.js.map +1 -1
- package/iam/workforcePoolProvider.d.ts +510 -0
- package/iam/workforcePoolProvider.js +213 -0
- package/iam/workforcePoolProvider.js.map +1 -0
- package/index.d.ts +3 -1
- package/index.js +6 -2
- package/index.js.map +1 -1
- package/logging/billingAccountBucketConfig.d.ts +20 -0
- package/logging/billingAccountBucketConfig.js +2 -0
- package/logging/billingAccountBucketConfig.js.map +1 -1
- package/logging/folderBucketConfig.d.ts +20 -0
- package/logging/folderBucketConfig.js +2 -0
- package/logging/folderBucketConfig.js.map +1 -1
- package/logging/getProjectCmekSettings.d.ts +97 -0
- package/logging/getProjectCmekSettings.js +43 -0
- package/logging/getProjectCmekSettings.js.map +1 -0
- package/logging/index.d.ts +3 -0
- package/logging/index.js +4 -1
- package/logging/index.js.map +1 -1
- package/logging/organizationBucketConfig.d.ts +20 -0
- package/logging/organizationBucketConfig.js +2 -0
- package/logging/organizationBucketConfig.js.map +1 -1
- package/logging/projectBucketConfig.d.ts +48 -2
- package/logging/projectBucketConfig.js +34 -0
- package/logging/projectBucketConfig.js.map +1 -1
- package/networkservices/edgeCacheOrigin.d.ts +55 -1
- package/networkservices/edgeCacheOrigin.js +26 -1
- package/networkservices/edgeCacheOrigin.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +6 -0
- package/provider.js +3 -0
- package/provider.js.map +1 -1
- package/securitycenter/index.d.ts +9 -0
- package/securitycenter/index.js +16 -1
- package/securitycenter/index.js.map +1 -1
- package/securitycenter/instanceIamBinding.d.ts +239 -0
- package/securitycenter/instanceIamBinding.js +218 -0
- package/securitycenter/instanceIamBinding.js.map +1 -0
- package/securitycenter/instanceIamMember.d.ts +239 -0
- package/securitycenter/instanceIamMember.js +218 -0
- package/securitycenter/instanceIamMember.js.map +1 -0
- package/securitycenter/instanceIamPolicy.d.ts +231 -0
- package/securitycenter/instanceIamPolicy.js +211 -0
- package/securitycenter/instanceIamPolicy.js.map +1 -0
- package/sql/database.d.ts +41 -0
- package/sql/database.js +22 -0
- package/sql/database.js.map +1 -1
- package/storage/bucket.d.ts +29 -7
- package/storage/bucket.js +18 -6
- package/storage/bucket.js.map +1 -1
- package/storage/getBucket.d.ts +1 -0
- package/storage/getBucket.js.map +1 -1
- package/types/input.d.ts +1544 -98
- package/types/output.d.ts +1559 -94
- package/vertex/aiFeatureStoreEntityTypeIamBinding.d.ts +119 -0
- package/vertex/aiFeatureStoreEntityTypeIamBinding.js +96 -0
- package/vertex/aiFeatureStoreEntityTypeIamBinding.js.map +1 -0
- package/vertex/aiFeatureStoreEntityTypeIamMember.d.ts +119 -0
- package/vertex/aiFeatureStoreEntityTypeIamMember.js +96 -0
- package/vertex/aiFeatureStoreEntityTypeIamMember.js.map +1 -0
- package/vertex/aiFeatureStoreEntityTypeIamPolicy.d.ts +108 -0
- package/vertex/aiFeatureStoreEntityTypeIamPolicy.js +89 -0
- package/vertex/aiFeatureStoreEntityTypeIamPolicy.js.map +1 -0
- package/vertex/aiFeatureStoreIamBinding.d.ts +53 -43
- package/vertex/aiFeatureStoreIamBinding.js +11 -37
- package/vertex/aiFeatureStoreIamBinding.js.map +1 -1
- package/vertex/aiFeatureStoreIamMember.d.ts +53 -43
- package/vertex/aiFeatureStoreIamMember.js +11 -37
- package/vertex/aiFeatureStoreIamMember.js.map +1 -1
- package/vertex/aiFeatureStoreIamPolicy.d.ts +50 -43
- package/vertex/aiFeatureStoreIamPolicy.js +11 -37
- package/vertex/aiFeatureStoreIamPolicy.js.map +1 -1
- package/vertex/aiIndex.d.ts +314 -0
- package/vertex/aiIndex.js +188 -0
- package/vertex/aiIndex.js.map +1 -0
- package/vertex/aiTensorboard.d.ts +242 -0
- package/vertex/aiTensorboard.js +146 -0
- package/vertex/aiTensorboard.js.map +1 -0
- package/vertex/index.d.ts +15 -0
- package/vertex/index.js +26 -1
- package/vertex/index.js.map +1 -1
|
@@ -0,0 +1,574 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Service acts as a top-level container that manages a set of configurations and revision templates which implement a network service. Service exists to provide a singular abstraction which can be access controlled, reasoned about, and which encapsulates software lifecycle decisions such as rollout policy and team resource ownership.
|
|
6
|
+
*
|
|
7
|
+
* To get more information about Service, see:
|
|
8
|
+
*
|
|
9
|
+
* * [API documentation](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services)
|
|
10
|
+
* * How-to Guides
|
|
11
|
+
* * [Official Documentation](https://cloud.google.com/run/docs/)
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
* ### Cloudrunv2 Service Basic
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as gcp from "@pulumi/gcp";
|
|
19
|
+
*
|
|
20
|
+
* const defaultService = new gcp.cloudrunv2.Service("default", {
|
|
21
|
+
* binaryAuthorization: {
|
|
22
|
+
* breakglassJustification: "Some justification",
|
|
23
|
+
* useDefault: true,
|
|
24
|
+
* },
|
|
25
|
+
* ingress: "INGRESS_TRAFFIC_ALL",
|
|
26
|
+
* location: "us-central1",
|
|
27
|
+
* template: {
|
|
28
|
+
* containers: [{
|
|
29
|
+
* image: "us-docker.pkg.dev/cloudrun/container/hello",
|
|
30
|
+
* }],
|
|
31
|
+
* },
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
* ### Cloudrunv2 Service Sql
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as gcp from "@pulumi/gcp";
|
|
39
|
+
*
|
|
40
|
+
* const secret = new gcp.secretmanager.Secret("secret", {
|
|
41
|
+
* secretId: "secret-1",
|
|
42
|
+
* replication: {
|
|
43
|
+
* automatic: true,
|
|
44
|
+
* },
|
|
45
|
+
* });
|
|
46
|
+
* const secret_version_data = new gcp.secretmanager.SecretVersion("secret-version-data", {
|
|
47
|
+
* secret: secret.name,
|
|
48
|
+
* secretData: "secret-data",
|
|
49
|
+
* });
|
|
50
|
+
* const instance = new gcp.sql.DatabaseInstance("instance", {
|
|
51
|
+
* region: "us-central1",
|
|
52
|
+
* databaseVersion: "MYSQL_5_7",
|
|
53
|
+
* settings: {
|
|
54
|
+
* tier: "db-f1-micro",
|
|
55
|
+
* },
|
|
56
|
+
* deletionProtection: true,
|
|
57
|
+
* });
|
|
58
|
+
* const _default = new gcp.cloudrunv2.Service("default", {
|
|
59
|
+
* location: "us-central1",
|
|
60
|
+
* ingress: "INGRESS_TRAFFIC_ALL",
|
|
61
|
+
* template: {
|
|
62
|
+
* scaling: {
|
|
63
|
+
* maxInstanceCount: 2,
|
|
64
|
+
* },
|
|
65
|
+
* volumes: [{
|
|
66
|
+
* name: "cloudsql",
|
|
67
|
+
* cloudSqlInstance: {
|
|
68
|
+
* instances: [instance.connectionName],
|
|
69
|
+
* },
|
|
70
|
+
* }],
|
|
71
|
+
* containers: [{
|
|
72
|
+
* image: "us-docker.pkg.dev/cloudrun/container/hello",
|
|
73
|
+
* envs: [
|
|
74
|
+
* {
|
|
75
|
+
* name: "FOO",
|
|
76
|
+
* value: "bar",
|
|
77
|
+
* },
|
|
78
|
+
* {
|
|
79
|
+
* name: "SECRET_ENV_VAR",
|
|
80
|
+
* valueSource: {
|
|
81
|
+
* secretKeyRef: {
|
|
82
|
+
* secret: secret.secretId,
|
|
83
|
+
* version: "1",
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* },
|
|
87
|
+
* ],
|
|
88
|
+
* volumeMounts: [{
|
|
89
|
+
* name: "cloudsql",
|
|
90
|
+
* mountPath: "/cloudsql",
|
|
91
|
+
* }],
|
|
92
|
+
* }],
|
|
93
|
+
* },
|
|
94
|
+
* traffics: [{
|
|
95
|
+
* type: "TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST",
|
|
96
|
+
* percent: 100,
|
|
97
|
+
* }],
|
|
98
|
+
* }, {
|
|
99
|
+
* dependsOn: [secret_version_data],
|
|
100
|
+
* });
|
|
101
|
+
* const project = gcp.organizations.getProject({});
|
|
102
|
+
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
103
|
+
* secretId: secret.id,
|
|
104
|
+
* role: "roles/secretmanager.secretAccessor",
|
|
105
|
+
* member: project.then(project => `serviceAccount:${project.number}-compute@developer.gserviceaccount.com`),
|
|
106
|
+
* }, {
|
|
107
|
+
* dependsOn: [secret],
|
|
108
|
+
* });
|
|
109
|
+
* ```
|
|
110
|
+
* ### Cloudrunv2 Service Vpcaccess
|
|
111
|
+
*
|
|
112
|
+
* ```typescript
|
|
113
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
114
|
+
* import * as gcp from "@pulumi/gcp";
|
|
115
|
+
*
|
|
116
|
+
* const customTestNetwork = new gcp.compute.Network("customTestNetwork", {autoCreateSubnetworks: false});
|
|
117
|
+
* const customTestSubnetwork = new gcp.compute.Subnetwork("customTestSubnetwork", {
|
|
118
|
+
* ipCidrRange: "10.2.0.0/28",
|
|
119
|
+
* region: "us-central1",
|
|
120
|
+
* network: customTestNetwork.id,
|
|
121
|
+
* });
|
|
122
|
+
* const connector = new gcp.vpcaccess.Connector("connector", {
|
|
123
|
+
* subnet: {
|
|
124
|
+
* name: customTestSubnetwork.name,
|
|
125
|
+
* },
|
|
126
|
+
* machineType: "e2-standard-4",
|
|
127
|
+
* minInstances: 2,
|
|
128
|
+
* maxInstances: 3,
|
|
129
|
+
* region: "us-central1",
|
|
130
|
+
* });
|
|
131
|
+
* const _default = new gcp.cloudrunv2.Service("default", {
|
|
132
|
+
* location: "us-central1",
|
|
133
|
+
* template: {
|
|
134
|
+
* containers: [{
|
|
135
|
+
* image: "us-docker.pkg.dev/cloudrun/container/hello",
|
|
136
|
+
* }],
|
|
137
|
+
* vpcAccess: {
|
|
138
|
+
* connector: connector.id,
|
|
139
|
+
* egress: "ALL_TRAFFIC",
|
|
140
|
+
* },
|
|
141
|
+
* },
|
|
142
|
+
* });
|
|
143
|
+
* ```
|
|
144
|
+
* ### Cloudrunv2 Service Probes
|
|
145
|
+
*
|
|
146
|
+
* ```typescript
|
|
147
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
148
|
+
* import * as gcp from "@pulumi/gcp";
|
|
149
|
+
*
|
|
150
|
+
* const defaultService = new gcp.cloudrunv2.Service("default", {
|
|
151
|
+
* location: "us-central1",
|
|
152
|
+
* template: {
|
|
153
|
+
* containers: [{
|
|
154
|
+
* image: "us-docker.pkg.dev/cloudrun/container/hello",
|
|
155
|
+
* livenessProbe: {
|
|
156
|
+
* httpGet: {
|
|
157
|
+
* path: "/",
|
|
158
|
+
* },
|
|
159
|
+
* },
|
|
160
|
+
* startupProbe: {
|
|
161
|
+
* failureThreshold: 1,
|
|
162
|
+
* initialDelaySeconds: 0,
|
|
163
|
+
* periodSeconds: 3,
|
|
164
|
+
* tcpSocket: {
|
|
165
|
+
* port: 8080,
|
|
166
|
+
* },
|
|
167
|
+
* timeoutSeconds: 1,
|
|
168
|
+
* },
|
|
169
|
+
* }],
|
|
170
|
+
* },
|
|
171
|
+
* });
|
|
172
|
+
* ```
|
|
173
|
+
* ### Cloudrunv2 Service Secret
|
|
174
|
+
*
|
|
175
|
+
* ```typescript
|
|
176
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
177
|
+
* import * as gcp from "@pulumi/gcp";
|
|
178
|
+
*
|
|
179
|
+
* const secret = new gcp.secretmanager.Secret("secret", {
|
|
180
|
+
* secretId: "secret-1",
|
|
181
|
+
* replication: {
|
|
182
|
+
* automatic: true,
|
|
183
|
+
* },
|
|
184
|
+
* });
|
|
185
|
+
* const secret_version_data = new gcp.secretmanager.SecretVersion("secret-version-data", {
|
|
186
|
+
* secret: secret.name,
|
|
187
|
+
* secretData: "secret-data",
|
|
188
|
+
* });
|
|
189
|
+
* const _default = new gcp.cloudrunv2.Service("default", {
|
|
190
|
+
* location: "us-central1",
|
|
191
|
+
* ingress: "INGRESS_TRAFFIC_ALL",
|
|
192
|
+
* template: {
|
|
193
|
+
* volumes: [{
|
|
194
|
+
* name: "a-volume",
|
|
195
|
+
* secret: {
|
|
196
|
+
* secret: secret.secretId,
|
|
197
|
+
* defaultMode: 292,
|
|
198
|
+
* items: [{
|
|
199
|
+
* version: "1",
|
|
200
|
+
* path: "my-secret",
|
|
201
|
+
* mode: 256,
|
|
202
|
+
* }],
|
|
203
|
+
* },
|
|
204
|
+
* }],
|
|
205
|
+
* containers: [{
|
|
206
|
+
* image: "us-docker.pkg.dev/cloudrun/container/hello",
|
|
207
|
+
* volumeMounts: [{
|
|
208
|
+
* name: "a-volume",
|
|
209
|
+
* mountPath: "/secrets",
|
|
210
|
+
* }],
|
|
211
|
+
* }],
|
|
212
|
+
* },
|
|
213
|
+
* }, {
|
|
214
|
+
* dependsOn: [secret_version_data],
|
|
215
|
+
* });
|
|
216
|
+
* const project = gcp.organizations.getProject({});
|
|
217
|
+
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
218
|
+
* secretId: secret.id,
|
|
219
|
+
* role: "roles/secretmanager.secretAccessor",
|
|
220
|
+
* member: project.then(project => `serviceAccount:${project.number}-compute@developer.gserviceaccount.com`),
|
|
221
|
+
* }, {
|
|
222
|
+
* dependsOn: [secret],
|
|
223
|
+
* });
|
|
224
|
+
* ```
|
|
225
|
+
*
|
|
226
|
+
* ## Import
|
|
227
|
+
*
|
|
228
|
+
* Service can be imported using any of these accepted formats
|
|
229
|
+
*
|
|
230
|
+
* ```sh
|
|
231
|
+
* $ pulumi import gcp:cloudrunv2/service:Service default projects/{{project}}/locations/{{location}}/services/{{name}}
|
|
232
|
+
* ```
|
|
233
|
+
*
|
|
234
|
+
* ```sh
|
|
235
|
+
* $ pulumi import gcp:cloudrunv2/service:Service default {{project}}/{{location}}/{{name}}
|
|
236
|
+
* ```
|
|
237
|
+
*
|
|
238
|
+
* ```sh
|
|
239
|
+
* $ pulumi import gcp:cloudrunv2/service:Service default {{location}}/{{name}}
|
|
240
|
+
* ```
|
|
241
|
+
*/
|
|
242
|
+
export declare class Service extends pulumi.CustomResource {
|
|
243
|
+
/**
|
|
244
|
+
* Get an existing Service resource's state with the given name, ID, and optional extra
|
|
245
|
+
* properties used to qualify the lookup.
|
|
246
|
+
*
|
|
247
|
+
* @param name The _unique_ name of the resulting resource.
|
|
248
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
249
|
+
* @param state Any extra arguments used during the lookup.
|
|
250
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
251
|
+
*/
|
|
252
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceState, opts?: pulumi.CustomResourceOptions): Service;
|
|
253
|
+
/**
|
|
254
|
+
* Returns true if the given object is an instance of Service. This is designed to work even
|
|
255
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
256
|
+
*/
|
|
257
|
+
static isInstance(obj: any): obj is Service;
|
|
258
|
+
/**
|
|
259
|
+
* Settings for the Binary Authorization feature.
|
|
260
|
+
* Structure is documented below.
|
|
261
|
+
*/
|
|
262
|
+
readonly binaryAuthorization: pulumi.Output<outputs.cloudrunv2.ServiceBinaryAuthorization | undefined>;
|
|
263
|
+
/**
|
|
264
|
+
* Arbitrary identifier for the API client.
|
|
265
|
+
*/
|
|
266
|
+
readonly client: pulumi.Output<string | undefined>;
|
|
267
|
+
/**
|
|
268
|
+
* Arbitrary version identifier for the API client.
|
|
269
|
+
*/
|
|
270
|
+
readonly clientVersion: pulumi.Output<string | undefined>;
|
|
271
|
+
/**
|
|
272
|
+
* The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the
|
|
273
|
+
* Service does not reach its Serving state. See comments in reconciling for additional information on reconciliation
|
|
274
|
+
* process in Cloud Run.
|
|
275
|
+
*/
|
|
276
|
+
readonly conditions: pulumi.Output<outputs.cloudrunv2.ServiceCondition[]>;
|
|
277
|
+
/**
|
|
278
|
+
* User-provided description of the Service. This field currently has a 512-character limit.
|
|
279
|
+
*/
|
|
280
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
281
|
+
/**
|
|
282
|
+
* A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during
|
|
283
|
+
* updates.
|
|
284
|
+
*/
|
|
285
|
+
readonly etag: pulumi.Output<string>;
|
|
286
|
+
/**
|
|
287
|
+
* A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this
|
|
288
|
+
* is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
|
|
289
|
+
*/
|
|
290
|
+
readonly generation: pulumi.Output<string>;
|
|
291
|
+
/**
|
|
292
|
+
* Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
|
|
293
|
+
* Possible values are `INGRESS_TRAFFIC_ALL`, `INGRESS_TRAFFIC_INTERNAL_ONLY`, and `INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER`.
|
|
294
|
+
*/
|
|
295
|
+
readonly ingress: pulumi.Output<string>;
|
|
296
|
+
/**
|
|
297
|
+
* Map of string keys and values that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels Cloud Run will populate some labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those labels are read-only, and user changes will not be preserved.
|
|
298
|
+
*/
|
|
299
|
+
readonly labels: pulumi.Output<{
|
|
300
|
+
[key: string]: string;
|
|
301
|
+
} | undefined>;
|
|
302
|
+
/**
|
|
303
|
+
* Name of the last created revision. See comments in reconciling for additional information on reconciliation process in
|
|
304
|
+
* Cloud Run.
|
|
305
|
+
*/
|
|
306
|
+
readonly latestCreatedRevision: pulumi.Output<string>;
|
|
307
|
+
/**
|
|
308
|
+
* Name of the latest revision that is serving traffic. See comments in reconciling for additional information on
|
|
309
|
+
* reconciliation process in Cloud Run.
|
|
310
|
+
*/
|
|
311
|
+
readonly latestReadyRevision: pulumi.Output<string>;
|
|
312
|
+
/**
|
|
313
|
+
* The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed.
|
|
314
|
+
* Possible values are `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, and `DEPRECATED`.
|
|
315
|
+
*/
|
|
316
|
+
readonly launchStage: pulumi.Output<string>;
|
|
317
|
+
/**
|
|
318
|
+
* The location of the cloud run service
|
|
319
|
+
*/
|
|
320
|
+
readonly location: pulumi.Output<string | undefined>;
|
|
321
|
+
/**
|
|
322
|
+
* Volume's name.
|
|
323
|
+
*/
|
|
324
|
+
readonly name: pulumi.Output<string>;
|
|
325
|
+
/**
|
|
326
|
+
* The generation of this Service currently serving traffic. See comments in reconciling for additional information on
|
|
327
|
+
* reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its
|
|
328
|
+
* JSON representation will be a string instead of an integer.
|
|
329
|
+
*/
|
|
330
|
+
readonly observedGeneration: pulumi.Output<string>;
|
|
331
|
+
/**
|
|
332
|
+
* The ID of the project in which the resource belongs.
|
|
333
|
+
* If it is not provided, the provider project is used.
|
|
334
|
+
*/
|
|
335
|
+
readonly project: pulumi.Output<string>;
|
|
336
|
+
/**
|
|
337
|
+
* Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new
|
|
338
|
+
* Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring
|
|
339
|
+
* the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process,
|
|
340
|
+
* observedGeneration, latest_ready_revison, trafficStatuses, and uri will have transient values that might mismatch the
|
|
341
|
+
* intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation
|
|
342
|
+
* succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be
|
|
343
|
+
* found in terminalCondition.state. If reconciliation succeeded, the following fields will match: traffic and
|
|
344
|
+
* trafficStatuses, observedGeneration and generation, latestReadyRevision and latestCreatedRevision. If reconciliation
|
|
345
|
+
* failed, trafficStatuses, observedGeneration, and latestReadyRevision will have the state of the last serving revision,
|
|
346
|
+
* or empty for newly created Services. Additional information on the failure can be found in terminalCondition and
|
|
347
|
+
* conditions.
|
|
348
|
+
*/
|
|
349
|
+
readonly reconciling: pulumi.Output<boolean>;
|
|
350
|
+
/**
|
|
351
|
+
* The template used to create revisions for this Service.
|
|
352
|
+
* Structure is documented below.
|
|
353
|
+
*/
|
|
354
|
+
readonly template: pulumi.Output<outputs.cloudrunv2.ServiceTemplate>;
|
|
355
|
+
/**
|
|
356
|
+
* The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach
|
|
357
|
+
* a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
|
|
358
|
+
*/
|
|
359
|
+
readonly terminalConditions: pulumi.Output<outputs.cloudrunv2.ServiceTerminalCondition[]>;
|
|
360
|
+
/**
|
|
361
|
+
* Detailed status information for corresponding traffic targets. See comments in reconciling for additional information on
|
|
362
|
+
* reconciliation process in Cloud Run.
|
|
363
|
+
*/
|
|
364
|
+
readonly trafficStatuses: pulumi.Output<outputs.cloudrunv2.ServiceTrafficStatus[]>;
|
|
365
|
+
/**
|
|
366
|
+
* Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision.
|
|
367
|
+
* Structure is documented below.
|
|
368
|
+
*/
|
|
369
|
+
readonly traffics: pulumi.Output<outputs.cloudrunv2.ServiceTraffic[]>;
|
|
370
|
+
/**
|
|
371
|
+
* Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until
|
|
372
|
+
* the resource is deleted.
|
|
373
|
+
*/
|
|
374
|
+
readonly uid: pulumi.Output<string>;
|
|
375
|
+
/**
|
|
376
|
+
* The main URI in which this Service is serving traffic.
|
|
377
|
+
*/
|
|
378
|
+
readonly uri: pulumi.Output<string>;
|
|
379
|
+
/**
|
|
380
|
+
* Create a Service resource with the given unique name, arguments, and options.
|
|
381
|
+
*
|
|
382
|
+
* @param name The _unique_ name of the resource.
|
|
383
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
384
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
385
|
+
*/
|
|
386
|
+
constructor(name: string, args: ServiceArgs, opts?: pulumi.CustomResourceOptions);
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* Input properties used for looking up and filtering Service resources.
|
|
390
|
+
*/
|
|
391
|
+
export interface ServiceState {
|
|
392
|
+
/**
|
|
393
|
+
* Settings for the Binary Authorization feature.
|
|
394
|
+
* Structure is documented below.
|
|
395
|
+
*/
|
|
396
|
+
binaryAuthorization?: pulumi.Input<inputs.cloudrunv2.ServiceBinaryAuthorization>;
|
|
397
|
+
/**
|
|
398
|
+
* Arbitrary identifier for the API client.
|
|
399
|
+
*/
|
|
400
|
+
client?: pulumi.Input<string>;
|
|
401
|
+
/**
|
|
402
|
+
* Arbitrary version identifier for the API client.
|
|
403
|
+
*/
|
|
404
|
+
clientVersion?: pulumi.Input<string>;
|
|
405
|
+
/**
|
|
406
|
+
* The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the
|
|
407
|
+
* Service does not reach its Serving state. See comments in reconciling for additional information on reconciliation
|
|
408
|
+
* process in Cloud Run.
|
|
409
|
+
*/
|
|
410
|
+
conditions?: pulumi.Input<pulumi.Input<inputs.cloudrunv2.ServiceCondition>[]>;
|
|
411
|
+
/**
|
|
412
|
+
* User-provided description of the Service. This field currently has a 512-character limit.
|
|
413
|
+
*/
|
|
414
|
+
description?: pulumi.Input<string>;
|
|
415
|
+
/**
|
|
416
|
+
* A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during
|
|
417
|
+
* updates.
|
|
418
|
+
*/
|
|
419
|
+
etag?: pulumi.Input<string>;
|
|
420
|
+
/**
|
|
421
|
+
* A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this
|
|
422
|
+
* is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
|
|
423
|
+
*/
|
|
424
|
+
generation?: pulumi.Input<string>;
|
|
425
|
+
/**
|
|
426
|
+
* Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
|
|
427
|
+
* Possible values are `INGRESS_TRAFFIC_ALL`, `INGRESS_TRAFFIC_INTERNAL_ONLY`, and `INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER`.
|
|
428
|
+
*/
|
|
429
|
+
ingress?: pulumi.Input<string>;
|
|
430
|
+
/**
|
|
431
|
+
* Map of string keys and values that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels Cloud Run will populate some labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those labels are read-only, and user changes will not be preserved.
|
|
432
|
+
*/
|
|
433
|
+
labels?: pulumi.Input<{
|
|
434
|
+
[key: string]: pulumi.Input<string>;
|
|
435
|
+
}>;
|
|
436
|
+
/**
|
|
437
|
+
* Name of the last created revision. See comments in reconciling for additional information on reconciliation process in
|
|
438
|
+
* Cloud Run.
|
|
439
|
+
*/
|
|
440
|
+
latestCreatedRevision?: pulumi.Input<string>;
|
|
441
|
+
/**
|
|
442
|
+
* Name of the latest revision that is serving traffic. See comments in reconciling for additional information on
|
|
443
|
+
* reconciliation process in Cloud Run.
|
|
444
|
+
*/
|
|
445
|
+
latestReadyRevision?: pulumi.Input<string>;
|
|
446
|
+
/**
|
|
447
|
+
* The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed.
|
|
448
|
+
* Possible values are `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, and `DEPRECATED`.
|
|
449
|
+
*/
|
|
450
|
+
launchStage?: pulumi.Input<string>;
|
|
451
|
+
/**
|
|
452
|
+
* The location of the cloud run service
|
|
453
|
+
*/
|
|
454
|
+
location?: pulumi.Input<string>;
|
|
455
|
+
/**
|
|
456
|
+
* Volume's name.
|
|
457
|
+
*/
|
|
458
|
+
name?: pulumi.Input<string>;
|
|
459
|
+
/**
|
|
460
|
+
* The generation of this Service currently serving traffic. See comments in reconciling for additional information on
|
|
461
|
+
* reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its
|
|
462
|
+
* JSON representation will be a string instead of an integer.
|
|
463
|
+
*/
|
|
464
|
+
observedGeneration?: pulumi.Input<string>;
|
|
465
|
+
/**
|
|
466
|
+
* The ID of the project in which the resource belongs.
|
|
467
|
+
* If it is not provided, the provider project is used.
|
|
468
|
+
*/
|
|
469
|
+
project?: pulumi.Input<string>;
|
|
470
|
+
/**
|
|
471
|
+
* Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new
|
|
472
|
+
* Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring
|
|
473
|
+
* the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process,
|
|
474
|
+
* observedGeneration, latest_ready_revison, trafficStatuses, and uri will have transient values that might mismatch the
|
|
475
|
+
* intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation
|
|
476
|
+
* succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be
|
|
477
|
+
* found in terminalCondition.state. If reconciliation succeeded, the following fields will match: traffic and
|
|
478
|
+
* trafficStatuses, observedGeneration and generation, latestReadyRevision and latestCreatedRevision. If reconciliation
|
|
479
|
+
* failed, trafficStatuses, observedGeneration, and latestReadyRevision will have the state of the last serving revision,
|
|
480
|
+
* or empty for newly created Services. Additional information on the failure can be found in terminalCondition and
|
|
481
|
+
* conditions.
|
|
482
|
+
*/
|
|
483
|
+
reconciling?: pulumi.Input<boolean>;
|
|
484
|
+
/**
|
|
485
|
+
* The template used to create revisions for this Service.
|
|
486
|
+
* Structure is documented below.
|
|
487
|
+
*/
|
|
488
|
+
template?: pulumi.Input<inputs.cloudrunv2.ServiceTemplate>;
|
|
489
|
+
/**
|
|
490
|
+
* The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach
|
|
491
|
+
* a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
|
|
492
|
+
*/
|
|
493
|
+
terminalConditions?: pulumi.Input<pulumi.Input<inputs.cloudrunv2.ServiceTerminalCondition>[]>;
|
|
494
|
+
/**
|
|
495
|
+
* Detailed status information for corresponding traffic targets. See comments in reconciling for additional information on
|
|
496
|
+
* reconciliation process in Cloud Run.
|
|
497
|
+
*/
|
|
498
|
+
trafficStatuses?: pulumi.Input<pulumi.Input<inputs.cloudrunv2.ServiceTrafficStatus>[]>;
|
|
499
|
+
/**
|
|
500
|
+
* Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision.
|
|
501
|
+
* Structure is documented below.
|
|
502
|
+
*/
|
|
503
|
+
traffics?: pulumi.Input<pulumi.Input<inputs.cloudrunv2.ServiceTraffic>[]>;
|
|
504
|
+
/**
|
|
505
|
+
* Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until
|
|
506
|
+
* the resource is deleted.
|
|
507
|
+
*/
|
|
508
|
+
uid?: pulumi.Input<string>;
|
|
509
|
+
/**
|
|
510
|
+
* The main URI in which this Service is serving traffic.
|
|
511
|
+
*/
|
|
512
|
+
uri?: pulumi.Input<string>;
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* The set of arguments for constructing a Service resource.
|
|
516
|
+
*/
|
|
517
|
+
export interface ServiceArgs {
|
|
518
|
+
/**
|
|
519
|
+
* Settings for the Binary Authorization feature.
|
|
520
|
+
* Structure is documented below.
|
|
521
|
+
*/
|
|
522
|
+
binaryAuthorization?: pulumi.Input<inputs.cloudrunv2.ServiceBinaryAuthorization>;
|
|
523
|
+
/**
|
|
524
|
+
* Arbitrary identifier for the API client.
|
|
525
|
+
*/
|
|
526
|
+
client?: pulumi.Input<string>;
|
|
527
|
+
/**
|
|
528
|
+
* Arbitrary version identifier for the API client.
|
|
529
|
+
*/
|
|
530
|
+
clientVersion?: pulumi.Input<string>;
|
|
531
|
+
/**
|
|
532
|
+
* User-provided description of the Service. This field currently has a 512-character limit.
|
|
533
|
+
*/
|
|
534
|
+
description?: pulumi.Input<string>;
|
|
535
|
+
/**
|
|
536
|
+
* Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
|
|
537
|
+
* Possible values are `INGRESS_TRAFFIC_ALL`, `INGRESS_TRAFFIC_INTERNAL_ONLY`, and `INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER`.
|
|
538
|
+
*/
|
|
539
|
+
ingress?: pulumi.Input<string>;
|
|
540
|
+
/**
|
|
541
|
+
* Map of string keys and values that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels Cloud Run will populate some labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those labels are read-only, and user changes will not be preserved.
|
|
542
|
+
*/
|
|
543
|
+
labels?: pulumi.Input<{
|
|
544
|
+
[key: string]: pulumi.Input<string>;
|
|
545
|
+
}>;
|
|
546
|
+
/**
|
|
547
|
+
* The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed.
|
|
548
|
+
* Possible values are `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, and `DEPRECATED`.
|
|
549
|
+
*/
|
|
550
|
+
launchStage?: pulumi.Input<string>;
|
|
551
|
+
/**
|
|
552
|
+
* The location of the cloud run service
|
|
553
|
+
*/
|
|
554
|
+
location?: pulumi.Input<string>;
|
|
555
|
+
/**
|
|
556
|
+
* Volume's name.
|
|
557
|
+
*/
|
|
558
|
+
name?: pulumi.Input<string>;
|
|
559
|
+
/**
|
|
560
|
+
* The ID of the project in which the resource belongs.
|
|
561
|
+
* If it is not provided, the provider project is used.
|
|
562
|
+
*/
|
|
563
|
+
project?: pulumi.Input<string>;
|
|
564
|
+
/**
|
|
565
|
+
* The template used to create revisions for this Service.
|
|
566
|
+
* Structure is documented below.
|
|
567
|
+
*/
|
|
568
|
+
template: pulumi.Input<inputs.cloudrunv2.ServiceTemplate>;
|
|
569
|
+
/**
|
|
570
|
+
* Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision.
|
|
571
|
+
* Structure is documented below.
|
|
572
|
+
*/
|
|
573
|
+
traffics?: pulumi.Input<pulumi.Input<inputs.cloudrunv2.ServiceTraffic>[]>;
|
|
574
|
+
}
|