@pulumi/gcp 6.14.0 → 6.15.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.
Files changed (71) hide show
  1. package/apigee/endpointAttachment.d.ts +161 -0
  2. package/apigee/endpointAttachment.js +127 -0
  3. package/apigee/endpointAttachment.js.map +1 -0
  4. package/apigee/index.d.ts +1 -0
  5. package/apigee/index.js +5 -0
  6. package/apigee/index.js.map +1 -1
  7. package/certificateauthority/caPool.d.ts +91 -0
  8. package/certificateauthority/caPool.js +91 -0
  9. package/certificateauthority/caPool.js.map +1 -1
  10. package/certificateauthority/getAuthority.d.ts +97 -0
  11. package/certificateauthority/getAuthority.js +43 -0
  12. package/certificateauthority/getAuthority.js.map +1 -0
  13. package/certificateauthority/index.d.ts +1 -0
  14. package/certificateauthority/index.js +1 -0
  15. package/certificateauthority/index.js.map +1 -1
  16. package/cloudfunctionsv2/function.d.ts +301 -0
  17. package/cloudfunctionsv2/function.js +186 -0
  18. package/cloudfunctionsv2/function.js.map +1 -0
  19. package/cloudfunctionsv2/index.d.ts +1 -0
  20. package/cloudfunctionsv2/index.js +37 -0
  21. package/cloudfunctionsv2/index.js.map +1 -0
  22. package/composer/environment.d.ts +1 -1
  23. package/compute/address.d.ts +3 -3
  24. package/compute/globalForwardingRule.d.ts +153 -0
  25. package/compute/globalForwardingRule.js +153 -0
  26. package/compute/globalForwardingRule.js.map +1 -1
  27. package/compute/index.d.ts +3 -0
  28. package/compute/index.js +15 -0
  29. package/compute/index.js.map +1 -1
  30. package/compute/regionBackendServiceIamBinding.d.ts +57 -0
  31. package/compute/regionBackendServiceIamBinding.js +67 -0
  32. package/compute/regionBackendServiceIamBinding.js.map +1 -0
  33. package/compute/regionBackendServiceIamMember.d.ts +57 -0
  34. package/compute/regionBackendServiceIamMember.js +67 -0
  35. package/compute/regionBackendServiceIamMember.js.map +1 -0
  36. package/compute/regionBackendServiceIamPolicy.d.ts +50 -0
  37. package/compute/regionBackendServiceIamPolicy.js +60 -0
  38. package/compute/regionBackendServiceIamPolicy.js.map +1 -0
  39. package/config/vars.d.ts +1 -0
  40. package/config/vars.js +6 -0
  41. package/config/vars.js.map +1 -1
  42. package/container/cluster.d.ts +1 -1
  43. package/dns/getRecordSet.d.ts +83 -0
  44. package/dns/getRecordSet.js +48 -0
  45. package/dns/getRecordSet.js.map +1 -0
  46. package/dns/index.d.ts +1 -0
  47. package/dns/index.js +1 -0
  48. package/dns/index.js.map +1 -1
  49. package/index.d.ts +2 -1
  50. package/index.js +4 -2
  51. package/index.js.map +1 -1
  52. package/package.json +2 -2
  53. package/package.json.dev +2 -2
  54. package/provider.d.ts +2 -0
  55. package/provider.js +1 -0
  56. package/provider.js.map +1 -1
  57. package/serviceaccount/iambinding.d.ts +12 -12
  58. package/serviceaccount/iambinding.js +12 -12
  59. package/serviceaccount/iammember.d.ts +12 -12
  60. package/serviceaccount/iammember.js +12 -12
  61. package/serviceaccount/iampolicy.d.ts +12 -12
  62. package/serviceaccount/iampolicy.js +12 -12
  63. package/sql/database.d.ts +1 -0
  64. package/sql/database.js +1 -0
  65. package/sql/database.js.map +1 -1
  66. package/sql/user.d.ts +6 -3
  67. package/sql/user.js.map +1 -1
  68. package/storage/getTransferProjectServieAccount.d.ts +5 -1
  69. package/storage/getTransferProjectServieAccount.js.map +1 -1
  70. package/types/input.d.ts +236 -3
  71. package/types/output.d.ts +327 -4
@@ -0,0 +1,161 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Apigee Endpoint Attachment.
4
+ *
5
+ * To get more information about EndpointAttachment, see:
6
+ *
7
+ * * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.endpointAttachments/create)
8
+ * * How-to Guides
9
+ * * [Creating an environment](https://cloud.google.com/apigee/docs/api-platform/get-started/create-environment)
10
+ *
11
+ * ## Example Usage
12
+ * ### Apigee Endpoint Attachment Basic
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as gcp from "@pulumi/gcp";
17
+ *
18
+ * const current = gcp.organizations.getClientConfig({});
19
+ * const apigeeNetwork = new gcp.compute.Network("apigeeNetwork", {});
20
+ * const apigeeRange = new gcp.compute.GlobalAddress("apigeeRange", {
21
+ * purpose: "VPC_PEERING",
22
+ * addressType: "INTERNAL",
23
+ * prefixLength: 16,
24
+ * network: apigeeNetwork.id,
25
+ * });
26
+ * const apigeeVpcConnection = new gcp.servicenetworking.Connection("apigeeVpcConnection", {
27
+ * network: apigeeNetwork.id,
28
+ * service: "servicenetworking.googleapis.com",
29
+ * reservedPeeringRanges: [apigeeRange.name],
30
+ * });
31
+ * const apigeeOrg = new gcp.apigee.Organization("apigeeOrg", {
32
+ * analyticsRegion: "us-central1",
33
+ * projectId: current.then(current => current.project),
34
+ * authorizedNetwork: apigeeNetwork.id,
35
+ * }, {
36
+ * dependsOn: [apigeeVpcConnection],
37
+ * });
38
+ * const apigeeEndpointAttachment = new gcp.apigee.EndpointAttachment("apigeeEndpointAttachment", {
39
+ * orgId: apigeeOrg.id,
40
+ * endpointAttachmentId: "test1",
41
+ * location: "{google_compute_service_attachment location}",
42
+ * serviceAttachment: "{google_compute_service_attachment id}",
43
+ * });
44
+ * ```
45
+ *
46
+ * ## Import
47
+ *
48
+ * EndpointAttachment can be imported using any of these accepted formats
49
+ *
50
+ * ```sh
51
+ * $ pulumi import gcp:apigee/endpointAttachment:EndpointAttachment default {{org_id}}/endpointAttachments/{{endpoint_attachment_id}}
52
+ * ```
53
+ *
54
+ * ```sh
55
+ * $ pulumi import gcp:apigee/endpointAttachment:EndpointAttachment default {{org_id}}/{{endpoint_attachment_id}}
56
+ * ```
57
+ */
58
+ export declare class EndpointAttachment extends pulumi.CustomResource {
59
+ /**
60
+ * Get an existing EndpointAttachment 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?: EndpointAttachmentState, opts?: pulumi.CustomResourceOptions): EndpointAttachment;
69
+ /**
70
+ * Returns true if the given object is an instance of EndpointAttachment. 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 EndpointAttachment;
74
+ /**
75
+ * ID of the endpoint attachment.
76
+ */
77
+ readonly endpointAttachmentId: pulumi.Output<string>;
78
+ /**
79
+ * Host that can be used in either HTTP Target Endpoint directly, or as the host in Target Server.
80
+ */
81
+ readonly host: pulumi.Output<string>;
82
+ /**
83
+ * Location of the endpoint attachment.
84
+ */
85
+ readonly location: pulumi.Output<string>;
86
+ /**
87
+ * Name of the Endpoint Attachment in the following format:
88
+ * organizations/{organization}/endpointAttachments/{endpointAttachment}.
89
+ */
90
+ readonly name: pulumi.Output<string>;
91
+ /**
92
+ * The Apigee Organization associated with the Apigee instance,
93
+ * in the format `organizations/{{org_name}}`.
94
+ */
95
+ readonly orgId: pulumi.Output<string>;
96
+ /**
97
+ * Format: projects/*&#47;regions/*&#47;serviceAttachments/*
98
+ */
99
+ readonly serviceAttachment: pulumi.Output<string>;
100
+ /**
101
+ * Create a EndpointAttachment resource with the given unique name, arguments, and options.
102
+ *
103
+ * @param name The _unique_ name of the resource.
104
+ * @param args The arguments to use to populate this resource's properties.
105
+ * @param opts A bag of options that control this resource's behavior.
106
+ */
107
+ constructor(name: string, args: EndpointAttachmentArgs, opts?: pulumi.CustomResourceOptions);
108
+ }
109
+ /**
110
+ * Input properties used for looking up and filtering EndpointAttachment resources.
111
+ */
112
+ export interface EndpointAttachmentState {
113
+ /**
114
+ * ID of the endpoint attachment.
115
+ */
116
+ endpointAttachmentId?: pulumi.Input<string>;
117
+ /**
118
+ * Host that can be used in either HTTP Target Endpoint directly, or as the host in Target Server.
119
+ */
120
+ host?: pulumi.Input<string>;
121
+ /**
122
+ * Location of the endpoint attachment.
123
+ */
124
+ location?: pulumi.Input<string>;
125
+ /**
126
+ * Name of the Endpoint Attachment in the following format:
127
+ * organizations/{organization}/endpointAttachments/{endpointAttachment}.
128
+ */
129
+ name?: pulumi.Input<string>;
130
+ /**
131
+ * The Apigee Organization associated with the Apigee instance,
132
+ * in the format `organizations/{{org_name}}`.
133
+ */
134
+ orgId?: pulumi.Input<string>;
135
+ /**
136
+ * Format: projects/*&#47;regions/*&#47;serviceAttachments/*
137
+ */
138
+ serviceAttachment?: pulumi.Input<string>;
139
+ }
140
+ /**
141
+ * The set of arguments for constructing a EndpointAttachment resource.
142
+ */
143
+ export interface EndpointAttachmentArgs {
144
+ /**
145
+ * ID of the endpoint attachment.
146
+ */
147
+ endpointAttachmentId: pulumi.Input<string>;
148
+ /**
149
+ * Location of the endpoint attachment.
150
+ */
151
+ location: pulumi.Input<string>;
152
+ /**
153
+ * The Apigee Organization associated with the Apigee instance,
154
+ * in the format `organizations/{{org_name}}`.
155
+ */
156
+ orgId: pulumi.Input<string>;
157
+ /**
158
+ * Format: projects/*&#47;regions/*&#47;serviceAttachments/*
159
+ */
160
+ serviceAttachment: pulumi.Input<string>;
161
+ }
@@ -0,0 +1,127 @@
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.EndpointAttachment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Apigee Endpoint Attachment.
10
+ *
11
+ * To get more information about EndpointAttachment, see:
12
+ *
13
+ * * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.endpointAttachments/create)
14
+ * * How-to Guides
15
+ * * [Creating an environment](https://cloud.google.com/apigee/docs/api-platform/get-started/create-environment)
16
+ *
17
+ * ## Example Usage
18
+ * ### Apigee Endpoint Attachment Basic
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as gcp from "@pulumi/gcp";
23
+ *
24
+ * const current = gcp.organizations.getClientConfig({});
25
+ * const apigeeNetwork = new gcp.compute.Network("apigeeNetwork", {});
26
+ * const apigeeRange = new gcp.compute.GlobalAddress("apigeeRange", {
27
+ * purpose: "VPC_PEERING",
28
+ * addressType: "INTERNAL",
29
+ * prefixLength: 16,
30
+ * network: apigeeNetwork.id,
31
+ * });
32
+ * const apigeeVpcConnection = new gcp.servicenetworking.Connection("apigeeVpcConnection", {
33
+ * network: apigeeNetwork.id,
34
+ * service: "servicenetworking.googleapis.com",
35
+ * reservedPeeringRanges: [apigeeRange.name],
36
+ * });
37
+ * const apigeeOrg = new gcp.apigee.Organization("apigeeOrg", {
38
+ * analyticsRegion: "us-central1",
39
+ * projectId: current.then(current => current.project),
40
+ * authorizedNetwork: apigeeNetwork.id,
41
+ * }, {
42
+ * dependsOn: [apigeeVpcConnection],
43
+ * });
44
+ * const apigeeEndpointAttachment = new gcp.apigee.EndpointAttachment("apigeeEndpointAttachment", {
45
+ * orgId: apigeeOrg.id,
46
+ * endpointAttachmentId: "test1",
47
+ * location: "{google_compute_service_attachment location}",
48
+ * serviceAttachment: "{google_compute_service_attachment id}",
49
+ * });
50
+ * ```
51
+ *
52
+ * ## Import
53
+ *
54
+ * EndpointAttachment can be imported using any of these accepted formats
55
+ *
56
+ * ```sh
57
+ * $ pulumi import gcp:apigee/endpointAttachment:EndpointAttachment default {{org_id}}/endpointAttachments/{{endpoint_attachment_id}}
58
+ * ```
59
+ *
60
+ * ```sh
61
+ * $ pulumi import gcp:apigee/endpointAttachment:EndpointAttachment default {{org_id}}/{{endpoint_attachment_id}}
62
+ * ```
63
+ */
64
+ class EndpointAttachment extends pulumi.CustomResource {
65
+ constructor(name, argsOrState, opts) {
66
+ let resourceInputs = {};
67
+ opts = opts || {};
68
+ if (opts.id) {
69
+ const state = argsOrState;
70
+ resourceInputs["endpointAttachmentId"] = state ? state.endpointAttachmentId : undefined;
71
+ resourceInputs["host"] = state ? state.host : undefined;
72
+ resourceInputs["location"] = state ? state.location : undefined;
73
+ resourceInputs["name"] = state ? state.name : undefined;
74
+ resourceInputs["orgId"] = state ? state.orgId : undefined;
75
+ resourceInputs["serviceAttachment"] = state ? state.serviceAttachment : undefined;
76
+ }
77
+ else {
78
+ const args = argsOrState;
79
+ if ((!args || args.endpointAttachmentId === undefined) && !opts.urn) {
80
+ throw new Error("Missing required property 'endpointAttachmentId'");
81
+ }
82
+ if ((!args || args.location === undefined) && !opts.urn) {
83
+ throw new Error("Missing required property 'location'");
84
+ }
85
+ if ((!args || args.orgId === undefined) && !opts.urn) {
86
+ throw new Error("Missing required property 'orgId'");
87
+ }
88
+ if ((!args || args.serviceAttachment === undefined) && !opts.urn) {
89
+ throw new Error("Missing required property 'serviceAttachment'");
90
+ }
91
+ resourceInputs["endpointAttachmentId"] = args ? args.endpointAttachmentId : undefined;
92
+ resourceInputs["location"] = args ? args.location : undefined;
93
+ resourceInputs["orgId"] = args ? args.orgId : undefined;
94
+ resourceInputs["serviceAttachment"] = args ? args.serviceAttachment : undefined;
95
+ resourceInputs["host"] = undefined /*out*/;
96
+ resourceInputs["name"] = undefined /*out*/;
97
+ }
98
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
99
+ super(EndpointAttachment.__pulumiType, name, resourceInputs, opts);
100
+ }
101
+ /**
102
+ * Get an existing EndpointAttachment resource's state with the given name, ID, and optional extra
103
+ * properties used to qualify the lookup.
104
+ *
105
+ * @param name The _unique_ name of the resulting resource.
106
+ * @param id The _unique_ provider ID of the resource to lookup.
107
+ * @param state Any extra arguments used during the lookup.
108
+ * @param opts Optional settings to control the behavior of the CustomResource.
109
+ */
110
+ static get(name, id, state, opts) {
111
+ return new EndpointAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
112
+ }
113
+ /**
114
+ * Returns true if the given object is an instance of EndpointAttachment. This is designed to work even
115
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
116
+ */
117
+ static isInstance(obj) {
118
+ if (obj === undefined || obj === null) {
119
+ return false;
120
+ }
121
+ return obj['__pulumiType'] === EndpointAttachment.__pulumiType;
122
+ }
123
+ }
124
+ exports.EndpointAttachment = EndpointAttachment;
125
+ /** @internal */
126
+ EndpointAttachment.__pulumiType = 'gcp:apigee/endpointAttachment:EndpointAttachment';
127
+ //# sourceMappingURL=endpointAttachment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpointAttachment.js","sourceRoot":"","sources":["../../apigee/endpointAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IA+DzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,C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C,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,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,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;IAhGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDAkGC;AApFG,gBAAgB;AACO,+BAAY,GAAG,kDAAkD,CAAC"}
package/apigee/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from "./endpointAttachment";
1
2
  export * from "./envGroup";
2
3
  export * from "./envGroupAttachment";
3
4
  export * from "./environment";
package/apigee/index.js CHANGED
@@ -19,6 +19,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
19
19
  const pulumi = require("@pulumi/pulumi");
20
20
  const utilities = require("../utilities");
21
21
  // Export members:
22
+ __exportStar(require("./endpointAttachment"), exports);
22
23
  __exportStar(require("./envGroup"), exports);
23
24
  __exportStar(require("./envGroupAttachment"), exports);
24
25
  __exportStar(require("./environment"), exports);
@@ -29,6 +30,7 @@ __exportStar(require("./instance"), exports);
29
30
  __exportStar(require("./instanceAttachment"), exports);
30
31
  __exportStar(require("./organization"), exports);
31
32
  // Import resources to register:
33
+ const endpointAttachment_1 = require("./endpointAttachment");
32
34
  const envGroup_1 = require("./envGroup");
33
35
  const envGroupAttachment_1 = require("./envGroupAttachment");
34
36
  const environment_1 = require("./environment");
@@ -42,6 +44,8 @@ const _module = {
42
44
  version: utilities.getVersion(),
43
45
  construct: (name, type, urn) => {
44
46
  switch (type) {
47
+ case "gcp:apigee/endpointAttachment:EndpointAttachment":
48
+ return new endpointAttachment_1.EndpointAttachment(name, undefined, { urn });
45
49
  case "gcp:apigee/envGroup:EnvGroup":
46
50
  return new envGroup_1.EnvGroup(name, undefined, { urn });
47
51
  case "gcp:apigee/envGroupAttachment:EnvGroupAttachment":
@@ -65,6 +69,7 @@ const _module = {
65
69
  }
66
70
  },
67
71
  };
72
+ pulumi.runtime.registerResourceModule("gcp", "apigee/endpointAttachment", _module);
68
73
  pulumi.runtime.registerResourceModule("gcp", "apigee/envGroup", _module);
69
74
  pulumi.runtime.registerResourceModule("gcp", "apigee/envGroupAttachment", _module);
70
75
  pulumi.runtime.registerResourceModule("gcp", "apigee/environment", _module);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../apigee/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,6CAA2B;AAC3B,uDAAqC;AACrC,gDAA8B;AAC9B,0DAAwC;AACxC,yDAAuC;AACvC,yDAAuC;AACvC,6CAA2B;AAC3B,uDAAqC;AACrC,iDAA+B;AAE/B,gCAAgC;AAChC,yCAAsC;A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E",
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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vD,CAAC;;AA1BL,wBAsGC;AAxFG,gBAAgB;AACO,mBAAY,GAAG,wCAAwC,CAAC"}
@@ -0,0 +1,97 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * Get info about a Google Cloud IAP Client.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as gcp from "@pulumi/gcp";
11
+ *
12
+ * const default = gcp.certificateauthority.getAuthority({
13
+ * location: "us-west1",
14
+ * pool: "pool-name",
15
+ * certificateAuthorityId: "ca-id",
16
+ * });
17
+ * export const csr = _default.then(_default => _default.pemCsr);
18
+ * ```
19
+ */
20
+ export declare function getAuthority(args?: GetAuthorityArgs, opts?: pulumi.InvokeOptions): Promise<GetAuthorityResult>;
21
+ /**
22
+ * A collection of arguments for invoking getAuthority.
23
+ */
24
+ export interface GetAuthorityArgs {
25
+ /**
26
+ * ID of the certificate authority.
27
+ */
28
+ certificateAuthorityId?: string;
29
+ /**
30
+ * The location the certificate authority exists in.
31
+ */
32
+ location?: string;
33
+ /**
34
+ * The name of the pool the certificate authority belongs to.
35
+ */
36
+ pool?: string;
37
+ /**
38
+ * The ID of the project in which the resource belongs. If it
39
+ * is not provided, the provider project is used.
40
+ */
41
+ project?: string;
42
+ }
43
+ /**
44
+ * A collection of values returned by getAuthority.
45
+ */
46
+ export interface GetAuthorityResult {
47
+ readonly accessUrls: outputs.certificateauthority.GetAuthorityAccessUrl[];
48
+ readonly certificateAuthorityId?: string;
49
+ readonly configs: outputs.certificateauthority.GetAuthorityConfig[];
50
+ readonly createTime: string;
51
+ readonly gcsBucket: string;
52
+ /**
53
+ * The provider-assigned unique ID for this managed resource.
54
+ */
55
+ readonly id: string;
56
+ readonly ignoreActiveCertificatesOnDeletion: boolean;
57
+ readonly keySpecs: outputs.certificateauthority.GetAuthorityKeySpec[];
58
+ readonly labels: {
59
+ [key: string]: string;
60
+ };
61
+ readonly lifetime: string;
62
+ readonly location?: string;
63
+ readonly name: string;
64
+ readonly pemCaCertificates: string[];
65
+ /**
66
+ * The PEM-encoded signed certificate signing request (CSR). This is only set on subordinate certificate authorities.
67
+ */
68
+ readonly pemCsr: string;
69
+ readonly pool?: string;
70
+ readonly project?: string;
71
+ readonly state: string;
72
+ readonly type: string;
73
+ readonly updateTime: string;
74
+ }
75
+ export declare function getAuthorityOutput(args?: GetAuthorityOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAuthorityResult>;
76
+ /**
77
+ * A collection of arguments for invoking getAuthority.
78
+ */
79
+ export interface GetAuthorityOutputArgs {
80
+ /**
81
+ * ID of the certificate authority.
82
+ */
83
+ certificateAuthorityId?: pulumi.Input<string>;
84
+ /**
85
+ * The location the certificate authority exists in.
86
+ */
87
+ location?: pulumi.Input<string>;
88
+ /**
89
+ * The name of the pool the certificate authority belongs to.
90
+ */
91
+ pool?: pulumi.Input<string>;
92
+ /**
93
+ * The ID of the project in which the resource belongs. If it
94
+ * is not provided, the provider project is used.
95
+ */
96
+ project?: pulumi.Input<string>;
97
+ }