@pulumi/gcp 6.24.0 → 6.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accesscontextmanager/accessLevelCondition.d.ts +53 -0
- package/accesscontextmanager/accessLevelCondition.js +53 -0
- package/accesscontextmanager/accessLevelCondition.js.map +1 -1
- package/apigee/envGroup.d.ts +31 -0
- package/apigee/envGroup.js +31 -0
- package/apigee/envGroup.js.map +1 -1
- package/apigee/envGroupAttachment.d.ts +64 -0
- package/apigee/envGroupAttachment.js +64 -0
- package/apigee/envGroupAttachment.js.map +1 -1
- package/apigee/environment.d.ts +32 -0
- package/apigee/environment.js +32 -0
- package/apigee/environment.js.map +1 -1
- package/apigee/instance.d.ts +148 -0
- package/apigee/instance.js +148 -0
- package/apigee/instance.js.map +1 -1
- package/apigee/instanceAttachment.d.ts +64 -0
- package/apigee/instanceAttachment.js +64 -0
- package/apigee/instanceAttachment.js.map +1 -1
- package/bigquery/connection.d.ts +34 -21
- package/bigquery/connection.js +18 -21
- package/bigquery/connection.js.map +1 -1
- package/bigquery/reservationAssignment.d.ts +3 -4
- package/bigquery/reservationAssignment.js +3 -4
- package/bigquery/reservationAssignment.js.map +1 -1
- package/bigquery/routine.d.ts +56 -0
- package/bigquery/routine.js +56 -0
- package/bigquery/routine.js.map +1 -1
- package/certificateauthority/authority.d.ts +12 -0
- package/certificateauthority/authority.js +2 -0
- package/certificateauthority/authority.js.map +1 -1
- package/certificateauthority/getAuthority.d.ts +1 -0
- package/certificateauthority/getAuthority.js.map +1 -1
- package/certificatemanager/certificate.d.ts +230 -0
- package/certificatemanager/certificate.js +116 -0
- package/certificatemanager/certificate.js.map +1 -0
- package/certificatemanager/dnsAuthorization.d.ts +175 -0
- package/certificatemanager/dnsAuthorization.js +109 -0
- package/certificatemanager/dnsAuthorization.js.map +1 -0
- package/certificatemanager/index.d.ts +2 -0
- package/certificatemanager/index.js +42 -0
- package/certificatemanager/index.js.map +1 -0
- package/clouddeploy/deliveryPipeline.d.ts +231 -0
- package/clouddeploy/deliveryPipeline.js +130 -0
- package/clouddeploy/deliveryPipeline.js.map +1 -0
- package/clouddeploy/index.d.ts +2 -0
- package/clouddeploy/index.js +42 -0
- package/clouddeploy/index.js.map +1 -0
- package/clouddeploy/target.d.ts +256 -0
- package/clouddeploy/target.js +125 -0
- package/clouddeploy/target.js.map +1 -0
- package/cloudfunctions/function.d.ts +17 -5
- package/cloudfunctions/function.js +4 -2
- package/cloudfunctions/function.js.map +1 -1
- package/cloudfunctions/getFunction.d.ts +1 -0
- package/cloudfunctions/getFunction.js.map +1 -1
- package/compute/globalAddress.d.ts +18 -0
- package/compute/globalAddress.js +18 -0
- package/compute/globalAddress.js.map +1 -1
- package/compute/organizationSecurityPolicy.d.ts +13 -0
- package/compute/organizationSecurityPolicy.js +13 -0
- package/compute/organizationSecurityPolicy.js.map +1 -1
- package/compute/organizationSecurityPolicyAssociation.d.ts +51 -0
- package/compute/organizationSecurityPolicyAssociation.js +51 -0
- package/compute/organizationSecurityPolicyAssociation.js.map +1 -1
- package/compute/organizationSecurityPolicyRule.d.ts +39 -0
- package/compute/organizationSecurityPolicyRule.js +39 -0
- package/compute/organizationSecurityPolicyRule.js.map +1 -1
- package/compute/perInstanceConfig.d.ts +65 -0
- package/compute/perInstanceConfig.js +65 -0
- package/compute/perInstanceConfig.js.map +1 -1
- package/compute/regionNetworkEndpointGroup.d.ts +30 -3
- package/compute/regionNetworkEndpointGroup.js +14 -0
- package/compute/regionNetworkEndpointGroup.js.map +1 -1
- package/compute/regionPerInstanceConfig.d.ts +70 -0
- package/compute/regionPerInstanceConfig.js +70 -0
- package/compute/regionPerInstanceConfig.js.map +1 -1
- package/compute/routerNat.d.ts +21 -0
- package/compute/routerNat.js +2 -0
- package/compute/routerNat.js.map +1 -1
- package/compute/serviceAttachment.d.ts +23 -0
- package/compute/serviceAttachment.js +4 -0
- package/compute/serviceAttachment.js.map +1 -1
- package/config/vars.d.ts +3 -1
- package/config/vars.js +14 -2
- package/config/vars.js.map +1 -1
- package/diagflow/intent.d.ts +46 -0
- package/diagflow/intent.js +46 -0
- package/diagflow/intent.js.map +1 -1
- package/firebase/project.d.ts +16 -0
- package/firebase/project.js +16 -0
- package/firebase/project.js.map +1 -1
- package/firebase/projectLocation.d.ts +22 -0
- package/firebase/projectLocation.js +22 -0
- package/firebase/projectLocation.js.map +1 -1
- package/firebase/webApp.d.ts +43 -0
- package/firebase/webApp.js +43 -0
- package/firebase/webApp.js.map +1 -1
- package/firestore/document.d.ts +2 -2
- package/firestore/document.js +2 -2
- package/iap/brand.d.ts +20 -0
- package/iap/brand.js +20 -0
- package/iap/brand.js.map +1 -1
- package/iap/client.d.ts +24 -0
- package/iap/client.js +24 -0
- package/iap/client.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +6 -2
- package/index.js.map +1 -1
- package/monitoring/uptimeCheckConfig.d.ts +16 -0
- package/monitoring/uptimeCheckConfig.js +3 -0
- package/monitoring/uptimeCheckConfig.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +6 -2
- package/provider.js +3 -1
- package/provider.js.map +1 -1
- package/tpu/node.d.ts +36 -0
- package/tpu/node.js +36 -0
- package/tpu/node.js.map +1 -1
- package/types/input.d.ts +160 -4
- package/types/output.d.ts +189 -5
- package/vpcaccess/connector.d.ts +2 -1
- package/vpcaccess/connector.js +2 -1
- package/vpcaccess/connector.js.map +1 -1
package/bigquery/routine.d.ts
CHANGED
|
@@ -25,6 +25,62 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
25
25
|
* definitionBody: "CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y);",
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
|
+
* ### Big Query Routine Json
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as gcp from "@pulumi/gcp";
|
|
33
|
+
*
|
|
34
|
+
* const test = new gcp.bigquery.Dataset("test", {datasetId: "dataset_id"});
|
|
35
|
+
* const sproc = new gcp.bigquery.Routine("sproc", {
|
|
36
|
+
* datasetId: test.datasetId,
|
|
37
|
+
* routineId: "tf_test_routine_id",
|
|
38
|
+
* routineType: "SCALAR_FUNCTION",
|
|
39
|
+
* language: "JAVASCRIPT",
|
|
40
|
+
* definitionBody: "CREATE FUNCTION multiplyInputs return x*y;",
|
|
41
|
+
* arguments: [
|
|
42
|
+
* {
|
|
43
|
+
* name: "x",
|
|
44
|
+
* dataType: "{\"typeKind\" : \"FLOAT64\"}",
|
|
45
|
+
* },
|
|
46
|
+
* {
|
|
47
|
+
* name: "y",
|
|
48
|
+
* dataType: "{\"typeKind\" : \"FLOAT64\"}",
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* returnType: "{\"typeKind\" : \"FLOAT64\"}",
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
54
|
+
* ### Big Query Routine Tvf
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as gcp from "@pulumi/gcp";
|
|
59
|
+
*
|
|
60
|
+
* const test = new gcp.bigquery.Dataset("test", {datasetId: "dataset_id"});
|
|
61
|
+
* const sproc = new gcp.bigquery.Routine("sproc", {
|
|
62
|
+
* datasetId: test.datasetId,
|
|
63
|
+
* routineId: "tf_test_routine_id",
|
|
64
|
+
* routineType: "TABLE_VALUED_FUNCTION",
|
|
65
|
+
* language: "SQL",
|
|
66
|
+
* definitionBody: "SELECT 1 + value AS value\n",
|
|
67
|
+
* arguments: [{
|
|
68
|
+
* name: "value",
|
|
69
|
+
* argumentKind: "FIXED_TYPE",
|
|
70
|
+
* dataType: JSON.stringify({
|
|
71
|
+
* typeKind: "INT64",
|
|
72
|
+
* }),
|
|
73
|
+
* }],
|
|
74
|
+
* returnTableType: JSON.stringify({
|
|
75
|
+
* columns: [{
|
|
76
|
+
* name: "value",
|
|
77
|
+
* type: {
|
|
78
|
+
* typeKind: "INT64",
|
|
79
|
+
* },
|
|
80
|
+
* }],
|
|
81
|
+
* }),
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
28
84
|
*
|
|
29
85
|
* ## Import
|
|
30
86
|
*
|
package/bigquery/routine.js
CHANGED
|
@@ -30,6 +30,62 @@ const utilities = require("../utilities");
|
|
|
30
30
|
* definitionBody: "CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y);",
|
|
31
31
|
* });
|
|
32
32
|
* ```
|
|
33
|
+
* ### Big Query Routine Json
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as gcp from "@pulumi/gcp";
|
|
38
|
+
*
|
|
39
|
+
* const test = new gcp.bigquery.Dataset("test", {datasetId: "dataset_id"});
|
|
40
|
+
* const sproc = new gcp.bigquery.Routine("sproc", {
|
|
41
|
+
* datasetId: test.datasetId,
|
|
42
|
+
* routineId: "tf_test_routine_id",
|
|
43
|
+
* routineType: "SCALAR_FUNCTION",
|
|
44
|
+
* language: "JAVASCRIPT",
|
|
45
|
+
* definitionBody: "CREATE FUNCTION multiplyInputs return x*y;",
|
|
46
|
+
* arguments: [
|
|
47
|
+
* {
|
|
48
|
+
* name: "x",
|
|
49
|
+
* dataType: "{\"typeKind\" : \"FLOAT64\"}",
|
|
50
|
+
* },
|
|
51
|
+
* {
|
|
52
|
+
* name: "y",
|
|
53
|
+
* dataType: "{\"typeKind\" : \"FLOAT64\"}",
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* returnType: "{\"typeKind\" : \"FLOAT64\"}",
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
* ### Big Query Routine Tvf
|
|
60
|
+
*
|
|
61
|
+
* ```typescript
|
|
62
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
+
* import * as gcp from "@pulumi/gcp";
|
|
64
|
+
*
|
|
65
|
+
* const test = new gcp.bigquery.Dataset("test", {datasetId: "dataset_id"});
|
|
66
|
+
* const sproc = new gcp.bigquery.Routine("sproc", {
|
|
67
|
+
* datasetId: test.datasetId,
|
|
68
|
+
* routineId: "tf_test_routine_id",
|
|
69
|
+
* routineType: "TABLE_VALUED_FUNCTION",
|
|
70
|
+
* language: "SQL",
|
|
71
|
+
* definitionBody: "SELECT 1 + value AS value\n",
|
|
72
|
+
* arguments: [{
|
|
73
|
+
* name: "value",
|
|
74
|
+
* argumentKind: "FIXED_TYPE",
|
|
75
|
+
* dataType: JSON.stringify({
|
|
76
|
+
* typeKind: "INT64",
|
|
77
|
+
* }),
|
|
78
|
+
* }],
|
|
79
|
+
* returnTableType: JSON.stringify({
|
|
80
|
+
* columns: [{
|
|
81
|
+
* name: "value",
|
|
82
|
+
* type: {
|
|
83
|
+
* typeKind: "INT64",
|
|
84
|
+
* },
|
|
85
|
+
* }],
|
|
86
|
+
* }),
|
|
87
|
+
* });
|
|
88
|
+
* ```
|
|
33
89
|
*
|
|
34
90
|
* ## Import
|
|
35
91
|
*
|
package/bigquery/routine.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routine.js","sourceRoot":"","sources":["../../bigquery/routine.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"routine.js","sourceRoot":"","sources":["../../bigquery/routine.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiGG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IA+G9C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,SAAS,CAAC,OAAO,CAAC;SAC1D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IA7JD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BA+JC;AAjJG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -221,6 +221,10 @@ export declare class Authority extends pulumi.CustomResource {
|
|
|
221
221
|
*/
|
|
222
222
|
readonly createTime: pulumi.Output<string>;
|
|
223
223
|
readonly deletionProtection: pulumi.Output<boolean | undefined>;
|
|
224
|
+
/**
|
|
225
|
+
* Desired state of the CertificateAuthority. Set this field to `STAGED` to create a `STAGED` root CA.
|
|
226
|
+
*/
|
|
227
|
+
readonly desiredState: pulumi.Output<string | undefined>;
|
|
224
228
|
/**
|
|
225
229
|
* The name of a Cloud Storage bucket where this CertificateAuthority will publish content,
|
|
226
230
|
* such as the CA certificate and CRLs. This must be a bucket name, without any prefixes
|
|
@@ -329,6 +333,10 @@ export interface AuthorityState {
|
|
|
329
333
|
*/
|
|
330
334
|
createTime?: pulumi.Input<string>;
|
|
331
335
|
deletionProtection?: pulumi.Input<boolean>;
|
|
336
|
+
/**
|
|
337
|
+
* Desired state of the CertificateAuthority. Set this field to `STAGED` to create a `STAGED` root CA.
|
|
338
|
+
*/
|
|
339
|
+
desiredState?: pulumi.Input<string>;
|
|
332
340
|
/**
|
|
333
341
|
* The name of a Cloud Storage bucket where this CertificateAuthority will publish content,
|
|
334
342
|
* such as the CA certificate and CRLs. This must be a bucket name, without any prefixes
|
|
@@ -420,6 +428,10 @@ export interface AuthorityArgs {
|
|
|
420
428
|
*/
|
|
421
429
|
config: pulumi.Input<inputs.certificateauthority.AuthorityConfig>;
|
|
422
430
|
deletionProtection?: pulumi.Input<boolean>;
|
|
431
|
+
/**
|
|
432
|
+
* Desired state of the CertificateAuthority. Set this field to `STAGED` to create a `STAGED` root CA.
|
|
433
|
+
*/
|
|
434
|
+
desiredState?: pulumi.Input<string>;
|
|
423
435
|
/**
|
|
424
436
|
* The name of a Cloud Storage bucket where this CertificateAuthority will publish content,
|
|
425
437
|
* such as the CA certificate and CRLs. This must be a bucket name, without any prefixes
|
|
@@ -202,6 +202,7 @@ class Authority extends pulumi.CustomResource {
|
|
|
202
202
|
resourceInputs["config"] = state ? state.config : undefined;
|
|
203
203
|
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
204
204
|
resourceInputs["deletionProtection"] = state ? state.deletionProtection : undefined;
|
|
205
|
+
resourceInputs["desiredState"] = state ? state.desiredState : undefined;
|
|
205
206
|
resourceInputs["gcsBucket"] = state ? state.gcsBucket : undefined;
|
|
206
207
|
resourceInputs["ignoreActiveCertificatesOnDeletion"] = state ? state.ignoreActiveCertificatesOnDeletion : undefined;
|
|
207
208
|
resourceInputs["keySpec"] = state ? state.keySpec : undefined;
|
|
@@ -236,6 +237,7 @@ class Authority extends pulumi.CustomResource {
|
|
|
236
237
|
resourceInputs["certificateAuthorityId"] = args ? args.certificateAuthorityId : undefined;
|
|
237
238
|
resourceInputs["config"] = args ? args.config : undefined;
|
|
238
239
|
resourceInputs["deletionProtection"] = args ? args.deletionProtection : undefined;
|
|
240
|
+
resourceInputs["desiredState"] = args ? args.desiredState : undefined;
|
|
239
241
|
resourceInputs["gcsBucket"] = args ? args.gcsBucket : undefined;
|
|
240
242
|
resourceInputs["ignoreActiveCertificatesOnDeletion"] = args ? args.ignoreActiveCertificatesOnDeletion : undefined;
|
|
241
243
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyLG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;
|
|
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;IAsIhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAA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QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IApMD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,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,8BAsMC;AAxLG,gBAAgB;AACO,sBAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -49,6 +49,7 @@ export interface GetAuthorityResult {
|
|
|
49
49
|
readonly configs: outputs.certificateauthority.GetAuthorityConfig[];
|
|
50
50
|
readonly createTime: string;
|
|
51
51
|
readonly deletionProtection: boolean;
|
|
52
|
+
readonly desiredState: string;
|
|
52
53
|
readonly gcsBucket: string;
|
|
53
54
|
/**
|
|
54
55
|
* 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,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CA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}
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Certificate represents a HTTP-reachable backend for an Certificate.
|
|
5
|
+
*
|
|
6
|
+
* > **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.
|
|
7
|
+
*
|
|
8
|
+
* > **Warning:** All arguments including `self_managed.certificate_pem` and `self_managed.private_key_pem` will be stored in the raw
|
|
9
|
+
* state as plain-text. [Read more about sensitive data in state](https://www.terraform.io/language/state/sensitive-data.html).
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### Certificate Manager Certificate Basic
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as gcp from "@pulumi/gcp";
|
|
17
|
+
*
|
|
18
|
+
* const instance = new gcp.certificatemanager.DnsAuthorization("instance", {
|
|
19
|
+
* description: "The default dnss",
|
|
20
|
+
* domain: "subdomain.hashicorptest.com",
|
|
21
|
+
* });
|
|
22
|
+
* const instance2 = new gcp.certificatemanager.DnsAuthorization("instance2", {
|
|
23
|
+
* description: "The default dnss",
|
|
24
|
+
* domain: "subdomain2.hashicorptest.com",
|
|
25
|
+
* });
|
|
26
|
+
* const _default = new gcp.certificatemanager.Certificate("default", {
|
|
27
|
+
* description: "The default cert",
|
|
28
|
+
* scope: "EDGE_CACHE",
|
|
29
|
+
* managed: {
|
|
30
|
+
* domains: [
|
|
31
|
+
* instance.domain,
|
|
32
|
+
* instance2.domain,
|
|
33
|
+
* ],
|
|
34
|
+
* dnsAuthorizations: [
|
|
35
|
+
* instance.id,
|
|
36
|
+
* instance2.id,
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ## Import
|
|
43
|
+
*
|
|
44
|
+
* Certificate can be imported using any of these accepted formats
|
|
45
|
+
*
|
|
46
|
+
* ```sh
|
|
47
|
+
* $ pulumi import gcp:certificatemanager/certificate:Certificate default projects/{{project}}/locations/global/certificates/{{name}}
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* ```sh
|
|
51
|
+
* $ pulumi import gcp:certificatemanager/certificate:Certificate default {{project}}/{{name}}
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* ```sh
|
|
55
|
+
* $ pulumi import gcp:certificatemanager/certificate:Certificate default {{name}}
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
export declare class Certificate extends pulumi.CustomResource {
|
|
59
|
+
/**
|
|
60
|
+
* Get an existing Certificate resource's state with the given name, ID, and optional extra
|
|
61
|
+
* properties used to qualify the lookup.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resulting resource.
|
|
64
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
65
|
+
* @param state Any extra arguments used during the lookup.
|
|
66
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
67
|
+
*/
|
|
68
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CertificateState, opts?: pulumi.CustomResourceOptions): Certificate;
|
|
69
|
+
/**
|
|
70
|
+
* Returns true if the given object is an instance of Certificate. This is designed to work even
|
|
71
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
72
|
+
*/
|
|
73
|
+
static isInstance(obj: any): obj is Certificate;
|
|
74
|
+
/**
|
|
75
|
+
* A human-readable description of the resource.
|
|
76
|
+
*/
|
|
77
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* Set of label tags associated with the EdgeCache resource.
|
|
80
|
+
*/
|
|
81
|
+
readonly labels: pulumi.Output<{
|
|
82
|
+
[key: string]: string;
|
|
83
|
+
} | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* Configuration and state of a Managed Certificate.
|
|
86
|
+
* Certificate Manager provisions and renews Managed Certificates
|
|
87
|
+
* automatically, for as long as it's authorized to do so.
|
|
88
|
+
* Structure is documented below.
|
|
89
|
+
*/
|
|
90
|
+
readonly managed: pulumi.Output<outputs.certificatemanager.CertificateManaged | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* A user-defined name of the certificate. Certificate names must be unique
|
|
93
|
+
* The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
|
|
94
|
+
* and all following characters must be a dash, underscore, letter or digit.
|
|
95
|
+
*/
|
|
96
|
+
readonly name: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The ID of the project in which the resource belongs.
|
|
99
|
+
* If it is not provided, the provider project is used.
|
|
100
|
+
*/
|
|
101
|
+
readonly project: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The scope of the certificate.
|
|
104
|
+
* Certificates with default scope are served from core Google data centers.
|
|
105
|
+
* If unsure, choose this option.
|
|
106
|
+
* Certificates with scope EDGE_CACHE are special-purposed certificates,
|
|
107
|
+
* served from non-core Google data centers.
|
|
108
|
+
* Currently allowed only for managed certificates.
|
|
109
|
+
* Default value is `DEFAULT`.
|
|
110
|
+
* Possible values are `DEFAULT` and `EDGE_CACHE`.
|
|
111
|
+
*/
|
|
112
|
+
readonly scope: pulumi.Output<string | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* Certificate data for a SelfManaged Certificate.
|
|
115
|
+
* SelfManaged Certificates are uploaded by the user. Updating such
|
|
116
|
+
* certificates before they expire remains the user's responsibility.
|
|
117
|
+
* Structure is documented below.
|
|
118
|
+
*/
|
|
119
|
+
readonly selfManaged: pulumi.Output<outputs.certificatemanager.CertificateSelfManaged | undefined>;
|
|
120
|
+
/**
|
|
121
|
+
* Create a Certificate resource with the given unique name, arguments, and options.
|
|
122
|
+
*
|
|
123
|
+
* @param name The _unique_ name of the resource.
|
|
124
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
125
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
126
|
+
*/
|
|
127
|
+
constructor(name: string, args?: CertificateArgs, opts?: pulumi.CustomResourceOptions);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Input properties used for looking up and filtering Certificate resources.
|
|
131
|
+
*/
|
|
132
|
+
export interface CertificateState {
|
|
133
|
+
/**
|
|
134
|
+
* A human-readable description of the resource.
|
|
135
|
+
*/
|
|
136
|
+
description?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* Set of label tags associated with the EdgeCache resource.
|
|
139
|
+
*/
|
|
140
|
+
labels?: pulumi.Input<{
|
|
141
|
+
[key: string]: pulumi.Input<string>;
|
|
142
|
+
}>;
|
|
143
|
+
/**
|
|
144
|
+
* Configuration and state of a Managed Certificate.
|
|
145
|
+
* Certificate Manager provisions and renews Managed Certificates
|
|
146
|
+
* automatically, for as long as it's authorized to do so.
|
|
147
|
+
* Structure is documented below.
|
|
148
|
+
*/
|
|
149
|
+
managed?: pulumi.Input<inputs.certificatemanager.CertificateManaged>;
|
|
150
|
+
/**
|
|
151
|
+
* A user-defined name of the certificate. Certificate names must be unique
|
|
152
|
+
* The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
|
|
153
|
+
* and all following characters must be a dash, underscore, letter or digit.
|
|
154
|
+
*/
|
|
155
|
+
name?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* The ID of the project in which the resource belongs.
|
|
158
|
+
* If it is not provided, the provider project is used.
|
|
159
|
+
*/
|
|
160
|
+
project?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* The scope of the certificate.
|
|
163
|
+
* Certificates with default scope are served from core Google data centers.
|
|
164
|
+
* If unsure, choose this option.
|
|
165
|
+
* Certificates with scope EDGE_CACHE are special-purposed certificates,
|
|
166
|
+
* served from non-core Google data centers.
|
|
167
|
+
* Currently allowed only for managed certificates.
|
|
168
|
+
* Default value is `DEFAULT`.
|
|
169
|
+
* Possible values are `DEFAULT` and `EDGE_CACHE`.
|
|
170
|
+
*/
|
|
171
|
+
scope?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Certificate data for a SelfManaged Certificate.
|
|
174
|
+
* SelfManaged Certificates are uploaded by the user. Updating such
|
|
175
|
+
* certificates before they expire remains the user's responsibility.
|
|
176
|
+
* Structure is documented below.
|
|
177
|
+
*/
|
|
178
|
+
selfManaged?: pulumi.Input<inputs.certificatemanager.CertificateSelfManaged>;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* The set of arguments for constructing a Certificate resource.
|
|
182
|
+
*/
|
|
183
|
+
export interface CertificateArgs {
|
|
184
|
+
/**
|
|
185
|
+
* A human-readable description of the resource.
|
|
186
|
+
*/
|
|
187
|
+
description?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* Set of label tags associated with the EdgeCache resource.
|
|
190
|
+
*/
|
|
191
|
+
labels?: pulumi.Input<{
|
|
192
|
+
[key: string]: pulumi.Input<string>;
|
|
193
|
+
}>;
|
|
194
|
+
/**
|
|
195
|
+
* Configuration and state of a Managed Certificate.
|
|
196
|
+
* Certificate Manager provisions and renews Managed Certificates
|
|
197
|
+
* automatically, for as long as it's authorized to do so.
|
|
198
|
+
* Structure is documented below.
|
|
199
|
+
*/
|
|
200
|
+
managed?: pulumi.Input<inputs.certificatemanager.CertificateManaged>;
|
|
201
|
+
/**
|
|
202
|
+
* A user-defined name of the certificate. Certificate names must be unique
|
|
203
|
+
* The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
|
|
204
|
+
* and all following characters must be a dash, underscore, letter or digit.
|
|
205
|
+
*/
|
|
206
|
+
name?: pulumi.Input<string>;
|
|
207
|
+
/**
|
|
208
|
+
* The ID of the project in which the resource belongs.
|
|
209
|
+
* If it is not provided, the provider project is used.
|
|
210
|
+
*/
|
|
211
|
+
project?: pulumi.Input<string>;
|
|
212
|
+
/**
|
|
213
|
+
* The scope of the certificate.
|
|
214
|
+
* Certificates with default scope are served from core Google data centers.
|
|
215
|
+
* If unsure, choose this option.
|
|
216
|
+
* Certificates with scope EDGE_CACHE are special-purposed certificates,
|
|
217
|
+
* served from non-core Google data centers.
|
|
218
|
+
* Currently allowed only for managed certificates.
|
|
219
|
+
* Default value is `DEFAULT`.
|
|
220
|
+
* Possible values are `DEFAULT` and `EDGE_CACHE`.
|
|
221
|
+
*/
|
|
222
|
+
scope?: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* Certificate data for a SelfManaged Certificate.
|
|
225
|
+
* SelfManaged Certificates are uploaded by the user. Updating such
|
|
226
|
+
* certificates before they expire remains the user's responsibility.
|
|
227
|
+
* Structure is documented below.
|
|
228
|
+
*/
|
|
229
|
+
selfManaged?: pulumi.Input<inputs.certificatemanager.CertificateSelfManaged>;
|
|
230
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
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.Certificate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Certificate represents a HTTP-reachable backend for an Certificate.
|
|
10
|
+
*
|
|
11
|
+
* > **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.
|
|
12
|
+
*
|
|
13
|
+
* > **Warning:** All arguments including `self_managed.certificate_pem` and `self_managed.private_key_pem` will be stored in the raw
|
|
14
|
+
* state as plain-text. [Read more about sensitive data in state](https://www.terraform.io/language/state/sensitive-data.html).
|
|
15
|
+
*
|
|
16
|
+
* ## Example Usage
|
|
17
|
+
* ### Certificate Manager Certificate Basic
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as gcp from "@pulumi/gcp";
|
|
22
|
+
*
|
|
23
|
+
* const instance = new gcp.certificatemanager.DnsAuthorization("instance", {
|
|
24
|
+
* description: "The default dnss",
|
|
25
|
+
* domain: "subdomain.hashicorptest.com",
|
|
26
|
+
* });
|
|
27
|
+
* const instance2 = new gcp.certificatemanager.DnsAuthorization("instance2", {
|
|
28
|
+
* description: "The default dnss",
|
|
29
|
+
* domain: "subdomain2.hashicorptest.com",
|
|
30
|
+
* });
|
|
31
|
+
* const _default = new gcp.certificatemanager.Certificate("default", {
|
|
32
|
+
* description: "The default cert",
|
|
33
|
+
* scope: "EDGE_CACHE",
|
|
34
|
+
* managed: {
|
|
35
|
+
* domains: [
|
|
36
|
+
* instance.domain,
|
|
37
|
+
* instance2.domain,
|
|
38
|
+
* ],
|
|
39
|
+
* dnsAuthorizations: [
|
|
40
|
+
* instance.id,
|
|
41
|
+
* instance2.id,
|
|
42
|
+
* ],
|
|
43
|
+
* },
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ## Import
|
|
48
|
+
*
|
|
49
|
+
* Certificate can be imported using any of these accepted formats
|
|
50
|
+
*
|
|
51
|
+
* ```sh
|
|
52
|
+
* $ pulumi import gcp:certificatemanager/certificate:Certificate default projects/{{project}}/locations/global/certificates/{{name}}
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* ```sh
|
|
56
|
+
* $ pulumi import gcp:certificatemanager/certificate:Certificate default {{project}}/{{name}}
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* ```sh
|
|
60
|
+
* $ pulumi import gcp:certificatemanager/certificate:Certificate default {{name}}
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
class Certificate extends pulumi.CustomResource {
|
|
64
|
+
constructor(name, argsOrState, opts) {
|
|
65
|
+
let resourceInputs = {};
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
if (opts.id) {
|
|
68
|
+
const state = argsOrState;
|
|
69
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
70
|
+
resourceInputs["labels"] = state ? state.labels : undefined;
|
|
71
|
+
resourceInputs["managed"] = state ? state.managed : undefined;
|
|
72
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
73
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
74
|
+
resourceInputs["scope"] = state ? state.scope : undefined;
|
|
75
|
+
resourceInputs["selfManaged"] = state ? state.selfManaged : undefined;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
const args = argsOrState;
|
|
79
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
80
|
+
resourceInputs["labels"] = args ? args.labels : undefined;
|
|
81
|
+
resourceInputs["managed"] = args ? args.managed : undefined;
|
|
82
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
83
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
84
|
+
resourceInputs["scope"] = args ? args.scope : undefined;
|
|
85
|
+
resourceInputs["selfManaged"] = args ? args.selfManaged : undefined;
|
|
86
|
+
}
|
|
87
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
|
+
super(Certificate.__pulumiType, name, resourceInputs, opts);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Get an existing Certificate resource's state with the given name, ID, and optional extra
|
|
92
|
+
* properties used to qualify the lookup.
|
|
93
|
+
*
|
|
94
|
+
* @param name The _unique_ name of the resulting resource.
|
|
95
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
96
|
+
* @param state Any extra arguments used during the lookup.
|
|
97
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
98
|
+
*/
|
|
99
|
+
static get(name, id, state, opts) {
|
|
100
|
+
return new Certificate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Returns true if the given object is an instance of Certificate. This is designed to work even
|
|
104
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
105
|
+
*/
|
|
106
|
+
static isInstance(obj) {
|
|
107
|
+
if (obj === undefined || obj === null) {
|
|
108
|
+
return false;
|
|
109
|
+
}
|
|
110
|
+
return obj['__pulumiType'] === Certificate.__pulumiType;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.Certificate = Certificate;
|
|
114
|
+
/** @internal */
|
|
115
|
+
Certificate.__pulumiType = 'gcp:certificatemanager/certificate:Certificate';
|
|
116
|
+
//# sourceMappingURL=certificate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"certificate.js","sourceRoot":"","sources":["../../certificatemanager/certificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAiFlD,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,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,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAA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