pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1745952392__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.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +1 -0
- pulumi_vsphere/_inputs.py +969 -968
- pulumi_vsphere/compute_cluster.py +921 -917
- pulumi_vsphere/compute_cluster_host_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +88 -84
- pulumi_vsphere/compute_cluster_vm_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +102 -98
- pulumi_vsphere/config/__init__.py +1 -0
- pulumi_vsphere/config/__init__.pyi +1 -0
- pulumi_vsphere/config/vars.py +1 -0
- pulumi_vsphere/content_library.py +46 -42
- pulumi_vsphere/content_library_item.py +88 -84
- pulumi_vsphere/custom_attribute.py +32 -28
- pulumi_vsphere/datacenter.py +67 -63
- pulumi_vsphere/datastore_cluster.py +354 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/distributed_port_group.py +648 -644
- pulumi_vsphere/distributed_virtual_switch.py +1285 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +60 -56
- pulumi_vsphere/dpm_host_override.py +60 -56
- pulumi_vsphere/drs_vm_override.py +60 -56
- pulumi_vsphere/entity_permissions.py +32 -28
- pulumi_vsphere/file.py +98 -94
- pulumi_vsphere/folder.py +74 -70
- pulumi_vsphere/get_compute_cluster.py +13 -12
- pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
- pulumi_vsphere/get_content_library.py +7 -6
- pulumi_vsphere/get_content_library_item.py +17 -16
- pulumi_vsphere/get_custom_attribute.py +8 -7
- pulumi_vsphere/get_datacenter.py +8 -7
- pulumi_vsphere/get_datastore.py +17 -16
- pulumi_vsphere/get_datastore_cluster.py +13 -12
- pulumi_vsphere/get_datastore_stats.py +17 -16
- pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
- pulumi_vsphere/get_dynamic.py +17 -16
- pulumi_vsphere/get_folder.py +7 -6
- pulumi_vsphere/get_guest_os_customization.py +11 -10
- pulumi_vsphere/get_host.py +13 -12
- pulumi_vsphere/get_host_base_images.py +3 -2
- pulumi_vsphere/get_host_pci_device.py +23 -22
- pulumi_vsphere/get_host_thumbprint.py +17 -16
- pulumi_vsphere/get_host_vgpu_profile.py +12 -11
- pulumi_vsphere/get_license.py +12 -11
- pulumi_vsphere/get_network.py +18 -17
- pulumi_vsphere/get_ovf_vm_template.py +89 -88
- pulumi_vsphere/get_policy.py +7 -6
- pulumi_vsphere/get_resource_pool.py +12 -11
- pulumi_vsphere/get_role.py +20 -19
- pulumi_vsphere/get_tag.py +13 -12
- pulumi_vsphere/get_tag_category.py +10 -9
- pulumi_vsphere/get_vapp_container.py +12 -11
- pulumi_vsphere/get_virtual_machine.py +204 -203
- pulumi_vsphere/get_vmfs_disks.py +18 -17
- pulumi_vsphere/guest_os_customization.py +60 -56
- pulumi_vsphere/ha_vm_override.py +214 -210
- pulumi_vsphere/host.py +200 -196
- pulumi_vsphere/host_port_group.py +256 -252
- pulumi_vsphere/host_virtual_switch.py +298 -294
- pulumi_vsphere/license.py +60 -56
- pulumi_vsphere/nas_datastore.py +214 -210
- pulumi_vsphere/offline_software_depot.py +18 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +101 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +214 -210
- pulumi_vsphere/role.py +39 -35
- pulumi_vsphere/storage_drs_vm_override.py +74 -70
- pulumi_vsphere/supervisor.py +158 -154
- pulumi_vsphere/tag.py +46 -42
- pulumi_vsphere/tag_category.py +60 -56
- pulumi_vsphere/vapp_container.py +214 -210
- pulumi_vsphere/vapp_entity.py +144 -140
- pulumi_vsphere/virtual_disk.py +102 -98
- pulumi_vsphere/virtual_machine.py +1043 -1039
- pulumi_vsphere/virtual_machine_class.py +88 -84
- pulumi_vsphere/virtual_machine_snapshot.py +102 -98
- pulumi_vsphere/vm_storage_policy.py +32 -28
- pulumi_vsphere/vmfs_datastore.py +151 -147
- pulumi_vsphere/vnic.py +116 -112
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1741997722.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
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
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -19,22 +20,22 @@ __all__ = ['ComputeClusterHostGroupArgs', 'ComputeClusterHostGroup']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class ComputeClusterHostGroupArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
compute_cluster_id: pulumi.Input[str],
|
|
23
|
-
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
24
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
23
|
+
compute_cluster_id: pulumi.Input[builtins.str],
|
|
24
|
+
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
25
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
25
26
|
"""
|
|
26
27
|
The set of arguments for constructing a ComputeClusterHostGroup resource.
|
|
27
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
28
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
28
29
|
ID of the cluster to put the group in. Forces a new
|
|
29
30
|
resource if changed.
|
|
30
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of
|
|
31
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of
|
|
31
32
|
the hosts to put in the cluster.
|
|
32
33
|
|
|
33
34
|
> **NOTE:** The namespace for cluster names on this resource (defined by the
|
|
34
35
|
`name` argument) is shared with the
|
|
35
36
|
`ComputeClusterVmGroup`
|
|
36
37
|
resource. Make sure your names are unique across both resources.
|
|
37
|
-
:param pulumi.Input[str] name: The name of the host group. This must be unique in the
|
|
38
|
+
:param pulumi.Input[builtins.str] name: The name of the host group. This must be unique in the
|
|
38
39
|
cluster. Forces a new resource if changed.
|
|
39
40
|
"""
|
|
40
41
|
pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
|
|
@@ -45,7 +46,7 @@ class ComputeClusterHostGroupArgs:
|
|
|
45
46
|
|
|
46
47
|
@property
|
|
47
48
|
@pulumi.getter(name="computeClusterId")
|
|
48
|
-
def compute_cluster_id(self) -> pulumi.Input[str]:
|
|
49
|
+
def compute_cluster_id(self) -> pulumi.Input[builtins.str]:
|
|
49
50
|
"""
|
|
50
51
|
The managed object reference
|
|
51
52
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -54,12 +55,12 @@ class ComputeClusterHostGroupArgs:
|
|
|
54
55
|
return pulumi.get(self, "compute_cluster_id")
|
|
55
56
|
|
|
56
57
|
@compute_cluster_id.setter
|
|
57
|
-
def compute_cluster_id(self, value: pulumi.Input[str]):
|
|
58
|
+
def compute_cluster_id(self, value: pulumi.Input[builtins.str]):
|
|
58
59
|
pulumi.set(self, "compute_cluster_id", value)
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter(name="hostSystemIds")
|
|
62
|
-
def host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
63
|
+
def host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
63
64
|
"""
|
|
64
65
|
The managed object IDs of
|
|
65
66
|
the hosts to put in the cluster.
|
|
@@ -72,12 +73,12 @@ class ComputeClusterHostGroupArgs:
|
|
|
72
73
|
return pulumi.get(self, "host_system_ids")
|
|
73
74
|
|
|
74
75
|
@host_system_ids.setter
|
|
75
|
-
def host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
76
|
+
def host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
76
77
|
pulumi.set(self, "host_system_ids", value)
|
|
77
78
|
|
|
78
79
|
@property
|
|
79
80
|
@pulumi.getter
|
|
80
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
81
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
81
82
|
"""
|
|
82
83
|
The name of the host group. This must be unique in the
|
|
83
84
|
cluster. Forces a new resource if changed.
|
|
@@ -85,29 +86,29 @@ class ComputeClusterHostGroupArgs:
|
|
|
85
86
|
return pulumi.get(self, "name")
|
|
86
87
|
|
|
87
88
|
@name.setter
|
|
88
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
89
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
89
90
|
pulumi.set(self, "name", value)
|
|
90
91
|
|
|
91
92
|
|
|
92
93
|
@pulumi.input_type
|
|
93
94
|
class _ComputeClusterHostGroupState:
|
|
94
95
|
def __init__(__self__, *,
|
|
95
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
96
|
-
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
97
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
96
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
97
|
+
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
98
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
98
99
|
"""
|
|
99
100
|
Input properties used for looking up and filtering ComputeClusterHostGroup resources.
|
|
100
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
101
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
101
102
|
ID of the cluster to put the group in. Forces a new
|
|
102
103
|
resource if changed.
|
|
103
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of
|
|
104
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of
|
|
104
105
|
the hosts to put in the cluster.
|
|
105
106
|
|
|
106
107
|
> **NOTE:** The namespace for cluster names on this resource (defined by the
|
|
107
108
|
`name` argument) is shared with the
|
|
108
109
|
`ComputeClusterVmGroup`
|
|
109
110
|
resource. Make sure your names are unique across both resources.
|
|
110
|
-
:param pulumi.Input[str] name: The name of the host group. This must be unique in the
|
|
111
|
+
:param pulumi.Input[builtins.str] name: The name of the host group. This must be unique in the
|
|
111
112
|
cluster. Forces a new resource if changed.
|
|
112
113
|
"""
|
|
113
114
|
if compute_cluster_id is not None:
|
|
@@ -119,7 +120,7 @@ class _ComputeClusterHostGroupState:
|
|
|
119
120
|
|
|
120
121
|
@property
|
|
121
122
|
@pulumi.getter(name="computeClusterId")
|
|
122
|
-
def compute_cluster_id(self) -> Optional[pulumi.Input[str]]:
|
|
123
|
+
def compute_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
123
124
|
"""
|
|
124
125
|
The managed object reference
|
|
125
126
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -128,12 +129,12 @@ class _ComputeClusterHostGroupState:
|
|
|
128
129
|
return pulumi.get(self, "compute_cluster_id")
|
|
129
130
|
|
|
130
131
|
@compute_cluster_id.setter
|
|
131
|
-
def compute_cluster_id(self, value: Optional[pulumi.Input[str]]):
|
|
132
|
+
def compute_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
132
133
|
pulumi.set(self, "compute_cluster_id", value)
|
|
133
134
|
|
|
134
135
|
@property
|
|
135
136
|
@pulumi.getter(name="hostSystemIds")
|
|
136
|
-
def host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
137
|
+
def host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
137
138
|
"""
|
|
138
139
|
The managed object IDs of
|
|
139
140
|
the hosts to put in the cluster.
|
|
@@ -146,12 +147,12 @@ class _ComputeClusterHostGroupState:
|
|
|
146
147
|
return pulumi.get(self, "host_system_ids")
|
|
147
148
|
|
|
148
149
|
@host_system_ids.setter
|
|
149
|
-
def host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
150
|
+
def host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
150
151
|
pulumi.set(self, "host_system_ids", value)
|
|
151
152
|
|
|
152
153
|
@property
|
|
153
154
|
@pulumi.getter
|
|
154
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
155
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
155
156
|
"""
|
|
156
157
|
The name of the host group. This must be unique in the
|
|
157
158
|
cluster. Forces a new resource if changed.
|
|
@@ -159,18 +160,21 @@ class _ComputeClusterHostGroupState:
|
|
|
159
160
|
return pulumi.get(self, "name")
|
|
160
161
|
|
|
161
162
|
@name.setter
|
|
162
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
163
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
163
164
|
pulumi.set(self, "name", value)
|
|
164
165
|
|
|
165
166
|
|
|
166
167
|
class ComputeClusterHostGroup(pulumi.CustomResource):
|
|
168
|
+
|
|
169
|
+
pulumi_type = "vsphere:index/computeClusterHostGroup:ComputeClusterHostGroup"
|
|
170
|
+
|
|
167
171
|
@overload
|
|
168
172
|
def __init__(__self__,
|
|
169
173
|
resource_name: str,
|
|
170
174
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
171
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
172
|
-
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
173
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
175
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
176
|
+
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
177
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
174
178
|
__props__=None):
|
|
175
179
|
"""
|
|
176
180
|
The `ComputeClusterHostGroup` resource can be used to manage groups
|
|
@@ -206,17 +210,17 @@ class ComputeClusterHostGroup(pulumi.CustomResource):
|
|
|
206
210
|
|
|
207
211
|
:param str resource_name: The name of the resource.
|
|
208
212
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
209
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
213
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
210
214
|
ID of the cluster to put the group in. Forces a new
|
|
211
215
|
resource if changed.
|
|
212
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of
|
|
216
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of
|
|
213
217
|
the hosts to put in the cluster.
|
|
214
218
|
|
|
215
219
|
> **NOTE:** The namespace for cluster names on this resource (defined by the
|
|
216
220
|
`name` argument) is shared with the
|
|
217
221
|
`ComputeClusterVmGroup`
|
|
218
222
|
resource. Make sure your names are unique across both resources.
|
|
219
|
-
:param pulumi.Input[str] name: The name of the host group. This must be unique in the
|
|
223
|
+
:param pulumi.Input[builtins.str] name: The name of the host group. This must be unique in the
|
|
220
224
|
cluster. Forces a new resource if changed.
|
|
221
225
|
"""
|
|
222
226
|
...
|
|
@@ -272,9 +276,9 @@ class ComputeClusterHostGroup(pulumi.CustomResource):
|
|
|
272
276
|
def _internal_init(__self__,
|
|
273
277
|
resource_name: str,
|
|
274
278
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
275
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
276
|
-
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
277
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
279
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
280
|
+
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
281
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
278
282
|
__props__=None):
|
|
279
283
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
280
284
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -299,9 +303,9 @@ class ComputeClusterHostGroup(pulumi.CustomResource):
|
|
|
299
303
|
def get(resource_name: str,
|
|
300
304
|
id: pulumi.Input[str],
|
|
301
305
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
302
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
303
|
-
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
304
|
-
name: Optional[pulumi.Input[str]] = None) -> 'ComputeClusterHostGroup':
|
|
306
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
307
|
+
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
308
|
+
name: Optional[pulumi.Input[builtins.str]] = None) -> 'ComputeClusterHostGroup':
|
|
305
309
|
"""
|
|
306
310
|
Get an existing ComputeClusterHostGroup resource's state with the given name, id, and optional extra
|
|
307
311
|
properties used to qualify the lookup.
|
|
@@ -309,17 +313,17 @@ class ComputeClusterHostGroup(pulumi.CustomResource):
|
|
|
309
313
|
:param str resource_name: The unique name of the resulting resource.
|
|
310
314
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
311
315
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
312
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
316
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
313
317
|
ID of the cluster to put the group in. Forces a new
|
|
314
318
|
resource if changed.
|
|
315
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of
|
|
319
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of
|
|
316
320
|
the hosts to put in the cluster.
|
|
317
321
|
|
|
318
322
|
> **NOTE:** The namespace for cluster names on this resource (defined by the
|
|
319
323
|
`name` argument) is shared with the
|
|
320
324
|
`ComputeClusterVmGroup`
|
|
321
325
|
resource. Make sure your names are unique across both resources.
|
|
322
|
-
:param pulumi.Input[str] name: The name of the host group. This must be unique in the
|
|
326
|
+
:param pulumi.Input[builtins.str] name: The name of the host group. This must be unique in the
|
|
323
327
|
cluster. Forces a new resource if changed.
|
|
324
328
|
"""
|
|
325
329
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -333,7 +337,7 @@ class ComputeClusterHostGroup(pulumi.CustomResource):
|
|
|
333
337
|
|
|
334
338
|
@property
|
|
335
339
|
@pulumi.getter(name="computeClusterId")
|
|
336
|
-
def compute_cluster_id(self) -> pulumi.Output[str]:
|
|
340
|
+
def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
|
|
337
341
|
"""
|
|
338
342
|
The managed object reference
|
|
339
343
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -343,7 +347,7 @@ class ComputeClusterHostGroup(pulumi.CustomResource):
|
|
|
343
347
|
|
|
344
348
|
@property
|
|
345
349
|
@pulumi.getter(name="hostSystemIds")
|
|
346
|
-
def host_system_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
350
|
+
def host_system_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
347
351
|
"""
|
|
348
352
|
The managed object IDs of
|
|
349
353
|
the hosts to put in the cluster.
|
|
@@ -357,7 +361,7 @@ class ComputeClusterHostGroup(pulumi.CustomResource):
|
|
|
357
361
|
|
|
358
362
|
@property
|
|
359
363
|
@pulumi.getter
|
|
360
|
-
def name(self) -> pulumi.Output[str]:
|
|
364
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
361
365
|
"""
|
|
362
366
|
The name of the host group. This must be unique in the
|
|
363
367
|
cluster. Forces a new resource if changed.
|
|
@@ -2,6 +2,7 @@
|
|
|
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
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -19,26 +20,26 @@ __all__ = ['ComputeClusterVmAffinityRuleArgs', 'ComputeClusterVmAffinityRule']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class ComputeClusterVmAffinityRuleArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
compute_cluster_id: pulumi.Input[str],
|
|
23
|
-
virtual_machine_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
24
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
25
|
-
mandatory: Optional[pulumi.Input[bool]] = None,
|
|
26
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
23
|
+
compute_cluster_id: pulumi.Input[builtins.str],
|
|
24
|
+
virtual_machine_ids: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
25
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
26
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
27
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
27
28
|
"""
|
|
28
29
|
The set of arguments for constructing a ComputeClusterVmAffinityRule resource.
|
|
29
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
30
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
30
31
|
ID of the cluster to put the group in. Forces a new
|
|
31
32
|
resource if changed.
|
|
32
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
33
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
33
34
|
on the same host together.
|
|
34
|
-
:param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
35
|
-
:param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
|
|
35
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
36
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
36
37
|
machine operations that may violate this rule. Default: `false`.
|
|
37
38
|
|
|
38
39
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
39
40
|
`name` argument) is shared with all rules in the cluster - consider
|
|
40
41
|
this when naming your rules.
|
|
41
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the cluster.
|
|
42
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
|
|
42
43
|
"""
|
|
43
44
|
pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
|
|
44
45
|
pulumi.set(__self__, "virtual_machine_ids", virtual_machine_ids)
|
|
@@ -51,7 +52,7 @@ class ComputeClusterVmAffinityRuleArgs:
|
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter(name="computeClusterId")
|
|
54
|
-
def compute_cluster_id(self) -> pulumi.Input[str]:
|
|
55
|
+
def compute_cluster_id(self) -> pulumi.Input[builtins.str]:
|
|
55
56
|
"""
|
|
56
57
|
The managed object reference
|
|
57
58
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -60,12 +61,12 @@ class ComputeClusterVmAffinityRuleArgs:
|
|
|
60
61
|
return pulumi.get(self, "compute_cluster_id")
|
|
61
62
|
|
|
62
63
|
@compute_cluster_id.setter
|
|
63
|
-
def compute_cluster_id(self, value: pulumi.Input[str]):
|
|
64
|
+
def compute_cluster_id(self, value: pulumi.Input[builtins.str]):
|
|
64
65
|
pulumi.set(self, "compute_cluster_id", value)
|
|
65
66
|
|
|
66
67
|
@property
|
|
67
68
|
@pulumi.getter(name="virtualMachineIds")
|
|
68
|
-
def virtual_machine_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
69
|
+
def virtual_machine_ids(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
69
70
|
"""
|
|
70
71
|
The UUIDs of the virtual machines to run
|
|
71
72
|
on the same host together.
|
|
@@ -73,24 +74,24 @@ class ComputeClusterVmAffinityRuleArgs:
|
|
|
73
74
|
return pulumi.get(self, "virtual_machine_ids")
|
|
74
75
|
|
|
75
76
|
@virtual_machine_ids.setter
|
|
76
|
-
def virtual_machine_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
77
|
+
def virtual_machine_ids(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
77
78
|
pulumi.set(self, "virtual_machine_ids", value)
|
|
78
79
|
|
|
79
80
|
@property
|
|
80
81
|
@pulumi.getter
|
|
81
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
82
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
82
83
|
"""
|
|
83
84
|
Enable this rule in the cluster. Default: `true`.
|
|
84
85
|
"""
|
|
85
86
|
return pulumi.get(self, "enabled")
|
|
86
87
|
|
|
87
88
|
@enabled.setter
|
|
88
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
89
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
89
90
|
pulumi.set(self, "enabled", value)
|
|
90
91
|
|
|
91
92
|
@property
|
|
92
93
|
@pulumi.getter
|
|
93
|
-
def mandatory(self) -> Optional[pulumi.Input[bool]]:
|
|
94
|
+
def mandatory(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
94
95
|
"""
|
|
95
96
|
When this value is `true`, prevents any virtual
|
|
96
97
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -102,44 +103,44 @@ class ComputeClusterVmAffinityRuleArgs:
|
|
|
102
103
|
return pulumi.get(self, "mandatory")
|
|
103
104
|
|
|
104
105
|
@mandatory.setter
|
|
105
|
-
def mandatory(self, value: Optional[pulumi.Input[bool]]):
|
|
106
|
+
def mandatory(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
106
107
|
pulumi.set(self, "mandatory", value)
|
|
107
108
|
|
|
108
109
|
@property
|
|
109
110
|
@pulumi.getter
|
|
110
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
111
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
111
112
|
"""
|
|
112
113
|
The name of the rule. This must be unique in the cluster.
|
|
113
114
|
"""
|
|
114
115
|
return pulumi.get(self, "name")
|
|
115
116
|
|
|
116
117
|
@name.setter
|
|
117
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
118
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
118
119
|
pulumi.set(self, "name", value)
|
|
119
120
|
|
|
120
121
|
|
|
121
122
|
@pulumi.input_type
|
|
122
123
|
class _ComputeClusterVmAffinityRuleState:
|
|
123
124
|
def __init__(__self__, *,
|
|
124
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
125
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
126
|
-
mandatory: Optional[pulumi.Input[bool]] = None,
|
|
127
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
128
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
125
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
126
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
127
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
128
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
129
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
129
130
|
"""
|
|
130
131
|
Input properties used for looking up and filtering ComputeClusterVmAffinityRule resources.
|
|
131
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
132
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
132
133
|
ID of the cluster to put the group in. Forces a new
|
|
133
134
|
resource if changed.
|
|
134
|
-
:param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
135
|
-
:param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
|
|
135
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
136
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
136
137
|
machine operations that may violate this rule. Default: `false`.
|
|
137
138
|
|
|
138
139
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
139
140
|
`name` argument) is shared with all rules in the cluster - consider
|
|
140
141
|
this when naming your rules.
|
|
141
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the cluster.
|
|
142
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
142
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
|
|
143
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
143
144
|
on the same host together.
|
|
144
145
|
"""
|
|
145
146
|
if compute_cluster_id is not None:
|
|
@@ -155,7 +156,7 @@ class _ComputeClusterVmAffinityRuleState:
|
|
|
155
156
|
|
|
156
157
|
@property
|
|
157
158
|
@pulumi.getter(name="computeClusterId")
|
|
158
|
-
def compute_cluster_id(self) -> Optional[pulumi.Input[str]]:
|
|
159
|
+
def compute_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
159
160
|
"""
|
|
160
161
|
The managed object reference
|
|
161
162
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -164,24 +165,24 @@ class _ComputeClusterVmAffinityRuleState:
|
|
|
164
165
|
return pulumi.get(self, "compute_cluster_id")
|
|
165
166
|
|
|
166
167
|
@compute_cluster_id.setter
|
|
167
|
-
def compute_cluster_id(self, value: Optional[pulumi.Input[str]]):
|
|
168
|
+
def compute_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
168
169
|
pulumi.set(self, "compute_cluster_id", value)
|
|
169
170
|
|
|
170
171
|
@property
|
|
171
172
|
@pulumi.getter
|
|
172
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
173
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
173
174
|
"""
|
|
174
175
|
Enable this rule in the cluster. Default: `true`.
|
|
175
176
|
"""
|
|
176
177
|
return pulumi.get(self, "enabled")
|
|
177
178
|
|
|
178
179
|
@enabled.setter
|
|
179
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
180
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
180
181
|
pulumi.set(self, "enabled", value)
|
|
181
182
|
|
|
182
183
|
@property
|
|
183
184
|
@pulumi.getter
|
|
184
|
-
def mandatory(self) -> Optional[pulumi.Input[bool]]:
|
|
185
|
+
def mandatory(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
185
186
|
"""
|
|
186
187
|
When this value is `true`, prevents any virtual
|
|
187
188
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -193,24 +194,24 @@ class _ComputeClusterVmAffinityRuleState:
|
|
|
193
194
|
return pulumi.get(self, "mandatory")
|
|
194
195
|
|
|
195
196
|
@mandatory.setter
|
|
196
|
-
def mandatory(self, value: Optional[pulumi.Input[bool]]):
|
|
197
|
+
def mandatory(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
197
198
|
pulumi.set(self, "mandatory", value)
|
|
198
199
|
|
|
199
200
|
@property
|
|
200
201
|
@pulumi.getter
|
|
201
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
202
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
202
203
|
"""
|
|
203
204
|
The name of the rule. This must be unique in the cluster.
|
|
204
205
|
"""
|
|
205
206
|
return pulumi.get(self, "name")
|
|
206
207
|
|
|
207
208
|
@name.setter
|
|
208
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
209
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
209
210
|
pulumi.set(self, "name", value)
|
|
210
211
|
|
|
211
212
|
@property
|
|
212
213
|
@pulumi.getter(name="virtualMachineIds")
|
|
213
|
-
def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
214
|
+
def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
214
215
|
"""
|
|
215
216
|
The UUIDs of the virtual machines to run
|
|
216
217
|
on the same host together.
|
|
@@ -218,20 +219,23 @@ class _ComputeClusterVmAffinityRuleState:
|
|
|
218
219
|
return pulumi.get(self, "virtual_machine_ids")
|
|
219
220
|
|
|
220
221
|
@virtual_machine_ids.setter
|
|
221
|
-
def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
222
|
+
def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
222
223
|
pulumi.set(self, "virtual_machine_ids", value)
|
|
223
224
|
|
|
224
225
|
|
|
225
226
|
class ComputeClusterVmAffinityRule(pulumi.CustomResource):
|
|
227
|
+
|
|
228
|
+
pulumi_type = "vsphere:index/computeClusterVmAffinityRule:ComputeClusterVmAffinityRule"
|
|
229
|
+
|
|
226
230
|
@overload
|
|
227
231
|
def __init__(__self__,
|
|
228
232
|
resource_name: str,
|
|
229
233
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
230
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
231
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
232
|
-
mandatory: Optional[pulumi.Input[bool]] = None,
|
|
233
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
234
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
234
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
235
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
236
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
237
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
238
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
235
239
|
__props__=None):
|
|
236
240
|
"""
|
|
237
241
|
The `ComputeClusterVmAffinityRule` resource can be used to
|
|
@@ -340,18 +344,18 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
|
|
|
340
344
|
|
|
341
345
|
:param str resource_name: The name of the resource.
|
|
342
346
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
343
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
347
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
344
348
|
ID of the cluster to put the group in. Forces a new
|
|
345
349
|
resource if changed.
|
|
346
|
-
:param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
347
|
-
:param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
|
|
350
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
351
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
348
352
|
machine operations that may violate this rule. Default: `false`.
|
|
349
353
|
|
|
350
354
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
351
355
|
`name` argument) is shared with all rules in the cluster - consider
|
|
352
356
|
this when naming your rules.
|
|
353
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the cluster.
|
|
354
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
357
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
|
|
358
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
355
359
|
on the same host together.
|
|
356
360
|
"""
|
|
357
361
|
...
|
|
@@ -480,11 +484,11 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
|
|
|
480
484
|
def _internal_init(__self__,
|
|
481
485
|
resource_name: str,
|
|
482
486
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
483
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
484
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
485
|
-
mandatory: Optional[pulumi.Input[bool]] = None,
|
|
486
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
487
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
487
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
488
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
489
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
490
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
491
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
488
492
|
__props__=None):
|
|
489
493
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
490
494
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -513,11 +517,11 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
|
|
|
513
517
|
def get(resource_name: str,
|
|
514
518
|
id: pulumi.Input[str],
|
|
515
519
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
516
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
517
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
518
|
-
mandatory: Optional[pulumi.Input[bool]] = None,
|
|
519
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
520
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'ComputeClusterVmAffinityRule':
|
|
520
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
521
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
522
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
523
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
524
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'ComputeClusterVmAffinityRule':
|
|
521
525
|
"""
|
|
522
526
|
Get an existing ComputeClusterVmAffinityRule resource's state with the given name, id, and optional extra
|
|
523
527
|
properties used to qualify the lookup.
|
|
@@ -525,18 +529,18 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
|
|
|
525
529
|
:param str resource_name: The unique name of the resulting resource.
|
|
526
530
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
527
531
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
528
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
532
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
529
533
|
ID of the cluster to put the group in. Forces a new
|
|
530
534
|
resource if changed.
|
|
531
|
-
:param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
532
|
-
:param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
|
|
535
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
536
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
533
537
|
machine operations that may violate this rule. Default: `false`.
|
|
534
538
|
|
|
535
539
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
536
540
|
`name` argument) is shared with all rules in the cluster - consider
|
|
537
541
|
this when naming your rules.
|
|
538
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the cluster.
|
|
539
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
542
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
|
|
543
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
540
544
|
on the same host together.
|
|
541
545
|
"""
|
|
542
546
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -552,7 +556,7 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
|
|
|
552
556
|
|
|
553
557
|
@property
|
|
554
558
|
@pulumi.getter(name="computeClusterId")
|
|
555
|
-
def compute_cluster_id(self) -> pulumi.Output[str]:
|
|
559
|
+
def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
|
|
556
560
|
"""
|
|
557
561
|
The managed object reference
|
|
558
562
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -562,7 +566,7 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
|
|
|
562
566
|
|
|
563
567
|
@property
|
|
564
568
|
@pulumi.getter
|
|
565
|
-
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
569
|
+
def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
566
570
|
"""
|
|
567
571
|
Enable this rule in the cluster. Default: `true`.
|
|
568
572
|
"""
|
|
@@ -570,7 +574,7 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
|
|
|
570
574
|
|
|
571
575
|
@property
|
|
572
576
|
@pulumi.getter
|
|
573
|
-
def mandatory(self) -> pulumi.Output[Optional[bool]]:
|
|
577
|
+
def mandatory(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
574
578
|
"""
|
|
575
579
|
When this value is `true`, prevents any virtual
|
|
576
580
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -583,7 +587,7 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
|
|
|
583
587
|
|
|
584
588
|
@property
|
|
585
589
|
@pulumi.getter
|
|
586
|
-
def name(self) -> pulumi.Output[str]:
|
|
590
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
587
591
|
"""
|
|
588
592
|
The name of the rule. This must be unique in the cluster.
|
|
589
593
|
"""
|
|
@@ -591,7 +595,7 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
|
|
|
591
595
|
|
|
592
596
|
@property
|
|
593
597
|
@pulumi.getter(name="virtualMachineIds")
|
|
594
|
-
def virtual_machine_ids(self) -> pulumi.Output[Sequence[str]]:
|
|
598
|
+
def virtual_machine_ids(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
595
599
|
"""
|
|
596
600
|
The UUIDs of the virtual machines to run
|
|
597
601
|
on the same host together.
|