@pulumi/gcp 6.13.0 → 6.15.0-alpha.1646344351
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/bigquery/appProfile.d.ts +15 -0
- package/bigquery/appProfile.js +2 -0
- package/bigquery/appProfile.js.map +1 -1
- package/bigquery/dataset.d.ts +57 -0
- package/bigquery/dataset.js +57 -0
- package/bigquery/dataset.js.map +1 -1
- package/bigquery/datasetAccess.d.ts +34 -0
- package/bigquery/datasetAccess.js +21 -0
- package/bigquery/datasetAccess.js.map +1 -1
- package/certificateauthority/caPool.d.ts +91 -0
- package/certificateauthority/caPool.js +91 -0
- package/certificateauthority/caPool.js.map +1 -1
- package/compute/globalForwardingRule.d.ts +243 -0
- package/compute/globalForwardingRule.js +243 -0
- package/compute/globalForwardingRule.js.map +1 -1
- package/compute/networkEndpoint.d.ts +2 -2
- package/compute/networkEndpoint.js +0 -3
- package/compute/networkEndpoint.js.map +1 -1
- package/compute/networkEndpointGroup.d.ts +40 -3
- package/compute/networkEndpointGroup.js +19 -0
- package/compute/networkEndpointGroup.js.map +1 -1
- package/container/cluster.d.ts +3 -3
- package/container/nodePool.d.ts +15 -0
- package/container/nodePool.js +2 -0
- package/container/nodePool.js.map +1 -1
- package/dataflow/job.d.ts +1 -6
- package/dataflow/job.js +1 -0
- package/dataflow/job.js.map +1 -1
- package/datafusion/instance.d.ts +33 -17
- package/datafusion/instance.js +6 -6
- package/datafusion/instance.js.map +1 -1
- package/dns/index.d.ts +2 -0
- package/dns/index.js +10 -0
- package/dns/index.js.map +1 -1
- package/dns/managedZone.d.ts +1 -1
- package/dns/managedZone.js +1 -1
- package/dns/responsePolicy.d.ts +136 -0
- package/dns/responsePolicy.js +103 -0
- package/dns/responsePolicy.js.map +1 -0
- package/dns/responsePolicyRule.d.ts +166 -0
- package/dns/responsePolicyRule.js +126 -0
- package/dns/responsePolicyRule.js.map +1 -0
- package/eventarc/trigger.d.ts +3 -3
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/serviceaccount/key.d.ts +15 -6
- package/serviceaccount/key.js.map +1 -1
- package/types/input.d.ts +117 -9
- package/types/output.d.ts +124 -10
package/bigquery/appProfile.d.ts
CHANGED
|
@@ -104,6 +104,11 @@ export declare class AppProfile extends pulumi.CustomResource {
|
|
|
104
104
|
* The name of the instance to create the app profile within.
|
|
105
105
|
*/
|
|
106
106
|
readonly instance: pulumi.Output<string | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all
|
|
109
|
+
* clusters are eligible.
|
|
110
|
+
*/
|
|
111
|
+
readonly multiClusterRoutingClusterIds: pulumi.Output<string[] | undefined>;
|
|
107
112
|
/**
|
|
108
113
|
* If true, read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available
|
|
109
114
|
* in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes
|
|
@@ -154,6 +159,11 @@ export interface AppProfileState {
|
|
|
154
159
|
* The name of the instance to create the app profile within.
|
|
155
160
|
*/
|
|
156
161
|
instance?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all
|
|
164
|
+
* clusters are eligible.
|
|
165
|
+
*/
|
|
166
|
+
multiClusterRoutingClusterIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
157
167
|
/**
|
|
158
168
|
* If true, read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available
|
|
159
169
|
* in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes
|
|
@@ -196,6 +206,11 @@ export interface AppProfileArgs {
|
|
|
196
206
|
* The name of the instance to create the app profile within.
|
|
197
207
|
*/
|
|
198
208
|
instance?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all
|
|
211
|
+
* clusters are eligible.
|
|
212
|
+
*/
|
|
213
|
+
multiClusterRoutingClusterIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
199
214
|
/**
|
|
200
215
|
* If true, read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available
|
|
201
216
|
* in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes
|
package/bigquery/appProfile.js
CHANGED
|
@@ -87,6 +87,7 @@ class AppProfile extends pulumi.CustomResource {
|
|
|
87
87
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
88
88
|
resourceInputs["ignoreWarnings"] = state ? state.ignoreWarnings : undefined;
|
|
89
89
|
resourceInputs["instance"] = state ? state.instance : undefined;
|
|
90
|
+
resourceInputs["multiClusterRoutingClusterIds"] = state ? state.multiClusterRoutingClusterIds : undefined;
|
|
90
91
|
resourceInputs["multiClusterRoutingUseAny"] = state ? state.multiClusterRoutingUseAny : undefined;
|
|
91
92
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
92
93
|
resourceInputs["project"] = state ? state.project : undefined;
|
|
@@ -101,6 +102,7 @@ class AppProfile extends pulumi.CustomResource {
|
|
|
101
102
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
102
103
|
resourceInputs["ignoreWarnings"] = args ? args.ignoreWarnings : undefined;
|
|
103
104
|
resourceInputs["instance"] = args ? args.instance : undefined;
|
|
105
|
+
resourceInputs["multiClusterRoutingClusterIds"] = args ? args.multiClusterRoutingClusterIds : undefined;
|
|
104
106
|
resourceInputs["multiClusterRoutingUseAny"] = args ? args.multiClusterRoutingUseAny : undefined;
|
|
105
107
|
resourceInputs["project"] = args ? args.project : undefined;
|
|
106
108
|
resourceInputs["singleClusterRouting"] = args ? args.singleClusterRouting : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appProfile.js","sourceRoot":"","sources":["../../bigquery/appProfile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAE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C,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,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,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;IA7GD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCA+GC;AAjGG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
package/bigquery/dataset.d.ts
CHANGED
|
@@ -49,6 +49,63 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
49
49
|
* },
|
|
50
50
|
* });
|
|
51
51
|
* ```
|
|
52
|
+
* ### Bigquery Dataset Authorized Dataset
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as gcp from "@pulumi/gcp";
|
|
57
|
+
*
|
|
58
|
+
* const bqowner = new gcp.serviceaccount.Account("bqowner", {accountId: "bqowner"});
|
|
59
|
+
* const _public = new gcp.bigquery.Dataset("public", {
|
|
60
|
+
* datasetId: "public",
|
|
61
|
+
* friendlyName: "test",
|
|
62
|
+
* description: "This dataset is public",
|
|
63
|
+
* location: "EU",
|
|
64
|
+
* defaultTableExpirationMs: 3600000,
|
|
65
|
+
* labels: {
|
|
66
|
+
* env: "default",
|
|
67
|
+
* },
|
|
68
|
+
* accesses: [
|
|
69
|
+
* {
|
|
70
|
+
* role: "OWNER",
|
|
71
|
+
* userByEmail: bqowner.email,
|
|
72
|
+
* },
|
|
73
|
+
* {
|
|
74
|
+
* role: "READER",
|
|
75
|
+
* domain: "hashicorp.com",
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* });
|
|
79
|
+
* const dataset = new gcp.bigquery.Dataset("dataset", {
|
|
80
|
+
* datasetId: "private",
|
|
81
|
+
* friendlyName: "test",
|
|
82
|
+
* description: "This dataset is private",
|
|
83
|
+
* location: "EU",
|
|
84
|
+
* defaultTableExpirationMs: 3600000,
|
|
85
|
+
* labels: {
|
|
86
|
+
* env: "default",
|
|
87
|
+
* },
|
|
88
|
+
* accesses: [
|
|
89
|
+
* {
|
|
90
|
+
* role: "OWNER",
|
|
91
|
+
* userByEmail: bqowner.email,
|
|
92
|
+
* },
|
|
93
|
+
* {
|
|
94
|
+
* role: "READER",
|
|
95
|
+
* domain: "hashicorp.com",
|
|
96
|
+
* },
|
|
97
|
+
* {
|
|
98
|
+
* dataset: {
|
|
99
|
+
* dataset: {
|
|
100
|
+
* projectId: _public.project,
|
|
101
|
+
* datasetId: _public.datasetId,
|
|
102
|
+
* },
|
|
103
|
+
* targetTypes: ["VIEWS"],
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* ],
|
|
107
|
+
* });
|
|
108
|
+
* ```
|
|
52
109
|
*
|
|
53
110
|
* ## Import
|
|
54
111
|
*
|
package/bigquery/dataset.js
CHANGED
|
@@ -54,6 +54,63 @@ const utilities = require("../utilities");
|
|
|
54
54
|
* },
|
|
55
55
|
* });
|
|
56
56
|
* ```
|
|
57
|
+
* ### Bigquery Dataset Authorized Dataset
|
|
58
|
+
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as gcp from "@pulumi/gcp";
|
|
62
|
+
*
|
|
63
|
+
* const bqowner = new gcp.serviceaccount.Account("bqowner", {accountId: "bqowner"});
|
|
64
|
+
* const _public = new gcp.bigquery.Dataset("public", {
|
|
65
|
+
* datasetId: "public",
|
|
66
|
+
* friendlyName: "test",
|
|
67
|
+
* description: "This dataset is public",
|
|
68
|
+
* location: "EU",
|
|
69
|
+
* defaultTableExpirationMs: 3600000,
|
|
70
|
+
* labels: {
|
|
71
|
+
* env: "default",
|
|
72
|
+
* },
|
|
73
|
+
* accesses: [
|
|
74
|
+
* {
|
|
75
|
+
* role: "OWNER",
|
|
76
|
+
* userByEmail: bqowner.email,
|
|
77
|
+
* },
|
|
78
|
+
* {
|
|
79
|
+
* role: "READER",
|
|
80
|
+
* domain: "hashicorp.com",
|
|
81
|
+
* },
|
|
82
|
+
* ],
|
|
83
|
+
* });
|
|
84
|
+
* const dataset = new gcp.bigquery.Dataset("dataset", {
|
|
85
|
+
* datasetId: "private",
|
|
86
|
+
* friendlyName: "test",
|
|
87
|
+
* description: "This dataset is private",
|
|
88
|
+
* location: "EU",
|
|
89
|
+
* defaultTableExpirationMs: 3600000,
|
|
90
|
+
* labels: {
|
|
91
|
+
* env: "default",
|
|
92
|
+
* },
|
|
93
|
+
* accesses: [
|
|
94
|
+
* {
|
|
95
|
+
* role: "OWNER",
|
|
96
|
+
* userByEmail: bqowner.email,
|
|
97
|
+
* },
|
|
98
|
+
* {
|
|
99
|
+
* role: "READER",
|
|
100
|
+
* domain: "hashicorp.com",
|
|
101
|
+
* },
|
|
102
|
+
* {
|
|
103
|
+
* dataset: {
|
|
104
|
+
* dataset: {
|
|
105
|
+
* projectId: _public.project,
|
|
106
|
+
* datasetId: _public.datasetId,
|
|
107
|
+
* },
|
|
108
|
+
* targetTypes: ["VIEWS"],
|
|
109
|
+
* },
|
|
110
|
+
* },
|
|
111
|
+
* ],
|
|
112
|
+
* });
|
|
113
|
+
* ```
|
|
57
114
|
*
|
|
58
115
|
* ## Import
|
|
59
116
|
*
|
package/bigquery/dataset.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataset.js","sourceRoot":"","sources":["../../bigquery/dataset.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"dataset.js","sourceRoot":"","sources":["../../bigquery/dataset.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0HG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IA4G9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,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ACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BAwJC;AA1IG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -42,6 +42,25 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
42
42
|
* },
|
|
43
43
|
* });
|
|
44
44
|
* ```
|
|
45
|
+
* ### Bigquery Dataset Access Authorized Dataset
|
|
46
|
+
*
|
|
47
|
+
* ```typescript
|
|
48
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
+
* import * as gcp from "@pulumi/gcp";
|
|
50
|
+
*
|
|
51
|
+
* const _private = new gcp.bigquery.Dataset("private", {datasetId: "private"});
|
|
52
|
+
* const _public = new gcp.bigquery.Dataset("public", {datasetId: "public"});
|
|
53
|
+
* const access = new gcp.bigquery.DatasetAccess("access", {
|
|
54
|
+
* datasetId: _private.datasetId,
|
|
55
|
+
* authorizedDataset: {
|
|
56
|
+
* dataset: {
|
|
57
|
+
* projectId: _public.project,
|
|
58
|
+
* datasetId: _public.datasetId,
|
|
59
|
+
* },
|
|
60
|
+
* targetTypes: ["VIEWS"],
|
|
61
|
+
* },
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
45
64
|
*
|
|
46
65
|
* ## Import
|
|
47
66
|
*
|
|
@@ -68,6 +87,11 @@ export declare class DatasetAccess extends pulumi.CustomResource {
|
|
|
68
87
|
* stored in state as a different member type
|
|
69
88
|
*/
|
|
70
89
|
readonly apiUpdatedMember: pulumi.Output<boolean>;
|
|
90
|
+
/**
|
|
91
|
+
* The dataset this entry applies to
|
|
92
|
+
* Structure is documented below.
|
|
93
|
+
*/
|
|
94
|
+
readonly authorizedDataset: pulumi.Output<outputs.bigquery.DatasetAccessAuthorizedDataset | undefined>;
|
|
71
95
|
/**
|
|
72
96
|
* The ID of the dataset containing this table.
|
|
73
97
|
*/
|
|
@@ -136,6 +160,11 @@ export interface DatasetAccessState {
|
|
|
136
160
|
* stored in state as a different member type
|
|
137
161
|
*/
|
|
138
162
|
apiUpdatedMember?: pulumi.Input<boolean>;
|
|
163
|
+
/**
|
|
164
|
+
* The dataset this entry applies to
|
|
165
|
+
* Structure is documented below.
|
|
166
|
+
*/
|
|
167
|
+
authorizedDataset?: pulumi.Input<inputs.bigquery.DatasetAccessAuthorizedDataset>;
|
|
139
168
|
/**
|
|
140
169
|
* The ID of the dataset containing this table.
|
|
141
170
|
*/
|
|
@@ -191,6 +220,11 @@ export interface DatasetAccessState {
|
|
|
191
220
|
* The set of arguments for constructing a DatasetAccess resource.
|
|
192
221
|
*/
|
|
193
222
|
export interface DatasetAccessArgs {
|
|
223
|
+
/**
|
|
224
|
+
* The dataset this entry applies to
|
|
225
|
+
* Structure is documented below.
|
|
226
|
+
*/
|
|
227
|
+
authorizedDataset?: pulumi.Input<inputs.bigquery.DatasetAccessAuthorizedDataset>;
|
|
194
228
|
/**
|
|
195
229
|
* The ID of the dataset containing this table.
|
|
196
230
|
*/
|
|
@@ -47,6 +47,25 @@ const utilities = require("../utilities");
|
|
|
47
47
|
* },
|
|
48
48
|
* });
|
|
49
49
|
* ```
|
|
50
|
+
* ### Bigquery Dataset Access Authorized Dataset
|
|
51
|
+
*
|
|
52
|
+
* ```typescript
|
|
53
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
+
* import * as gcp from "@pulumi/gcp";
|
|
55
|
+
*
|
|
56
|
+
* const _private = new gcp.bigquery.Dataset("private", {datasetId: "private"});
|
|
57
|
+
* const _public = new gcp.bigquery.Dataset("public", {datasetId: "public"});
|
|
58
|
+
* const access = new gcp.bigquery.DatasetAccess("access", {
|
|
59
|
+
* datasetId: _private.datasetId,
|
|
60
|
+
* authorizedDataset: {
|
|
61
|
+
* dataset: {
|
|
62
|
+
* projectId: _public.project,
|
|
63
|
+
* datasetId: _public.datasetId,
|
|
64
|
+
* },
|
|
65
|
+
* targetTypes: ["VIEWS"],
|
|
66
|
+
* },
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
50
69
|
*
|
|
51
70
|
* ## Import
|
|
52
71
|
*
|
|
@@ -59,6 +78,7 @@ class DatasetAccess extends pulumi.CustomResource {
|
|
|
59
78
|
if (opts.id) {
|
|
60
79
|
const state = argsOrState;
|
|
61
80
|
resourceInputs["apiUpdatedMember"] = state ? state.apiUpdatedMember : undefined;
|
|
81
|
+
resourceInputs["authorizedDataset"] = state ? state.authorizedDataset : undefined;
|
|
62
82
|
resourceInputs["datasetId"] = state ? state.datasetId : undefined;
|
|
63
83
|
resourceInputs["domain"] = state ? state.domain : undefined;
|
|
64
84
|
resourceInputs["groupByEmail"] = state ? state.groupByEmail : undefined;
|
|
@@ -74,6 +94,7 @@ class DatasetAccess extends pulumi.CustomResource {
|
|
|
74
94
|
if ((!args || args.datasetId === undefined) && !opts.urn) {
|
|
75
95
|
throw new Error("Missing required property 'datasetId'");
|
|
76
96
|
}
|
|
97
|
+
resourceInputs["authorizedDataset"] = args ? args.authorizedDataset : undefined;
|
|
77
98
|
resourceInputs["datasetId"] = args ? args.datasetId : undefined;
|
|
78
99
|
resourceInputs["domain"] = args ? args.domain : undefined;
|
|
79
100
|
resourceInputs["groupByEmail"] = args ? args.groupByEmail : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasetAccess.js","sourceRoot":"","sources":["../../bigquery/datasetAccess.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"datasetAccess.js","sourceRoot":"","sources":["../../bigquery/datasetAccess.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAa,aAAc,SA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,CAAC,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,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;IAnID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCAqIC;AAvHG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -121,6 +121,97 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
121
121
|
* tier: "ENTERPRISE",
|
|
122
122
|
* });
|
|
123
123
|
* ```
|
|
124
|
+
* ### Privateca Quickstart
|
|
125
|
+
*
|
|
126
|
+
* ```typescript
|
|
127
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
128
|
+
* import * as gcp from "@pulumi/gcp";
|
|
129
|
+
* import * as tls from "@pulumi/tls";
|
|
130
|
+
*
|
|
131
|
+
* const examplePrivateKey = new tls.PrivateKey("examplePrivateKey", {algorithm: "RSA"});
|
|
132
|
+
* const exampleCertRequest = new tls.CertRequest("exampleCertRequest", {
|
|
133
|
+
* keyAlgorithm: "RSA",
|
|
134
|
+
* privateKeyPem: examplePrivateKey.privateKeyPem,
|
|
135
|
+
* subjects: [{
|
|
136
|
+
* commonName: "example.com",
|
|
137
|
+
* organization: "ACME Examples, Inc",
|
|
138
|
+
* }],
|
|
139
|
+
* });
|
|
140
|
+
* const defaultCaPool = new gcp.certificateauthority.CaPool("defaultCaPool", {
|
|
141
|
+
* location: "us-central1",
|
|
142
|
+
* tier: "ENTERPRISE",
|
|
143
|
+
* project: "project-id",
|
|
144
|
+
* publishingOptions: {
|
|
145
|
+
* publishCaCert: true,
|
|
146
|
+
* publishCrl: true,
|
|
147
|
+
* },
|
|
148
|
+
* labels: {
|
|
149
|
+
* foo: "bar",
|
|
150
|
+
* },
|
|
151
|
+
* issuancePolicy: {
|
|
152
|
+
* baselineValues: {
|
|
153
|
+
* caOptions: {
|
|
154
|
+
* isCa: false,
|
|
155
|
+
* },
|
|
156
|
+
* keyUsage: {
|
|
157
|
+
* baseKeyUsage: {
|
|
158
|
+
* digitalSignature: true,
|
|
159
|
+
* keyEncipherment: true,
|
|
160
|
+
* },
|
|
161
|
+
* extendedKeyUsage: {
|
|
162
|
+
* serverAuth: true,
|
|
163
|
+
* },
|
|
164
|
+
* },
|
|
165
|
+
* },
|
|
166
|
+
* },
|
|
167
|
+
* });
|
|
168
|
+
* const test_ca = new gcp.certificateauthority.Authority("test-ca", {
|
|
169
|
+
* certificateAuthorityId: "my-authority",
|
|
170
|
+
* location: "us-central1",
|
|
171
|
+
* project: "project-id",
|
|
172
|
+
* pool: google_privateca_ca_pool.pool.name,
|
|
173
|
+
* config: {
|
|
174
|
+
* subjectConfig: {
|
|
175
|
+
* subject: {
|
|
176
|
+
* countryCode: "us",
|
|
177
|
+
* organization: "google",
|
|
178
|
+
* organizationalUnit: "enterprise",
|
|
179
|
+
* locality: "mountain view",
|
|
180
|
+
* province: "california",
|
|
181
|
+
* streetAddress: "1600 amphitheatre parkway",
|
|
182
|
+
* postalCode: "94109",
|
|
183
|
+
* commonName: "my-certificate-authority",
|
|
184
|
+
* },
|
|
185
|
+
* },
|
|
186
|
+
* x509Config: {
|
|
187
|
+
* caOptions: {
|
|
188
|
+
* isCa: true,
|
|
189
|
+
* },
|
|
190
|
+
* keyUsage: {
|
|
191
|
+
* baseKeyUsage: {
|
|
192
|
+
* certSign: true,
|
|
193
|
+
* crlSign: true,
|
|
194
|
+
* },
|
|
195
|
+
* extendedKeyUsage: {
|
|
196
|
+
* serverAuth: true,
|
|
197
|
+
* },
|
|
198
|
+
* },
|
|
199
|
+
* },
|
|
200
|
+
* },
|
|
201
|
+
* type: "SELF_SIGNED",
|
|
202
|
+
* keySpec: {
|
|
203
|
+
* algorithm: "RSA_PKCS1_4096_SHA256",
|
|
204
|
+
* },
|
|
205
|
+
* });
|
|
206
|
+
* const defaultCertificate = new gcp.certificateauthority.Certificate("defaultCertificate", {
|
|
207
|
+
* pool: google_privateca_ca_pool.pool.name,
|
|
208
|
+
* certificateAuthority: test_ca.certificateAuthorityId,
|
|
209
|
+
* project: "project-id",
|
|
210
|
+
* location: "us-central1",
|
|
211
|
+
* lifetime: "860s",
|
|
212
|
+
* pemCsr: exampleCertRequest.certRequestPem,
|
|
213
|
+
* });
|
|
214
|
+
* ```
|
|
124
215
|
*
|
|
125
216
|
* ## Import
|
|
126
217
|
*
|
|
@@ -126,6 +126,97 @@ const utilities = require("../utilities");
|
|
|
126
126
|
* tier: "ENTERPRISE",
|
|
127
127
|
* });
|
|
128
128
|
* ```
|
|
129
|
+
* ### Privateca Quickstart
|
|
130
|
+
*
|
|
131
|
+
* ```typescript
|
|
132
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
133
|
+
* import * as gcp from "@pulumi/gcp";
|
|
134
|
+
* import * as tls from "@pulumi/tls";
|
|
135
|
+
*
|
|
136
|
+
* const examplePrivateKey = new tls.PrivateKey("examplePrivateKey", {algorithm: "RSA"});
|
|
137
|
+
* const exampleCertRequest = new tls.CertRequest("exampleCertRequest", {
|
|
138
|
+
* keyAlgorithm: "RSA",
|
|
139
|
+
* privateKeyPem: examplePrivateKey.privateKeyPem,
|
|
140
|
+
* subjects: [{
|
|
141
|
+
* commonName: "example.com",
|
|
142
|
+
* organization: "ACME Examples, Inc",
|
|
143
|
+
* }],
|
|
144
|
+
* });
|
|
145
|
+
* const defaultCaPool = new gcp.certificateauthority.CaPool("defaultCaPool", {
|
|
146
|
+
* location: "us-central1",
|
|
147
|
+
* tier: "ENTERPRISE",
|
|
148
|
+
* project: "project-id",
|
|
149
|
+
* publishingOptions: {
|
|
150
|
+
* publishCaCert: true,
|
|
151
|
+
* publishCrl: true,
|
|
152
|
+
* },
|
|
153
|
+
* labels: {
|
|
154
|
+
* foo: "bar",
|
|
155
|
+
* },
|
|
156
|
+
* issuancePolicy: {
|
|
157
|
+
* baselineValues: {
|
|
158
|
+
* caOptions: {
|
|
159
|
+
* isCa: false,
|
|
160
|
+
* },
|
|
161
|
+
* keyUsage: {
|
|
162
|
+
* baseKeyUsage: {
|
|
163
|
+
* digitalSignature: true,
|
|
164
|
+
* keyEncipherment: true,
|
|
165
|
+
* },
|
|
166
|
+
* extendedKeyUsage: {
|
|
167
|
+
* serverAuth: true,
|
|
168
|
+
* },
|
|
169
|
+
* },
|
|
170
|
+
* },
|
|
171
|
+
* },
|
|
172
|
+
* });
|
|
173
|
+
* const test_ca = new gcp.certificateauthority.Authority("test-ca", {
|
|
174
|
+
* certificateAuthorityId: "my-authority",
|
|
175
|
+
* location: "us-central1",
|
|
176
|
+
* project: "project-id",
|
|
177
|
+
* pool: google_privateca_ca_pool.pool.name,
|
|
178
|
+
* config: {
|
|
179
|
+
* subjectConfig: {
|
|
180
|
+
* subject: {
|
|
181
|
+
* countryCode: "us",
|
|
182
|
+
* organization: "google",
|
|
183
|
+
* organizationalUnit: "enterprise",
|
|
184
|
+
* locality: "mountain view",
|
|
185
|
+
* province: "california",
|
|
186
|
+
* streetAddress: "1600 amphitheatre parkway",
|
|
187
|
+
* postalCode: "94109",
|
|
188
|
+
* commonName: "my-certificate-authority",
|
|
189
|
+
* },
|
|
190
|
+
* },
|
|
191
|
+
* x509Config: {
|
|
192
|
+
* caOptions: {
|
|
193
|
+
* isCa: true,
|
|
194
|
+
* },
|
|
195
|
+
* keyUsage: {
|
|
196
|
+
* baseKeyUsage: {
|
|
197
|
+
* certSign: true,
|
|
198
|
+
* crlSign: true,
|
|
199
|
+
* },
|
|
200
|
+
* extendedKeyUsage: {
|
|
201
|
+
* serverAuth: true,
|
|
202
|
+
* },
|
|
203
|
+
* },
|
|
204
|
+
* },
|
|
205
|
+
* },
|
|
206
|
+
* type: "SELF_SIGNED",
|
|
207
|
+
* keySpec: {
|
|
208
|
+
* algorithm: "RSA_PKCS1_4096_SHA256",
|
|
209
|
+
* },
|
|
210
|
+
* });
|
|
211
|
+
* const defaultCertificate = new gcp.certificateauthority.Certificate("defaultCertificate", {
|
|
212
|
+
* pool: google_privateca_ca_pool.pool.name,
|
|
213
|
+
* certificateAuthority: test_ca.certificateAuthorityId,
|
|
214
|
+
* project: "project-id",
|
|
215
|
+
* location: "us-central1",
|
|
216
|
+
* lifetime: "860s",
|
|
217
|
+
* pemCsr: exampleCertRequest.certRequestPem,
|
|
218
|
+
* });
|
|
219
|
+
* ```
|
|
129
220
|
*
|
|
130
221
|
* ## Import
|
|
131
222
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"caPool.js","sourceRoot":"","sources":["../../certificateauthority/caPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"ca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