@pulumi/gcp 6.32.0 → 6.34.0-alpha.1660169219
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/apigateway/apiConfig.d.ts +1 -1
- package/apigateway/apiConfig.js +1 -1
- package/apigateway/gateway.d.ts +1 -1
- package/apigateway/gateway.js +1 -1
- package/appengine/engineSplitTraffic.d.ts +57 -0
- package/appengine/engineSplitTraffic.js +57 -0
- package/appengine/engineSplitTraffic.js.map +1 -1
- package/billing/budget.d.ts +2 -2
- package/billing/budget.js +0 -3
- package/billing/budget.js.map +1 -1
- package/certificateauthority/certificate.d.ts +4 -4
- package/certificateauthority/certificate.js +4 -4
- package/certificatemanager/certificateMap.d.ts +163 -0
- package/certificatemanager/certificateMap.js +99 -0
- package/certificatemanager/certificateMap.js.map +1 -0
- package/certificatemanager/certificateMapEntry.d.ts +271 -0
- package/certificatemanager/certificateMapEntry.js +145 -0
- package/certificatemanager/certificateMapEntry.js.map +1 -0
- package/certificatemanager/index.d.ts +2 -0
- package/certificatemanager/index.js +10 -0
- package/certificatemanager/index.js.map +1 -1
- package/compute/backendBucketIamBinding.d.ts +121 -0
- package/compute/backendBucketIamBinding.js +90 -0
- package/compute/backendBucketIamBinding.js.map +1 -0
- package/compute/backendBucketIamMember.d.ts +121 -0
- package/compute/backendBucketIamMember.js +90 -0
- package/compute/backendBucketIamMember.js.map +1 -0
- package/compute/backendBucketIamPolicy.d.ts +111 -0
- package/compute/backendBucketIamPolicy.js +83 -0
- package/compute/backendBucketIamPolicy.js.map +1 -0
- package/compute/backendService.d.ts +0 -124
- package/compute/backendService.js +0 -124
- package/compute/backendService.js.map +1 -1
- package/compute/backendServiceSignedUrlKey.d.ts +0 -49
- package/compute/backendServiceSignedUrlKey.js +0 -49
- package/compute/backendServiceSignedUrlKey.js.map +1 -1
- package/compute/forwardingRule.d.ts +0 -846
- package/compute/forwardingRule.js +0 -846
- package/compute/forwardingRule.js.map +1 -1
- package/compute/globalForwardingRule.d.ts +0 -661
- package/compute/globalForwardingRule.js +0 -661
- package/compute/globalForwardingRule.js.map +1 -1
- package/compute/index.d.ts +3 -0
- package/compute/index.js +15 -0
- package/compute/index.js.map +1 -1
- package/compute/instanceGroup.d.ts +0 -49
- package/compute/instanceGroup.js +0 -49
- package/compute/instanceGroup.js.map +1 -1
- package/compute/instanceGroupManager.d.ts +33 -4
- package/compute/instanceGroupManager.js +11 -1
- package/compute/instanceGroupManager.js.map +1 -1
- package/compute/instanceTemplate.d.ts +0 -71
- package/compute/instanceTemplate.js +0 -71
- package/compute/instanceTemplate.js.map +1 -1
- package/compute/managedSslCertificate.d.ts +0 -53
- package/compute/managedSslCertificate.js +0 -53
- package/compute/managedSslCertificate.js.map +1 -1
- package/compute/mangedSslCertificate.d.ts +0 -53
- package/compute/mangedSslCertificate.js +0 -53
- package/compute/mangedSslCertificate.js.map +1 -1
- package/compute/packetMirroring.d.ts +0 -64
- package/compute/packetMirroring.js +0 -64
- package/compute/packetMirroring.js.map +1 -1
- package/compute/regionBackendService.d.ts +0 -218
- package/compute/regionBackendService.js +0 -218
- package/compute/regionBackendService.js.map +1 -1
- package/compute/regionInstanceGroupManager.d.ts +29 -0
- package/compute/regionInstanceGroupManager.js +10 -0
- package/compute/regionInstanceGroupManager.js.map +1 -1
- package/compute/regionSslCertificate.d.ts +2 -60
- package/compute/regionSslCertificate.js +2 -60
- package/compute/regionSslCertificate.js.map +1 -1
- package/compute/regionTargetHttpProxy.d.ts +0 -40
- package/compute/regionTargetHttpProxy.js +0 -40
- package/compute/regionTargetHttpProxy.js.map +1 -1
- package/compute/regionTargetHttpsProxy.d.ts +0 -48
- package/compute/regionTargetHttpsProxy.js +0 -48
- package/compute/regionTargetHttpsProxy.js.map +1 -1
- package/compute/regionUrlMap.d.ts +0 -353
- package/compute/regionUrlMap.js +0 -353
- package/compute/regionUrlMap.js.map +1 -1
- package/compute/route.d.ts +0 -118
- package/compute/route.js +0 -118
- package/compute/route.js.map +1 -1
- package/compute/serviceAttachment.d.ts +0 -127
- package/compute/serviceAttachment.js +0 -127
- package/compute/serviceAttachment.js.map +1 -1
- package/compute/sslcertificate.d.ts +2 -51
- package/compute/sslcertificate.js +2 -51
- package/compute/sslcertificate.js.map +1 -1
- package/compute/targetGrpcProxy.d.ts +0 -88
- package/compute/targetGrpcProxy.js +0 -88
- package/compute/targetGrpcProxy.js.map +1 -1
- package/compute/targetHttpProxy.d.ts +0 -34
- package/compute/targetHttpProxy.js +0 -34
- package/compute/targetHttpProxy.js.map +1 -1
- package/compute/targetHttpsProxy.d.ts +0 -43
- package/compute/targetHttpsProxy.js +0 -43
- package/compute/targetHttpsProxy.js.map +1 -1
- package/compute/targetPool.d.ts +0 -20
- package/compute/targetPool.js +0 -20
- package/compute/targetPool.js.map +1 -1
- package/compute/targetSSLProxy.d.ts +0 -27
- package/compute/targetSSLProxy.js +0 -27
- package/compute/targetSSLProxy.js.map +1 -1
- package/compute/targetTCPProxy.d.ts +0 -20
- package/compute/targetTCPProxy.js +0 -20
- package/compute/targetTCPProxy.js.map +1 -1
- package/compute/urlmap.d.ts +0 -497
- package/compute/urlmap.js +0 -497
- package/compute/urlmap.js.map +1 -1
- package/containeranalysis/occurence.d.ts +0 -45
- package/containeranalysis/occurence.js +0 -45
- package/containeranalysis/occurence.js.map +1 -1
- package/dataproc/index.d.ts +4 -0
- package/dataproc/index.js +20 -0
- package/dataproc/index.js.map +1 -1
- package/dataproc/metastoreFederation.d.ts +216 -0
- package/dataproc/metastoreFederation.js +127 -0
- package/dataproc/metastoreFederation.js.map +1 -0
- package/dataproc/metastoreFederationIamBinding.d.ts +127 -0
- package/dataproc/metastoreFederationIamBinding.js +95 -0
- package/dataproc/metastoreFederationIamBinding.js.map +1 -0
- package/dataproc/metastoreFederationIamMember.d.ts +127 -0
- package/dataproc/metastoreFederationIamMember.js +95 -0
- package/dataproc/metastoreFederationIamMember.js.map +1 -0
- package/dataproc/metastoreFederationIamPolicy.d.ts +117 -0
- package/dataproc/metastoreFederationIamPolicy.js +88 -0
- package/dataproc/metastoreFederationIamPolicy.js.map +1 -0
- package/deploymentmanager/deployment.d.ts +1 -1
- package/deploymentmanager/deployment.js +1 -1
- package/endpoints/service.d.ts +1 -1
- package/endpoints/service.js +1 -1
- package/identityplatform/inboundSamlConfig.d.ts +1 -1
- package/identityplatform/inboundSamlConfig.js +1 -1
- package/identityplatform/tenantInboundSamlConfig.d.ts +1 -1
- package/identityplatform/tenantInboundSamlConfig.js +1 -1
- package/iot/device.d.ts +1 -1
- package/iot/device.js +1 -1
- package/iot/registry.d.ts +1 -1
- package/iot/registry.js +1 -1
- package/kms/registry.d.ts +1 -1
- package/kms/registry.js +1 -1
- package/monitoring/alertPolicy.d.ts +27 -0
- package/monitoring/alertPolicy.js +27 -0
- package/monitoring/alertPolicy.js.map +1 -1
- package/notebooks/runtime.d.ts +3 -3
- package/oslogin/sshPublicKey.d.ts +1 -1
- package/oslogin/sshPublicKey.js +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/projects/apiKey.d.ts +8 -0
- package/projects/apiKey.js +2 -0
- package/projects/apiKey.js.map +1 -1
- package/runtimeconfig/variable.d.ts +1 -1
- package/runtimeconfig/variable.js +1 -1
- package/serviceaccount/getAccountJwt.d.ts +74 -0
- package/serviceaccount/getAccountJwt.js +45 -0
- package/serviceaccount/getAccountJwt.js.map +1 -0
- package/serviceaccount/index.d.ts +1 -0
- package/serviceaccount/index.js +1 -0
- package/serviceaccount/index.js.map +1 -1
- package/storage/getObjectSignedUrl.d.ts +1 -1
- package/storage/getObjectSignedUrl.js +1 -1
- package/types/input.d.ts +143 -5
- package/types/output.d.ts +158 -7
|
@@ -14,8 +14,8 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
14
14
|
*
|
|
15
15
|
* ```typescript
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as fs from "fs";
|
|
17
18
|
* import * as gcp from "@pulumi/gcp";
|
|
18
|
-
* import * from "fs";
|
|
19
19
|
*
|
|
20
20
|
* const apiCfgApi = new gcp.apigateway.Api("apiCfgApi", {apiId: "api-cfg"}, {
|
|
21
21
|
* provider: google_beta,
|
package/apigateway/apiConfig.js
CHANGED
|
@@ -19,8 +19,8 @@ const utilities = require("../utilities");
|
|
|
19
19
|
*
|
|
20
20
|
* ```typescript
|
|
21
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as fs from "fs";
|
|
22
23
|
* import * as gcp from "@pulumi/gcp";
|
|
23
|
-
* import * from "fs";
|
|
24
24
|
*
|
|
25
25
|
* const apiCfgApi = new gcp.apigateway.Api("apiCfgApi", {apiId: "api-cfg"}, {
|
|
26
26
|
* provider: google_beta,
|
package/apigateway/gateway.d.ts
CHANGED
|
@@ -13,8 +13,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
*
|
|
14
14
|
* ```typescript
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as fs from "fs";
|
|
16
17
|
* import * as gcp from "@pulumi/gcp";
|
|
17
|
-
* import * from "fs";
|
|
18
18
|
*
|
|
19
19
|
* const apiGwApi = new gcp.apigateway.Api("apiGwApi", {apiId: "api-gw"}, {
|
|
20
20
|
* provider: google_beta,
|
package/apigateway/gateway.js
CHANGED
|
@@ -19,8 +19,8 @@ const utilities = require("../utilities");
|
|
|
19
19
|
*
|
|
20
20
|
* ```typescript
|
|
21
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as fs from "fs";
|
|
22
23
|
* import * as gcp from "@pulumi/gcp";
|
|
23
|
-
* import * from "fs";
|
|
24
24
|
*
|
|
25
25
|
* const apiGwApi = new gcp.apigateway.Api("apiGwApi", {apiId: "api-gw"}, {
|
|
26
26
|
* provider: google_beta,
|
|
@@ -8,6 +8,63 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
8
8
|
* * [API documentation](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services)
|
|
9
9
|
*
|
|
10
10
|
* ## Example Usage
|
|
11
|
+
* ### App Engine Service Split Traffic
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as gcp from "@pulumi/gcp";
|
|
16
|
+
*
|
|
17
|
+
* const bucket = new gcp.storage.Bucket("bucket", {location: "US"});
|
|
18
|
+
* const object = new gcp.storage.BucketObject("object", {
|
|
19
|
+
* bucket: bucket.name,
|
|
20
|
+
* source: new pulumi.asset.FileAsset("./test-fixtures/appengine/hello-world.zip"),
|
|
21
|
+
* });
|
|
22
|
+
* const liveappV1 = new gcp.appengine.StandardAppVersion("liveappV1", {
|
|
23
|
+
* versionId: "v1",
|
|
24
|
+
* service: "liveapp",
|
|
25
|
+
* deleteServiceOnDestroy: true,
|
|
26
|
+
* runtime: "nodejs10",
|
|
27
|
+
* entrypoint: {
|
|
28
|
+
* shell: "node ./app.js",
|
|
29
|
+
* },
|
|
30
|
+
* deployment: {
|
|
31
|
+
* zip: {
|
|
32
|
+
* sourceUrl: pulumi.interpolate`https://storage.googleapis.com/${bucket.name}/${object.name}`,
|
|
33
|
+
* },
|
|
34
|
+
* },
|
|
35
|
+
* envVariables: {
|
|
36
|
+
* port: "8080",
|
|
37
|
+
* },
|
|
38
|
+
* });
|
|
39
|
+
* const liveappV2 = new gcp.appengine.StandardAppVersion("liveappV2", {
|
|
40
|
+
* versionId: "v2",
|
|
41
|
+
* service: "liveapp",
|
|
42
|
+
* noopOnDestroy: true,
|
|
43
|
+
* runtime: "nodejs10",
|
|
44
|
+
* entrypoint: {
|
|
45
|
+
* shell: "node ./app.js",
|
|
46
|
+
* },
|
|
47
|
+
* deployment: {
|
|
48
|
+
* zip: {
|
|
49
|
+
* sourceUrl: pulumi.interpolate`https://storage.googleapis.com/${bucket.name}/${object.name}`,
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* envVariables: {
|
|
53
|
+
* port: "8080",
|
|
54
|
+
* },
|
|
55
|
+
* });
|
|
56
|
+
* const liveapp = new gcp.appengine.EngineSplitTraffic("liveapp", {
|
|
57
|
+
* service: liveappV2.service,
|
|
58
|
+
* migrateTraffic: false,
|
|
59
|
+
* split: {
|
|
60
|
+
* shardBy: "IP",
|
|
61
|
+
* allocations: pulumi.all([liveappV1.versionId, liveappV2.versionId]).apply(([liveappV1VersionId, liveappV2VersionId]) => {
|
|
62
|
+
* [liveappV1VersionId]: 0.75,
|
|
63
|
+
* [liveappV2VersionId]: 0.25,
|
|
64
|
+
* }),
|
|
65
|
+
* },
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
11
68
|
*
|
|
12
69
|
* ## Import
|
|
13
70
|
*
|
|
@@ -13,6 +13,63 @@ const utilities = require("../utilities");
|
|
|
13
13
|
* * [API documentation](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services)
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
|
+
* ### App Engine Service Split Traffic
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as gcp from "@pulumi/gcp";
|
|
21
|
+
*
|
|
22
|
+
* const bucket = new gcp.storage.Bucket("bucket", {location: "US"});
|
|
23
|
+
* const object = new gcp.storage.BucketObject("object", {
|
|
24
|
+
* bucket: bucket.name,
|
|
25
|
+
* source: new pulumi.asset.FileAsset("./test-fixtures/appengine/hello-world.zip"),
|
|
26
|
+
* });
|
|
27
|
+
* const liveappV1 = new gcp.appengine.StandardAppVersion("liveappV1", {
|
|
28
|
+
* versionId: "v1",
|
|
29
|
+
* service: "liveapp",
|
|
30
|
+
* deleteServiceOnDestroy: true,
|
|
31
|
+
* runtime: "nodejs10",
|
|
32
|
+
* entrypoint: {
|
|
33
|
+
* shell: "node ./app.js",
|
|
34
|
+
* },
|
|
35
|
+
* deployment: {
|
|
36
|
+
* zip: {
|
|
37
|
+
* sourceUrl: pulumi.interpolate`https://storage.googleapis.com/${bucket.name}/${object.name}`,
|
|
38
|
+
* },
|
|
39
|
+
* },
|
|
40
|
+
* envVariables: {
|
|
41
|
+
* port: "8080",
|
|
42
|
+
* },
|
|
43
|
+
* });
|
|
44
|
+
* const liveappV2 = new gcp.appengine.StandardAppVersion("liveappV2", {
|
|
45
|
+
* versionId: "v2",
|
|
46
|
+
* service: "liveapp",
|
|
47
|
+
* noopOnDestroy: true,
|
|
48
|
+
* runtime: "nodejs10",
|
|
49
|
+
* entrypoint: {
|
|
50
|
+
* shell: "node ./app.js",
|
|
51
|
+
* },
|
|
52
|
+
* deployment: {
|
|
53
|
+
* zip: {
|
|
54
|
+
* sourceUrl: pulumi.interpolate`https://storage.googleapis.com/${bucket.name}/${object.name}`,
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* envVariables: {
|
|
58
|
+
* port: "8080",
|
|
59
|
+
* },
|
|
60
|
+
* });
|
|
61
|
+
* const liveapp = new gcp.appengine.EngineSplitTraffic("liveapp", {
|
|
62
|
+
* service: liveappV2.service,
|
|
63
|
+
* migrateTraffic: false,
|
|
64
|
+
* split: {
|
|
65
|
+
* shardBy: "IP",
|
|
66
|
+
* allocations: pulumi.all([liveappV1.versionId, liveappV2.versionId]).apply(([liveappV1VersionId, liveappV2VersionId]) => {
|
|
67
|
+
* [liveappV1VersionId]: 0.75,
|
|
68
|
+
* [liveappV2VersionId]: 0.25,
|
|
69
|
+
* }),
|
|
70
|
+
* },
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
16
73
|
*
|
|
17
74
|
* ## Import
|
|
18
75
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engineSplitTraffic.js","sourceRoot":"","sources":["../../appengine/engineSplitTraffic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"engineS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@ -258,7 +258,7 @@ export declare class Budget extends pulumi.CustomResource {
|
|
|
258
258
|
* budget.
|
|
259
259
|
* Structure is documented below.
|
|
260
260
|
*/
|
|
261
|
-
readonly thresholdRules: pulumi.Output<outputs.billing.BudgetThresholdRule[]>;
|
|
261
|
+
readonly thresholdRules: pulumi.Output<outputs.billing.BudgetThresholdRule[] | undefined>;
|
|
262
262
|
/**
|
|
263
263
|
* Create a Budget resource with the given unique name, arguments, and options.
|
|
264
264
|
*
|
|
@@ -347,5 +347,5 @@ export interface BudgetArgs {
|
|
|
347
347
|
* budget.
|
|
348
348
|
* Structure is documented below.
|
|
349
349
|
*/
|
|
350
|
-
thresholdRules
|
|
350
|
+
thresholdRules?: pulumi.Input<pulumi.Input<inputs.billing.BudgetThresholdRule>[]>;
|
|
351
351
|
}
|
package/billing/budget.js
CHANGED
|
@@ -232,9 +232,6 @@ class Budget extends pulumi.CustomResource {
|
|
|
232
232
|
if ((!args || args.billingAccount === undefined) && !opts.urn) {
|
|
233
233
|
throw new Error("Missing required property 'billingAccount'");
|
|
234
234
|
}
|
|
235
|
-
if ((!args || args.thresholdRules === undefined) && !opts.urn) {
|
|
236
|
-
throw new Error("Missing required property 'thresholdRules'");
|
|
237
|
-
}
|
|
238
235
|
resourceInputs["allUpdatesRule"] = args ? args.allUpdatesRule : undefined;
|
|
239
236
|
resourceInputs["amount"] = args ? args.amount : undefined;
|
|
240
237
|
resourceInputs["billingAccount"] = args ? args.billingAccount : undefined;
|
package/billing/budget.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"budget.js","sourceRoot":"","sources":["../../billing/budget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IAxGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBA0GC;AA5FG,gBAAgB;AACO,mBAAY,GAAG,2BAA2B,CAAC"}
|
|
@@ -11,8 +11,8 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
11
11
|
*
|
|
12
12
|
* ```typescript
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as fs from "fs";
|
|
14
15
|
* import * as gcp from "@pulumi/gcp";
|
|
15
|
-
* import * from "fs";
|
|
16
16
|
*
|
|
17
17
|
* const test_ca = new gcp.certificateauthority.Authority("test-ca", {
|
|
18
18
|
* certificateAuthorityId: "my-certificate-authority",
|
|
@@ -96,8 +96,8 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
96
96
|
*
|
|
97
97
|
* ```typescript
|
|
98
98
|
* import * as pulumi from "@pulumi/pulumi";
|
|
99
|
+
* import * as fs from "fs";
|
|
99
100
|
* import * as gcp from "@pulumi/gcp";
|
|
100
|
-
* import * from "fs";
|
|
101
101
|
*
|
|
102
102
|
* const template = new gcp.certificateauthority.CertificateTemplate("template", {
|
|
103
103
|
* location: "us-central1",
|
|
@@ -219,8 +219,8 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
219
219
|
*
|
|
220
220
|
* ```typescript
|
|
221
221
|
* import * as pulumi from "@pulumi/pulumi";
|
|
222
|
+
* import * as fs from "fs";
|
|
222
223
|
* import * as gcp from "@pulumi/gcp";
|
|
223
|
-
* import * from "fs";
|
|
224
224
|
*
|
|
225
225
|
* const test_ca = new gcp.certificateauthority.Authority("test-ca", {
|
|
226
226
|
* pool: "",
|
|
@@ -268,8 +268,8 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
268
268
|
*
|
|
269
269
|
* ```typescript
|
|
270
270
|
* import * as pulumi from "@pulumi/pulumi";
|
|
271
|
+
* import * as fs from "fs";
|
|
271
272
|
* import * as gcp from "@pulumi/gcp";
|
|
272
|
-
* import * from "fs";
|
|
273
273
|
*
|
|
274
274
|
* const authority = new gcp.certificateauthority.Authority("authority", {
|
|
275
275
|
* pool: "",
|
|
@@ -16,8 +16,8 @@ const utilities = require("../utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* ```typescript
|
|
18
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as fs from "fs";
|
|
19
20
|
* import * as gcp from "@pulumi/gcp";
|
|
20
|
-
* import * from "fs";
|
|
21
21
|
*
|
|
22
22
|
* const test_ca = new gcp.certificateauthority.Authority("test-ca", {
|
|
23
23
|
* certificateAuthorityId: "my-certificate-authority",
|
|
@@ -101,8 +101,8 @@ const utilities = require("../utilities");
|
|
|
101
101
|
*
|
|
102
102
|
* ```typescript
|
|
103
103
|
* import * as pulumi from "@pulumi/pulumi";
|
|
104
|
+
* import * as fs from "fs";
|
|
104
105
|
* import * as gcp from "@pulumi/gcp";
|
|
105
|
-
* import * from "fs";
|
|
106
106
|
*
|
|
107
107
|
* const template = new gcp.certificateauthority.CertificateTemplate("template", {
|
|
108
108
|
* location: "us-central1",
|
|
@@ -224,8 +224,8 @@ const utilities = require("../utilities");
|
|
|
224
224
|
*
|
|
225
225
|
* ```typescript
|
|
226
226
|
* import * as pulumi from "@pulumi/pulumi";
|
|
227
|
+
* import * as fs from "fs";
|
|
227
228
|
* import * as gcp from "@pulumi/gcp";
|
|
228
|
-
* import * from "fs";
|
|
229
229
|
*
|
|
230
230
|
* const test_ca = new gcp.certificateauthority.Authority("test-ca", {
|
|
231
231
|
* pool: "",
|
|
@@ -273,8 +273,8 @@ const utilities = require("../utilities");
|
|
|
273
273
|
*
|
|
274
274
|
* ```typescript
|
|
275
275
|
* import * as pulumi from "@pulumi/pulumi";
|
|
276
|
+
* import * as fs from "fs";
|
|
276
277
|
* import * as gcp from "@pulumi/gcp";
|
|
277
|
-
* import * from "fs";
|
|
278
278
|
*
|
|
279
279
|
* const authority = new gcp.certificateauthority.Authority("authority", {
|
|
280
280
|
* pool: "",
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* CertificateMap defines a collection of certificate configurations,
|
|
5
|
+
* which are usable by any associated target proxies
|
|
6
|
+
*
|
|
7
|
+
* > **Warning:** These resources require allow-listing to use, and are not openly available to all Cloud customers. Engage with your Cloud account team to discuss how to onboard.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Certificate Manager Certificate Map Basic
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as gcp from "@pulumi/gcp";
|
|
15
|
+
*
|
|
16
|
+
* const _default = new gcp.certificatemanager.CertificateMap("default", {
|
|
17
|
+
* description: "My acceptance test certificate map",
|
|
18
|
+
* labels: {
|
|
19
|
+
* terraform: "true",
|
|
20
|
+
* "acc-test": "true",
|
|
21
|
+
* },
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* CertificateMap can be imported using any of these accepted formats
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default projects/{{project}}/locations/global/certificateMaps/{{name}}
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default {{project}}/{{name}}
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default {{name}}
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare class CertificateMap extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing CertificateMap resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CertificateMapState, opts?: pulumi.CustomResourceOptions): CertificateMap;
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of CertificateMap. This is designed to work even
|
|
54
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
+
*/
|
|
56
|
+
static isInstance(obj: any): obj is CertificateMap;
|
|
57
|
+
/**
|
|
58
|
+
* Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to
|
|
59
|
+
* nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
|
60
|
+
*/
|
|
61
|
+
readonly createTime: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* One or more paragraphs of text description of a certificate map entry.
|
|
64
|
+
*/
|
|
65
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* A list of target proxies that use this Certificate Map
|
|
68
|
+
*/
|
|
69
|
+
readonly gclbTargets: pulumi.Output<outputs.certificatemanager.CertificateMapGclbTarget[]>;
|
|
70
|
+
/**
|
|
71
|
+
* Set of labels associated with a Certificate Map resource.
|
|
72
|
+
*/
|
|
73
|
+
readonly labels: pulumi.Output<{
|
|
74
|
+
[key: string]: string;
|
|
75
|
+
}>;
|
|
76
|
+
/**
|
|
77
|
+
* A user-defined name of the Certificate Map. Certificate Map names must be unique
|
|
78
|
+
* globally and match the pattern `projects/*/locations/*/certificateMaps/*`.
|
|
79
|
+
*/
|
|
80
|
+
readonly name: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The ID of the project in which the resource belongs.
|
|
83
|
+
* If it is not provided, the provider project is used.
|
|
84
|
+
*/
|
|
85
|
+
readonly project: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to
|
|
88
|
+
* nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
|
89
|
+
*/
|
|
90
|
+
readonly updateTime: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Create a CertificateMap resource with the given unique name, arguments, and options.
|
|
93
|
+
*
|
|
94
|
+
* @param name The _unique_ name of the resource.
|
|
95
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
96
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
97
|
+
*/
|
|
98
|
+
constructor(name: string, args?: CertificateMapArgs, opts?: pulumi.CustomResourceOptions);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Input properties used for looking up and filtering CertificateMap resources.
|
|
102
|
+
*/
|
|
103
|
+
export interface CertificateMapState {
|
|
104
|
+
/**
|
|
105
|
+
* Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to
|
|
106
|
+
* nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
|
107
|
+
*/
|
|
108
|
+
createTime?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* One or more paragraphs of text description of a certificate map entry.
|
|
111
|
+
*/
|
|
112
|
+
description?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* A list of target proxies that use this Certificate Map
|
|
115
|
+
*/
|
|
116
|
+
gclbTargets?: pulumi.Input<pulumi.Input<inputs.certificatemanager.CertificateMapGclbTarget>[]>;
|
|
117
|
+
/**
|
|
118
|
+
* Set of labels associated with a Certificate Map resource.
|
|
119
|
+
*/
|
|
120
|
+
labels?: pulumi.Input<{
|
|
121
|
+
[key: string]: pulumi.Input<string>;
|
|
122
|
+
}>;
|
|
123
|
+
/**
|
|
124
|
+
* A user-defined name of the Certificate Map. Certificate Map names must be unique
|
|
125
|
+
* globally and match the pattern `projects/*/locations/*/certificateMaps/*`.
|
|
126
|
+
*/
|
|
127
|
+
name?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* The ID of the project in which the resource belongs.
|
|
130
|
+
* If it is not provided, the provider project is used.
|
|
131
|
+
*/
|
|
132
|
+
project?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to
|
|
135
|
+
* nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
|
136
|
+
*/
|
|
137
|
+
updateTime?: pulumi.Input<string>;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* The set of arguments for constructing a CertificateMap resource.
|
|
141
|
+
*/
|
|
142
|
+
export interface CertificateMapArgs {
|
|
143
|
+
/**
|
|
144
|
+
* One or more paragraphs of text description of a certificate map entry.
|
|
145
|
+
*/
|
|
146
|
+
description?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Set of labels associated with a Certificate Map resource.
|
|
149
|
+
*/
|
|
150
|
+
labels?: pulumi.Input<{
|
|
151
|
+
[key: string]: pulumi.Input<string>;
|
|
152
|
+
}>;
|
|
153
|
+
/**
|
|
154
|
+
* A user-defined name of the Certificate Map. Certificate Map names must be unique
|
|
155
|
+
* globally and match the pattern `projects/*/locations/*/certificateMaps/*`.
|
|
156
|
+
*/
|
|
157
|
+
name?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* The ID of the project in which the resource belongs.
|
|
160
|
+
* If it is not provided, the provider project is used.
|
|
161
|
+
*/
|
|
162
|
+
project?: pulumi.Input<string>;
|
|
163
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
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.CertificateMap = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* CertificateMap defines a collection of certificate configurations,
|
|
10
|
+
* which are usable by any associated target proxies
|
|
11
|
+
*
|
|
12
|
+
* > **Warning:** These resources require allow-listing to use, and are not openly available to all Cloud customers. Engage with your Cloud account team to discuss how to onboard.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
* ### Certificate Manager Certificate Map Basic
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as gcp from "@pulumi/gcp";
|
|
20
|
+
*
|
|
21
|
+
* const _default = new gcp.certificatemanager.CertificateMap("default", {
|
|
22
|
+
* description: "My acceptance test certificate map",
|
|
23
|
+
* labels: {
|
|
24
|
+
* terraform: "true",
|
|
25
|
+
* "acc-test": "true",
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* CertificateMap can be imported using any of these accepted formats
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default projects/{{project}}/locations/global/certificateMaps/{{name}}
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default {{project}}/{{name}}
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* $ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default {{name}}
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
class CertificateMap extends pulumi.CustomResource {
|
|
47
|
+
constructor(name, argsOrState, opts) {
|
|
48
|
+
let resourceInputs = {};
|
|
49
|
+
opts = opts || {};
|
|
50
|
+
if (opts.id) {
|
|
51
|
+
const state = argsOrState;
|
|
52
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
53
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
54
|
+
resourceInputs["gclbTargets"] = state ? state.gclbTargets : undefined;
|
|
55
|
+
resourceInputs["labels"] = state ? state.labels : undefined;
|
|
56
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
57
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
58
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
const args = argsOrState;
|
|
62
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
63
|
+
resourceInputs["labels"] = args ? args.labels : undefined;
|
|
64
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
65
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
66
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["gclbTargets"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
69
|
+
}
|
|
70
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
71
|
+
super(CertificateMap.__pulumiType, name, resourceInputs, opts);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Get an existing CertificateMap resource's state with the given name, ID, and optional extra
|
|
75
|
+
* properties used to qualify the lookup.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resulting resource.
|
|
78
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
79
|
+
* @param state Any extra arguments used during the lookup.
|
|
80
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
81
|
+
*/
|
|
82
|
+
static get(name, id, state, opts) {
|
|
83
|
+
return new CertificateMap(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Returns true if the given object is an instance of CertificateMap. This is designed to work even
|
|
87
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
88
|
+
*/
|
|
89
|
+
static isInstance(obj) {
|
|
90
|
+
if (obj === undefined || obj === null) {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
return obj['__pulumiType'] === CertificateMap.__pulumiType;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.CertificateMap = CertificateMap;
|
|
97
|
+
/** @internal */
|
|
98
|
+
CertificateMap.__pulumiType = 'gcp:certificatemanager/certificateMap:CertificateMap';
|
|
99
|
+
//# sourceMappingURL=certificateMap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"certificateMap.js","sourceRoot":"","sources":["../../certificatemanager/certificateMap.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IAqErD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAA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