pulumi-gcp 7.20.0a1713984378__py3-none-any.whl → 7.20.0a1713986537__py3-none-any.whl
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.
- pulumi_gcp/__init__.py +8 -0
- pulumi_gcp/apigee/organization.py +162 -0
- pulumi_gcp/artifactregistry/_inputs.py +186 -0
- pulumi_gcp/artifactregistry/outputs.py +297 -4
- pulumi_gcp/artifactregistry/repository.py +346 -16
- pulumi_gcp/bigquery/table.py +61 -0
- pulumi_gcp/billing/budget.py +54 -0
- pulumi_gcp/cloudfunctionsv2/_inputs.py +16 -0
- pulumi_gcp/cloudfunctionsv2/function.py +110 -0
- pulumi_gcp/cloudfunctionsv2/outputs.py +25 -0
- pulumi_gcp/compute/_inputs.py +48 -0
- pulumi_gcp/compute/get_instance_group_manager.py +11 -1
- pulumi_gcp/compute/instance_group_manager.py +68 -21
- pulumi_gcp/compute/outputs.py +93 -0
- pulumi_gcp/compute/region_instance_group_manager.py +61 -14
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/dns/_inputs.py +0 -128
- pulumi_gcp/dns/get_keys.py +1 -1
- pulumi_gcp/dns/get_managed_zones.py +3 -9
- pulumi_gcp/dns/get_record_set.py +3 -0
- pulumi_gcp/dns/outputs.py +34 -56
- pulumi_gcp/firestore/document.py +4 -4
- pulumi_gcp/organizations/get_active_folder.py +18 -3
- pulumi_gcp/projects/__init__.py +1 -0
- pulumi_gcp/projects/iam_member_remove.py +313 -0
- pulumi_gcp/vmwareengine/_inputs.py +63 -5
- pulumi_gcp/vmwareengine/get_private_cloud.py +1 -21
- pulumi_gcp/vmwareengine/outputs.py +113 -5
- pulumi_gcp/vmwareengine/private_cloud.py +0 -94
- pulumi_gcp/workbench/instance.py +4 -4
- pulumi_gcp/workstations/workstation_cluster.py +32 -0
- {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.20.0a1713986537.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.20.0a1713986537.dist-info}/RECORD +35 -34
- {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.20.0a1713986537.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.20.0a1713986537.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,313 @@
|
|
1
|
+
# coding=utf-8
|
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
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = ['IamMemberRemoveArgs', 'IamMemberRemove']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class IamMemberRemoveArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
member: pulumi.Input[str],
|
18
|
+
project: pulumi.Input[str],
|
19
|
+
role: pulumi.Input[str]):
|
20
|
+
"""
|
21
|
+
The set of arguments for constructing a IamMemberRemove resource.
|
22
|
+
:param pulumi.Input[str] member: The IAM principal that should not have the target role.
|
23
|
+
Each entry can have one of the following values:
|
24
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
25
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
26
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
27
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
28
|
+
:param pulumi.Input[str] project: The project id of the target project.
|
29
|
+
:param pulumi.Input[str] role: The target role that should be removed.
|
30
|
+
"""
|
31
|
+
pulumi.set(__self__, "member", member)
|
32
|
+
pulumi.set(__self__, "project", project)
|
33
|
+
pulumi.set(__self__, "role", role)
|
34
|
+
|
35
|
+
@property
|
36
|
+
@pulumi.getter
|
37
|
+
def member(self) -> pulumi.Input[str]:
|
38
|
+
"""
|
39
|
+
The IAM principal that should not have the target role.
|
40
|
+
Each entry can have one of the following values:
|
41
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
42
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
43
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
44
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
45
|
+
"""
|
46
|
+
return pulumi.get(self, "member")
|
47
|
+
|
48
|
+
@member.setter
|
49
|
+
def member(self, value: pulumi.Input[str]):
|
50
|
+
pulumi.set(self, "member", value)
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter
|
54
|
+
def project(self) -> pulumi.Input[str]:
|
55
|
+
"""
|
56
|
+
The project id of the target project.
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "project")
|
59
|
+
|
60
|
+
@project.setter
|
61
|
+
def project(self, value: pulumi.Input[str]):
|
62
|
+
pulumi.set(self, "project", value)
|
63
|
+
|
64
|
+
@property
|
65
|
+
@pulumi.getter
|
66
|
+
def role(self) -> pulumi.Input[str]:
|
67
|
+
"""
|
68
|
+
The target role that should be removed.
|
69
|
+
"""
|
70
|
+
return pulumi.get(self, "role")
|
71
|
+
|
72
|
+
@role.setter
|
73
|
+
def role(self, value: pulumi.Input[str]):
|
74
|
+
pulumi.set(self, "role", value)
|
75
|
+
|
76
|
+
|
77
|
+
@pulumi.input_type
|
78
|
+
class _IamMemberRemoveState:
|
79
|
+
def __init__(__self__, *,
|
80
|
+
member: Optional[pulumi.Input[str]] = None,
|
81
|
+
project: Optional[pulumi.Input[str]] = None,
|
82
|
+
role: Optional[pulumi.Input[str]] = None):
|
83
|
+
"""
|
84
|
+
Input properties used for looking up and filtering IamMemberRemove resources.
|
85
|
+
:param pulumi.Input[str] member: The IAM principal that should not have the target role.
|
86
|
+
Each entry can have one of the following values:
|
87
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
88
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
89
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
90
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
91
|
+
:param pulumi.Input[str] project: The project id of the target project.
|
92
|
+
:param pulumi.Input[str] role: The target role that should be removed.
|
93
|
+
"""
|
94
|
+
if member is not None:
|
95
|
+
pulumi.set(__self__, "member", member)
|
96
|
+
if project is not None:
|
97
|
+
pulumi.set(__self__, "project", project)
|
98
|
+
if role is not None:
|
99
|
+
pulumi.set(__self__, "role", role)
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter
|
103
|
+
def member(self) -> Optional[pulumi.Input[str]]:
|
104
|
+
"""
|
105
|
+
The IAM principal that should not have the target role.
|
106
|
+
Each entry can have one of the following values:
|
107
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
108
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
109
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
110
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
111
|
+
"""
|
112
|
+
return pulumi.get(self, "member")
|
113
|
+
|
114
|
+
@member.setter
|
115
|
+
def member(self, value: Optional[pulumi.Input[str]]):
|
116
|
+
pulumi.set(self, "member", value)
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter
|
120
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
121
|
+
"""
|
122
|
+
The project id of the target project.
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "project")
|
125
|
+
|
126
|
+
@project.setter
|
127
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
128
|
+
pulumi.set(self, "project", value)
|
129
|
+
|
130
|
+
@property
|
131
|
+
@pulumi.getter
|
132
|
+
def role(self) -> Optional[pulumi.Input[str]]:
|
133
|
+
"""
|
134
|
+
The target role that should be removed.
|
135
|
+
"""
|
136
|
+
return pulumi.get(self, "role")
|
137
|
+
|
138
|
+
@role.setter
|
139
|
+
def role(self, value: Optional[pulumi.Input[str]]):
|
140
|
+
pulumi.set(self, "role", value)
|
141
|
+
|
142
|
+
|
143
|
+
class IamMemberRemove(pulumi.CustomResource):
|
144
|
+
@overload
|
145
|
+
def __init__(__self__,
|
146
|
+
resource_name: str,
|
147
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
148
|
+
member: Optional[pulumi.Input[str]] = None,
|
149
|
+
project: Optional[pulumi.Input[str]] = None,
|
150
|
+
role: Optional[pulumi.Input[str]] = None,
|
151
|
+
__props__=None):
|
152
|
+
"""
|
153
|
+
Ensures that a member:role pairing does not exist in a project's IAM policy.
|
154
|
+
|
155
|
+
On create, this resource will modify the policy to remove the `member` from the
|
156
|
+
`role`. If the membership is ever re-added, the next refresh will clear this
|
157
|
+
resource from state, proposing re-adding it to correct the membership. Import is
|
158
|
+
not supported- this resource will acquire the current policy and modify it as
|
159
|
+
part of creating the resource.
|
160
|
+
|
161
|
+
This resource will conflict with `projects.IAMPolicy` and
|
162
|
+
`projects.IAMBinding` resources that share a role, as well as
|
163
|
+
`projects.IAMMember` resources that target the same membership. When
|
164
|
+
multiple resources conflict the final state is not guaranteed to include or omit
|
165
|
+
the membership. Subsequent `pulumi up` calls will always show a diff
|
166
|
+
until the configuration is corrected.
|
167
|
+
|
168
|
+
For more information see
|
169
|
+
[the official documentation](https://cloud.google.com/iam/docs/granting-changing-revoking-access)
|
170
|
+
and
|
171
|
+
[API reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects/setIamPolicy).
|
172
|
+
|
173
|
+
:param str resource_name: The name of the resource.
|
174
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
175
|
+
:param pulumi.Input[str] member: The IAM principal that should not have the target role.
|
176
|
+
Each entry can have one of the following values:
|
177
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
178
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
179
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
180
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
181
|
+
:param pulumi.Input[str] project: The project id of the target project.
|
182
|
+
:param pulumi.Input[str] role: The target role that should be removed.
|
183
|
+
"""
|
184
|
+
...
|
185
|
+
@overload
|
186
|
+
def __init__(__self__,
|
187
|
+
resource_name: str,
|
188
|
+
args: IamMemberRemoveArgs,
|
189
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
190
|
+
"""
|
191
|
+
Ensures that a member:role pairing does not exist in a project's IAM policy.
|
192
|
+
|
193
|
+
On create, this resource will modify the policy to remove the `member` from the
|
194
|
+
`role`. If the membership is ever re-added, the next refresh will clear this
|
195
|
+
resource from state, proposing re-adding it to correct the membership. Import is
|
196
|
+
not supported- this resource will acquire the current policy and modify it as
|
197
|
+
part of creating the resource.
|
198
|
+
|
199
|
+
This resource will conflict with `projects.IAMPolicy` and
|
200
|
+
`projects.IAMBinding` resources that share a role, as well as
|
201
|
+
`projects.IAMMember` resources that target the same membership. When
|
202
|
+
multiple resources conflict the final state is not guaranteed to include or omit
|
203
|
+
the membership. Subsequent `pulumi up` calls will always show a diff
|
204
|
+
until the configuration is corrected.
|
205
|
+
|
206
|
+
For more information see
|
207
|
+
[the official documentation](https://cloud.google.com/iam/docs/granting-changing-revoking-access)
|
208
|
+
and
|
209
|
+
[API reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects/setIamPolicy).
|
210
|
+
|
211
|
+
:param str resource_name: The name of the resource.
|
212
|
+
:param IamMemberRemoveArgs args: The arguments to use to populate this resource's properties.
|
213
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
214
|
+
"""
|
215
|
+
...
|
216
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
217
|
+
resource_args, opts = _utilities.get_resource_args_opts(IamMemberRemoveArgs, pulumi.ResourceOptions, *args, **kwargs)
|
218
|
+
if resource_args is not None:
|
219
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
220
|
+
else:
|
221
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
222
|
+
|
223
|
+
def _internal_init(__self__,
|
224
|
+
resource_name: str,
|
225
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
226
|
+
member: Optional[pulumi.Input[str]] = None,
|
227
|
+
project: Optional[pulumi.Input[str]] = None,
|
228
|
+
role: Optional[pulumi.Input[str]] = None,
|
229
|
+
__props__=None):
|
230
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
231
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
232
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
233
|
+
if opts.id is None:
|
234
|
+
if __props__ is not None:
|
235
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
236
|
+
__props__ = IamMemberRemoveArgs.__new__(IamMemberRemoveArgs)
|
237
|
+
|
238
|
+
if member is None and not opts.urn:
|
239
|
+
raise TypeError("Missing required property 'member'")
|
240
|
+
__props__.__dict__["member"] = member
|
241
|
+
if project is None and not opts.urn:
|
242
|
+
raise TypeError("Missing required property 'project'")
|
243
|
+
__props__.__dict__["project"] = project
|
244
|
+
if role is None and not opts.urn:
|
245
|
+
raise TypeError("Missing required property 'role'")
|
246
|
+
__props__.__dict__["role"] = role
|
247
|
+
super(IamMemberRemove, __self__).__init__(
|
248
|
+
'gcp:projects/iamMemberRemove:IamMemberRemove',
|
249
|
+
resource_name,
|
250
|
+
__props__,
|
251
|
+
opts)
|
252
|
+
|
253
|
+
@staticmethod
|
254
|
+
def get(resource_name: str,
|
255
|
+
id: pulumi.Input[str],
|
256
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
257
|
+
member: Optional[pulumi.Input[str]] = None,
|
258
|
+
project: Optional[pulumi.Input[str]] = None,
|
259
|
+
role: Optional[pulumi.Input[str]] = None) -> 'IamMemberRemove':
|
260
|
+
"""
|
261
|
+
Get an existing IamMemberRemove resource's state with the given name, id, and optional extra
|
262
|
+
properties used to qualify the lookup.
|
263
|
+
|
264
|
+
:param str resource_name: The unique name of the resulting resource.
|
265
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
266
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
267
|
+
:param pulumi.Input[str] member: The IAM principal that should not have the target role.
|
268
|
+
Each entry can have one of the following values:
|
269
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
270
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
271
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
272
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
273
|
+
:param pulumi.Input[str] project: The project id of the target project.
|
274
|
+
:param pulumi.Input[str] role: The target role that should be removed.
|
275
|
+
"""
|
276
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
277
|
+
|
278
|
+
__props__ = _IamMemberRemoveState.__new__(_IamMemberRemoveState)
|
279
|
+
|
280
|
+
__props__.__dict__["member"] = member
|
281
|
+
__props__.__dict__["project"] = project
|
282
|
+
__props__.__dict__["role"] = role
|
283
|
+
return IamMemberRemove(resource_name, opts=opts, __props__=__props__)
|
284
|
+
|
285
|
+
@property
|
286
|
+
@pulumi.getter
|
287
|
+
def member(self) -> pulumi.Output[str]:
|
288
|
+
"""
|
289
|
+
The IAM principal that should not have the target role.
|
290
|
+
Each entry can have one of the following values:
|
291
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
292
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
293
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
294
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
295
|
+
"""
|
296
|
+
return pulumi.get(self, "member")
|
297
|
+
|
298
|
+
@property
|
299
|
+
@pulumi.getter
|
300
|
+
def project(self) -> pulumi.Output[str]:
|
301
|
+
"""
|
302
|
+
The project id of the target project.
|
303
|
+
"""
|
304
|
+
return pulumi.get(self, "project")
|
305
|
+
|
306
|
+
@property
|
307
|
+
@pulumi.getter
|
308
|
+
def role(self) -> pulumi.Output[str]:
|
309
|
+
"""
|
310
|
+
The target role that should be removed.
|
311
|
+
"""
|
312
|
+
return pulumi.get(self, "role")
|
313
|
+
|
@@ -19,6 +19,7 @@ __all__ = [
|
|
19
19
|
'PrivateCloudHcxArgs',
|
20
20
|
'PrivateCloudManagementClusterArgs',
|
21
21
|
'PrivateCloudManagementClusterNodeTypeConfigArgs',
|
22
|
+
'PrivateCloudManagementClusterStretchedClusterConfigArgs',
|
22
23
|
'PrivateCloudNetworkConfigArgs',
|
23
24
|
'PrivateCloudNsxArgs',
|
24
25
|
'PrivateCloudVcenterArgs',
|
@@ -370,7 +371,8 @@ class PrivateCloudHcxArgs:
|
|
370
371
|
class PrivateCloudManagementClusterArgs:
|
371
372
|
def __init__(__self__, *,
|
372
373
|
cluster_id: pulumi.Input[str],
|
373
|
-
node_type_configs: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateCloudManagementClusterNodeTypeConfigArgs']]]] = None
|
374
|
+
node_type_configs: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateCloudManagementClusterNodeTypeConfigArgs']]]] = None,
|
375
|
+
stretched_cluster_config: Optional[pulumi.Input['PrivateCloudManagementClusterStretchedClusterConfigArgs']] = None):
|
374
376
|
"""
|
375
377
|
:param pulumi.Input[str] cluster_id: The user-provided identifier of the new Cluster. The identifier must meet the following requirements:
|
376
378
|
* Only contains 1-63 alphanumeric characters and hyphens
|
@@ -381,10 +383,14 @@ class PrivateCloudManagementClusterArgs:
|
|
381
383
|
:param pulumi.Input[Sequence[pulumi.Input['PrivateCloudManagementClusterNodeTypeConfigArgs']]] node_type_configs: The map of cluster node types in this cluster,
|
382
384
|
where the key is canonical identifier of the node type (corresponds to the NodeType).
|
383
385
|
Structure is documented below.
|
386
|
+
:param pulumi.Input['PrivateCloudManagementClusterStretchedClusterConfigArgs'] stretched_cluster_config: The stretched cluster configuration for the private cloud.
|
387
|
+
Structure is documented below.
|
384
388
|
"""
|
385
389
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
386
390
|
if node_type_configs is not None:
|
387
391
|
pulumi.set(__self__, "node_type_configs", node_type_configs)
|
392
|
+
if stretched_cluster_config is not None:
|
393
|
+
pulumi.set(__self__, "stretched_cluster_config", stretched_cluster_config)
|
388
394
|
|
389
395
|
@property
|
390
396
|
@pulumi.getter(name="clusterId")
|
@@ -417,6 +423,19 @@ class PrivateCloudManagementClusterArgs:
|
|
417
423
|
def node_type_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateCloudManagementClusterNodeTypeConfigArgs']]]]):
|
418
424
|
pulumi.set(self, "node_type_configs", value)
|
419
425
|
|
426
|
+
@property
|
427
|
+
@pulumi.getter(name="stretchedClusterConfig")
|
428
|
+
def stretched_cluster_config(self) -> Optional[pulumi.Input['PrivateCloudManagementClusterStretchedClusterConfigArgs']]:
|
429
|
+
"""
|
430
|
+
The stretched cluster configuration for the private cloud.
|
431
|
+
Structure is documented below.
|
432
|
+
"""
|
433
|
+
return pulumi.get(self, "stretched_cluster_config")
|
434
|
+
|
435
|
+
@stretched_cluster_config.setter
|
436
|
+
def stretched_cluster_config(self, value: Optional[pulumi.Input['PrivateCloudManagementClusterStretchedClusterConfigArgs']]):
|
437
|
+
pulumi.set(self, "stretched_cluster_config", value)
|
438
|
+
|
420
439
|
|
421
440
|
@pulumi.input_type
|
422
441
|
class PrivateCloudManagementClusterNodeTypeConfigArgs:
|
@@ -431,8 +450,6 @@ class PrivateCloudManagementClusterNodeTypeConfigArgs:
|
|
431
450
|
This number must always be one of `nodeType.availableCustomCoreCounts`.
|
432
451
|
If zero is provided max value from `nodeType.availableCustomCoreCounts` will be used.
|
433
452
|
This cannot be changed once the PrivateCloud is created.
|
434
|
-
|
435
|
-
- - -
|
436
453
|
"""
|
437
454
|
pulumi.set(__self__, "node_count", node_count)
|
438
455
|
pulumi.set(__self__, "node_type_id", node_type_id)
|
@@ -471,8 +488,6 @@ class PrivateCloudManagementClusterNodeTypeConfigArgs:
|
|
471
488
|
This number must always be one of `nodeType.availableCustomCoreCounts`.
|
472
489
|
If zero is provided max value from `nodeType.availableCustomCoreCounts` will be used.
|
473
490
|
This cannot be changed once the PrivateCloud is created.
|
474
|
-
|
475
|
-
- - -
|
476
491
|
"""
|
477
492
|
return pulumi.get(self, "custom_core_count")
|
478
493
|
|
@@ -481,6 +496,49 @@ class PrivateCloudManagementClusterNodeTypeConfigArgs:
|
|
481
496
|
pulumi.set(self, "custom_core_count", value)
|
482
497
|
|
483
498
|
|
499
|
+
@pulumi.input_type
|
500
|
+
class PrivateCloudManagementClusterStretchedClusterConfigArgs:
|
501
|
+
def __init__(__self__, *,
|
502
|
+
preferred_location: Optional[pulumi.Input[str]] = None,
|
503
|
+
secondary_location: Optional[pulumi.Input[str]] = None):
|
504
|
+
"""
|
505
|
+
:param pulumi.Input[str] preferred_location: Zone that will remain operational when connection between the two zones is lost.
|
506
|
+
:param pulumi.Input[str] secondary_location: Additional zone for a higher level of availability and load balancing.
|
507
|
+
|
508
|
+
- - -
|
509
|
+
"""
|
510
|
+
if preferred_location is not None:
|
511
|
+
pulumi.set(__self__, "preferred_location", preferred_location)
|
512
|
+
if secondary_location is not None:
|
513
|
+
pulumi.set(__self__, "secondary_location", secondary_location)
|
514
|
+
|
515
|
+
@property
|
516
|
+
@pulumi.getter(name="preferredLocation")
|
517
|
+
def preferred_location(self) -> Optional[pulumi.Input[str]]:
|
518
|
+
"""
|
519
|
+
Zone that will remain operational when connection between the two zones is lost.
|
520
|
+
"""
|
521
|
+
return pulumi.get(self, "preferred_location")
|
522
|
+
|
523
|
+
@preferred_location.setter
|
524
|
+
def preferred_location(self, value: Optional[pulumi.Input[str]]):
|
525
|
+
pulumi.set(self, "preferred_location", value)
|
526
|
+
|
527
|
+
@property
|
528
|
+
@pulumi.getter(name="secondaryLocation")
|
529
|
+
def secondary_location(self) -> Optional[pulumi.Input[str]]:
|
530
|
+
"""
|
531
|
+
Additional zone for a higher level of availability and load balancing.
|
532
|
+
|
533
|
+
- - -
|
534
|
+
"""
|
535
|
+
return pulumi.get(self, "secondary_location")
|
536
|
+
|
537
|
+
@secondary_location.setter
|
538
|
+
def secondary_location(self, value: Optional[pulumi.Input[str]]):
|
539
|
+
pulumi.set(self, "secondary_location", value)
|
540
|
+
|
541
|
+
|
484
542
|
@pulumi.input_type
|
485
543
|
class PrivateCloudNetworkConfigArgs:
|
486
544
|
def __init__(__self__, *,
|
@@ -22,7 +22,7 @@ class GetPrivateCloudResult:
|
|
22
22
|
"""
|
23
23
|
A collection of values returned by getPrivateCloud.
|
24
24
|
"""
|
25
|
-
def __init__(__self__, description=None, hcxes=None, id=None, location=None, management_clusters=None, name=None, network_configs=None, nsxes=None,
|
25
|
+
def __init__(__self__, description=None, hcxes=None, id=None, location=None, management_clusters=None, name=None, network_configs=None, nsxes=None, project=None, state=None, type=None, uid=None, vcenters=None):
|
26
26
|
if description and not isinstance(description, str):
|
27
27
|
raise TypeError("Expected argument 'description' to be a str")
|
28
28
|
pulumi.set(__self__, "description", description)
|
@@ -47,15 +47,9 @@ class GetPrivateCloudResult:
|
|
47
47
|
if nsxes and not isinstance(nsxes, list):
|
48
48
|
raise TypeError("Expected argument 'nsxes' to be a list")
|
49
49
|
pulumi.set(__self__, "nsxes", nsxes)
|
50
|
-
if preferred_zone and not isinstance(preferred_zone, str):
|
51
|
-
raise TypeError("Expected argument 'preferred_zone' to be a str")
|
52
|
-
pulumi.set(__self__, "preferred_zone", preferred_zone)
|
53
50
|
if project and not isinstance(project, str):
|
54
51
|
raise TypeError("Expected argument 'project' to be a str")
|
55
52
|
pulumi.set(__self__, "project", project)
|
56
|
-
if secondary_zone and not isinstance(secondary_zone, str):
|
57
|
-
raise TypeError("Expected argument 'secondary_zone' to be a str")
|
58
|
-
pulumi.set(__self__, "secondary_zone", secondary_zone)
|
59
53
|
if state and not isinstance(state, str):
|
60
54
|
raise TypeError("Expected argument 'state' to be a str")
|
61
55
|
pulumi.set(__self__, "state", state)
|
@@ -112,21 +106,11 @@ class GetPrivateCloudResult:
|
|
112
106
|
def nsxes(self) -> Sequence['outputs.GetPrivateCloudNsxResult']:
|
113
107
|
return pulumi.get(self, "nsxes")
|
114
108
|
|
115
|
-
@property
|
116
|
-
@pulumi.getter(name="preferredZone")
|
117
|
-
def preferred_zone(self) -> str:
|
118
|
-
return pulumi.get(self, "preferred_zone")
|
119
|
-
|
120
109
|
@property
|
121
110
|
@pulumi.getter
|
122
111
|
def project(self) -> Optional[str]:
|
123
112
|
return pulumi.get(self, "project")
|
124
113
|
|
125
|
-
@property
|
126
|
-
@pulumi.getter(name="secondaryZone")
|
127
|
-
def secondary_zone(self) -> str:
|
128
|
-
return pulumi.get(self, "secondary_zone")
|
129
|
-
|
130
114
|
@property
|
131
115
|
@pulumi.getter
|
132
116
|
def state(self) -> str:
|
@@ -162,9 +146,7 @@ class AwaitableGetPrivateCloudResult(GetPrivateCloudResult):
|
|
162
146
|
name=self.name,
|
163
147
|
network_configs=self.network_configs,
|
164
148
|
nsxes=self.nsxes,
|
165
|
-
preferred_zone=self.preferred_zone,
|
166
149
|
project=self.project,
|
167
|
-
secondary_zone=self.secondary_zone,
|
168
150
|
state=self.state,
|
169
151
|
type=self.type,
|
170
152
|
uid=self.uid,
|
@@ -215,9 +197,7 @@ def get_private_cloud(location: Optional[str] = None,
|
|
215
197
|
name=pulumi.get(__ret__, 'name'),
|
216
198
|
network_configs=pulumi.get(__ret__, 'network_configs'),
|
217
199
|
nsxes=pulumi.get(__ret__, 'nsxes'),
|
218
|
-
preferred_zone=pulumi.get(__ret__, 'preferred_zone'),
|
219
200
|
project=pulumi.get(__ret__, 'project'),
|
220
|
-
secondary_zone=pulumi.get(__ret__, 'secondary_zone'),
|
221
201
|
state=pulumi.get(__ret__, 'state'),
|
222
202
|
type=pulumi.get(__ret__, 'type'),
|
223
203
|
uid=pulumi.get(__ret__, 'uid'),
|