@pulumi/gcp 6.7.0 → 6.9.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 (52) hide show
  1. package/apigee/instance.d.ts +31 -1
  2. package/apigee/instance.js +2 -0
  3. package/apigee/instance.js.map +1 -1
  4. package/appengine/flexibleAppVersion.d.ts +6 -3
  5. package/appengine/flexibleAppVersion.js.map +1 -1
  6. package/appengine/standardAppVersion.d.ts +6 -3
  7. package/appengine/standardAppVersion.js.map +1 -1
  8. package/bigquery/dataTransferConfig.d.ts +9 -3
  9. package/bigquery/dataTransferConfig.js.map +1 -1
  10. package/certificateauthority/authority.d.ts +1 -2
  11. package/certificateauthority/authority.js +1 -2
  12. package/certificateauthority/authority.js.map +1 -1
  13. package/certificateauthority/certificate.d.ts +0 -2
  14. package/certificateauthority/certificate.js +0 -2
  15. package/certificateauthority/certificate.js.map +1 -1
  16. package/cloudrun/service.d.ts +2 -0
  17. package/cloudrun/service.js +2 -0
  18. package/cloudrun/service.js.map +1 -1
  19. package/compute/backendService.d.ts +48 -36
  20. package/compute/backendService.js +18 -0
  21. package/compute/backendService.js.map +1 -1
  22. package/compute/regionBackendService.d.ts +50 -35
  23. package/compute/regionBackendService.js +4 -2
  24. package/compute/regionBackendService.js.map +1 -1
  25. package/compute/reservation.d.ts +15 -0
  26. package/compute/reservation.js +2 -0
  27. package/compute/reservation.js.map +1 -1
  28. package/endpoints/serviceIamBinding.d.ts +4 -13
  29. package/endpoints/serviceIamBinding.js +4 -4
  30. package/endpoints/serviceIamBinding.js.map +1 -1
  31. package/endpoints/serviceIamMember.d.ts +4 -13
  32. package/endpoints/serviceIamMember.js +4 -4
  33. package/endpoints/serviceIamMember.js.map +1 -1
  34. package/endpoints/serviceIamPolicy.d.ts +4 -13
  35. package/endpoints/serviceIamPolicy.js +4 -4
  36. package/endpoints/serviceIamPolicy.js.map +1 -1
  37. package/monitoring/alertPolicy.d.ts +15 -0
  38. package/monitoring/alertPolicy.js +2 -0
  39. package/monitoring/alertPolicy.js.map +1 -1
  40. package/networkconnectivity/index.d.ts +1 -0
  41. package/networkconnectivity/index.js +5 -0
  42. package/networkconnectivity/index.js.map +1 -1
  43. package/networkconnectivity/spoke.d.ts +256 -0
  44. package/networkconnectivity/spoke.js +152 -0
  45. package/networkconnectivity/spoke.js.map +1 -0
  46. package/package.json +2 -2
  47. package/package.json.dev +1 -1
  48. package/storage/transferJob.d.ts +2 -2
  49. package/storage/transferJob.js +0 -3
  50. package/storage/transferJob.js.map +1 -1
  51. package/types/input.d.ts +176 -43
  52. package/types/output.d.ts +179 -44
@@ -62,22 +62,22 @@ const utilities = require("../utilities");
62
62
  *
63
63
  * ## Import
64
64
  *
65
- * For all import syntaxes, the "resource in question" can take any of the following forms* services/{{serviceName}} * {{serviceName}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Endpoints service IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
65
+ * For all import syntaxes, the "resource in question" can take any of the following forms* services/{{service_name}} * {{service_name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Endpoints service IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
66
66
  *
67
67
  * ```sh
68
- * $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor "services/{{serviceName}} roles/viewer user:jane@example.com"
68
+ * $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor "services/{{service_name}} roles/viewer user:jane@example.com"
69
69
  * ```
70
70
  *
71
71
  * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
72
72
  *
73
73
  * ```sh
74
- * $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor "services/{{serviceName}} roles/viewer"
74
+ * $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor "services/{{service_name}} roles/viewer"
75
75
  * ```
76
76
  *
77
77
  * IAM policy imports use the identifier of the resource in question, e.g.
78
78
  *
79
79
  * ```sh
80
- * $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor services/{{serviceName}}
80
+ * $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor services/{{service_name}}
81
81
  * ```
82
82
  *
83
83
  * -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
@@ -1 +1 @@
1
- {"version":3,"file":"serviceIamPolicy.js","sourceRoot":"","sources":["../../endpoints/serviceIamPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAkDvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CA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AyC,CAAC,CAAC;aAC9D;YACD,MAAM,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtC;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAtED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CAwEC;AA1DG,gBAAgB;AACO,6BAAY,GAAG,iDAAiD,CAAC"}
@@ -63,6 +63,11 @@ export declare class AlertPolicy extends pulumi.CustomResource {
63
63
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
64
64
  */
65
65
  static isInstance(obj: any): obj is AlertPolicy;
66
+ /**
67
+ * Control over how this alert policy's notification channels are notified.
68
+ * Structure is documented below.
69
+ */
70
+ readonly alertStrategy: pulumi.Output<outputs.monitoring.AlertPolicyAlertStrategy | undefined>;
66
71
  /**
67
72
  * How to combine the results of multiple conditions to
68
73
  * determine if an incident should be opened.
@@ -151,6 +156,11 @@ export declare class AlertPolicy extends pulumi.CustomResource {
151
156
  * Input properties used for looking up and filtering AlertPolicy resources.
152
157
  */
153
158
  export interface AlertPolicyState {
159
+ /**
160
+ * Control over how this alert policy's notification channels are notified.
161
+ * Structure is documented below.
162
+ */
163
+ alertStrategy?: pulumi.Input<inputs.monitoring.AlertPolicyAlertStrategy>;
154
164
  /**
155
165
  * How to combine the results of multiple conditions to
156
166
  * determine if an incident should be opened.
@@ -231,6 +241,11 @@ export interface AlertPolicyState {
231
241
  * The set of arguments for constructing a AlertPolicy resource.
232
242
  */
233
243
  export interface AlertPolicyArgs {
244
+ /**
245
+ * Control over how this alert policy's notification channels are notified.
246
+ * Structure is documented below.
247
+ */
248
+ alertStrategy?: pulumi.Input<inputs.monitoring.AlertPolicyAlertStrategy>;
234
249
  /**
235
250
  * How to combine the results of multiple conditions to
236
251
  * determine if an incident should be opened.
@@ -58,6 +58,7 @@ class AlertPolicy extends pulumi.CustomResource {
58
58
  opts = opts || {};
59
59
  if (opts.id) {
60
60
  const state = argsOrState;
61
+ inputs["alertStrategy"] = state ? state.alertStrategy : undefined;
61
62
  inputs["combiner"] = state ? state.combiner : undefined;
62
63
  inputs["conditions"] = state ? state.conditions : undefined;
63
64
  inputs["creationRecords"] = state ? state.creationRecords : undefined;
@@ -80,6 +81,7 @@ class AlertPolicy extends pulumi.CustomResource {
80
81
  if ((!args || args.displayName === undefined) && !opts.urn) {
81
82
  throw new Error("Missing required property 'displayName'");
82
83
  }
84
+ inputs["alertStrategy"] = args ? args.alertStrategy : undefined;
83
85
  inputs["combiner"] = args ? args.combiner : undefined;
84
86
  inputs["conditions"] = args ? args.conditions : undefined;
85
87
  inputs["displayName"] = args ? args.displayName : undefined;
@@ -1 +1 @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AAE,IAAI,CAAC,CAAC;IACxD,CAAC;IA7JD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCA+JC;AAjJG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
@@ -1 +1,2 @@
1
1
  export * from "./hub";
2
+ export * from "./spoke";
@@ -16,18 +16,23 @@ const pulumi = require("@pulumi/pulumi");
16
16
  const utilities = require("../utilities");
17
17
  // Export members:
18
18
  __exportStar(require("./hub"), exports);
19
+ __exportStar(require("./spoke"), exports);
19
20
  // Import resources to register:
20
21
  const hub_1 = require("./hub");
22
+ const spoke_1 = require("./spoke");
21
23
  const _module = {
22
24
  version: utilities.getVersion(),
23
25
  construct: (name, type, urn) => {
24
26
  switch (type) {
25
27
  case "gcp:networkconnectivity/hub:Hub":
26
28
  return new hub_1.Hub(name, undefined, { urn });
29
+ case "gcp:networkconnectivity/spoke:Spoke":
30
+ return new spoke_1.Spoke(name, undefined, { urn });
27
31
  default:
28
32
  throw new Error(`unknown resource type ${type}`);
29
33
  }
30
34
  },
31
35
  };
32
36
  pulumi.runtime.registerResourceModule("gcp", "networkconnectivity/hub", _module);
37
+ pulumi.runtime.registerResourceModule("gcp", "networkconnectivity/spoke", _module);
33
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../networkconnectivity/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,wCAAsB;AAEtB,gCAAgC;AAChC,+BAA4B;AAE5B,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,iCAAiC;gBAClC,OAAO,IAAI,SAAG,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../networkconnectivity/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,wCAAsB;AACtB,0CAAwB;AAExB,gCAAgC;AAChC,+BAA4B;AAC5B,mCAAgC;AAEhC,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,iCAAiC;gBAClC,OAAO,IAAI,SAAG,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjD,KAAK,qCAAqC;gBACtC,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,256 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * The NetworkConnectivity Spoke resource
5
+ *
6
+ * ## Example Usage
7
+ * ### Router_appliance
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as gcp from "@pulumi/gcp";
11
+ *
12
+ * const network = new gcp.compute.Network("network", {autoCreateSubnetworks: false});
13
+ * const subnetwork = new gcp.compute.Subnetwork("subnetwork", {
14
+ * ipCidrRange: "10.0.0.0/28",
15
+ * region: "us-west1",
16
+ * network: network.selfLink,
17
+ * });
18
+ * const instance = new gcp.compute.Instance("instance", {
19
+ * machineType: "e2-medium",
20
+ * canIpForward: true,
21
+ * zone: "us-west1-a",
22
+ * bootDisk: {
23
+ * initializeParams: {
24
+ * image: "projects/debian-cloud/global/images/debian-10-buster-v20210817",
25
+ * },
26
+ * },
27
+ * networkInterfaces: [{
28
+ * subnetwork: subnetwork.name,
29
+ * networkIp: "10.0.0.2",
30
+ * accessConfigs: [{
31
+ * networkTier: "PREMIUM",
32
+ * }],
33
+ * }],
34
+ * });
35
+ * const basicHub = new gcp.networkconnectivity.Hub("basicHub", {
36
+ * description: "A sample hub",
37
+ * labels: {
38
+ * "label-two": "value-one",
39
+ * },
40
+ * });
41
+ * const primary = new gcp.networkconnectivity.Spoke("primary", {
42
+ * location: "us-west1",
43
+ * description: "A sample spoke with a linked routher appliance instance",
44
+ * labels: {
45
+ * "label-one": "value-one",
46
+ * },
47
+ * hub: basicHub.id,
48
+ * linkedRouterApplianceInstances: {
49
+ * instances: [{
50
+ * virtualMachine: instance.selfLink,
51
+ * ipAddress: "10.0.0.2",
52
+ * }],
53
+ * siteToSiteDataTransfer: true,
54
+ * },
55
+ * });
56
+ * ```
57
+ *
58
+ * ## Import
59
+ *
60
+ * Spoke can be imported using any of these accepted formats
61
+ *
62
+ * ```sh
63
+ * $ pulumi import gcp:networkconnectivity/spoke:Spoke default projects/{{project}}/locations/{{location}}/spokes/{{name}}
64
+ * ```
65
+ *
66
+ * ```sh
67
+ * $ pulumi import gcp:networkconnectivity/spoke:Spoke default {{project}}/{{location}}/{{name}}
68
+ * ```
69
+ *
70
+ * ```sh
71
+ * $ pulumi import gcp:networkconnectivity/spoke:Spoke default {{location}}/{{name}}
72
+ * ```
73
+ */
74
+ export declare class Spoke extends pulumi.CustomResource {
75
+ /**
76
+ * Get an existing Spoke resource's state with the given name, ID, and optional extra
77
+ * properties used to qualify the lookup.
78
+ *
79
+ * @param name The _unique_ name of the resulting resource.
80
+ * @param id The _unique_ provider ID of the resource to lookup.
81
+ * @param state Any extra arguments used during the lookup.
82
+ * @param opts Optional settings to control the behavior of the CustomResource.
83
+ */
84
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SpokeState, opts?: pulumi.CustomResourceOptions): Spoke;
85
+ /**
86
+ * Returns true if the given object is an instance of Spoke. This is designed to work even
87
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
88
+ */
89
+ static isInstance(obj: any): obj is Spoke;
90
+ /**
91
+ * Output only. The time the spoke was created.
92
+ */
93
+ readonly createTime: pulumi.Output<string>;
94
+ /**
95
+ * An optional description of the spoke.
96
+ */
97
+ readonly description: pulumi.Output<string | undefined>;
98
+ /**
99
+ * Immutable. The URI of the hub that this spoke is attached to.
100
+ */
101
+ readonly hub: pulumi.Output<string>;
102
+ /**
103
+ * Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
104
+ */
105
+ readonly labels: pulumi.Output<{
106
+ [key: string]: string;
107
+ } | undefined>;
108
+ /**
109
+ * A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
110
+ */
111
+ readonly linkedInterconnectAttachments: pulumi.Output<outputs.networkconnectivity.SpokeLinkedInterconnectAttachments | undefined>;
112
+ /**
113
+ * The URIs of linked Router appliance resources
114
+ */
115
+ readonly linkedRouterApplianceInstances: pulumi.Output<outputs.networkconnectivity.SpokeLinkedRouterApplianceInstances | undefined>;
116
+ /**
117
+ * The URIs of linked VPN tunnel resources
118
+ */
119
+ readonly linkedVpnTunnels: pulumi.Output<outputs.networkconnectivity.SpokeLinkedVpnTunnels | undefined>;
120
+ /**
121
+ * The location for the resource
122
+ */
123
+ readonly location: pulumi.Output<string>;
124
+ /**
125
+ * Immutable. The name of the spoke. Spoke names must be unique.
126
+ */
127
+ readonly name: pulumi.Output<string>;
128
+ /**
129
+ * The project for the resource
130
+ */
131
+ readonly project: pulumi.Output<string>;
132
+ /**
133
+ * Output only. The current lifecycle state of this spoke. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING
134
+ */
135
+ readonly state: pulumi.Output<string>;
136
+ /**
137
+ * Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is
138
+ * deleted and another with the same name is created, the new spoke is assigned a different unique_id.
139
+ */
140
+ readonly uniqueId: pulumi.Output<string>;
141
+ /**
142
+ * Output only. The time the spoke was last updated.
143
+ */
144
+ readonly updateTime: pulumi.Output<string>;
145
+ /**
146
+ * Create a Spoke resource with the given unique name, arguments, and options.
147
+ *
148
+ * @param name The _unique_ name of the resource.
149
+ * @param args The arguments to use to populate this resource's properties.
150
+ * @param opts A bag of options that control this resource's behavior.
151
+ */
152
+ constructor(name: string, args: SpokeArgs, opts?: pulumi.CustomResourceOptions);
153
+ }
154
+ /**
155
+ * Input properties used for looking up and filtering Spoke resources.
156
+ */
157
+ export interface SpokeState {
158
+ /**
159
+ * Output only. The time the spoke was created.
160
+ */
161
+ createTime?: pulumi.Input<string>;
162
+ /**
163
+ * An optional description of the spoke.
164
+ */
165
+ description?: pulumi.Input<string>;
166
+ /**
167
+ * Immutable. The URI of the hub that this spoke is attached to.
168
+ */
169
+ hub?: pulumi.Input<string>;
170
+ /**
171
+ * Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
172
+ */
173
+ labels?: pulumi.Input<{
174
+ [key: string]: pulumi.Input<string>;
175
+ }>;
176
+ /**
177
+ * A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
178
+ */
179
+ linkedInterconnectAttachments?: pulumi.Input<inputs.networkconnectivity.SpokeLinkedInterconnectAttachments>;
180
+ /**
181
+ * The URIs of linked Router appliance resources
182
+ */
183
+ linkedRouterApplianceInstances?: pulumi.Input<inputs.networkconnectivity.SpokeLinkedRouterApplianceInstances>;
184
+ /**
185
+ * The URIs of linked VPN tunnel resources
186
+ */
187
+ linkedVpnTunnels?: pulumi.Input<inputs.networkconnectivity.SpokeLinkedVpnTunnels>;
188
+ /**
189
+ * The location for the resource
190
+ */
191
+ location?: pulumi.Input<string>;
192
+ /**
193
+ * Immutable. The name of the spoke. Spoke names must be unique.
194
+ */
195
+ name?: pulumi.Input<string>;
196
+ /**
197
+ * The project for the resource
198
+ */
199
+ project?: pulumi.Input<string>;
200
+ /**
201
+ * Output only. The current lifecycle state of this spoke. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING
202
+ */
203
+ state?: pulumi.Input<string>;
204
+ /**
205
+ * Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is
206
+ * deleted and another with the same name is created, the new spoke is assigned a different unique_id.
207
+ */
208
+ uniqueId?: pulumi.Input<string>;
209
+ /**
210
+ * Output only. The time the spoke was last updated.
211
+ */
212
+ updateTime?: pulumi.Input<string>;
213
+ }
214
+ /**
215
+ * The set of arguments for constructing a Spoke resource.
216
+ */
217
+ export interface SpokeArgs {
218
+ /**
219
+ * An optional description of the spoke.
220
+ */
221
+ description?: pulumi.Input<string>;
222
+ /**
223
+ * Immutable. The URI of the hub that this spoke is attached to.
224
+ */
225
+ hub: pulumi.Input<string>;
226
+ /**
227
+ * Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
228
+ */
229
+ labels?: pulumi.Input<{
230
+ [key: string]: pulumi.Input<string>;
231
+ }>;
232
+ /**
233
+ * A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
234
+ */
235
+ linkedInterconnectAttachments?: pulumi.Input<inputs.networkconnectivity.SpokeLinkedInterconnectAttachments>;
236
+ /**
237
+ * The URIs of linked Router appliance resources
238
+ */
239
+ linkedRouterApplianceInstances?: pulumi.Input<inputs.networkconnectivity.SpokeLinkedRouterApplianceInstances>;
240
+ /**
241
+ * The URIs of linked VPN tunnel resources
242
+ */
243
+ linkedVpnTunnels?: pulumi.Input<inputs.networkconnectivity.SpokeLinkedVpnTunnels>;
244
+ /**
245
+ * The location for the resource
246
+ */
247
+ location: pulumi.Input<string>;
248
+ /**
249
+ * Immutable. The name of the spoke. Spoke names must be unique.
250
+ */
251
+ name?: pulumi.Input<string>;
252
+ /**
253
+ * The project for the resource
254
+ */
255
+ project?: pulumi.Input<string>;
256
+ }
@@ -0,0 +1,152 @@
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.Spoke = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * The NetworkConnectivity Spoke resource
10
+ *
11
+ * ## Example Usage
12
+ * ### Router_appliance
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as gcp from "@pulumi/gcp";
16
+ *
17
+ * const network = new gcp.compute.Network("network", {autoCreateSubnetworks: false});
18
+ * const subnetwork = new gcp.compute.Subnetwork("subnetwork", {
19
+ * ipCidrRange: "10.0.0.0/28",
20
+ * region: "us-west1",
21
+ * network: network.selfLink,
22
+ * });
23
+ * const instance = new gcp.compute.Instance("instance", {
24
+ * machineType: "e2-medium",
25
+ * canIpForward: true,
26
+ * zone: "us-west1-a",
27
+ * bootDisk: {
28
+ * initializeParams: {
29
+ * image: "projects/debian-cloud/global/images/debian-10-buster-v20210817",
30
+ * },
31
+ * },
32
+ * networkInterfaces: [{
33
+ * subnetwork: subnetwork.name,
34
+ * networkIp: "10.0.0.2",
35
+ * accessConfigs: [{
36
+ * networkTier: "PREMIUM",
37
+ * }],
38
+ * }],
39
+ * });
40
+ * const basicHub = new gcp.networkconnectivity.Hub("basicHub", {
41
+ * description: "A sample hub",
42
+ * labels: {
43
+ * "label-two": "value-one",
44
+ * },
45
+ * });
46
+ * const primary = new gcp.networkconnectivity.Spoke("primary", {
47
+ * location: "us-west1",
48
+ * description: "A sample spoke with a linked routher appliance instance",
49
+ * labels: {
50
+ * "label-one": "value-one",
51
+ * },
52
+ * hub: basicHub.id,
53
+ * linkedRouterApplianceInstances: {
54
+ * instances: [{
55
+ * virtualMachine: instance.selfLink,
56
+ * ipAddress: "10.0.0.2",
57
+ * }],
58
+ * siteToSiteDataTransfer: true,
59
+ * },
60
+ * });
61
+ * ```
62
+ *
63
+ * ## Import
64
+ *
65
+ * Spoke can be imported using any of these accepted formats
66
+ *
67
+ * ```sh
68
+ * $ pulumi import gcp:networkconnectivity/spoke:Spoke default projects/{{project}}/locations/{{location}}/spokes/{{name}}
69
+ * ```
70
+ *
71
+ * ```sh
72
+ * $ pulumi import gcp:networkconnectivity/spoke:Spoke default {{project}}/{{location}}/{{name}}
73
+ * ```
74
+ *
75
+ * ```sh
76
+ * $ pulumi import gcp:networkconnectivity/spoke:Spoke default {{location}}/{{name}}
77
+ * ```
78
+ */
79
+ class Spoke extends pulumi.CustomResource {
80
+ constructor(name, argsOrState, opts) {
81
+ let inputs = {};
82
+ opts = opts || {};
83
+ if (opts.id) {
84
+ const state = argsOrState;
85
+ inputs["createTime"] = state ? state.createTime : undefined;
86
+ inputs["description"] = state ? state.description : undefined;
87
+ inputs["hub"] = state ? state.hub : undefined;
88
+ inputs["labels"] = state ? state.labels : undefined;
89
+ inputs["linkedInterconnectAttachments"] = state ? state.linkedInterconnectAttachments : undefined;
90
+ inputs["linkedRouterApplianceInstances"] = state ? state.linkedRouterApplianceInstances : undefined;
91
+ inputs["linkedVpnTunnels"] = state ? state.linkedVpnTunnels : undefined;
92
+ inputs["location"] = state ? state.location : undefined;
93
+ inputs["name"] = state ? state.name : undefined;
94
+ inputs["project"] = state ? state.project : undefined;
95
+ inputs["state"] = state ? state.state : undefined;
96
+ inputs["uniqueId"] = state ? state.uniqueId : undefined;
97
+ inputs["updateTime"] = state ? state.updateTime : undefined;
98
+ }
99
+ else {
100
+ const args = argsOrState;
101
+ if ((!args || args.hub === undefined) && !opts.urn) {
102
+ throw new Error("Missing required property 'hub'");
103
+ }
104
+ if ((!args || args.location === undefined) && !opts.urn) {
105
+ throw new Error("Missing required property 'location'");
106
+ }
107
+ inputs["description"] = args ? args.description : undefined;
108
+ inputs["hub"] = args ? args.hub : undefined;
109
+ inputs["labels"] = args ? args.labels : undefined;
110
+ inputs["linkedInterconnectAttachments"] = args ? args.linkedInterconnectAttachments : undefined;
111
+ inputs["linkedRouterApplianceInstances"] = args ? args.linkedRouterApplianceInstances : undefined;
112
+ inputs["linkedVpnTunnels"] = args ? args.linkedVpnTunnels : undefined;
113
+ inputs["location"] = args ? args.location : undefined;
114
+ inputs["name"] = args ? args.name : undefined;
115
+ inputs["project"] = args ? args.project : undefined;
116
+ inputs["createTime"] = undefined /*out*/;
117
+ inputs["state"] = undefined /*out*/;
118
+ inputs["uniqueId"] = undefined /*out*/;
119
+ inputs["updateTime"] = undefined /*out*/;
120
+ }
121
+ if (!opts.version) {
122
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
123
+ }
124
+ super(Spoke.__pulumiType, name, inputs, opts);
125
+ }
126
+ /**
127
+ * Get an existing Spoke resource's state with the given name, ID, and optional extra
128
+ * properties used to qualify the lookup.
129
+ *
130
+ * @param name The _unique_ name of the resulting resource.
131
+ * @param id The _unique_ provider ID of the resource to lookup.
132
+ * @param state Any extra arguments used during the lookup.
133
+ * @param opts Optional settings to control the behavior of the CustomResource.
134
+ */
135
+ static get(name, id, state, opts) {
136
+ return new Spoke(name, state, Object.assign(Object.assign({}, opts), { id: id }));
137
+ }
138
+ /**
139
+ * Returns true if the given object is an instance of Spoke. This is designed to work even
140
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
141
+ */
142
+ static isInstance(obj) {
143
+ if (obj === undefined || obj === null) {
144
+ return false;
145
+ }
146
+ return obj['__pulumiType'] === Spoke.__pulumiType;
147
+ }
148
+ }
149
+ exports.Spoke = Spoke;
150
+ /** @internal */
151
+ Spoke.__pulumiType = 'gcp:networkconnectivity/spoke:Spoke';
152
+ //# sourceMappingURL=spoke.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spoke.js","sourceRoot":"","sources":["../../networkconnectivity/spoke.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IA0F5C,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI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O,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBAuIC;AAzHG,gBAAgB;AACO,kBAAY,GAAG,qCAAqC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/gcp",
3
- "version": "v6.7.0",
3
+ "version": "v6.9.0",
4
4
  "description": "A Pulumi package for creating and managing Google Cloud Platform resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource gcp v6.7.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource gcp v6.9.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0",
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/gcp",
3
- "version": "v6.7.0",
3
+ "version": "v6.9.0",
4
4
  "description": "A Pulumi package for creating and managing Google Cloud Platform resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -131,7 +131,7 @@ export declare class TransferJob extends pulumi.CustomResource {
131
131
  /**
132
132
  * Schedule specification defining when the Transfer Job should be scheduled to start, end and what time to run. Structure documented below.
133
133
  */
134
- readonly schedule: pulumi.Output<outputs.storage.TransferJobSchedule>;
134
+ readonly schedule: pulumi.Output<outputs.storage.TransferJobSchedule | undefined>;
135
135
  /**
136
136
  * Status of the job. Default: `ENABLED`. **NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation.**
137
137
  */
@@ -207,7 +207,7 @@ export interface TransferJobArgs {
207
207
  /**
208
208
  * Schedule specification defining when the Transfer Job should be scheduled to start, end and what time to run. Structure documented below.
209
209
  */
210
- schedule: pulumi.Input<inputs.storage.TransferJobSchedule>;
210
+ schedule?: pulumi.Input<inputs.storage.TransferJobSchedule>;
211
211
  /**
212
212
  * Status of the job. Default: `ENABLED`. **NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation.**
213
213
  */
@@ -113,9 +113,6 @@ class TransferJob extends pulumi.CustomResource {
113
113
  if ((!args || args.description === undefined) && !opts.urn) {
114
114
  throw new Error("Missing required property 'description'");
115
115
  }
116
- if ((!args || args.schedule === undefined) && !opts.urn) {
117
- throw new Error("Missing required property 'schedule'");
118
- }
119
116
  if ((!args || args.transferSpec === undefined) && !opts.urn) {
120
117
  throw new Error("Missing required property 'transferSpec'");
121
118
  }
@@ -1 +1 @@
1
- {"version":3,"file":"transferJob.js","sourceRoot":"","sources":["../../storage/transferJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsFG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA0ElD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,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