@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,501 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* A Cloud Run Job resource that references a container image which is run to completion.
|
|
6
|
+
*
|
|
7
|
+
* To get more information about Job, see:
|
|
8
|
+
*
|
|
9
|
+
* * [API documentation](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.jobs)
|
|
10
|
+
* * How-to Guides
|
|
11
|
+
* * [Official Documentation](https://cloud.google.com/run/docs/)
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
* ### Cloudrunv2 Job Basic
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as gcp from "@pulumi/gcp";
|
|
19
|
+
*
|
|
20
|
+
* const defaultJob = new gcp.cloudrunv2.Job("default", {
|
|
21
|
+
* launchStage: "BETA",
|
|
22
|
+
* location: "us-central1",
|
|
23
|
+
* template: {
|
|
24
|
+
* template: {
|
|
25
|
+
* containers: [{
|
|
26
|
+
* image: "us-docker.pkg.dev/cloudrun/container/hello",
|
|
27
|
+
* }],
|
|
28
|
+
* },
|
|
29
|
+
* },
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
* ### Cloudrunv2 Job Sql
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as gcp from "@pulumi/gcp";
|
|
37
|
+
*
|
|
38
|
+
* const secret = new gcp.secretmanager.Secret("secret", {
|
|
39
|
+
* secretId: "secret",
|
|
40
|
+
* replication: {
|
|
41
|
+
* automatic: true,
|
|
42
|
+
* },
|
|
43
|
+
* });
|
|
44
|
+
* const instance = new gcp.sql.DatabaseInstance("instance", {
|
|
45
|
+
* region: "us-central1",
|
|
46
|
+
* databaseVersion: "MYSQL_5_7",
|
|
47
|
+
* settings: {
|
|
48
|
+
* tier: "db-f1-micro",
|
|
49
|
+
* },
|
|
50
|
+
* deletionProtection: true,
|
|
51
|
+
* });
|
|
52
|
+
* const _default = new gcp.cloudrunv2.Job("default", {
|
|
53
|
+
* location: "us-central1",
|
|
54
|
+
* launchStage: "BETA",
|
|
55
|
+
* template: {
|
|
56
|
+
* template: {
|
|
57
|
+
* volumes: [{
|
|
58
|
+
* name: "cloudsql",
|
|
59
|
+
* cloudSqlInstance: {
|
|
60
|
+
* instances: [instance.connectionName],
|
|
61
|
+
* },
|
|
62
|
+
* }],
|
|
63
|
+
* containers: [{
|
|
64
|
+
* image: "us-docker.pkg.dev/cloudrun/container/hello",
|
|
65
|
+
* envs: [
|
|
66
|
+
* {
|
|
67
|
+
* name: "FOO",
|
|
68
|
+
* value: "bar",
|
|
69
|
+
* },
|
|
70
|
+
* {
|
|
71
|
+
* name: "latestdclsecret",
|
|
72
|
+
* valueSource: {
|
|
73
|
+
* secretKeyRef: {
|
|
74
|
+
* secret: secret.secretId,
|
|
75
|
+
* version: "1",
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
79
|
+
* ],
|
|
80
|
+
* volumeMounts: [{
|
|
81
|
+
* name: "cloudsql",
|
|
82
|
+
* mountPath: "/cloudsql",
|
|
83
|
+
* }],
|
|
84
|
+
* }],
|
|
85
|
+
* },
|
|
86
|
+
* },
|
|
87
|
+
* });
|
|
88
|
+
* const project = gcp.organizations.getProject({});
|
|
89
|
+
* const secret_version_data = new gcp.secretmanager.SecretVersion("secret-version-data", {
|
|
90
|
+
* secret: secret.name,
|
|
91
|
+
* secretData: "secret-data",
|
|
92
|
+
* });
|
|
93
|
+
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
94
|
+
* secretId: secret.id,
|
|
95
|
+
* role: "roles/secretmanager.secretAccessor",
|
|
96
|
+
* member: project.then(project => `serviceAccount:${project.number}-compute@developer.gserviceaccount.com`),
|
|
97
|
+
* }, {
|
|
98
|
+
* dependsOn: [secret],
|
|
99
|
+
* });
|
|
100
|
+
* ```
|
|
101
|
+
* ### Cloudrunv2 Job Vpcaccess
|
|
102
|
+
*
|
|
103
|
+
* ```typescript
|
|
104
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
105
|
+
* import * as gcp from "@pulumi/gcp";
|
|
106
|
+
*
|
|
107
|
+
* const customTestNetwork = new gcp.compute.Network("customTestNetwork", {autoCreateSubnetworks: false});
|
|
108
|
+
* const customTestSubnetwork = new gcp.compute.Subnetwork("customTestSubnetwork", {
|
|
109
|
+
* ipCidrRange: "10.2.0.0/28",
|
|
110
|
+
* region: "us-central1",
|
|
111
|
+
* network: customTestNetwork.id,
|
|
112
|
+
* });
|
|
113
|
+
* const connector = new gcp.vpcaccess.Connector("connector", {
|
|
114
|
+
* subnet: {
|
|
115
|
+
* name: customTestSubnetwork.name,
|
|
116
|
+
* },
|
|
117
|
+
* machineType: "e2-standard-4",
|
|
118
|
+
* minInstances: 2,
|
|
119
|
+
* maxInstances: 3,
|
|
120
|
+
* region: "us-central1",
|
|
121
|
+
* });
|
|
122
|
+
* const _default = new gcp.cloudrunv2.Job("default", {
|
|
123
|
+
* location: "us-central1",
|
|
124
|
+
* launchStage: "BETA",
|
|
125
|
+
* template: {
|
|
126
|
+
* template: {
|
|
127
|
+
* containers: [{
|
|
128
|
+
* image: "us-docker.pkg.dev/cloudrun/container/hello",
|
|
129
|
+
* }],
|
|
130
|
+
* vpcAccess: {
|
|
131
|
+
* connector: connector.id,
|
|
132
|
+
* egress: "ALL_TRAFFIC",
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
135
|
+
* },
|
|
136
|
+
* });
|
|
137
|
+
* ```
|
|
138
|
+
* ### Cloudrunv2 Job Probes
|
|
139
|
+
*
|
|
140
|
+
* ```typescript
|
|
141
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
142
|
+
* import * as gcp from "@pulumi/gcp";
|
|
143
|
+
*
|
|
144
|
+
* const defaultJob = new gcp.cloudrunv2.Job("default", {
|
|
145
|
+
* launchStage: "BETA",
|
|
146
|
+
* location: "us-central1",
|
|
147
|
+
* template: {
|
|
148
|
+
* template: {
|
|
149
|
+
* containers: [{
|
|
150
|
+
* image: "us-docker.pkg.dev/cloudrun/container/hello",
|
|
151
|
+
* livenessProbe: {
|
|
152
|
+
* httpGet: {
|
|
153
|
+
* path: "/",
|
|
154
|
+
* },
|
|
155
|
+
* },
|
|
156
|
+
* startupProbe: {
|
|
157
|
+
* failureThreshold: 1,
|
|
158
|
+
* initialDelaySeconds: 0,
|
|
159
|
+
* periodSeconds: 3,
|
|
160
|
+
* tcpSocket: {
|
|
161
|
+
* port: 8080,
|
|
162
|
+
* },
|
|
163
|
+
* timeoutSeconds: 1,
|
|
164
|
+
* },
|
|
165
|
+
* }],
|
|
166
|
+
* },
|
|
167
|
+
* },
|
|
168
|
+
* });
|
|
169
|
+
* ```
|
|
170
|
+
* ### Cloudrunv2 Job Secret
|
|
171
|
+
*
|
|
172
|
+
* ```typescript
|
|
173
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
174
|
+
* import * as gcp from "@pulumi/gcp";
|
|
175
|
+
*
|
|
176
|
+
* const secret = new gcp.secretmanager.Secret("secret", {
|
|
177
|
+
* secretId: "secret",
|
|
178
|
+
* replication: {
|
|
179
|
+
* automatic: true,
|
|
180
|
+
* },
|
|
181
|
+
* });
|
|
182
|
+
* const _default = new gcp.cloudrunv2.Job("default", {
|
|
183
|
+
* location: "us-central1",
|
|
184
|
+
* launchStage: "BETA",
|
|
185
|
+
* template: {
|
|
186
|
+
* template: {
|
|
187
|
+
* volumes: [{
|
|
188
|
+
* name: "a-volume",
|
|
189
|
+
* secret: {
|
|
190
|
+
* secret: secret.secretId,
|
|
191
|
+
* defaultMode: 292,
|
|
192
|
+
* items: [{
|
|
193
|
+
* version: "1",
|
|
194
|
+
* path: "my-secret",
|
|
195
|
+
* mode: 256,
|
|
196
|
+
* }],
|
|
197
|
+
* },
|
|
198
|
+
* }],
|
|
199
|
+
* containers: [{
|
|
200
|
+
* image: "us-docker.pkg.dev/cloudrun/container/hello",
|
|
201
|
+
* volumeMounts: [{
|
|
202
|
+
* name: "a-volume",
|
|
203
|
+
* mountPath: "/secrets",
|
|
204
|
+
* }],
|
|
205
|
+
* }],
|
|
206
|
+
* },
|
|
207
|
+
* },
|
|
208
|
+
* });
|
|
209
|
+
* const project = gcp.organizations.getProject({});
|
|
210
|
+
* const secret_version_data = new gcp.secretmanager.SecretVersion("secret-version-data", {
|
|
211
|
+
* secret: secret.name,
|
|
212
|
+
* secretData: "secret-data",
|
|
213
|
+
* });
|
|
214
|
+
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
215
|
+
* secretId: secret.id,
|
|
216
|
+
* role: "roles/secretmanager.secretAccessor",
|
|
217
|
+
* member: project.then(project => `serviceAccount:${project.number}-compute@developer.gserviceaccount.com`),
|
|
218
|
+
* }, {
|
|
219
|
+
* dependsOn: [secret],
|
|
220
|
+
* });
|
|
221
|
+
* ```
|
|
222
|
+
*
|
|
223
|
+
* ## Import
|
|
224
|
+
*
|
|
225
|
+
* Job can be imported using any of these accepted formats
|
|
226
|
+
*
|
|
227
|
+
* ```sh
|
|
228
|
+
* $ pulumi import gcp:cloudrunv2/job:Job default projects/{{project}}/locations/{{location}}/jobs/{{name}}
|
|
229
|
+
* ```
|
|
230
|
+
*
|
|
231
|
+
* ```sh
|
|
232
|
+
* $ pulumi import gcp:cloudrunv2/job:Job default {{project}}/{{location}}/{{name}}
|
|
233
|
+
* ```
|
|
234
|
+
*
|
|
235
|
+
* ```sh
|
|
236
|
+
* $ pulumi import gcp:cloudrunv2/job:Job default {{location}}/{{name}}
|
|
237
|
+
* ```
|
|
238
|
+
*/
|
|
239
|
+
export declare class Job extends pulumi.CustomResource {
|
|
240
|
+
/**
|
|
241
|
+
* Get an existing Job resource's state with the given name, ID, and optional extra
|
|
242
|
+
* properties used to qualify the lookup.
|
|
243
|
+
*
|
|
244
|
+
* @param name The _unique_ name of the resulting resource.
|
|
245
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
246
|
+
* @param state Any extra arguments used during the lookup.
|
|
247
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
248
|
+
*/
|
|
249
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: JobState, opts?: pulumi.CustomResourceOptions): Job;
|
|
250
|
+
/**
|
|
251
|
+
* Returns true if the given object is an instance of Job. This is designed to work even
|
|
252
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
253
|
+
*/
|
|
254
|
+
static isInstance(obj: any): obj is Job;
|
|
255
|
+
/**
|
|
256
|
+
* Settings for the Binary Authorization feature.
|
|
257
|
+
* Structure is documented below.
|
|
258
|
+
*/
|
|
259
|
+
readonly binaryAuthorization: pulumi.Output<outputs.cloudrunv2.JobBinaryAuthorization | undefined>;
|
|
260
|
+
/**
|
|
261
|
+
* Arbitrary identifier for the API client.
|
|
262
|
+
*/
|
|
263
|
+
readonly client: pulumi.Output<string | undefined>;
|
|
264
|
+
/**
|
|
265
|
+
* Arbitrary version identifier for the API client.
|
|
266
|
+
*/
|
|
267
|
+
readonly clientVersion: pulumi.Output<string | undefined>;
|
|
268
|
+
/**
|
|
269
|
+
* The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job
|
|
270
|
+
* does not reach its desired state. See comments in reconciling for additional information on 'reconciliation' process in
|
|
271
|
+
* Cloud Run.
|
|
272
|
+
*/
|
|
273
|
+
readonly conditions: pulumi.Output<outputs.cloudrunv2.JobCondition[]>;
|
|
274
|
+
/**
|
|
275
|
+
* A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during
|
|
276
|
+
* updates.
|
|
277
|
+
*/
|
|
278
|
+
readonly etag: pulumi.Output<string>;
|
|
279
|
+
/**
|
|
280
|
+
* Number of executions created for this job.
|
|
281
|
+
*/
|
|
282
|
+
readonly executionCount: pulumi.Output<number>;
|
|
283
|
+
/**
|
|
284
|
+
* A number that monotonically increases every time the user modifies the desired state.
|
|
285
|
+
*/
|
|
286
|
+
readonly generation: pulumi.Output<string>;
|
|
287
|
+
/**
|
|
288
|
+
* KRM-style labels for the resource. 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.
|
|
289
|
+
*/
|
|
290
|
+
readonly labels: pulumi.Output<{
|
|
291
|
+
[key: string]: string;
|
|
292
|
+
} | undefined>;
|
|
293
|
+
/**
|
|
294
|
+
* Name of the last created execution.
|
|
295
|
+
*/
|
|
296
|
+
readonly latestCreatedExecutions: pulumi.Output<outputs.cloudrunv2.JobLatestCreatedExecution[]>;
|
|
297
|
+
/**
|
|
298
|
+
* 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.
|
|
299
|
+
* Possible values are `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, and `DEPRECATED`.
|
|
300
|
+
*/
|
|
301
|
+
readonly launchStage: pulumi.Output<string>;
|
|
302
|
+
/**
|
|
303
|
+
* The location of the cloud run job
|
|
304
|
+
*/
|
|
305
|
+
readonly location: pulumi.Output<string | undefined>;
|
|
306
|
+
/**
|
|
307
|
+
* Volume's name.
|
|
308
|
+
*/
|
|
309
|
+
readonly name: pulumi.Output<string>;
|
|
310
|
+
/**
|
|
311
|
+
* The generation of this Job. See comments in reconciling for additional information on reconciliation process in Cloud
|
|
312
|
+
* Run.
|
|
313
|
+
*/
|
|
314
|
+
readonly observedGeneration: pulumi.Output<string>;
|
|
315
|
+
/**
|
|
316
|
+
* The ID of the project in which the resource belongs.
|
|
317
|
+
* If it is not provided, the provider project is used.
|
|
318
|
+
*/
|
|
319
|
+
readonly project: pulumi.Output<string>;
|
|
320
|
+
/**
|
|
321
|
+
* Returns true if the Job is currently being acted upon by the system to bring it into the desired state. When a new Job
|
|
322
|
+
* is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Job to
|
|
323
|
+
* the desired state. This process is called reconciliation. While reconciliation is in process, observedGeneration and
|
|
324
|
+
* latest_succeeded_execution, will have transient values that might mismatch the intended state: Once reconciliation is
|
|
325
|
+
* over (and this field is false), there are two possible outcomes: reconciliation succeeded and the state matches the Job,
|
|
326
|
+
* or there was an error, and reconciliation failed. This state can be found in terminalCondition.state. If reconciliation
|
|
327
|
+
* succeeded, the following fields will match: observedGeneration and generation, latest_succeeded_execution and
|
|
328
|
+
* latestCreatedExecution. If reconciliation failed, observedGeneration and latest_succeeded_execution will have the state
|
|
329
|
+
* of the last succeeded execution or empty for newly created Job. Additional information on the failure can be found in
|
|
330
|
+
* terminalCondition and conditions
|
|
331
|
+
*/
|
|
332
|
+
readonly reconciling: pulumi.Output<boolean>;
|
|
333
|
+
/**
|
|
334
|
+
* Describes the task(s) that will be created when executing an execution
|
|
335
|
+
* Structure is documented below.
|
|
336
|
+
*/
|
|
337
|
+
readonly template: pulumi.Output<outputs.cloudrunv2.JobTemplate>;
|
|
338
|
+
/**
|
|
339
|
+
* The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the
|
|
340
|
+
* desired state
|
|
341
|
+
*/
|
|
342
|
+
readonly terminalConditions: pulumi.Output<outputs.cloudrunv2.JobTerminalCondition[]>;
|
|
343
|
+
/**
|
|
344
|
+
* Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged
|
|
345
|
+
* until the resource is deleted.
|
|
346
|
+
*/
|
|
347
|
+
readonly uid: pulumi.Output<string>;
|
|
348
|
+
/**
|
|
349
|
+
* Create a Job resource with the given unique name, arguments, and options.
|
|
350
|
+
*
|
|
351
|
+
* @param name The _unique_ name of the resource.
|
|
352
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
353
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
354
|
+
*/
|
|
355
|
+
constructor(name: string, args: JobArgs, opts?: pulumi.CustomResourceOptions);
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* Input properties used for looking up and filtering Job resources.
|
|
359
|
+
*/
|
|
360
|
+
export interface JobState {
|
|
361
|
+
/**
|
|
362
|
+
* Settings for the Binary Authorization feature.
|
|
363
|
+
* Structure is documented below.
|
|
364
|
+
*/
|
|
365
|
+
binaryAuthorization?: pulumi.Input<inputs.cloudrunv2.JobBinaryAuthorization>;
|
|
366
|
+
/**
|
|
367
|
+
* Arbitrary identifier for the API client.
|
|
368
|
+
*/
|
|
369
|
+
client?: pulumi.Input<string>;
|
|
370
|
+
/**
|
|
371
|
+
* Arbitrary version identifier for the API client.
|
|
372
|
+
*/
|
|
373
|
+
clientVersion?: pulumi.Input<string>;
|
|
374
|
+
/**
|
|
375
|
+
* The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job
|
|
376
|
+
* does not reach its desired state. See comments in reconciling for additional information on 'reconciliation' process in
|
|
377
|
+
* Cloud Run.
|
|
378
|
+
*/
|
|
379
|
+
conditions?: pulumi.Input<pulumi.Input<inputs.cloudrunv2.JobCondition>[]>;
|
|
380
|
+
/**
|
|
381
|
+
* A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during
|
|
382
|
+
* updates.
|
|
383
|
+
*/
|
|
384
|
+
etag?: pulumi.Input<string>;
|
|
385
|
+
/**
|
|
386
|
+
* Number of executions created for this job.
|
|
387
|
+
*/
|
|
388
|
+
executionCount?: pulumi.Input<number>;
|
|
389
|
+
/**
|
|
390
|
+
* A number that monotonically increases every time the user modifies the desired state.
|
|
391
|
+
*/
|
|
392
|
+
generation?: pulumi.Input<string>;
|
|
393
|
+
/**
|
|
394
|
+
* KRM-style labels for the resource. 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.
|
|
395
|
+
*/
|
|
396
|
+
labels?: pulumi.Input<{
|
|
397
|
+
[key: string]: pulumi.Input<string>;
|
|
398
|
+
}>;
|
|
399
|
+
/**
|
|
400
|
+
* Name of the last created execution.
|
|
401
|
+
*/
|
|
402
|
+
latestCreatedExecutions?: pulumi.Input<pulumi.Input<inputs.cloudrunv2.JobLatestCreatedExecution>[]>;
|
|
403
|
+
/**
|
|
404
|
+
* 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.
|
|
405
|
+
* Possible values are `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, and `DEPRECATED`.
|
|
406
|
+
*/
|
|
407
|
+
launchStage?: pulumi.Input<string>;
|
|
408
|
+
/**
|
|
409
|
+
* The location of the cloud run job
|
|
410
|
+
*/
|
|
411
|
+
location?: pulumi.Input<string>;
|
|
412
|
+
/**
|
|
413
|
+
* Volume's name.
|
|
414
|
+
*/
|
|
415
|
+
name?: pulumi.Input<string>;
|
|
416
|
+
/**
|
|
417
|
+
* The generation of this Job. See comments in reconciling for additional information on reconciliation process in Cloud
|
|
418
|
+
* Run.
|
|
419
|
+
*/
|
|
420
|
+
observedGeneration?: pulumi.Input<string>;
|
|
421
|
+
/**
|
|
422
|
+
* The ID of the project in which the resource belongs.
|
|
423
|
+
* If it is not provided, the provider project is used.
|
|
424
|
+
*/
|
|
425
|
+
project?: pulumi.Input<string>;
|
|
426
|
+
/**
|
|
427
|
+
* Returns true if the Job is currently being acted upon by the system to bring it into the desired state. When a new Job
|
|
428
|
+
* is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Job to
|
|
429
|
+
* the desired state. This process is called reconciliation. While reconciliation is in process, observedGeneration and
|
|
430
|
+
* latest_succeeded_execution, will have transient values that might mismatch the intended state: Once reconciliation is
|
|
431
|
+
* over (and this field is false), there are two possible outcomes: reconciliation succeeded and the state matches the Job,
|
|
432
|
+
* or there was an error, and reconciliation failed. This state can be found in terminalCondition.state. If reconciliation
|
|
433
|
+
* succeeded, the following fields will match: observedGeneration and generation, latest_succeeded_execution and
|
|
434
|
+
* latestCreatedExecution. If reconciliation failed, observedGeneration and latest_succeeded_execution will have the state
|
|
435
|
+
* of the last succeeded execution or empty for newly created Job. Additional information on the failure can be found in
|
|
436
|
+
* terminalCondition and conditions
|
|
437
|
+
*/
|
|
438
|
+
reconciling?: pulumi.Input<boolean>;
|
|
439
|
+
/**
|
|
440
|
+
* Describes the task(s) that will be created when executing an execution
|
|
441
|
+
* Structure is documented below.
|
|
442
|
+
*/
|
|
443
|
+
template?: pulumi.Input<inputs.cloudrunv2.JobTemplate>;
|
|
444
|
+
/**
|
|
445
|
+
* The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the
|
|
446
|
+
* desired state
|
|
447
|
+
*/
|
|
448
|
+
terminalConditions?: pulumi.Input<pulumi.Input<inputs.cloudrunv2.JobTerminalCondition>[]>;
|
|
449
|
+
/**
|
|
450
|
+
* Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged
|
|
451
|
+
* until the resource is deleted.
|
|
452
|
+
*/
|
|
453
|
+
uid?: pulumi.Input<string>;
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* The set of arguments for constructing a Job resource.
|
|
457
|
+
*/
|
|
458
|
+
export interface JobArgs {
|
|
459
|
+
/**
|
|
460
|
+
* Settings for the Binary Authorization feature.
|
|
461
|
+
* Structure is documented below.
|
|
462
|
+
*/
|
|
463
|
+
binaryAuthorization?: pulumi.Input<inputs.cloudrunv2.JobBinaryAuthorization>;
|
|
464
|
+
/**
|
|
465
|
+
* Arbitrary identifier for the API client.
|
|
466
|
+
*/
|
|
467
|
+
client?: pulumi.Input<string>;
|
|
468
|
+
/**
|
|
469
|
+
* Arbitrary version identifier for the API client.
|
|
470
|
+
*/
|
|
471
|
+
clientVersion?: pulumi.Input<string>;
|
|
472
|
+
/**
|
|
473
|
+
* KRM-style labels for the resource. 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.
|
|
474
|
+
*/
|
|
475
|
+
labels?: pulumi.Input<{
|
|
476
|
+
[key: string]: pulumi.Input<string>;
|
|
477
|
+
}>;
|
|
478
|
+
/**
|
|
479
|
+
* 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.
|
|
480
|
+
* Possible values are `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, and `DEPRECATED`.
|
|
481
|
+
*/
|
|
482
|
+
launchStage?: pulumi.Input<string>;
|
|
483
|
+
/**
|
|
484
|
+
* The location of the cloud run job
|
|
485
|
+
*/
|
|
486
|
+
location?: pulumi.Input<string>;
|
|
487
|
+
/**
|
|
488
|
+
* Volume's name.
|
|
489
|
+
*/
|
|
490
|
+
name?: pulumi.Input<string>;
|
|
491
|
+
/**
|
|
492
|
+
* The ID of the project in which the resource belongs.
|
|
493
|
+
* If it is not provided, the provider project is used.
|
|
494
|
+
*/
|
|
495
|
+
project?: pulumi.Input<string>;
|
|
496
|
+
/**
|
|
497
|
+
* Describes the task(s) that will be created when executing an execution
|
|
498
|
+
* Structure is documented below.
|
|
499
|
+
*/
|
|
500
|
+
template: pulumi.Input<inputs.cloudrunv2.JobTemplate>;
|
|
501
|
+
}
|