@pulumi/gcp 6.21.0 → 6.22.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/apigee/instance.d.ts +33 -0
- package/apigee/instance.js +4 -0
- package/apigee/instance.js.map +1 -1
- package/certificateauthority/authority.d.ts +6 -9
- package/certificateauthority/authority.js +5 -9
- package/certificateauthority/authority.js.map +1 -1
- package/certificateauthority/certificate.d.ts +28 -0
- package/certificateauthority/certificate.js +8 -0
- package/certificateauthority/certificate.js.map +1 -1
- package/certificateauthority/getAuthority.d.ts +1 -0
- package/certificateauthority/getAuthority.js.map +1 -1
- package/compute/getDisk.d.ts +104 -0
- package/compute/getDisk.js +46 -0
- package/compute/getDisk.js.map +1 -0
- package/compute/getRouterStatus.d.ts +80 -0
- package/compute/getRouterStatus.js +43 -0
- package/compute/getRouterStatus.js.map +1 -0
- package/compute/index.d.ts +2 -0
- package/compute/index.js +2 -0
- package/compute/index.js.map +1 -1
- package/compute/instanceTemplate.d.ts +72 -0
- package/compute/instanceTemplate.js +72 -0
- package/compute/instanceTemplate.js.map +1 -1
- package/compute/regionBackendService.d.ts +15 -0
- package/compute/regionBackendService.js +2 -0
- package/compute/regionBackendService.js.map +1 -1
- package/compute/routerStatus.d.ts +2 -1
- package/compute/routerStatus.js +3 -1
- package/compute/routerStatus.js.map +1 -1
- package/dataflow/job.d.ts +3 -9
- package/dataflow/job.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/redis/getInstance.d.ts +1 -0
- package/redis/getInstance.js.map +1 -1
- package/redis/instance.d.ts +21 -0
- package/redis/instance.js +2 -0
- package/redis/instance.js.map +1 -1
- package/types/input.d.ts +171 -5
- package/types/output.d.ts +245 -5
package/apigee/instance.d.ts
CHANGED
|
@@ -38,6 +38,13 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
38
38
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
39
|
*/
|
|
40
40
|
static isInstance(obj: any): obj is Instance;
|
|
41
|
+
/**
|
|
42
|
+
* Optional. Customer accept list represents the list of projects (id/number) on customer
|
|
43
|
+
* side that can privately connect to the service attachment. It is an optional field
|
|
44
|
+
* which the customers can provide during the instance creation. By default, the customer
|
|
45
|
+
* project associated with the Apigee organization will be included to the list.
|
|
46
|
+
*/
|
|
47
|
+
readonly consumerAcceptLists: pulumi.Output<string[]>;
|
|
41
48
|
/**
|
|
42
49
|
* Description of the instance.
|
|
43
50
|
*/
|
|
@@ -87,6 +94,12 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
87
94
|
* Output only. Port number of the exposed Apigee endpoint.
|
|
88
95
|
*/
|
|
89
96
|
readonly port: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Output only. Resource name of the service attachment created for the instance in the format:
|
|
99
|
+
* projects/*/regions/*/serviceAttachments/* Apigee customers can privately forward traffic to this service attachment
|
|
100
|
+
* using the PSC endpoints.
|
|
101
|
+
*/
|
|
102
|
+
readonly serviceAttachment: pulumi.Output<string>;
|
|
90
103
|
/**
|
|
91
104
|
* Create a Instance resource with the given unique name, arguments, and options.
|
|
92
105
|
*
|
|
@@ -100,6 +113,13 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
100
113
|
* Input properties used for looking up and filtering Instance resources.
|
|
101
114
|
*/
|
|
102
115
|
export interface InstanceState {
|
|
116
|
+
/**
|
|
117
|
+
* Optional. Customer accept list represents the list of projects (id/number) on customer
|
|
118
|
+
* side that can privately connect to the service attachment. It is an optional field
|
|
119
|
+
* which the customers can provide during the instance creation. By default, the customer
|
|
120
|
+
* project associated with the Apigee organization will be included to the list.
|
|
121
|
+
*/
|
|
122
|
+
consumerAcceptLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
103
123
|
/**
|
|
104
124
|
* Description of the instance.
|
|
105
125
|
*/
|
|
@@ -149,11 +169,24 @@ export interface InstanceState {
|
|
|
149
169
|
* Output only. Port number of the exposed Apigee endpoint.
|
|
150
170
|
*/
|
|
151
171
|
port?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Output only. Resource name of the service attachment created for the instance in the format:
|
|
174
|
+
* projects/*/regions/*/serviceAttachments/* Apigee customers can privately forward traffic to this service attachment
|
|
175
|
+
* using the PSC endpoints.
|
|
176
|
+
*/
|
|
177
|
+
serviceAttachment?: pulumi.Input<string>;
|
|
152
178
|
}
|
|
153
179
|
/**
|
|
154
180
|
* The set of arguments for constructing a Instance resource.
|
|
155
181
|
*/
|
|
156
182
|
export interface InstanceArgs {
|
|
183
|
+
/**
|
|
184
|
+
* Optional. Customer accept list represents the list of projects (id/number) on customer
|
|
185
|
+
* side that can privately connect to the service attachment. It is an optional field
|
|
186
|
+
* which the customers can provide during the instance creation. By default, the customer
|
|
187
|
+
* project associated with the Apigee organization will be included to the list.
|
|
188
|
+
*/
|
|
189
|
+
consumerAcceptLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
157
190
|
/**
|
|
158
191
|
* Description of the instance.
|
|
159
192
|
*/
|
package/apigee/instance.js
CHANGED
|
@@ -34,6 +34,7 @@ class Instance extends pulumi.CustomResource {
|
|
|
34
34
|
opts = opts || {};
|
|
35
35
|
if (opts.id) {
|
|
36
36
|
const state = argsOrState;
|
|
37
|
+
resourceInputs["consumerAcceptLists"] = state ? state.consumerAcceptLists : undefined;
|
|
37
38
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
38
39
|
resourceInputs["diskEncryptionKeyName"] = state ? state.diskEncryptionKeyName : undefined;
|
|
39
40
|
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
@@ -44,6 +45,7 @@ class Instance extends pulumi.CustomResource {
|
|
|
44
45
|
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
45
46
|
resourceInputs["peeringCidrRange"] = state ? state.peeringCidrRange : undefined;
|
|
46
47
|
resourceInputs["port"] = state ? state.port : undefined;
|
|
48
|
+
resourceInputs["serviceAttachment"] = state ? state.serviceAttachment : undefined;
|
|
47
49
|
}
|
|
48
50
|
else {
|
|
49
51
|
const args = argsOrState;
|
|
@@ -53,6 +55,7 @@ class Instance extends pulumi.CustomResource {
|
|
|
53
55
|
if ((!args || args.orgId === undefined) && !opts.urn) {
|
|
54
56
|
throw new Error("Missing required property 'orgId'");
|
|
55
57
|
}
|
|
58
|
+
resourceInputs["consumerAcceptLists"] = args ? args.consumerAcceptLists : undefined;
|
|
56
59
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
57
60
|
resourceInputs["diskEncryptionKeyName"] = args ? args.diskEncryptionKeyName : undefined;
|
|
58
61
|
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
@@ -63,6 +66,7 @@ class Instance extends pulumi.CustomResource {
|
|
|
63
66
|
resourceInputs["peeringCidrRange"] = args ? args.peeringCidrRange : undefined;
|
|
64
67
|
resourceInputs["host"] = undefined /*out*/;
|
|
65
68
|
resourceInputs["port"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["serviceAttachment"] = undefined /*out*/;
|
|
66
70
|
}
|
|
67
71
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
68
72
|
super(Instance.__pulumiType, name, resourceInputs, opts);
|
package/apigee/instance.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../apigee/instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../apigee/instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAmG/C,YAAY,IAAY,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BA4IC;AA9HG,gBAAgB;AACO,qBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "../types";
|
|
3
3
|
/**
|
|
4
|
-
* A CertificateAuthority represents an individual Certificate Authority. A
|
|
5
|
-
* CertificateAuthority can be used to create Certificates.
|
|
6
|
-
*
|
|
7
|
-
* To get more information about CertificateAuthority, see:
|
|
8
|
-
*
|
|
9
|
-
* * [API documentation](https://cloud.google.com/certificate-authority-service/docs/reference/rest)
|
|
10
|
-
* * How-to Guides
|
|
11
|
-
* * [Official Documentation](https://cloud.google.com/certificate-authority-service)
|
|
12
|
-
*
|
|
13
4
|
* ## Example Usage
|
|
14
5
|
* ### Privateca Certificate Authority Basic
|
|
15
6
|
*
|
|
@@ -55,6 +46,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
55
46
|
* },
|
|
56
47
|
* },
|
|
57
48
|
* },
|
|
49
|
+
* deletionProtection: true,
|
|
58
50
|
* keySpec: {
|
|
59
51
|
* algorithm: "RSA_PKCS1_4096_SHA256",
|
|
60
52
|
* },
|
|
@@ -110,6 +102,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
110
102
|
* },
|
|
111
103
|
* },
|
|
112
104
|
* },
|
|
105
|
+
* deletionProtection: true,
|
|
113
106
|
* keySpec: {
|
|
114
107
|
* algorithm: "RSA_PKCS1_4096_SHA256",
|
|
115
108
|
* },
|
|
@@ -142,6 +135,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
142
135
|
* pool: "ca-pool",
|
|
143
136
|
* certificateAuthorityId: "my-certificate-authority",
|
|
144
137
|
* location: "us-central1",
|
|
138
|
+
* deletionProtection: "true",
|
|
145
139
|
* keySpec: {
|
|
146
140
|
* cloudKmsKeyVersion: "projects/keys-project/locations/us-central1/keyRings/key-ring/cryptoKeys/crypto-key/cryptoKeyVersions/1",
|
|
147
141
|
* },
|
|
@@ -226,6 +220,7 @@ export declare class Authority extends pulumi.CustomResource {
|
|
|
226
220
|
* resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
|
227
221
|
*/
|
|
228
222
|
readonly createTime: pulumi.Output<string>;
|
|
223
|
+
readonly deletionProtection: pulumi.Output<boolean | undefined>;
|
|
229
224
|
/**
|
|
230
225
|
* The name of a Cloud Storage bucket where this CertificateAuthority will publish content,
|
|
231
226
|
* such as the CA certificate and CRLs. This must be a bucket name, without any prefixes
|
|
@@ -333,6 +328,7 @@ export interface AuthorityState {
|
|
|
333
328
|
* resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
|
334
329
|
*/
|
|
335
330
|
createTime?: pulumi.Input<string>;
|
|
331
|
+
deletionProtection?: pulumi.Input<boolean>;
|
|
336
332
|
/**
|
|
337
333
|
* The name of a Cloud Storage bucket where this CertificateAuthority will publish content,
|
|
338
334
|
* such as the CA certificate and CRLs. This must be a bucket name, without any prefixes
|
|
@@ -423,6 +419,7 @@ export interface AuthorityArgs {
|
|
|
423
419
|
* Structure is documented below.
|
|
424
420
|
*/
|
|
425
421
|
config: pulumi.Input<inputs.certificateauthority.AuthorityConfig>;
|
|
422
|
+
deletionProtection?: pulumi.Input<boolean>;
|
|
426
423
|
/**
|
|
427
424
|
* The name of a Cloud Storage bucket where this CertificateAuthority will publish content,
|
|
428
425
|
* such as the CA certificate and CRLs. This must be a bucket name, without any prefixes
|
|
@@ -6,15 +6,6 @@ exports.Authority = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* A CertificateAuthority represents an individual Certificate Authority. A
|
|
10
|
-
* CertificateAuthority can be used to create Certificates.
|
|
11
|
-
*
|
|
12
|
-
* To get more information about CertificateAuthority, see:
|
|
13
|
-
*
|
|
14
|
-
* * [API documentation](https://cloud.google.com/certificate-authority-service/docs/reference/rest)
|
|
15
|
-
* * How-to Guides
|
|
16
|
-
* * [Official Documentation](https://cloud.google.com/certificate-authority-service)
|
|
17
|
-
*
|
|
18
9
|
* ## Example Usage
|
|
19
10
|
* ### Privateca Certificate Authority Basic
|
|
20
11
|
*
|
|
@@ -60,6 +51,7 @@ const utilities = require("../utilities");
|
|
|
60
51
|
* },
|
|
61
52
|
* },
|
|
62
53
|
* },
|
|
54
|
+
* deletionProtection: true,
|
|
63
55
|
* keySpec: {
|
|
64
56
|
* algorithm: "RSA_PKCS1_4096_SHA256",
|
|
65
57
|
* },
|
|
@@ -115,6 +107,7 @@ const utilities = require("../utilities");
|
|
|
115
107
|
* },
|
|
116
108
|
* },
|
|
117
109
|
* },
|
|
110
|
+
* deletionProtection: true,
|
|
118
111
|
* keySpec: {
|
|
119
112
|
* algorithm: "RSA_PKCS1_4096_SHA256",
|
|
120
113
|
* },
|
|
@@ -147,6 +140,7 @@ const utilities = require("../utilities");
|
|
|
147
140
|
* pool: "ca-pool",
|
|
148
141
|
* certificateAuthorityId: "my-certificate-authority",
|
|
149
142
|
* location: "us-central1",
|
|
143
|
+
* deletionProtection: "true",
|
|
150
144
|
* keySpec: {
|
|
151
145
|
* cloudKmsKeyVersion: "projects/keys-project/locations/us-central1/keyRings/key-ring/cryptoKeys/crypto-key/cryptoKeyVersions/1",
|
|
152
146
|
* },
|
|
@@ -207,6 +201,7 @@ class Authority extends pulumi.CustomResource {
|
|
|
207
201
|
resourceInputs["certificateAuthorityId"] = state ? state.certificateAuthorityId : undefined;
|
|
208
202
|
resourceInputs["config"] = state ? state.config : undefined;
|
|
209
203
|
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
204
|
+
resourceInputs["deletionProtection"] = state ? state.deletionProtection : undefined;
|
|
210
205
|
resourceInputs["gcsBucket"] = state ? state.gcsBucket : undefined;
|
|
211
206
|
resourceInputs["ignoreActiveCertificatesOnDeletion"] = state ? state.ignoreActiveCertificatesOnDeletion : undefined;
|
|
212
207
|
resourceInputs["keySpec"] = state ? state.keySpec : undefined;
|
|
@@ -240,6 +235,7 @@ class Authority extends pulumi.CustomResource {
|
|
|
240
235
|
}
|
|
241
236
|
resourceInputs["certificateAuthorityId"] = args ? args.certificateAuthorityId : undefined;
|
|
242
237
|
resourceInputs["config"] = args ? args.config : undefined;
|
|
238
|
+
resourceInputs["deletionProtection"] = args ? args.deletionProtection : undefined;
|
|
243
239
|
resourceInputs["gcsBucket"] = args ? args.gcsBucket : undefined;
|
|
244
240
|
resourceInputs["ignoreActiveCertificatesOnDeletion"] = args ? args.ignoreActiveCertificatesOnDeletion : undefined;
|
|
245
241
|
resourceInputs["keySpec"] = args ? args.keySpec : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authority.js","sourceRoot":"","sources":["../../certificateauthority/authority.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"authority.js","sourceRoot":"","sources":["../../certificateauthority/authority.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyLG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAkIhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAy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E,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BAgMC;AAlLG,gBAAgB;AACO,sBAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -19,6 +19,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
19
19
|
* location: "us-central1",
|
|
20
20
|
* pool: "",
|
|
21
21
|
* ignoreActiveCertificatesOnDeletion: true,
|
|
22
|
+
* deletionProtection: false,
|
|
22
23
|
* config: {
|
|
23
24
|
* subjectConfig: {
|
|
24
25
|
* subject: {
|
|
@@ -175,6 +176,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
175
176
|
* pool: "",
|
|
176
177
|
* certificateAuthorityId: "my-certificate-authority",
|
|
177
178
|
* location: "us-central1",
|
|
179
|
+
* deletionProtection: false,
|
|
178
180
|
* config: {
|
|
179
181
|
* subjectConfig: {
|
|
180
182
|
* subject: {
|
|
@@ -224,6 +226,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
224
226
|
* pool: "",
|
|
225
227
|
* certificateAuthorityId: "my-certificate-authority",
|
|
226
228
|
* location: "us-central1",
|
|
229
|
+
* deletionProtection: false,
|
|
227
230
|
* config: {
|
|
228
231
|
* subjectConfig: {
|
|
229
232
|
* subject: {
|
|
@@ -272,6 +275,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
272
275
|
* pool: "",
|
|
273
276
|
* certificateAuthorityId: "my-authority",
|
|
274
277
|
* location: "us-central1",
|
|
278
|
+
* deletionProtection: false,
|
|
275
279
|
* config: {
|
|
276
280
|
* subjectConfig: {
|
|
277
281
|
* subject: {
|
|
@@ -401,6 +405,11 @@ export declare class Certificate extends pulumi.CustomResource {
|
|
|
401
405
|
* The time that this resource was created on the server. This is in RFC3339 text format.
|
|
402
406
|
*/
|
|
403
407
|
readonly createTime: pulumi.Output<string>;
|
|
408
|
+
/**
|
|
409
|
+
* The resource name of the issuing CertificateAuthority in the format
|
|
410
|
+
* projects/*/locations/*/caPools/*/certificateAuthorities/*.
|
|
411
|
+
*/
|
|
412
|
+
readonly issuerCertificateAuthority: pulumi.Output<string>;
|
|
404
413
|
/**
|
|
405
414
|
* Labels with user-defined metadata to apply to this resource.
|
|
406
415
|
*/
|
|
@@ -426,8 +435,15 @@ export declare class Certificate extends pulumi.CustomResource {
|
|
|
426
435
|
* Output only. The pem-encoded, signed X.509 certificate.
|
|
427
436
|
*/
|
|
428
437
|
readonly pemCertificate: pulumi.Output<string>;
|
|
438
|
+
/**
|
|
439
|
+
* The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC
|
|
440
|
+
* 5246.
|
|
441
|
+
*/
|
|
442
|
+
readonly pemCertificateChains: pulumi.Output<string[]>;
|
|
429
443
|
/**
|
|
430
444
|
* Required. Expected to be in leaf-to-root order according to RFC 5246.
|
|
445
|
+
*
|
|
446
|
+
* @deprecated Deprecated in favor of `pem_certificate_chain`.
|
|
431
447
|
*/
|
|
432
448
|
readonly pemCertificates: pulumi.Output<string[]>;
|
|
433
449
|
/**
|
|
@@ -491,6 +507,11 @@ export interface CertificateState {
|
|
|
491
507
|
* The time that this resource was created on the server. This is in RFC3339 text format.
|
|
492
508
|
*/
|
|
493
509
|
createTime?: pulumi.Input<string>;
|
|
510
|
+
/**
|
|
511
|
+
* The resource name of the issuing CertificateAuthority in the format
|
|
512
|
+
* projects/*/locations/*/caPools/*/certificateAuthorities/*.
|
|
513
|
+
*/
|
|
514
|
+
issuerCertificateAuthority?: pulumi.Input<string>;
|
|
494
515
|
/**
|
|
495
516
|
* Labels with user-defined metadata to apply to this resource.
|
|
496
517
|
*/
|
|
@@ -516,8 +537,15 @@ export interface CertificateState {
|
|
|
516
537
|
* Output only. The pem-encoded, signed X.509 certificate.
|
|
517
538
|
*/
|
|
518
539
|
pemCertificate?: pulumi.Input<string>;
|
|
540
|
+
/**
|
|
541
|
+
* The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC
|
|
542
|
+
* 5246.
|
|
543
|
+
*/
|
|
544
|
+
pemCertificateChains?: pulumi.Input<pulumi.Input<string>[]>;
|
|
519
545
|
/**
|
|
520
546
|
* Required. Expected to be in leaf-to-root order according to RFC 5246.
|
|
547
|
+
*
|
|
548
|
+
* @deprecated Deprecated in favor of `pem_certificate_chain`.
|
|
521
549
|
*/
|
|
522
550
|
pemCertificates?: pulumi.Input<pulumi.Input<string>[]>;
|
|
523
551
|
/**
|
|
@@ -24,6 +24,7 @@ const utilities = require("../utilities");
|
|
|
24
24
|
* location: "us-central1",
|
|
25
25
|
* pool: "",
|
|
26
26
|
* ignoreActiveCertificatesOnDeletion: true,
|
|
27
|
+
* deletionProtection: false,
|
|
27
28
|
* config: {
|
|
28
29
|
* subjectConfig: {
|
|
29
30
|
* subject: {
|
|
@@ -180,6 +181,7 @@ const utilities = require("../utilities");
|
|
|
180
181
|
* pool: "",
|
|
181
182
|
* certificateAuthorityId: "my-certificate-authority",
|
|
182
183
|
* location: "us-central1",
|
|
184
|
+
* deletionProtection: false,
|
|
183
185
|
* config: {
|
|
184
186
|
* subjectConfig: {
|
|
185
187
|
* subject: {
|
|
@@ -229,6 +231,7 @@ const utilities = require("../utilities");
|
|
|
229
231
|
* pool: "",
|
|
230
232
|
* certificateAuthorityId: "my-certificate-authority",
|
|
231
233
|
* location: "us-central1",
|
|
234
|
+
* deletionProtection: false,
|
|
232
235
|
* config: {
|
|
233
236
|
* subjectConfig: {
|
|
234
237
|
* subject: {
|
|
@@ -277,6 +280,7 @@ const utilities = require("../utilities");
|
|
|
277
280
|
* pool: "",
|
|
278
281
|
* certificateAuthorityId: "my-authority",
|
|
279
282
|
* location: "us-central1",
|
|
283
|
+
* deletionProtection: false,
|
|
280
284
|
* config: {
|
|
281
285
|
* subjectConfig: {
|
|
282
286
|
* subject: {
|
|
@@ -375,11 +379,13 @@ class Certificate extends pulumi.CustomResource {
|
|
|
375
379
|
resourceInputs["certificateTemplate"] = state ? state.certificateTemplate : undefined;
|
|
376
380
|
resourceInputs["config"] = state ? state.config : undefined;
|
|
377
381
|
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
382
|
+
resourceInputs["issuerCertificateAuthority"] = state ? state.issuerCertificateAuthority : undefined;
|
|
378
383
|
resourceInputs["labels"] = state ? state.labels : undefined;
|
|
379
384
|
resourceInputs["lifetime"] = state ? state.lifetime : undefined;
|
|
380
385
|
resourceInputs["location"] = state ? state.location : undefined;
|
|
381
386
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
382
387
|
resourceInputs["pemCertificate"] = state ? state.pemCertificate : undefined;
|
|
388
|
+
resourceInputs["pemCertificateChains"] = state ? state.pemCertificateChains : undefined;
|
|
383
389
|
resourceInputs["pemCertificates"] = state ? state.pemCertificates : undefined;
|
|
384
390
|
resourceInputs["pemCsr"] = state ? state.pemCsr : undefined;
|
|
385
391
|
resourceInputs["pool"] = state ? state.pool : undefined;
|
|
@@ -407,7 +413,9 @@ class Certificate extends pulumi.CustomResource {
|
|
|
407
413
|
resourceInputs["project"] = args ? args.project : undefined;
|
|
408
414
|
resourceInputs["certificateDescriptions"] = undefined /*out*/;
|
|
409
415
|
resourceInputs["createTime"] = undefined /*out*/;
|
|
416
|
+
resourceInputs["issuerCertificateAuthority"] = undefined /*out*/;
|
|
410
417
|
resourceInputs["pemCertificate"] = undefined /*out*/;
|
|
418
|
+
resourceInputs["pemCertificateChains"] = undefined /*out*/;
|
|
411
419
|
resourceInputs["pemCertificates"] = undefined /*out*/;
|
|
412
420
|
resourceInputs["revocationDetails"] = undefined /*out*/;
|
|
413
421
|
resourceInputs["updateTime"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certificate.js","sourceRoot":"","sources":["../../certificateauthority/certificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"certificate.js","sourceRoot":"","sources":["../../certificateauthority/certificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0WG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA4HlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,yBAAyB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAA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AO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IA/KD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAiLC;AAnKG,gBAAgB;AACO,wBAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -48,6 +48,7 @@ export interface GetAuthorityResult {
|
|
|
48
48
|
readonly certificateAuthorityId?: string;
|
|
49
49
|
readonly configs: outputs.certificateauthority.GetAuthorityConfig[];
|
|
50
50
|
readonly createTime: string;
|
|
51
|
+
readonly deletionProtection: boolean;
|
|
51
52
|
readonly gcsBucket: string;
|
|
52
53
|
/**
|
|
53
54
|
* The provider-assigned unique ID for this managed resource.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAuthority.js","sourceRoot":"","sources":["../../certificateauthority/getAuthority.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,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AAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Get information about a Google Compute Persistent disks.
|
|
5
|
+
*
|
|
6
|
+
* [the official documentation](https://cloud.google.com/compute/docs/disks) and its [API](https://cloud.google.com/compute/docs/reference/latest/disks).
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as gcp from "@pulumi/gcp";
|
|
13
|
+
*
|
|
14
|
+
* const persistent-boot-disk = gcp.compute.getDisk({
|
|
15
|
+
* name: "persistent-boot-disk",
|
|
16
|
+
* project: "example",
|
|
17
|
+
* });
|
|
18
|
+
* // ...
|
|
19
|
+
* const _default = new gcp.compute.Instance("default", {bootDisk: {
|
|
20
|
+
* source: persistent_boot_disk.then(persistent_boot_disk => persistent_boot_disk.selfLink),
|
|
21
|
+
* autoDelete: false,
|
|
22
|
+
* }});
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare function getDisk(args: GetDiskArgs, opts?: pulumi.InvokeOptions): Promise<GetDiskResult>;
|
|
26
|
+
/**
|
|
27
|
+
* A collection of arguments for invoking getDisk.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetDiskArgs {
|
|
30
|
+
/**
|
|
31
|
+
* The name of a specific disk.
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* The ID of the project in which the resource belongs.
|
|
36
|
+
* If it is not provided, the provider project is used.
|
|
37
|
+
*/
|
|
38
|
+
project?: string;
|
|
39
|
+
/**
|
|
40
|
+
* A reference to the zone where the disk resides.
|
|
41
|
+
*/
|
|
42
|
+
zone?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* A collection of values returned by getDisk.
|
|
46
|
+
*/
|
|
47
|
+
export interface GetDiskResult {
|
|
48
|
+
readonly creationTimestamp: string;
|
|
49
|
+
readonly description: string;
|
|
50
|
+
readonly diskEncryptionKeys: outputs.compute.GetDiskDiskEncryptionKey[];
|
|
51
|
+
/**
|
|
52
|
+
* The provider-assigned unique ID for this managed resource.
|
|
53
|
+
*/
|
|
54
|
+
readonly id: string;
|
|
55
|
+
readonly image: string;
|
|
56
|
+
readonly interface: string;
|
|
57
|
+
readonly labelFingerprint: string;
|
|
58
|
+
/**
|
|
59
|
+
* A map of labels applied to this disk.
|
|
60
|
+
*/
|
|
61
|
+
readonly labels: {
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
};
|
|
64
|
+
readonly lastAttachTimestamp: string;
|
|
65
|
+
readonly lastDetachTimestamp: string;
|
|
66
|
+
readonly multiWriter: boolean;
|
|
67
|
+
readonly name: string;
|
|
68
|
+
readonly physicalBlockSizeBytes: number;
|
|
69
|
+
readonly project?: string;
|
|
70
|
+
readonly provisionedIops: number;
|
|
71
|
+
readonly resourcePolicies: string[];
|
|
72
|
+
/**
|
|
73
|
+
* The URI of the created resource.
|
|
74
|
+
*/
|
|
75
|
+
readonly selfLink: string;
|
|
76
|
+
readonly size: number;
|
|
77
|
+
readonly snapshot: string;
|
|
78
|
+
readonly sourceImageEncryptionKeys: outputs.compute.GetDiskSourceImageEncryptionKey[];
|
|
79
|
+
readonly sourceImageId: string;
|
|
80
|
+
readonly sourceSnapshotEncryptionKeys: outputs.compute.GetDiskSourceSnapshotEncryptionKey[];
|
|
81
|
+
readonly sourceSnapshotId: string;
|
|
82
|
+
readonly type: string;
|
|
83
|
+
readonly users: string[];
|
|
84
|
+
readonly zone?: string;
|
|
85
|
+
}
|
|
86
|
+
export declare function getDiskOutput(args: GetDiskOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDiskResult>;
|
|
87
|
+
/**
|
|
88
|
+
* A collection of arguments for invoking getDisk.
|
|
89
|
+
*/
|
|
90
|
+
export interface GetDiskOutputArgs {
|
|
91
|
+
/**
|
|
92
|
+
* The name of a specific disk.
|
|
93
|
+
*/
|
|
94
|
+
name: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The ID of the project in which the resource belongs.
|
|
97
|
+
* If it is not provided, the provider project is used.
|
|
98
|
+
*/
|
|
99
|
+
project?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* A reference to the zone where the disk resides.
|
|
102
|
+
*/
|
|
103
|
+
zone?: pulumi.Input<string>;
|
|
104
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getDiskOutput = exports.getDisk = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Get information about a Google Compute Persistent disks.
|
|
10
|
+
*
|
|
11
|
+
* [the official documentation](https://cloud.google.com/compute/docs/disks) and its [API](https://cloud.google.com/compute/docs/reference/latest/disks).
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as gcp from "@pulumi/gcp";
|
|
18
|
+
*
|
|
19
|
+
* const persistent-boot-disk = gcp.compute.getDisk({
|
|
20
|
+
* name: "persistent-boot-disk",
|
|
21
|
+
* project: "example",
|
|
22
|
+
* });
|
|
23
|
+
* // ...
|
|
24
|
+
* const _default = new gcp.compute.Instance("default", {bootDisk: {
|
|
25
|
+
* source: persistent_boot_disk.then(persistent_boot_disk => persistent_boot_disk.selfLink),
|
|
26
|
+
* autoDelete: false,
|
|
27
|
+
* }});
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
function getDisk(args, opts) {
|
|
31
|
+
if (!opts) {
|
|
32
|
+
opts = {};
|
|
33
|
+
}
|
|
34
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
35
|
+
return pulumi.runtime.invoke("gcp:compute/getDisk:getDisk", {
|
|
36
|
+
"name": args.name,
|
|
37
|
+
"project": args.project,
|
|
38
|
+
"zone": args.zone,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
exports.getDisk = getDisk;
|
|
42
|
+
function getDiskOutput(args, opts) {
|
|
43
|
+
return pulumi.output(args).apply(a => getDisk(a, opts));
|
|
44
|
+
}
|
|
45
|
+
exports.getDiskOutput = getDiskOutput;
|
|
46
|
+
//# sourceMappingURL=getDisk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDisk.js","sourceRoot":"","sources":["../../compute/getDisk.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6BAA6B,EAAE;QACxD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0BAWC;AA8DD,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
|