@pulumi/gcp 7.6.0-alpha.1705644824 → 7.6.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 (83) hide show
  1. package/clouddomains/index.d.ts +3 -0
  2. package/clouddomains/index.js +22 -0
  3. package/clouddomains/index.js.map +1 -0
  4. package/clouddomains/registration.d.ts +364 -0
  5. package/clouddomains/registration.js +193 -0
  6. package/clouddomains/registration.js.map +1 -0
  7. package/compute/routerPeer.d.ts +15 -0
  8. package/compute/routerPeer.js +2 -0
  9. package/compute/routerPeer.js.map +1 -1
  10. package/compute/vpntunnel.d.ts +4 -2
  11. package/compute/vpntunnel.js.map +1 -1
  12. package/config/vars.d.ts +1 -0
  13. package/config/vars.js +6 -0
  14. package/config/vars.js.map +1 -1
  15. package/container/awsNodePool.d.ts +3 -3
  16. package/dataflow/pipeline.d.ts +1 -1
  17. package/dns/getManagedZones.d.ts +27 -0
  18. package/dns/getManagedZones.js +21 -0
  19. package/dns/getManagedZones.js.map +1 -0
  20. package/dns/index.d.ts +3 -0
  21. package/dns/index.js +4 -1
  22. package/dns/index.js.map +1 -1
  23. package/edgecontainer/vpnConnection.d.ts +5 -5
  24. package/edgecontainer/vpnConnection.js +5 -5
  25. package/filestore/getInstance.d.ts +111 -0
  26. package/filestore/getInstance.js +55 -0
  27. package/filestore/getInstance.js.map +1 -0
  28. package/filestore/index.d.ts +3 -0
  29. package/filestore/index.js +4 -1
  30. package/filestore/index.js.map +1 -1
  31. package/gkehub/feature.d.ts +18 -0
  32. package/gkehub/feature.js +18 -0
  33. package/gkehub/feature.js.map +1 -1
  34. package/gkehub/featureMembership.d.ts +83 -0
  35. package/gkehub/featureMembership.js +73 -0
  36. package/gkehub/featureMembership.js.map +1 -1
  37. package/gkeonprem/vmwareNodePool.d.ts +17 -0
  38. package/gkeonprem/vmwareNodePool.js +17 -0
  39. package/gkeonprem/vmwareNodePool.js.map +1 -1
  40. package/index.d.ts +2 -1
  41. package/index.js +5 -3
  42. package/index.js.map +1 -1
  43. package/netapp/index.d.ts +3 -0
  44. package/netapp/index.js +6 -1
  45. package/netapp/index.js.map +1 -1
  46. package/netapp/kmsconfig.d.ts +231 -0
  47. package/netapp/kmsconfig.js +127 -0
  48. package/netapp/kmsconfig.js.map +1 -0
  49. package/orgpolicy/policy.d.ts +8 -0
  50. package/orgpolicy/policy.js +2 -0
  51. package/orgpolicy/policy.js.map +1 -1
  52. package/package.json +1 -1
  53. package/provider.d.ts +2 -0
  54. package/provider.js +1 -0
  55. package/provider.js.map +1 -1
  56. package/serviceaccount/account.d.ts +12 -0
  57. package/serviceaccount/account.js +2 -0
  58. package/serviceaccount/account.js.map +1 -1
  59. package/servicenetworking/connection.d.ts +15 -0
  60. package/servicenetworking/connection.js +2 -0
  61. package/servicenetworking/connection.js.map +1 -1
  62. package/sql/databaseInstance.js +2 -2
  63. package/sql/databaseInstance.js.map +1 -1
  64. package/sql/sslCert.js +1 -1
  65. package/sql/sslCert.js.map +1 -1
  66. package/types/input.d.ts +514 -10
  67. package/types/output.d.ts +542 -15
  68. package/vertex/aiFeatureOnlineStoreFeatureview.d.ts +300 -0
  69. package/vertex/aiFeatureOnlineStoreFeatureview.js +180 -0
  70. package/vertex/aiFeatureOnlineStoreFeatureview.js.map +1 -0
  71. package/vertex/index.d.ts +3 -0
  72. package/vertex/index.js +6 -1
  73. package/vertex/index.js.map +1 -1
  74. package/vmwareengine/externalAccessRule.d.ts +326 -0
  75. package/vmwareengine/externalAccessRule.js +206 -0
  76. package/vmwareengine/externalAccessRule.js.map +1 -0
  77. package/vmwareengine/getExternalAccessRule.d.ts +89 -0
  78. package/vmwareengine/getExternalAccessRule.js +56 -0
  79. package/vmwareengine/getExternalAccessRule.js.map +1 -0
  80. package/vmwareengine/index.d.ts +6 -0
  81. package/vmwareengine/index.js +9 -1
  82. package/vmwareengine/index.js.map +1 -1
  83. package/workflows/workflow.d.ts +3 -3
@@ -0,0 +1,3 @@
1
+ export { RegistrationArgs, RegistrationState } from "./registration";
2
+ export type Registration = import("./registration").Registration;
3
+ export declare const Registration: typeof import("./registration").Registration;
@@ -0,0 +1,22 @@
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.Registration = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.Registration = null;
9
+ utilities.lazyLoad(exports, ["Registration"], () => require("./registration"));
10
+ const _module = {
11
+ version: utilities.getVersion(),
12
+ construct: (name, type, urn) => {
13
+ switch (type) {
14
+ case "gcp:clouddomains/registration:Registration":
15
+ return new exports.Registration(name, undefined, { urn });
16
+ default:
17
+ throw new Error(`unknown resource type ${type}`);
18
+ }
19
+ },
20
+ };
21
+ pulumi.runtime.registerResourceModule("gcp", "clouddomains/registration", _module);
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../clouddomains/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAG/E,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,4CAA4C;gBAC7C,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,364 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * ## Example Usage
6
+ * ### Clouddomains Registration Full
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as gcp from "@pulumi/gcp";
11
+ *
12
+ * const myRegistration = new gcp.clouddomains.Registration("myRegistration", {
13
+ * contactSettings: {
14
+ * adminContact: {
15
+ * email: "user@example.com",
16
+ * phoneNumber: "+12345000000",
17
+ * postalAddress: {
18
+ * addressLines: ["1234 Example street"],
19
+ * administrativeArea: "CA",
20
+ * locality: "Example City",
21
+ * postalCode: "95050",
22
+ * recipients: ["example recipient"],
23
+ * regionCode: "US",
24
+ * },
25
+ * },
26
+ * privacy: "REDACTED_CONTACT_DATA",
27
+ * registrantContact: {
28
+ * email: "user@example.com",
29
+ * phoneNumber: "+12345000000",
30
+ * postalAddress: {
31
+ * addressLines: ["1234 Example street"],
32
+ * administrativeArea: "CA",
33
+ * locality: "Example City",
34
+ * postalCode: "95050",
35
+ * recipients: ["example recipient"],
36
+ * regionCode: "US",
37
+ * },
38
+ * },
39
+ * technicalContact: {
40
+ * email: "user@example.com",
41
+ * phoneNumber: "+12345000000",
42
+ * postalAddress: {
43
+ * addressLines: ["1234 Example street"],
44
+ * administrativeArea: "CA",
45
+ * locality: "Example City",
46
+ * postalCode: "95050",
47
+ * recipients: ["example recipient"],
48
+ * regionCode: "US",
49
+ * },
50
+ * },
51
+ * },
52
+ * dnsSettings: {
53
+ * customDns: {
54
+ * nameServers: [
55
+ * "ns-cloud-a1.googledomains.com.",
56
+ * "ns-cloud-a2.googledomains.com.",
57
+ * "ns-cloud-a3.googledomains.com.",
58
+ * "ns-cloud-a4.googledomains.com.",
59
+ * ],
60
+ * },
61
+ * },
62
+ * domainName: "example-domain.com",
63
+ * labels: {
64
+ * labelkey: "labelvalue",
65
+ * },
66
+ * location: "global",
67
+ * yearlyPrice: {
68
+ * currencyCode: "USD",
69
+ * units: "12",
70
+ * },
71
+ * });
72
+ * ```
73
+ *
74
+ * ## Import
75
+ *
76
+ * Registration can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/registrations/{{domain_name}}` * `{{project}}/{{location}}/{{domain_name}}` * `{{location}}/{{domain_name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Registration using one of the formats above. For exampletf import {
77
+ *
78
+ * id = "projects/{{project}}/locations/{{location}}/registrations/{{domain_name}}"
79
+ *
80
+ * to = google_clouddomains_registration.default }
81
+ *
82
+ * ```sh
83
+ * $ pulumi import gcp:clouddomains/registration:Registration When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Registration can be imported using one of the formats above. For example
84
+ * ```
85
+ *
86
+ * ```sh
87
+ * $ pulumi import gcp:clouddomains/registration:Registration default projects/{{project}}/locations/{{location}}/registrations/{{domain_name}}
88
+ * ```
89
+ *
90
+ * ```sh
91
+ * $ pulumi import gcp:clouddomains/registration:Registration default {{project}}/{{location}}/{{domain_name}}
92
+ * ```
93
+ *
94
+ * ```sh
95
+ * $ pulumi import gcp:clouddomains/registration:Registration default {{location}}/{{domain_name}}
96
+ * ```
97
+ */
98
+ export declare class Registration extends pulumi.CustomResource {
99
+ /**
100
+ * Get an existing Registration resource's state with the given name, ID, and optional extra
101
+ * properties used to qualify the lookup.
102
+ *
103
+ * @param name The _unique_ name of the resulting resource.
104
+ * @param id The _unique_ provider ID of the resource to lookup.
105
+ * @param state Any extra arguments used during the lookup.
106
+ * @param opts Optional settings to control the behavior of the CustomResource.
107
+ */
108
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RegistrationState, opts?: pulumi.CustomResourceOptions): Registration;
109
+ /**
110
+ * Returns true if the given object is an instance of Registration. This is designed to work even
111
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
112
+ */
113
+ static isInstance(obj: any): obj is Registration;
114
+ /**
115
+ * The list of contact notices that the caller acknowledges. Possible value is PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT
116
+ */
117
+ readonly contactNotices: pulumi.Output<string[] | undefined>;
118
+ /**
119
+ * Required. Settings for contact information linked to the Registration.
120
+ * Structure is documented below.
121
+ */
122
+ readonly contactSettings: pulumi.Output<outputs.clouddomains.RegistrationContactSettings>;
123
+ /**
124
+ * Output only. Time at which the automation was created.
125
+ */
126
+ readonly createTime: pulumi.Output<string>;
127
+ /**
128
+ * Settings controlling the DNS configuration of the Registration.
129
+ * Structure is documented below.
130
+ */
131
+ readonly dnsSettings: pulumi.Output<outputs.clouddomains.RegistrationDnsSettings | undefined>;
132
+ /**
133
+ * Required. The domain name. Unicode domain names must be expressed in Punycode format.
134
+ */
135
+ readonly domainName: pulumi.Output<string>;
136
+ /**
137
+ * The list of domain notices that you acknowledge. Possible value is HSTS_PRELOADED
138
+ */
139
+ readonly domainNotices: pulumi.Output<string[] | undefined>;
140
+ /**
141
+ * All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
142
+ */
143
+ readonly effectiveLabels: pulumi.Output<{
144
+ [key: string]: string;
145
+ }>;
146
+ /**
147
+ * Output only. Time at which the automation was updated.
148
+ */
149
+ readonly expireTime: pulumi.Output<string>;
150
+ /**
151
+ * Output only. The set of issues with the Registration that require attention.
152
+ */
153
+ readonly issues: pulumi.Output<string[]>;
154
+ /**
155
+ * Set of labels associated with the Registration.
156
+ * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
157
+ * Please refer to the field `effectiveLabels` for all of the labels present on the resource.
158
+ */
159
+ readonly labels: pulumi.Output<{
160
+ [key: string]: string;
161
+ } | undefined>;
162
+ /**
163
+ * The location for the resource
164
+ */
165
+ readonly location: pulumi.Output<string>;
166
+ /**
167
+ * Settings for management of the Registration, including renewal, billing, and transfer
168
+ * Structure is documented below.
169
+ */
170
+ readonly managementSettings: pulumi.Output<outputs.clouddomains.RegistrationManagementSettings>;
171
+ /**
172
+ * Output only. Name of the Registration resource, in the format projects/*&#47;locations/*&#47;registrations/<domain_name>.
173
+ */
174
+ readonly name: pulumi.Output<string>;
175
+ /**
176
+ * The ID of the project in which the resource belongs.
177
+ * If it is not provided, the provider project is used.
178
+ */
179
+ readonly project: pulumi.Output<string>;
180
+ /**
181
+ * The combination of labels configured directly on the resource
182
+ * and default labels configured on the provider.
183
+ */
184
+ readonly pulumiLabels: pulumi.Output<{
185
+ [key: string]: string;
186
+ }>;
187
+ /**
188
+ * Output only. The reason the domain registration failed. Only set for domains in REGISTRATION_FAILED state.
189
+ */
190
+ readonly registerFailureReason: pulumi.Output<string>;
191
+ /**
192
+ * Output only. The current state of the Registration.
193
+ */
194
+ readonly state: pulumi.Output<string>;
195
+ /**
196
+ * Output only. Set of options for the contactSettings.privacy field that this Registration supports.
197
+ */
198
+ readonly supportedPrivacies: pulumi.Output<string[]>;
199
+ /**
200
+ * Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from
201
+ * registrations.retrieveRegisterParameters or registrations.searchDomains calls.
202
+ * Structure is documented below.
203
+ */
204
+ readonly yearlyPrice: pulumi.Output<outputs.clouddomains.RegistrationYearlyPrice>;
205
+ /**
206
+ * Create a Registration resource with the given unique name, arguments, and options.
207
+ *
208
+ * @param name The _unique_ name of the resource.
209
+ * @param args The arguments to use to populate this resource's properties.
210
+ * @param opts A bag of options that control this resource's behavior.
211
+ */
212
+ constructor(name: string, args: RegistrationArgs, opts?: pulumi.CustomResourceOptions);
213
+ }
214
+ /**
215
+ * Input properties used for looking up and filtering Registration resources.
216
+ */
217
+ export interface RegistrationState {
218
+ /**
219
+ * The list of contact notices that the caller acknowledges. Possible value is PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT
220
+ */
221
+ contactNotices?: pulumi.Input<pulumi.Input<string>[]>;
222
+ /**
223
+ * Required. Settings for contact information linked to the Registration.
224
+ * Structure is documented below.
225
+ */
226
+ contactSettings?: pulumi.Input<inputs.clouddomains.RegistrationContactSettings>;
227
+ /**
228
+ * Output only. Time at which the automation was created.
229
+ */
230
+ createTime?: pulumi.Input<string>;
231
+ /**
232
+ * Settings controlling the DNS configuration of the Registration.
233
+ * Structure is documented below.
234
+ */
235
+ dnsSettings?: pulumi.Input<inputs.clouddomains.RegistrationDnsSettings>;
236
+ /**
237
+ * Required. The domain name. Unicode domain names must be expressed in Punycode format.
238
+ */
239
+ domainName?: pulumi.Input<string>;
240
+ /**
241
+ * The list of domain notices that you acknowledge. Possible value is HSTS_PRELOADED
242
+ */
243
+ domainNotices?: pulumi.Input<pulumi.Input<string>[]>;
244
+ /**
245
+ * All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
246
+ */
247
+ effectiveLabels?: pulumi.Input<{
248
+ [key: string]: pulumi.Input<string>;
249
+ }>;
250
+ /**
251
+ * Output only. Time at which the automation was updated.
252
+ */
253
+ expireTime?: pulumi.Input<string>;
254
+ /**
255
+ * Output only. The set of issues with the Registration that require attention.
256
+ */
257
+ issues?: pulumi.Input<pulumi.Input<string>[]>;
258
+ /**
259
+ * Set of labels associated with the Registration.
260
+ * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
261
+ * Please refer to the field `effectiveLabels` for all of the labels present on the resource.
262
+ */
263
+ labels?: pulumi.Input<{
264
+ [key: string]: pulumi.Input<string>;
265
+ }>;
266
+ /**
267
+ * The location for the resource
268
+ */
269
+ location?: pulumi.Input<string>;
270
+ /**
271
+ * Settings for management of the Registration, including renewal, billing, and transfer
272
+ * Structure is documented below.
273
+ */
274
+ managementSettings?: pulumi.Input<inputs.clouddomains.RegistrationManagementSettings>;
275
+ /**
276
+ * Output only. Name of the Registration resource, in the format projects/*&#47;locations/*&#47;registrations/<domain_name>.
277
+ */
278
+ name?: pulumi.Input<string>;
279
+ /**
280
+ * The ID of the project in which the resource belongs.
281
+ * If it is not provided, the provider project is used.
282
+ */
283
+ project?: pulumi.Input<string>;
284
+ /**
285
+ * The combination of labels configured directly on the resource
286
+ * and default labels configured on the provider.
287
+ */
288
+ pulumiLabels?: pulumi.Input<{
289
+ [key: string]: pulumi.Input<string>;
290
+ }>;
291
+ /**
292
+ * Output only. The reason the domain registration failed. Only set for domains in REGISTRATION_FAILED state.
293
+ */
294
+ registerFailureReason?: pulumi.Input<string>;
295
+ /**
296
+ * Output only. The current state of the Registration.
297
+ */
298
+ state?: pulumi.Input<string>;
299
+ /**
300
+ * Output only. Set of options for the contactSettings.privacy field that this Registration supports.
301
+ */
302
+ supportedPrivacies?: pulumi.Input<pulumi.Input<string>[]>;
303
+ /**
304
+ * Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from
305
+ * registrations.retrieveRegisterParameters or registrations.searchDomains calls.
306
+ * Structure is documented below.
307
+ */
308
+ yearlyPrice?: pulumi.Input<inputs.clouddomains.RegistrationYearlyPrice>;
309
+ }
310
+ /**
311
+ * The set of arguments for constructing a Registration resource.
312
+ */
313
+ export interface RegistrationArgs {
314
+ /**
315
+ * The list of contact notices that the caller acknowledges. Possible value is PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT
316
+ */
317
+ contactNotices?: pulumi.Input<pulumi.Input<string>[]>;
318
+ /**
319
+ * Required. Settings for contact information linked to the Registration.
320
+ * Structure is documented below.
321
+ */
322
+ contactSettings: pulumi.Input<inputs.clouddomains.RegistrationContactSettings>;
323
+ /**
324
+ * Settings controlling the DNS configuration of the Registration.
325
+ * Structure is documented below.
326
+ */
327
+ dnsSettings?: pulumi.Input<inputs.clouddomains.RegistrationDnsSettings>;
328
+ /**
329
+ * Required. The domain name. Unicode domain names must be expressed in Punycode format.
330
+ */
331
+ domainName: pulumi.Input<string>;
332
+ /**
333
+ * The list of domain notices that you acknowledge. Possible value is HSTS_PRELOADED
334
+ */
335
+ domainNotices?: pulumi.Input<pulumi.Input<string>[]>;
336
+ /**
337
+ * Set of labels associated with the Registration.
338
+ * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
339
+ * Please refer to the field `effectiveLabels` for all of the labels present on the resource.
340
+ */
341
+ labels?: pulumi.Input<{
342
+ [key: string]: pulumi.Input<string>;
343
+ }>;
344
+ /**
345
+ * The location for the resource
346
+ */
347
+ location: pulumi.Input<string>;
348
+ /**
349
+ * Settings for management of the Registration, including renewal, billing, and transfer
350
+ * Structure is documented below.
351
+ */
352
+ managementSettings?: pulumi.Input<inputs.clouddomains.RegistrationManagementSettings>;
353
+ /**
354
+ * The ID of the project in which the resource belongs.
355
+ * If it is not provided, the provider project is used.
356
+ */
357
+ project?: pulumi.Input<string>;
358
+ /**
359
+ * Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from
360
+ * registrations.retrieveRegisterParameters or registrations.searchDomains calls.
361
+ * Structure is documented below.
362
+ */
363
+ yearlyPrice: pulumi.Input<inputs.clouddomains.RegistrationYearlyPrice>;
364
+ }
@@ -0,0 +1,193 @@
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.Registration = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ * ### Clouddomains Registration Full
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as gcp from "@pulumi/gcp";
15
+ *
16
+ * const myRegistration = new gcp.clouddomains.Registration("myRegistration", {
17
+ * contactSettings: {
18
+ * adminContact: {
19
+ * email: "user@example.com",
20
+ * phoneNumber: "+12345000000",
21
+ * postalAddress: {
22
+ * addressLines: ["1234 Example street"],
23
+ * administrativeArea: "CA",
24
+ * locality: "Example City",
25
+ * postalCode: "95050",
26
+ * recipients: ["example recipient"],
27
+ * regionCode: "US",
28
+ * },
29
+ * },
30
+ * privacy: "REDACTED_CONTACT_DATA",
31
+ * registrantContact: {
32
+ * email: "user@example.com",
33
+ * phoneNumber: "+12345000000",
34
+ * postalAddress: {
35
+ * addressLines: ["1234 Example street"],
36
+ * administrativeArea: "CA",
37
+ * locality: "Example City",
38
+ * postalCode: "95050",
39
+ * recipients: ["example recipient"],
40
+ * regionCode: "US",
41
+ * },
42
+ * },
43
+ * technicalContact: {
44
+ * email: "user@example.com",
45
+ * phoneNumber: "+12345000000",
46
+ * postalAddress: {
47
+ * addressLines: ["1234 Example street"],
48
+ * administrativeArea: "CA",
49
+ * locality: "Example City",
50
+ * postalCode: "95050",
51
+ * recipients: ["example recipient"],
52
+ * regionCode: "US",
53
+ * },
54
+ * },
55
+ * },
56
+ * dnsSettings: {
57
+ * customDns: {
58
+ * nameServers: [
59
+ * "ns-cloud-a1.googledomains.com.",
60
+ * "ns-cloud-a2.googledomains.com.",
61
+ * "ns-cloud-a3.googledomains.com.",
62
+ * "ns-cloud-a4.googledomains.com.",
63
+ * ],
64
+ * },
65
+ * },
66
+ * domainName: "example-domain.com",
67
+ * labels: {
68
+ * labelkey: "labelvalue",
69
+ * },
70
+ * location: "global",
71
+ * yearlyPrice: {
72
+ * currencyCode: "USD",
73
+ * units: "12",
74
+ * },
75
+ * });
76
+ * ```
77
+ *
78
+ * ## Import
79
+ *
80
+ * Registration can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/registrations/{{domain_name}}` * `{{project}}/{{location}}/{{domain_name}}` * `{{location}}/{{domain_name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Registration using one of the formats above. For exampletf import {
81
+ *
82
+ * id = "projects/{{project}}/locations/{{location}}/registrations/{{domain_name}}"
83
+ *
84
+ * to = google_clouddomains_registration.default }
85
+ *
86
+ * ```sh
87
+ * $ pulumi import gcp:clouddomains/registration:Registration When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Registration can be imported using one of the formats above. For example
88
+ * ```
89
+ *
90
+ * ```sh
91
+ * $ pulumi import gcp:clouddomains/registration:Registration default projects/{{project}}/locations/{{location}}/registrations/{{domain_name}}
92
+ * ```
93
+ *
94
+ * ```sh
95
+ * $ pulumi import gcp:clouddomains/registration:Registration default {{project}}/{{location}}/{{domain_name}}
96
+ * ```
97
+ *
98
+ * ```sh
99
+ * $ pulumi import gcp:clouddomains/registration:Registration default {{location}}/{{domain_name}}
100
+ * ```
101
+ */
102
+ class Registration extends pulumi.CustomResource {
103
+ /**
104
+ * Get an existing Registration resource's state with the given name, ID, and optional extra
105
+ * properties used to qualify the lookup.
106
+ *
107
+ * @param name The _unique_ name of the resulting resource.
108
+ * @param id The _unique_ provider ID of the resource to lookup.
109
+ * @param state Any extra arguments used during the lookup.
110
+ * @param opts Optional settings to control the behavior of the CustomResource.
111
+ */
112
+ static get(name, id, state, opts) {
113
+ return new Registration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
114
+ }
115
+ /**
116
+ * Returns true if the given object is an instance of Registration. This is designed to work even
117
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
118
+ */
119
+ static isInstance(obj) {
120
+ if (obj === undefined || obj === null) {
121
+ return false;
122
+ }
123
+ return obj['__pulumiType'] === Registration.__pulumiType;
124
+ }
125
+ constructor(name, argsOrState, opts) {
126
+ let resourceInputs = {};
127
+ opts = opts || {};
128
+ if (opts.id) {
129
+ const state = argsOrState;
130
+ resourceInputs["contactNotices"] = state ? state.contactNotices : undefined;
131
+ resourceInputs["contactSettings"] = state ? state.contactSettings : undefined;
132
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
133
+ resourceInputs["dnsSettings"] = state ? state.dnsSettings : undefined;
134
+ resourceInputs["domainName"] = state ? state.domainName : undefined;
135
+ resourceInputs["domainNotices"] = state ? state.domainNotices : undefined;
136
+ resourceInputs["effectiveLabels"] = state ? state.effectiveLabels : undefined;
137
+ resourceInputs["expireTime"] = state ? state.expireTime : undefined;
138
+ resourceInputs["issues"] = state ? state.issues : undefined;
139
+ resourceInputs["labels"] = state ? state.labels : undefined;
140
+ resourceInputs["location"] = state ? state.location : undefined;
141
+ resourceInputs["managementSettings"] = state ? state.managementSettings : undefined;
142
+ resourceInputs["name"] = state ? state.name : undefined;
143
+ resourceInputs["project"] = state ? state.project : undefined;
144
+ resourceInputs["pulumiLabels"] = state ? state.pulumiLabels : undefined;
145
+ resourceInputs["registerFailureReason"] = state ? state.registerFailureReason : undefined;
146
+ resourceInputs["state"] = state ? state.state : undefined;
147
+ resourceInputs["supportedPrivacies"] = state ? state.supportedPrivacies : undefined;
148
+ resourceInputs["yearlyPrice"] = state ? state.yearlyPrice : undefined;
149
+ }
150
+ else {
151
+ const args = argsOrState;
152
+ if ((!args || args.contactSettings === undefined) && !opts.urn) {
153
+ throw new Error("Missing required property 'contactSettings'");
154
+ }
155
+ if ((!args || args.domainName === undefined) && !opts.urn) {
156
+ throw new Error("Missing required property 'domainName'");
157
+ }
158
+ if ((!args || args.location === undefined) && !opts.urn) {
159
+ throw new Error("Missing required property 'location'");
160
+ }
161
+ if ((!args || args.yearlyPrice === undefined) && !opts.urn) {
162
+ throw new Error("Missing required property 'yearlyPrice'");
163
+ }
164
+ resourceInputs["contactNotices"] = args ? args.contactNotices : undefined;
165
+ resourceInputs["contactSettings"] = args ? args.contactSettings : undefined;
166
+ resourceInputs["dnsSettings"] = args ? args.dnsSettings : undefined;
167
+ resourceInputs["domainName"] = args ? args.domainName : undefined;
168
+ resourceInputs["domainNotices"] = args ? args.domainNotices : undefined;
169
+ resourceInputs["labels"] = args ? args.labels : undefined;
170
+ resourceInputs["location"] = args ? args.location : undefined;
171
+ resourceInputs["managementSettings"] = args ? args.managementSettings : undefined;
172
+ resourceInputs["project"] = args ? args.project : undefined;
173
+ resourceInputs["yearlyPrice"] = args ? args.yearlyPrice : undefined;
174
+ resourceInputs["createTime"] = undefined /*out*/;
175
+ resourceInputs["effectiveLabels"] = undefined /*out*/;
176
+ resourceInputs["expireTime"] = undefined /*out*/;
177
+ resourceInputs["issues"] = undefined /*out*/;
178
+ resourceInputs["name"] = undefined /*out*/;
179
+ resourceInputs["pulumiLabels"] = undefined /*out*/;
180
+ resourceInputs["registerFailureReason"] = undefined /*out*/;
181
+ resourceInputs["state"] = undefined /*out*/;
182
+ resourceInputs["supportedPrivacies"] = undefined /*out*/;
183
+ }
184
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
185
+ const secretOpts = { additionalSecretOutputs: ["effectiveLabels", "pulumiLabels"] };
186
+ opts = pulumi.mergeOptions(opts, secretOpts);
187
+ super(Registration.__pulumiType, name, resourceInputs, opts);
188
+ }
189
+ }
190
+ exports.Registration = Registration;
191
+ /** @internal */
192
+ Registration.__pulumiType = 'gcp:clouddomains/registration:Registration';
193
+ //# sourceMappingURL=registration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registration.js","sourceRoot":"","sources":["../../clouddomains/registration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6FG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,cA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AAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAxLL,oCAyLC;AA3KG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
@@ -255,6 +255,11 @@ export declare class RouterPeer extends pulumi.CustomResource {
255
255
  * The resource that configures and manages this BGP peer.
256
256
  */
257
257
  readonly managementType: pulumi.Output<string>;
258
+ /**
259
+ * Present if MD5 authentication is enabled for the peering. Must be the name of one of the entries in the
260
+ * Router.md5_authentication_keys. The field must comply with RFC1035.
261
+ */
262
+ readonly md5AuthenticationKey: pulumi.Output<outputs.compute.RouterPeerMd5AuthenticationKey | undefined>;
258
263
  /**
259
264
  * Name of this BGP peer. The name must be 1-63 characters long,
260
265
  * and comply with RFC1035. Specifically, the name must be 1-63 characters
@@ -381,6 +386,11 @@ export interface RouterPeerState {
381
386
  * The resource that configures and manages this BGP peer.
382
387
  */
383
388
  managementType?: pulumi.Input<string>;
389
+ /**
390
+ * Present if MD5 authentication is enabled for the peering. Must be the name of one of the entries in the
391
+ * Router.md5_authentication_keys. The field must comply with RFC1035.
392
+ */
393
+ md5AuthenticationKey?: pulumi.Input<inputs.compute.RouterPeerMd5AuthenticationKey>;
384
394
  /**
385
395
  * Name of this BGP peer. The name must be 1-63 characters long,
386
396
  * and comply with RFC1035. Specifically, the name must be 1-63 characters
@@ -495,6 +505,11 @@ export interface RouterPeerArgs {
495
505
  * assigns unused addresses from the 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64 range for you.
496
506
  */
497
507
  ipv6NexthopAddress?: pulumi.Input<string>;
508
+ /**
509
+ * Present if MD5 authentication is enabled for the peering. Must be the name of one of the entries in the
510
+ * Router.md5_authentication_keys. The field must comply with RFC1035.
511
+ */
512
+ md5AuthenticationKey?: pulumi.Input<inputs.compute.RouterPeerMd5AuthenticationKey>;
498
513
  /**
499
514
  * Name of this BGP peer. The name must be 1-63 characters long,
500
515
  * and comply with RFC1035. Specifically, the name must be 1-63 characters
@@ -219,6 +219,7 @@ class RouterPeer extends pulumi.CustomResource {
219
219
  resourceInputs["ipAddress"] = state ? state.ipAddress : undefined;
220
220
  resourceInputs["ipv6NexthopAddress"] = state ? state.ipv6NexthopAddress : undefined;
221
221
  resourceInputs["managementType"] = state ? state.managementType : undefined;
222
+ resourceInputs["md5AuthenticationKey"] = state ? state.md5AuthenticationKey : undefined;
222
223
  resourceInputs["name"] = state ? state.name : undefined;
223
224
  resourceInputs["peerAsn"] = state ? state.peerAsn : undefined;
224
225
  resourceInputs["peerIpAddress"] = state ? state.peerIpAddress : undefined;
@@ -249,6 +250,7 @@ class RouterPeer extends pulumi.CustomResource {
249
250
  resourceInputs["interface"] = args ? args.interface : undefined;
250
251
  resourceInputs["ipAddress"] = args ? args.ipAddress : undefined;
251
252
  resourceInputs["ipv6NexthopAddress"] = args ? args.ipv6NexthopAddress : undefined;
253
+ resourceInputs["md5AuthenticationKey"] = args ? args.md5AuthenticationKey : undefined;
252
254
  resourceInputs["name"] = args ? args.name : undefined;
253
255
  resourceInputs["peerAsn"] = args ? args.peerAsn : undefined;
254
256
  resourceInputs["peerIpAddress"] = args ? args.peerIpAddress : undefined;