@pulumi/gcp 6.49.0 → 6.50.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 (88) hide show
  1. package/alloydb/backup.d.ts +8 -8
  2. package/alloydb/backup.js +8 -8
  3. package/alloydb/cluster.d.ts +1 -50
  4. package/alloydb/cluster.js +1 -50
  5. package/alloydb/cluster.js.map +1 -1
  6. package/alloydb/instance.d.ts +9 -10
  7. package/alloydb/instance.js +9 -10
  8. package/alloydb/instance.js.map +1 -1
  9. package/apigee/addonsConfig.d.ts +172 -0
  10. package/apigee/addonsConfig.js +161 -0
  11. package/apigee/addonsConfig.js.map +1 -0
  12. package/apigee/index.d.ts +3 -0
  13. package/apigee/index.js +6 -1
  14. package/apigee/index.js.map +1 -1
  15. package/cloudbuildv2/connectionIAMBinding.d.ts +125 -0
  16. package/cloudbuildv2/connectionIAMBinding.js +92 -0
  17. package/cloudbuildv2/connectionIAMBinding.js.map +1 -0
  18. package/cloudbuildv2/connectionIAMMember.d.ts +125 -0
  19. package/cloudbuildv2/connectionIAMMember.js +92 -0
  20. package/cloudbuildv2/connectionIAMMember.js.map +1 -0
  21. package/cloudbuildv2/connectionIAMPolicy.d.ts +114 -0
  22. package/cloudbuildv2/connectionIAMPolicy.js +85 -0
  23. package/cloudbuildv2/connectionIAMPolicy.js.map +1 -0
  24. package/cloudbuildv2/index.d.ts +9 -0
  25. package/cloudbuildv2/index.js +16 -1
  26. package/cloudbuildv2/index.js.map +1 -1
  27. package/compute/externalVpnGateway.d.ts +18 -0
  28. package/compute/externalVpnGateway.js +2 -0
  29. package/compute/externalVpnGateway.js.map +1 -1
  30. package/compute/getInstanceGroupManager.d.ts +1 -0
  31. package/compute/getInstanceGroupManager.js.map +1 -1
  32. package/compute/getInstanceTemplate.d.ts +4 -0
  33. package/compute/getInstanceTemplate.js.map +1 -1
  34. package/compute/instanceGroupManager.d.ts +12 -0
  35. package/compute/instanceGroupManager.js +2 -0
  36. package/compute/instanceGroupManager.js.map +1 -1
  37. package/compute/instanceTemplate.d.ts +12 -0
  38. package/compute/instanceTemplate.js +2 -0
  39. package/compute/instanceTemplate.js.map +1 -1
  40. package/compute/network.d.ts +15 -6
  41. package/compute/network.js.map +1 -1
  42. package/compute/regionInstanceGroupManager.d.ts +12 -0
  43. package/compute/regionInstanceGroupManager.js +2 -0
  44. package/compute/regionInstanceGroupManager.js.map +1 -1
  45. package/compute/regionTargetTcpProxy.d.ts +10 -0
  46. package/compute/regionTargetTcpProxy.js +10 -0
  47. package/compute/regionTargetTcpProxy.js.map +1 -1
  48. package/datafusion/instance.d.ts +0 -9
  49. package/datafusion/instance.js +0 -9
  50. package/datafusion/instance.js.map +1 -1
  51. package/datastream/stream.d.ts +170 -0
  52. package/datastream/stream.js +170 -0
  53. package/datastream/stream.js.map +1 -1
  54. package/eventarc/channel.d.ts +3 -3
  55. package/eventarc/channel.js +3 -3
  56. package/eventarc/googleChannelConfig.d.ts +3 -3
  57. package/eventarc/googleChannelConfig.js +3 -3
  58. package/firebase/androidApp.d.ts +3 -3
  59. package/firebase/appleApp.d.ts +9 -9
  60. package/firestore/database.d.ts +197 -0
  61. package/firestore/database.js +90 -0
  62. package/firestore/database.js.map +1 -0
  63. package/firestore/index.d.ts +3 -0
  64. package/firestore/index.js +6 -1
  65. package/firestore/index.js.map +1 -1
  66. package/package.json +2 -2
  67. package/package.json.dev +2 -2
  68. package/redis/instance.d.ts +2 -2
  69. package/securitycenter/instanceIamBinding.d.ts +0 -9
  70. package/securitycenter/instanceIamBinding.js +0 -9
  71. package/securitycenter/instanceIamBinding.js.map +1 -1
  72. package/securitycenter/instanceIamMember.d.ts +0 -9
  73. package/securitycenter/instanceIamMember.js +0 -9
  74. package/securitycenter/instanceIamMember.js.map +1 -1
  75. package/securitycenter/instanceIamPolicy.d.ts +0 -9
  76. package/securitycenter/instanceIamPolicy.js +0 -9
  77. package/securitycenter/instanceIamPolicy.js.map +1 -1
  78. package/sql/databaseInstance.d.ts +1 -0
  79. package/sql/databaseInstance.js +1 -0
  80. package/sql/databaseInstance.js.map +1 -1
  81. package/types/input.d.ts +570 -1
  82. package/types/output.d.ts +575 -1
  83. package/vertex/aiFeatureStore.d.ts +44 -0
  84. package/vertex/aiFeatureStore.js +25 -0
  85. package/vertex/aiFeatureStore.js.map +1 -1
  86. package/vertex/aiFeatureStoreEntityType.d.ts +32 -0
  87. package/vertex/aiFeatureStoreEntityType.js +6 -0
  88. package/vertex/aiFeatureStoreEntityType.js.map +1 -1
@@ -0,0 +1,92 @@
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.ConnectionIAMMember = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/connections/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Build V2 connection 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.
12
+ *
13
+ * ```sh
14
+ * $ pulumi import gcp:cloudbuildv2/connectionIAMMember:ConnectionIAMMember editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer user:jane@example.com"
15
+ * ```
16
+ *
17
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
18
+ *
19
+ * ```sh
20
+ * $ pulumi import gcp:cloudbuildv2/connectionIAMMember:ConnectionIAMMember editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer"
21
+ * ```
22
+ *
23
+ * IAM policy imports use the identifier of the resource in question, e.g.
24
+ *
25
+ * ```sh
26
+ * $ pulumi import gcp:cloudbuildv2/connectionIAMMember:ConnectionIAMMember editor projects/{{project}}/locations/{{location}}/connections/{{connection}}
27
+ * ```
28
+ *
29
+ * -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
30
+ *
31
+ * full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
32
+ */
33
+ class ConnectionIAMMember extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing ConnectionIAMMember resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, state, opts) {
44
+ return new ConnectionIAMMember(name, state, Object.assign(Object.assign({}, opts), { id: id }));
45
+ }
46
+ /**
47
+ * Returns true if the given object is an instance of ConnectionIAMMember. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === ConnectionIAMMember.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["condition"] = state ? state.condition : undefined;
62
+ resourceInputs["etag"] = state ? state.etag : undefined;
63
+ resourceInputs["location"] = state ? state.location : undefined;
64
+ resourceInputs["member"] = state ? state.member : undefined;
65
+ resourceInputs["name"] = state ? state.name : undefined;
66
+ resourceInputs["project"] = state ? state.project : undefined;
67
+ resourceInputs["role"] = state ? state.role : undefined;
68
+ }
69
+ else {
70
+ const args = argsOrState;
71
+ if ((!args || args.member === undefined) && !opts.urn) {
72
+ throw new Error("Missing required property 'member'");
73
+ }
74
+ if ((!args || args.role === undefined) && !opts.urn) {
75
+ throw new Error("Missing required property 'role'");
76
+ }
77
+ resourceInputs["condition"] = args ? args.condition : undefined;
78
+ resourceInputs["location"] = args ? args.location : undefined;
79
+ resourceInputs["member"] = args ? args.member : undefined;
80
+ resourceInputs["name"] = args ? args.name : undefined;
81
+ resourceInputs["project"] = args ? args.project : undefined;
82
+ resourceInputs["role"] = args ? args.role : undefined;
83
+ resourceInputs["etag"] = undefined /*out*/;
84
+ }
85
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
86
+ super(ConnectionIAMMember.__pulumiType, name, resourceInputs, opts);
87
+ }
88
+ }
89
+ exports.ConnectionIAMMember = ConnectionIAMMember;
90
+ /** @internal */
91
+ ConnectionIAMMember.__pulumiType = 'gcp:cloudbuildv2/connectionIAMMember:ConnectionIAMMember';
92
+ //# sourceMappingURL=connectionIAMMember.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connectionIAMMember.js","sourceRoot":"","sources":["../../cloudbuildv2/connectionIAMMember.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAiCD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3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;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,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,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAzFL,kDA0FC;AA5EG,gBAAgB;AACO,gCAAY,GAAG,0DAA0D,CAAC"}
@@ -0,0 +1,114 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Import
4
+ *
5
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/connections/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Build V2 connection 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.
6
+ *
7
+ * ```sh
8
+ * $ pulumi import gcp:cloudbuildv2/connectionIAMPolicy:ConnectionIAMPolicy editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer user:jane@example.com"
9
+ * ```
10
+ *
11
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
12
+ *
13
+ * ```sh
14
+ * $ pulumi import gcp:cloudbuildv2/connectionIAMPolicy:ConnectionIAMPolicy editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer"
15
+ * ```
16
+ *
17
+ * IAM policy imports use the identifier of the resource in question, e.g.
18
+ *
19
+ * ```sh
20
+ * $ pulumi import gcp:cloudbuildv2/connectionIAMPolicy:ConnectionIAMPolicy editor projects/{{project}}/locations/{{location}}/connections/{{connection}}
21
+ * ```
22
+ *
23
+ * -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
24
+ *
25
+ * full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
26
+ */
27
+ export declare class ConnectionIAMPolicy extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing ConnectionIAMPolicy resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConnectionIAMPolicyState, opts?: pulumi.CustomResourceOptions): ConnectionIAMPolicy;
38
+ /**
39
+ * Returns true if the given object is an instance of ConnectionIAMPolicy. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj: any): obj is ConnectionIAMPolicy;
43
+ /**
44
+ * (Computed) The etag of the IAM policy.
45
+ */
46
+ readonly etag: pulumi.Output<string>;
47
+ readonly location: pulumi.Output<string>;
48
+ /**
49
+ * Used to find the parent resource to bind the IAM policy to
50
+ */
51
+ readonly name: pulumi.Output<string>;
52
+ /**
53
+ * The policy data generated by
54
+ * a `gcp.organizations.getIAMPolicy` data source.
55
+ */
56
+ readonly policyData: pulumi.Output<string>;
57
+ /**
58
+ * The ID of the project in which the resource belongs.
59
+ * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
60
+ */
61
+ readonly project: pulumi.Output<string>;
62
+ /**
63
+ * Create a ConnectionIAMPolicy resource with the given unique name, arguments, and options.
64
+ *
65
+ * @param name The _unique_ name of the resource.
66
+ * @param args The arguments to use to populate this resource's properties.
67
+ * @param opts A bag of options that control this resource's behavior.
68
+ */
69
+ constructor(name: string, args: ConnectionIAMPolicyArgs, opts?: pulumi.CustomResourceOptions);
70
+ }
71
+ /**
72
+ * Input properties used for looking up and filtering ConnectionIAMPolicy resources.
73
+ */
74
+ export interface ConnectionIAMPolicyState {
75
+ /**
76
+ * (Computed) The etag of the IAM policy.
77
+ */
78
+ etag?: pulumi.Input<string>;
79
+ location?: pulumi.Input<string>;
80
+ /**
81
+ * Used to find the parent resource to bind the IAM policy to
82
+ */
83
+ name?: pulumi.Input<string>;
84
+ /**
85
+ * The policy data generated by
86
+ * a `gcp.organizations.getIAMPolicy` data source.
87
+ */
88
+ policyData?: pulumi.Input<string>;
89
+ /**
90
+ * The ID of the project in which the resource belongs.
91
+ * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
92
+ */
93
+ project?: pulumi.Input<string>;
94
+ }
95
+ /**
96
+ * The set of arguments for constructing a ConnectionIAMPolicy resource.
97
+ */
98
+ export interface ConnectionIAMPolicyArgs {
99
+ location?: pulumi.Input<string>;
100
+ /**
101
+ * Used to find the parent resource to bind the IAM policy to
102
+ */
103
+ name?: pulumi.Input<string>;
104
+ /**
105
+ * The policy data generated by
106
+ * a `gcp.organizations.getIAMPolicy` data source.
107
+ */
108
+ policyData: pulumi.Input<string>;
109
+ /**
110
+ * The ID of the project in which the resource belongs.
111
+ * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
112
+ */
113
+ project?: pulumi.Input<string>;
114
+ }
@@ -0,0 +1,85 @@
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.ConnectionIAMPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/connections/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Build V2 connection 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.
12
+ *
13
+ * ```sh
14
+ * $ pulumi import gcp:cloudbuildv2/connectionIAMPolicy:ConnectionIAMPolicy editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer user:jane@example.com"
15
+ * ```
16
+ *
17
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
18
+ *
19
+ * ```sh
20
+ * $ pulumi import gcp:cloudbuildv2/connectionIAMPolicy:ConnectionIAMPolicy editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer"
21
+ * ```
22
+ *
23
+ * IAM policy imports use the identifier of the resource in question, e.g.
24
+ *
25
+ * ```sh
26
+ * $ pulumi import gcp:cloudbuildv2/connectionIAMPolicy:ConnectionIAMPolicy editor projects/{{project}}/locations/{{location}}/connections/{{connection}}
27
+ * ```
28
+ *
29
+ * -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
30
+ *
31
+ * full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
32
+ */
33
+ class ConnectionIAMPolicy extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing ConnectionIAMPolicy resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, state, opts) {
44
+ return new ConnectionIAMPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
45
+ }
46
+ /**
47
+ * Returns true if the given object is an instance of ConnectionIAMPolicy. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === ConnectionIAMPolicy.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["etag"] = state ? state.etag : undefined;
62
+ resourceInputs["location"] = state ? state.location : undefined;
63
+ resourceInputs["name"] = state ? state.name : undefined;
64
+ resourceInputs["policyData"] = state ? state.policyData : undefined;
65
+ resourceInputs["project"] = state ? state.project : undefined;
66
+ }
67
+ else {
68
+ const args = argsOrState;
69
+ if ((!args || args.policyData === undefined) && !opts.urn) {
70
+ throw new Error("Missing required property 'policyData'");
71
+ }
72
+ resourceInputs["location"] = args ? args.location : undefined;
73
+ resourceInputs["name"] = args ? args.name : undefined;
74
+ resourceInputs["policyData"] = args ? args.policyData : undefined;
75
+ resourceInputs["project"] = args ? args.project : undefined;
76
+ resourceInputs["etag"] = undefined /*out*/;
77
+ }
78
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
79
+ super(ConnectionIAMPolicy.__pulumiType, name, resourceInputs, opts);
80
+ }
81
+ }
82
+ exports.ConnectionIAMPolicy = ConnectionIAMPolicy;
83
+ /** @internal */
84
+ ConnectionIAMPolicy.__pulumiType = 'gcp:cloudbuildv2/connectionIAMPolicy:ConnectionIAMPolicy';
85
+ //# sourceMappingURL=connectionIAMPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connectionIAMPolicy.js","sourceRoot":"","sources":["../../cloudbuildv2/connectionIAMPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IA8BD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,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AG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA/EL,kDAgFC;AAlEG,gBAAgB;AACO,gCAAY,GAAG,0DAA0D,CAAC"}
@@ -1,6 +1,15 @@
1
1
  export { ConnectionArgs, ConnectionState } from "./connection";
2
2
  export type Connection = import("./connection").Connection;
3
3
  export declare const Connection: typeof import("./connection").Connection;
4
+ export { ConnectionIAMBindingArgs, ConnectionIAMBindingState } from "./connectionIAMBinding";
5
+ export type ConnectionIAMBinding = import("./connectionIAMBinding").ConnectionIAMBinding;
6
+ export declare const ConnectionIAMBinding: typeof import("./connectionIAMBinding").ConnectionIAMBinding;
7
+ export { ConnectionIAMMemberArgs, ConnectionIAMMemberState } from "./connectionIAMMember";
8
+ export type ConnectionIAMMember = import("./connectionIAMMember").ConnectionIAMMember;
9
+ export declare const ConnectionIAMMember: typeof import("./connectionIAMMember").ConnectionIAMMember;
10
+ export { ConnectionIAMPolicyArgs, ConnectionIAMPolicyState } from "./connectionIAMPolicy";
11
+ export type ConnectionIAMPolicy = import("./connectionIAMPolicy").ConnectionIAMPolicy;
12
+ export declare const ConnectionIAMPolicy: typeof import("./connectionIAMPolicy").ConnectionIAMPolicy;
4
13
  export { RepositoryArgs, RepositoryState } from "./repository";
5
14
  export type Repository = import("./repository").Repository;
6
15
  export declare const Repository: typeof import("./repository").Repository;
@@ -2,11 +2,17 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Repository = exports.Connection = void 0;
5
+ exports.Repository = exports.ConnectionIAMPolicy = exports.ConnectionIAMMember = exports.ConnectionIAMBinding = exports.Connection = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.Connection = null;
9
9
  utilities.lazyLoad(exports, ["Connection"], () => require("./connection"));
10
+ exports.ConnectionIAMBinding = null;
11
+ utilities.lazyLoad(exports, ["ConnectionIAMBinding"], () => require("./connectionIAMBinding"));
12
+ exports.ConnectionIAMMember = null;
13
+ utilities.lazyLoad(exports, ["ConnectionIAMMember"], () => require("./connectionIAMMember"));
14
+ exports.ConnectionIAMPolicy = null;
15
+ utilities.lazyLoad(exports, ["ConnectionIAMPolicy"], () => require("./connectionIAMPolicy"));
10
16
  exports.Repository = null;
11
17
  utilities.lazyLoad(exports, ["Repository"], () => require("./repository"));
12
18
  const _module = {
@@ -15,6 +21,12 @@ const _module = {
15
21
  switch (type) {
16
22
  case "gcp:cloudbuildv2/connection:Connection":
17
23
  return new exports.Connection(name, undefined, { urn });
24
+ case "gcp:cloudbuildv2/connectionIAMBinding:ConnectionIAMBinding":
25
+ return new exports.ConnectionIAMBinding(name, undefined, { urn });
26
+ case "gcp:cloudbuildv2/connectionIAMMember:ConnectionIAMMember":
27
+ return new exports.ConnectionIAMMember(name, undefined, { urn });
28
+ case "gcp:cloudbuildv2/connectionIAMPolicy:ConnectionIAMPolicy":
29
+ return new exports.ConnectionIAMPolicy(name, undefined, { urn });
18
30
  case "gcp:cloudbuildv2/repository:Repository":
19
31
  return new exports.Repository(name, undefined, { urn });
20
32
  default:
@@ -23,5 +35,8 @@ const _module = {
23
35
  },
24
36
  };
25
37
  pulumi.runtime.registerResourceModule("gcp", "cloudbuildv2/connection", _module);
38
+ pulumi.runtime.registerResourceModule("gcp", "cloudbuildv2/connectionIAMBinding", _module);
39
+ pulumi.runtime.registerResourceModule("gcp", "cloudbuildv2/connectionIAMMember", _module);
40
+ pulumi.runtime.registerResourceModule("gcp", "cloudbuildv2/connectionIAMPolicy", _module);
26
41
  pulumi.runtime.registerResourceModule("gcp", "cloudbuildv2/repository", _module);
27
42
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cloudbuildv2/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAI9D,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAG3E,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,wCAAwC;gBACzC,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,wCAAwC;gBACzC,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD;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,yBAAyB,EAAE,OAAO,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cloudbuildv2/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAA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0DAA0D;gBAC3D,OAAO,IAAI,2BAAmB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjE,KAAK,0DAA0D;gBAC3D,OAAO,IAAI,2BAAmB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjE,KAAK,wCAAwC;gBACzC,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD;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,mCAAmC,EAAE,OAAO,CAAC,CAAA;AAC1F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA"}
@@ -136,6 +136,12 @@ export declare class ExternalVpnGateway extends pulumi.CustomResource {
136
136
  * Structure is documented below.
137
137
  */
138
138
  readonly interfaces: pulumi.Output<outputs.compute.ExternalVpnGatewayInterface[] | undefined>;
139
+ /**
140
+ * Labels for the external VPN gateway resource.
141
+ */
142
+ readonly labels: pulumi.Output<{
143
+ [key: string]: string;
144
+ } | undefined>;
139
145
  /**
140
146
  * Name of the resource. Provided by the client when the resource is
141
147
  * created. The name must be 1-63 characters long, and comply with
@@ -182,6 +188,12 @@ export interface ExternalVpnGatewayState {
182
188
  * Structure is documented below.
183
189
  */
184
190
  interfaces?: pulumi.Input<pulumi.Input<inputs.compute.ExternalVpnGatewayInterface>[]>;
191
+ /**
192
+ * Labels for the external VPN gateway resource.
193
+ */
194
+ labels?: pulumi.Input<{
195
+ [key: string]: pulumi.Input<string>;
196
+ }>;
185
197
  /**
186
198
  * Name of the resource. Provided by the client when the resource is
187
199
  * created. The name must be 1-63 characters long, and comply with
@@ -220,6 +232,12 @@ export interface ExternalVpnGatewayArgs {
220
232
  * Structure is documented below.
221
233
  */
222
234
  interfaces?: pulumi.Input<pulumi.Input<inputs.compute.ExternalVpnGatewayInterface>[]>;
235
+ /**
236
+ * Labels for the external VPN gateway resource.
237
+ */
238
+ labels?: pulumi.Input<{
239
+ [key: string]: pulumi.Input<string>;
240
+ }>;
223
241
  /**
224
242
  * Name of the resource. Provided by the client when the resource is
225
243
  * created. The name must be 1-63 characters long, and comply with
@@ -145,6 +145,7 @@ class ExternalVpnGateway extends pulumi.CustomResource {
145
145
  const state = argsOrState;
146
146
  resourceInputs["description"] = state ? state.description : undefined;
147
147
  resourceInputs["interfaces"] = state ? state.interfaces : undefined;
148
+ resourceInputs["labels"] = state ? state.labels : undefined;
148
149
  resourceInputs["name"] = state ? state.name : undefined;
149
150
  resourceInputs["project"] = state ? state.project : undefined;
150
151
  resourceInputs["redundancyType"] = state ? state.redundancyType : undefined;
@@ -154,6 +155,7 @@ class ExternalVpnGateway extends pulumi.CustomResource {
154
155
  const args = argsOrState;
155
156
  resourceInputs["description"] = args ? args.description : undefined;
156
157
  resourceInputs["interfaces"] = args ? args.interfaces : undefined;
158
+ resourceInputs["labels"] = args ? args.labels : undefined;
157
159
  resourceInputs["name"] = args ? args.name : undefined;
158
160
  resourceInputs["project"] = args ? args.project : undefined;
159
161
  resourceInputs["redundancyType"] = args ? args.redundancyType : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"externalVpnGateway.js","sourceRoot":"","sources":["../../compute/externalVpnGateway.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAA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D,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;;AAlGL,gDAmGC;AArFG,gBAAgB;AACO,+BAAY,GAAG,mDAAmD,CAAC"}
@@ -56,6 +56,7 @@ export interface GetInstanceGroupManagerResult {
56
56
  */
57
57
  readonly id: string;
58
58
  readonly instanceGroup: string;
59
+ readonly instanceLifecyclePolicies: outputs.compute.GetInstanceGroupManagerInstanceLifecyclePolicy[];
59
60
  readonly listManagedInstancesResults: string;
60
61
  readonly name?: string;
61
62
  readonly namedPorts: outputs.compute.GetInstanceGroupManagerNamedPort[];
@@ -1 +1 @@
1
- {"version":3,"file":"getInstanceGroupManager.js","sourceRoot":"","sources":["../../compute/getInstanceGroupManager.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6DAA6D,EAAE;QACxF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0DAUC;AAwDD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,6BAA6B,CAAC,IAAwC,EAAE,IAA2B;IAC/G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClF,CAAC;AAFD,sEAEC"}
1
+ {"version":3,"file":"getInstanceGroupManager.js","sourceRoot":"","sources":["../../compute/getInstanceGroupManager.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6DAA6D,EAAE;QACxF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0DAUC;AAyDD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,6BAA6B,CAAC,IAAwC,EAAE,IAA2B;IAC/G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClF,CAAC;AAFD,sEAEC"}
@@ -156,6 +156,10 @@ export interface GetInstanceTemplateResult {
156
156
  */
157
157
  readonly region: string;
158
158
  readonly reservationAffinities: outputs.compute.GetInstanceTemplateReservationAffinity[];
159
+ /**
160
+ * (Optional) -- A list of short names of resource policies to attach to this disk for automatic snapshot creations. Currently a max of 1 resource policy is supported.
161
+ */
162
+ readonly resourcePolicies: string[];
159
163
  /**
160
164
  * The scheduling strategy to use. More details about
161
165
  * this configuration option are detailed below.
@@ -1 +1 @@
1
- {"version":3,"file":"getInstanceTemplate.js","sourceRoot":"","sources":["../../compute/getInstanceTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kDAUC;AAgKD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
1
+ {"version":3,"file":"getInstanceTemplate.js","sourceRoot":"","sources":["../../compute/getInstanceTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kDAUC;AAoKD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
@@ -149,6 +149,10 @@ export declare class InstanceGroupManager extends pulumi.CustomResource {
149
149
  * The full URL of the instance group created by the manager.
150
150
  */
151
151
  readonly instanceGroup: pulumi.Output<string>;
152
+ /**
153
+ * The instance lifecycle policy for this managed instance group.
154
+ */
155
+ readonly instanceLifecyclePolicy: pulumi.Output<outputs.compute.InstanceGroupManagerInstanceLifecyclePolicy>;
152
156
  /**
153
157
  * Pagination behavior of the `listManagedInstances` API
154
158
  * method for this managed instance group. Valid values are: `PAGELESS`, `PAGINATED`.
@@ -282,6 +286,10 @@ export interface InstanceGroupManagerState {
282
286
  * The full URL of the instance group created by the manager.
283
287
  */
284
288
  instanceGroup?: pulumi.Input<string>;
289
+ /**
290
+ * The instance lifecycle policy for this managed instance group.
291
+ */
292
+ instanceLifecyclePolicy?: pulumi.Input<inputs.compute.InstanceGroupManagerInstanceLifecyclePolicy>;
285
293
  /**
286
294
  * Pagination behavior of the `listManagedInstances` API
287
295
  * method for this managed instance group. Valid values are: `PAGELESS`, `PAGINATED`.
@@ -399,6 +407,10 @@ export interface InstanceGroupManagerArgs {
399
407
  * group manager.
400
408
  */
401
409
  description?: pulumi.Input<string>;
410
+ /**
411
+ * The instance lifecycle policy for this managed instance group.
412
+ */
413
+ instanceLifecyclePolicy?: pulumi.Input<inputs.compute.InstanceGroupManagerInstanceLifecyclePolicy>;
402
414
  /**
403
415
  * Pagination behavior of the `listManagedInstances` API
404
416
  * method for this managed instance group. Valid values are: `PAGELESS`, `PAGINATED`.
@@ -137,6 +137,7 @@ class InstanceGroupManager extends pulumi.CustomResource {
137
137
  resourceInputs["description"] = state ? state.description : undefined;
138
138
  resourceInputs["fingerprint"] = state ? state.fingerprint : undefined;
139
139
  resourceInputs["instanceGroup"] = state ? state.instanceGroup : undefined;
140
+ resourceInputs["instanceLifecyclePolicy"] = state ? state.instanceLifecyclePolicy : undefined;
140
141
  resourceInputs["listManagedInstancesResults"] = state ? state.listManagedInstancesResults : undefined;
141
142
  resourceInputs["name"] = state ? state.name : undefined;
142
143
  resourceInputs["namedPorts"] = state ? state.namedPorts : undefined;
@@ -167,6 +168,7 @@ class InstanceGroupManager extends pulumi.CustomResource {
167
168
  resourceInputs["autoHealingPolicies"] = args ? args.autoHealingPolicies : undefined;
168
169
  resourceInputs["baseInstanceName"] = args ? args.baseInstanceName : undefined;
169
170
  resourceInputs["description"] = args ? args.description : undefined;
171
+ resourceInputs["instanceLifecyclePolicy"] = args ? args.instanceLifecyclePolicy : undefined;
170
172
  resourceInputs["listManagedInstancesResults"] = args ? args.listManagedInstancesResults : undefined;
171
173
  resourceInputs["name"] = args ? args.name : undefined;
172
174
  resourceInputs["namedPorts"] = args ? args.namedPorts : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"instanceGroupManager.js","sourceRoot":"","sources":["../../compute/instanceGroupManager.ts"],"names":[],"m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AAC,SAAS,CAAC;YAC1F,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAjOL,oDAkOC;AApNG,gBAAgB;AACO,iCAAY,GAAG,uDAAuD,CAAC"}
@@ -150,6 +150,10 @@ export declare class InstanceTemplate extends pulumi.CustomResource {
150
150
  * Structure is documented below.
151
151
  */
152
152
  readonly reservationAffinity: pulumi.Output<outputs.compute.InstanceTemplateReservationAffinity | undefined>;
153
+ /**
154
+ * - A list of selfLinks of resource policies to attach to the instance. Modifying this list will cause the instance to recreate. Currently a max of 1 resource policy is supported.
155
+ */
156
+ readonly resourcePolicies: pulumi.Output<string | undefined>;
153
157
  /**
154
158
  * The scheduling strategy to use. More details about
155
159
  * this configuration option are detailed below.
@@ -303,6 +307,10 @@ export interface InstanceTemplateState {
303
307
  * Structure is documented below.
304
308
  */
305
309
  reservationAffinity?: pulumi.Input<inputs.compute.InstanceTemplateReservationAffinity>;
310
+ /**
311
+ * - A list of selfLinks of resource policies to attach to the instance. Modifying this list will cause the instance to recreate. Currently a max of 1 resource policy is supported.
312
+ */
313
+ resourcePolicies?: pulumi.Input<string>;
306
314
  /**
307
315
  * The scheduling strategy to use. More details about
308
316
  * this configuration option are detailed below.
@@ -444,6 +452,10 @@ export interface InstanceTemplateArgs {
444
452
  * Structure is documented below.
445
453
  */
446
454
  reservationAffinity?: pulumi.Input<inputs.compute.InstanceTemplateReservationAffinity>;
455
+ /**
456
+ * - A list of selfLinks of resource policies to attach to the instance. Modifying this list will cause the instance to recreate. Currently a max of 1 resource policy is supported.
457
+ */
458
+ resourcePolicies?: pulumi.Input<string>;
447
459
  /**
448
460
  * The scheduling strategy to use. More details about
449
461
  * this configuration option are detailed below.
@@ -73,6 +73,7 @@ class InstanceTemplate extends pulumi.CustomResource {
73
73
  resourceInputs["project"] = state ? state.project : undefined;
74
74
  resourceInputs["region"] = state ? state.region : undefined;
75
75
  resourceInputs["reservationAffinity"] = state ? state.reservationAffinity : undefined;
76
+ resourceInputs["resourcePolicies"] = state ? state.resourcePolicies : undefined;
76
77
  resourceInputs["scheduling"] = state ? state.scheduling : undefined;
77
78
  resourceInputs["selfLink"] = state ? state.selfLink : undefined;
78
79
  resourceInputs["serviceAccount"] = state ? state.serviceAccount : undefined;
@@ -108,6 +109,7 @@ class InstanceTemplate extends pulumi.CustomResource {
108
109
  resourceInputs["project"] = args ? args.project : undefined;
109
110
  resourceInputs["region"] = args ? args.region : undefined;
110
111
  resourceInputs["reservationAffinity"] = args ? args.reservationAffinity : undefined;
112
+ resourceInputs["resourcePolicies"] = args ? args.resourcePolicies : undefined;
111
113
  resourceInputs["scheduling"] = args ? args.scheduling : undefined;
112
114
  resourceInputs["serviceAccount"] = args ? args.serviceAccount : undefined;
113
115
  resourceInputs["shieldedInstanceConfig"] = args ? args.shieldedInstanceConfig : undefined;