@pulumi/gcp 7.3.0-alpha.1702567892 → 7.3.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.
- package/artifactregistry/repository.d.ts +63 -8
- package/artifactregistry/repository.js +63 -8
- package/artifactregistry/repository.js.map +1 -1
- package/bigquery/connection.d.ts +50 -0
- package/bigquery/connection.js +37 -0
- package/bigquery/connection.js.map +1 -1
- package/cloudidentity/groupMembership.d.ts +0 -4
- package/cloudidentity/groupMembership.js.map +1 -1
- package/cloudrunv2/job.d.ts +23 -0
- package/cloudrunv2/job.js +23 -0
- package/cloudrunv2/job.js.map +1 -1
- package/cloudrunv2/service.d.ts +22 -0
- package/cloudrunv2/service.js +22 -0
- package/cloudrunv2/service.js.map +1 -1
- package/cloudtasks/queue.d.ts +0 -5
- package/cloudtasks/queue.js +0 -5
- package/cloudtasks/queue.js.map +1 -1
- package/compute/getGlobalForwardingRule.d.ts +1 -0
- package/compute/getGlobalForwardingRule.js.map +1 -1
- package/compute/globalForwardingRule.d.ts +22 -0
- package/compute/globalForwardingRule.js +6 -0
- package/compute/globalForwardingRule.js.map +1 -1
- package/config/vars.d.ts +3 -0
- package/config/vars.js +18 -0
- package/config/vars.js.map +1 -1
- package/container/nodePool.d.ts +21 -6
- package/container/nodePool.js +2 -0
- package/container/nodePool.js.map +1 -1
- package/dataform/getRepositoryIamPolicy.d.ts +64 -0
- package/dataform/getRepositoryIamPolicy.js +21 -0
- package/dataform/getRepositoryIamPolicy.js.map +1 -0
- package/dataform/index.d.ts +12 -0
- package/dataform/index.js +19 -1
- package/dataform/index.js.map +1 -1
- package/dataform/repositoryIamBinding.d.ts +58 -0
- package/dataform/repositoryIamBinding.js +70 -0
- package/dataform/repositoryIamBinding.js.map +1 -0
- package/dataform/repositoryIamMember.d.ts +58 -0
- package/dataform/repositoryIamMember.js +70 -0
- package/dataform/repositoryIamMember.js.map +1 -0
- package/dataform/repositoryIamPolicy.d.ts +50 -0
- package/dataform/repositoryIamPolicy.js +63 -0
- package/dataform/repositoryIamPolicy.js.map +1 -0
- package/dataloss/preventionJobTrigger.d.ts +40 -0
- package/dataloss/preventionJobTrigger.js +40 -0
- package/dataloss/preventionJobTrigger.js.map +1 -1
- package/datastream/connectionProfile.d.ts +44 -2
- package/datastream/connectionProfile.js +44 -2
- package/datastream/connectionProfile.js.map +1 -1
- package/datastream/stream.d.ts +16 -11
- package/datastream/stream.js +16 -11
- package/datastream/stream.js.map +1 -1
- package/firestore/database.d.ts +59 -13
- package/firestore/database.js +28 -7
- package/firestore/database.js.map +1 -1
- package/gkehub/feature.d.ts +92 -0
- package/gkehub/feature.js +92 -0
- package/gkehub/feature.js.map +1 -1
- package/gkehub/featureMembership.d.ts +45 -31
- package/gkehub/featureMembership.js +42 -28
- package/gkehub/featureMembership.js.map +1 -1
- package/gkehub/fleet.d.ts +24 -1
- package/gkehub/fleet.js +11 -1
- package/gkehub/fleet.js.map +1 -1
- package/gkehub/scope.d.ts +1 -1
- package/gkehub/scope.js +1 -1
- package/iam/workforcePool.d.ts +26 -0
- package/iam/workforcePool.js +8 -0
- package/iam/workforcePool.js.map +1 -1
- package/identityplatform/projectDefaultConfig.d.ts +2 -0
- package/identityplatform/projectDefaultConfig.js +2 -0
- package/identityplatform/projectDefaultConfig.js.map +1 -1
- package/index.d.ts +4 -1
- package/index.js +8 -2
- package/index.js.map +1 -1
- package/logging/getFolderSettings.d.ts +101 -0
- package/logging/getFolderSettings.js +59 -0
- package/logging/getFolderSettings.js.map +1 -0
- package/logging/getOrganizationSettings.d.ts +101 -0
- package/logging/getOrganizationSettings.js +59 -0
- package/logging/getOrganizationSettings.js.map +1 -0
- package/logging/getProjectSettings.d.ts +101 -0
- package/logging/getProjectSettings.js +59 -0
- package/logging/getProjectSettings.js.map +1 -0
- package/logging/index.d.ts +9 -0
- package/logging/index.js +10 -1
- package/logging/index.js.map +1 -1
- package/migrationcenter/group.d.ts +227 -0
- package/migrationcenter/group.js +122 -0
- package/migrationcenter/group.js.map +1 -0
- package/migrationcenter/index.d.ts +3 -0
- package/migrationcenter/index.js +22 -0
- package/migrationcenter/index.js.map +1 -0
- package/netapp/index.d.ts +3 -0
- package/netapp/index.js +22 -0
- package/netapp/index.js.map +1 -0
- package/netapp/storagePool.d.ts +327 -0
- package/netapp/storagePool.js +163 -0
- package/netapp/storagePool.js.map +1 -0
- package/package.json +1 -1
- package/projects/iamcustomRole.d.ts +3 -3
- package/provider.d.ts +6 -0
- package/provider.js +3 -0
- package/provider.js.map +1 -1
- package/securesourcemanager/getInstanceIamPolicy.d.ts +96 -0
- package/securesourcemanager/getInstanceIamPolicy.js +53 -0
- package/securesourcemanager/getInstanceIamPolicy.js.map +1 -0
- package/securesourcemanager/index.d.ts +15 -0
- package/securesourcemanager/index.js +40 -0
- package/securesourcemanager/index.js.map +1 -0
- package/securesourcemanager/instance.d.ts +221 -0
- package/securesourcemanager/instance.js +127 -0
- package/securesourcemanager/instance.js.map +1 -0
- package/securesourcemanager/instanceIamBinding.d.ts +58 -0
- package/securesourcemanager/instanceIamBinding.js +70 -0
- package/securesourcemanager/instanceIamBinding.js.map +1 -0
- package/securesourcemanager/instanceIamMember.d.ts +58 -0
- package/securesourcemanager/instanceIamMember.js +70 -0
- package/securesourcemanager/instanceIamMember.js.map +1 -0
- package/securesourcemanager/instanceIamPolicy.d.ts +50 -0
- package/securesourcemanager/instanceIamPolicy.js +63 -0
- package/securesourcemanager/instanceIamPolicy.js.map +1 -0
- package/securitycenter/eventThreatDetectionCustomModule.d.ts +174 -0
- package/securitycenter/eventThreatDetectionCustomModule.js +108 -0
- package/securitycenter/eventThreatDetectionCustomModule.js.map +1 -0
- package/securitycenter/index.d.ts +3 -0
- package/securitycenter/index.js +6 -1
- package/securitycenter/index.js.map +1 -1
- package/sql/databaseInstance.d.ts +2 -2
- package/types/input.d.ts +481 -14
- package/types/output.d.ts +530 -14
- package/vertex/aiEndpointIamBinding.d.ts +58 -0
- package/vertex/aiEndpointIamBinding.js +70 -0
- package/vertex/aiEndpointIamBinding.js.map +1 -0
- package/vertex/aiEndpointIamMember.d.ts +58 -0
- package/vertex/aiEndpointIamMember.js +70 -0
- package/vertex/aiEndpointIamMember.js.map +1 -0
- package/vertex/aiEndpointIamPolicy.d.ts +50 -0
- package/vertex/aiEndpointIamPolicy.js +63 -0
- package/vertex/aiEndpointIamPolicy.js.map +1 -0
- package/vertex/getAiEndpointIamPolicy.d.ts +60 -0
- package/vertex/getAiEndpointIamPolicy.js +21 -0
- package/vertex/getAiEndpointIamPolicy.js.map +1 -0
- package/vertex/index.d.ts +12 -0
- package/vertex/index.js +19 -1
- package/vertex/index.js.map +1 -1
- package/vmwareengine/getNetwork.d.ts +12 -2
- package/vmwareengine/getNetwork.js +12 -2
- package/vmwareengine/getNetwork.js.map +1 -1
- package/vmwareengine/getNetworkPeering.d.ts +82 -0
- package/vmwareengine/getNetworkPeering.js +54 -0
- package/vmwareengine/getNetworkPeering.js.map +1 -0
- package/vmwareengine/getNetworkPolicy.d.ts +89 -0
- package/vmwareengine/getNetworkPolicy.js +57 -0
- package/vmwareengine/getNetworkPolicy.js.map +1 -0
- package/vmwareengine/getNsxCredentials.d.ts +73 -0
- package/vmwareengine/getNsxCredentials.js +53 -0
- package/vmwareengine/getNsxCredentials.js.map +1 -0
- package/vmwareengine/getPrivateCloud.d.ts +12 -2
- package/vmwareengine/getPrivateCloud.js +12 -2
- package/vmwareengine/getPrivateCloud.js.map +1 -1
- package/vmwareengine/index.d.ts +15 -0
- package/vmwareengine/index.js +20 -1
- package/vmwareengine/index.js.map +1 -1
- package/vmwareengine/network.d.ts +21 -3
- package/vmwareengine/network.js +18 -0
- package/vmwareengine/network.js.map +1 -1
- package/vmwareengine/networkPeering.d.ts +318 -0
- package/vmwareengine/networkPeering.js +164 -0
- package/vmwareengine/networkPeering.js.map +1 -0
- package/vmwareengine/networkPolicy.d.ts +289 -0
- package/vmwareengine/networkPolicy.js +154 -0
- package/vmwareengine/networkPolicy.js.map +1 -0
- package/vmwareengine/privateCloud.d.ts +8 -38
- package/vmwareengine/privateCloud.js +8 -38
- package/vmwareengine/privateCloud.js.map +1 -1
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* A resource that represents an asset group. The purpose of an asset group is to bundle a set of assets that have something in common, while allowing users to add annotations to the group.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
* ### Migration Group Basic
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as gcp from "@pulumi/gcp";
|
|
11
|
+
*
|
|
12
|
+
* const _default = new gcp.migrationcenter.Group("default", {
|
|
13
|
+
* description: "Terraform integration test description",
|
|
14
|
+
* displayName: "Terraform integration test display",
|
|
15
|
+
* groupId: "group-test",
|
|
16
|
+
* labels: {
|
|
17
|
+
* key: "value",
|
|
18
|
+
* },
|
|
19
|
+
* location: "us-central1",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* Group can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/groups/{{group_id}}` * `{{project}}/{{location}}/{{group_id}}` * `{{location}}/{{group_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Group using one of the formats above. For exampletf import {
|
|
26
|
+
*
|
|
27
|
+
* id = "projects/{{project}}/locations/{{location}}/groups/{{group_id}}"
|
|
28
|
+
*
|
|
29
|
+
* to = google_migration_center_group.default }
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import gcp:migrationcenter/group:Group When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Group can be imported using one of the formats above. For example
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import gcp:migrationcenter/group:Group default projects/{{project}}/locations/{{location}}/groups/{{group_id}}
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import gcp:migrationcenter/group:Group default {{project}}/{{location}}/{{group_id}}
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import gcp:migrationcenter/group:Group default {{location}}/{{group_id}}
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export declare class Group extends pulumi.CustomResource {
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing Group resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param state Any extra arguments used during the lookup.
|
|
55
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
+
*/
|
|
57
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupState, opts?: pulumi.CustomResourceOptions): Group;
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of Group. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj: any): obj is Group;
|
|
63
|
+
/**
|
|
64
|
+
* Output only. The timestamp when the group was created.
|
|
65
|
+
*/
|
|
66
|
+
readonly createTime: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Optional. The description of the group.
|
|
69
|
+
*/
|
|
70
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* Optional. User-friendly display name.
|
|
73
|
+
*/
|
|
74
|
+
readonly displayName: pulumi.Output<string | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
|
77
|
+
*/
|
|
78
|
+
readonly effectiveLabels: pulumi.Output<{
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
}>;
|
|
81
|
+
/**
|
|
82
|
+
* Required. User specified ID for the group. It will become the last component of the group name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression: `a-z?`.
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* - - -
|
|
86
|
+
*/
|
|
87
|
+
readonly groupId: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Labels as key value pairs.
|
|
90
|
+
* **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
|
91
|
+
* Please refer to the field `effectiveLabels` for all of the labels present on the resource.
|
|
92
|
+
*/
|
|
93
|
+
readonly labels: pulumi.Output<{
|
|
94
|
+
[key: string]: string;
|
|
95
|
+
} | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* The location of the group.
|
|
98
|
+
*/
|
|
99
|
+
readonly location: pulumi.Output<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Output only. The name of the group.
|
|
102
|
+
*/
|
|
103
|
+
readonly name: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The ID of the project in which the resource belongs.
|
|
106
|
+
* If it is not provided, the provider project is used.
|
|
107
|
+
*/
|
|
108
|
+
readonly project: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The combination of labels configured directly on the resource
|
|
111
|
+
* and default labels configured on the provider.
|
|
112
|
+
*/
|
|
113
|
+
readonly pulumiLabels: pulumi.Output<{
|
|
114
|
+
[key: string]: string;
|
|
115
|
+
}>;
|
|
116
|
+
/**
|
|
117
|
+
* Output only. The timestamp when the group was last updated.
|
|
118
|
+
*/
|
|
119
|
+
readonly updateTime: pulumi.Output<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Create a Group resource with the given unique name, arguments, and options.
|
|
122
|
+
*
|
|
123
|
+
* @param name The _unique_ name of the resource.
|
|
124
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
125
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
126
|
+
*/
|
|
127
|
+
constructor(name: string, args: GroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Input properties used for looking up and filtering Group resources.
|
|
131
|
+
*/
|
|
132
|
+
export interface GroupState {
|
|
133
|
+
/**
|
|
134
|
+
* Output only. The timestamp when the group was created.
|
|
135
|
+
*/
|
|
136
|
+
createTime?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* Optional. The description of the group.
|
|
139
|
+
*/
|
|
140
|
+
description?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* Optional. User-friendly display name.
|
|
143
|
+
*/
|
|
144
|
+
displayName?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
|
147
|
+
*/
|
|
148
|
+
effectiveLabels?: pulumi.Input<{
|
|
149
|
+
[key: string]: pulumi.Input<string>;
|
|
150
|
+
}>;
|
|
151
|
+
/**
|
|
152
|
+
* Required. User specified ID for the group. It will become the last component of the group name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression: `a-z?`.
|
|
153
|
+
*
|
|
154
|
+
*
|
|
155
|
+
* - - -
|
|
156
|
+
*/
|
|
157
|
+
groupId?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Labels as key value pairs.
|
|
160
|
+
* **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
|
161
|
+
* Please refer to the field `effectiveLabels` for all of the labels present on the resource.
|
|
162
|
+
*/
|
|
163
|
+
labels?: pulumi.Input<{
|
|
164
|
+
[key: string]: pulumi.Input<string>;
|
|
165
|
+
}>;
|
|
166
|
+
/**
|
|
167
|
+
* The location of the group.
|
|
168
|
+
*/
|
|
169
|
+
location?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* Output only. The name of the group.
|
|
172
|
+
*/
|
|
173
|
+
name?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* The ID of the project in which the resource belongs.
|
|
176
|
+
* If it is not provided, the provider project is used.
|
|
177
|
+
*/
|
|
178
|
+
project?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* The combination of labels configured directly on the resource
|
|
181
|
+
* and default labels configured on the provider.
|
|
182
|
+
*/
|
|
183
|
+
pulumiLabels?: pulumi.Input<{
|
|
184
|
+
[key: string]: pulumi.Input<string>;
|
|
185
|
+
}>;
|
|
186
|
+
/**
|
|
187
|
+
* Output only. The timestamp when the group was last updated.
|
|
188
|
+
*/
|
|
189
|
+
updateTime?: pulumi.Input<string>;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* The set of arguments for constructing a Group resource.
|
|
193
|
+
*/
|
|
194
|
+
export interface GroupArgs {
|
|
195
|
+
/**
|
|
196
|
+
* Optional. The description of the group.
|
|
197
|
+
*/
|
|
198
|
+
description?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* Optional. User-friendly display name.
|
|
201
|
+
*/
|
|
202
|
+
displayName?: pulumi.Input<string>;
|
|
203
|
+
/**
|
|
204
|
+
* Required. User specified ID for the group. It will become the last component of the group name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression: `a-z?`.
|
|
205
|
+
*
|
|
206
|
+
*
|
|
207
|
+
* - - -
|
|
208
|
+
*/
|
|
209
|
+
groupId: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* Labels as key value pairs.
|
|
212
|
+
* **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
|
213
|
+
* Please refer to the field `effectiveLabels` for all of the labels present on the resource.
|
|
214
|
+
*/
|
|
215
|
+
labels?: pulumi.Input<{
|
|
216
|
+
[key: string]: pulumi.Input<string>;
|
|
217
|
+
}>;
|
|
218
|
+
/**
|
|
219
|
+
* The location of the group.
|
|
220
|
+
*/
|
|
221
|
+
location: pulumi.Input<string>;
|
|
222
|
+
/**
|
|
223
|
+
* The ID of the project in which the resource belongs.
|
|
224
|
+
* If it is not provided, the provider project is used.
|
|
225
|
+
*/
|
|
226
|
+
project?: pulumi.Input<string>;
|
|
227
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
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.Group = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A resource that represents an asset group. The purpose of an asset group is to bundle a set of assets that have something in common, while allowing users to add annotations to the group.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### Migration Group Basic
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as gcp from "@pulumi/gcp";
|
|
17
|
+
*
|
|
18
|
+
* const _default = new gcp.migrationcenter.Group("default", {
|
|
19
|
+
* description: "Terraform integration test description",
|
|
20
|
+
* displayName: "Terraform integration test display",
|
|
21
|
+
* groupId: "group-test",
|
|
22
|
+
* labels: {
|
|
23
|
+
* key: "value",
|
|
24
|
+
* },
|
|
25
|
+
* location: "us-central1",
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* Group can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/groups/{{group_id}}` * `{{project}}/{{location}}/{{group_id}}` * `{{location}}/{{group_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Group using one of the formats above. For exampletf import {
|
|
32
|
+
*
|
|
33
|
+
* id = "projects/{{project}}/locations/{{location}}/groups/{{group_id}}"
|
|
34
|
+
*
|
|
35
|
+
* to = google_migration_center_group.default }
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import gcp:migrationcenter/group:Group When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Group can be imported using one of the formats above. For example
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import gcp:migrationcenter/group:Group default projects/{{project}}/locations/{{location}}/groups/{{group_id}}
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import gcp:migrationcenter/group:Group default {{project}}/{{location}}/{{group_id}}
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import gcp:migrationcenter/group:Group default {{location}}/{{group_id}}
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
class Group extends pulumi.CustomResource {
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing Group resource's state with the given name, ID, and optional extra
|
|
56
|
+
* properties used to qualify the lookup.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resulting resource.
|
|
59
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
+
* @param state Any extra arguments used during the lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name, id, state, opts) {
|
|
64
|
+
return new Group(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Returns true if the given object is an instance of Group. This is designed to work even
|
|
68
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
69
|
+
*/
|
|
70
|
+
static isInstance(obj) {
|
|
71
|
+
if (obj === undefined || obj === null) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
return obj['__pulumiType'] === Group.__pulumiType;
|
|
75
|
+
}
|
|
76
|
+
constructor(name, argsOrState, opts) {
|
|
77
|
+
let resourceInputs = {};
|
|
78
|
+
opts = opts || {};
|
|
79
|
+
if (opts.id) {
|
|
80
|
+
const state = argsOrState;
|
|
81
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
82
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
83
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
84
|
+
resourceInputs["effectiveLabels"] = state ? state.effectiveLabels : undefined;
|
|
85
|
+
resourceInputs["groupId"] = state ? state.groupId : undefined;
|
|
86
|
+
resourceInputs["labels"] = state ? state.labels : undefined;
|
|
87
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
88
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
89
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
90
|
+
resourceInputs["pulumiLabels"] = state ? state.pulumiLabels : undefined;
|
|
91
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
const args = argsOrState;
|
|
95
|
+
if ((!args || args.groupId === undefined) && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'groupId'");
|
|
97
|
+
}
|
|
98
|
+
if ((!args || args.location === undefined) && !opts.urn) {
|
|
99
|
+
throw new Error("Missing required property 'location'");
|
|
100
|
+
}
|
|
101
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
102
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
103
|
+
resourceInputs["groupId"] = args ? args.groupId : undefined;
|
|
104
|
+
resourceInputs["labels"] = args ? args.labels : undefined;
|
|
105
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
106
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
107
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["effectiveLabels"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["pulumiLabels"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
112
|
+
}
|
|
113
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
114
|
+
const secretOpts = { additionalSecretOutputs: ["effectiveLabels", "pulumiLabels"] };
|
|
115
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
116
|
+
super(Group.__pulumiType, name, resourceInputs, opts);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.Group = Group;
|
|
120
|
+
/** @internal */
|
|
121
|
+
Group.__pulumiType = 'gcp:migrationcenter/group:Group';
|
|
122
|
+
//# sourceMappingURL=group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.js","sourceRoot":"","sources":["../../migrationcenter/group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAA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AAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,iBAAiB,EAAE,cAAc,CAAC,EAAE,CAAC;QACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAhIL,sBAiIC;AAnHG,gBAAgB;AACO,kBAAY,GAAG,iCAAiC,CAAC"}
|
|
@@ -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.Group = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.Group = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Group"], () => require("./group"));
|
|
10
|
+
const _module = {
|
|
11
|
+
version: utilities.getVersion(),
|
|
12
|
+
construct: (name, type, urn) => {
|
|
13
|
+
switch (type) {
|
|
14
|
+
case "gcp:migrationcenter/group:Group":
|
|
15
|
+
return new exports.Group(name, undefined, { urn });
|
|
16
|
+
default:
|
|
17
|
+
throw new Error(`unknown resource type ${type}`);
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
pulumi.runtime.registerResourceModule("gcp", "migrationcenter/group", _module);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../migrationcenter/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAGjE,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,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,uBAAuB,EAAE,OAAO,CAAC,CAAA"}
|
package/netapp/index.js
ADDED
|
@@ -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.StoragePool = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.StoragePool = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["StoragePool"], () => require("./storagePool"));
|
|
10
|
+
const _module = {
|
|
11
|
+
version: utilities.getVersion(),
|
|
12
|
+
construct: (name, type, urn) => {
|
|
13
|
+
switch (type) {
|
|
14
|
+
case "gcp:netapp/storagePool:StoragePool":
|
|
15
|
+
return new exports.StoragePool(name, undefined, { urn });
|
|
16
|
+
default:
|
|
17
|
+
throw new Error(`unknown resource type ${type}`);
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
pulumi.runtime.registerResourceModule("gcp", "netapp/storagePool", _module);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../netapp/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAG7E,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,oCAAoC;gBACrC,OAAO,IAAI,mBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA"}
|