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,24 +20,24 @@ __all__ = ['DatastoreClusterVmAntiAffinityRuleArgs', 'DatastoreClusterVmAntiAffi
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class DatastoreClusterVmAntiAffinityRuleArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
datastore_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
|
+
datastore_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 DatastoreClusterVmAntiAffinityRule resource.
|
|
29
|
-
:param pulumi.Input[str] datastore_cluster_id: The managed object reference
|
|
30
|
+
:param pulumi.Input[builtins.str] datastore_cluster_id: The managed object reference
|
|
30
31
|
ID of the datastore cluster to put the group in. Forces
|
|
31
32
|
a new 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 different datastores from each other.
|
|
34
35
|
|
|
35
36
|
> **NOTE:** The minimum length of `virtual_machine_ids` is 2.
|
|
36
|
-
:param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
37
|
-
:param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
|
|
37
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
38
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
38
39
|
machine operations that may violate this rule. Default: `false`.
|
|
39
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the cluster.
|
|
40
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
|
|
40
41
|
"""
|
|
41
42
|
pulumi.set(__self__, "datastore_cluster_id", datastore_cluster_id)
|
|
42
43
|
pulumi.set(__self__, "virtual_machine_ids", virtual_machine_ids)
|
|
@@ -49,7 +50,7 @@ class DatastoreClusterVmAntiAffinityRuleArgs:
|
|
|
49
50
|
|
|
50
51
|
@property
|
|
51
52
|
@pulumi.getter(name="datastoreClusterId")
|
|
52
|
-
def datastore_cluster_id(self) -> pulumi.Input[str]:
|
|
53
|
+
def datastore_cluster_id(self) -> pulumi.Input[builtins.str]:
|
|
53
54
|
"""
|
|
54
55
|
The managed object reference
|
|
55
56
|
ID of the datastore cluster to put the group in. Forces
|
|
@@ -58,12 +59,12 @@ class DatastoreClusterVmAntiAffinityRuleArgs:
|
|
|
58
59
|
return pulumi.get(self, "datastore_cluster_id")
|
|
59
60
|
|
|
60
61
|
@datastore_cluster_id.setter
|
|
61
|
-
def datastore_cluster_id(self, value: pulumi.Input[str]):
|
|
62
|
+
def datastore_cluster_id(self, value: pulumi.Input[builtins.str]):
|
|
62
63
|
pulumi.set(self, "datastore_cluster_id", value)
|
|
63
64
|
|
|
64
65
|
@property
|
|
65
66
|
@pulumi.getter(name="virtualMachineIds")
|
|
66
|
-
def virtual_machine_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
67
|
+
def virtual_machine_ids(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
67
68
|
"""
|
|
68
69
|
The UUIDs of the virtual machines to run
|
|
69
70
|
on different datastores from each other.
|
|
@@ -73,24 +74,24 @@ class DatastoreClusterVmAntiAffinityRuleArgs:
|
|
|
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`.
|
|
@@ -98,40 +99,40 @@ class DatastoreClusterVmAntiAffinityRuleArgs:
|
|
|
98
99
|
return pulumi.get(self, "mandatory")
|
|
99
100
|
|
|
100
101
|
@mandatory.setter
|
|
101
|
-
def mandatory(self, value: Optional[pulumi.Input[bool]]):
|
|
102
|
+
def mandatory(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
102
103
|
pulumi.set(self, "mandatory", value)
|
|
103
104
|
|
|
104
105
|
@property
|
|
105
106
|
@pulumi.getter
|
|
106
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
107
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
107
108
|
"""
|
|
108
109
|
The name of the rule. This must be unique in the cluster.
|
|
109
110
|
"""
|
|
110
111
|
return pulumi.get(self, "name")
|
|
111
112
|
|
|
112
113
|
@name.setter
|
|
113
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
114
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
114
115
|
pulumi.set(self, "name", value)
|
|
115
116
|
|
|
116
117
|
|
|
117
118
|
@pulumi.input_type
|
|
118
119
|
class _DatastoreClusterVmAntiAffinityRuleState:
|
|
119
120
|
def __init__(__self__, *,
|
|
120
|
-
datastore_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
121
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
122
|
-
mandatory: Optional[pulumi.Input[bool]] = None,
|
|
123
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
124
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
121
|
+
datastore_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
122
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
123
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
124
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
125
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
125
126
|
"""
|
|
126
127
|
Input properties used for looking up and filtering DatastoreClusterVmAntiAffinityRule resources.
|
|
127
|
-
:param pulumi.Input[str] datastore_cluster_id: The managed object reference
|
|
128
|
+
:param pulumi.Input[builtins.str] datastore_cluster_id: The managed object reference
|
|
128
129
|
ID of the datastore cluster to put the group in. Forces
|
|
129
130
|
a new resource if changed.
|
|
130
|
-
:param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
131
|
-
:param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
|
|
131
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
132
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
132
133
|
machine operations that may violate this rule. Default: `false`.
|
|
133
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the cluster.
|
|
134
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
134
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
|
|
135
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
135
136
|
on different datastores from each other.
|
|
136
137
|
|
|
137
138
|
> **NOTE:** The minimum length of `virtual_machine_ids` is 2.
|
|
@@ -149,7 +150,7 @@ class _DatastoreClusterVmAntiAffinityRuleState:
|
|
|
149
150
|
|
|
150
151
|
@property
|
|
151
152
|
@pulumi.getter(name="datastoreClusterId")
|
|
152
|
-
def datastore_cluster_id(self) -> Optional[pulumi.Input[str]]:
|
|
153
|
+
def datastore_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
153
154
|
"""
|
|
154
155
|
The managed object reference
|
|
155
156
|
ID of the datastore cluster to put the group in. Forces
|
|
@@ -158,24 +159,24 @@ class _DatastoreClusterVmAntiAffinityRuleState:
|
|
|
158
159
|
return pulumi.get(self, "datastore_cluster_id")
|
|
159
160
|
|
|
160
161
|
@datastore_cluster_id.setter
|
|
161
|
-
def datastore_cluster_id(self, value: Optional[pulumi.Input[str]]):
|
|
162
|
+
def datastore_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
162
163
|
pulumi.set(self, "datastore_cluster_id", value)
|
|
163
164
|
|
|
164
165
|
@property
|
|
165
166
|
@pulumi.getter
|
|
166
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
167
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
167
168
|
"""
|
|
168
169
|
Enable this rule in the cluster. Default: `true`.
|
|
169
170
|
"""
|
|
170
171
|
return pulumi.get(self, "enabled")
|
|
171
172
|
|
|
172
173
|
@enabled.setter
|
|
173
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
174
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
174
175
|
pulumi.set(self, "enabled", value)
|
|
175
176
|
|
|
176
177
|
@property
|
|
177
178
|
@pulumi.getter
|
|
178
|
-
def mandatory(self) -> Optional[pulumi.Input[bool]]:
|
|
179
|
+
def mandatory(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
179
180
|
"""
|
|
180
181
|
When this value is `true`, prevents any virtual
|
|
181
182
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -183,24 +184,24 @@ class _DatastoreClusterVmAntiAffinityRuleState:
|
|
|
183
184
|
return pulumi.get(self, "mandatory")
|
|
184
185
|
|
|
185
186
|
@mandatory.setter
|
|
186
|
-
def mandatory(self, value: Optional[pulumi.Input[bool]]):
|
|
187
|
+
def mandatory(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
187
188
|
pulumi.set(self, "mandatory", value)
|
|
188
189
|
|
|
189
190
|
@property
|
|
190
191
|
@pulumi.getter
|
|
191
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
192
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
192
193
|
"""
|
|
193
194
|
The name of the rule. This must be unique in the cluster.
|
|
194
195
|
"""
|
|
195
196
|
return pulumi.get(self, "name")
|
|
196
197
|
|
|
197
198
|
@name.setter
|
|
198
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
199
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
199
200
|
pulumi.set(self, "name", value)
|
|
200
201
|
|
|
201
202
|
@property
|
|
202
203
|
@pulumi.getter(name="virtualMachineIds")
|
|
203
|
-
def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
204
|
+
def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
204
205
|
"""
|
|
205
206
|
The UUIDs of the virtual machines to run
|
|
206
207
|
on different datastores from each other.
|
|
@@ -210,20 +211,23 @@ class _DatastoreClusterVmAntiAffinityRuleState:
|
|
|
210
211
|
return pulumi.get(self, "virtual_machine_ids")
|
|
211
212
|
|
|
212
213
|
@virtual_machine_ids.setter
|
|
213
|
-
def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
214
|
+
def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
214
215
|
pulumi.set(self, "virtual_machine_ids", value)
|
|
215
216
|
|
|
216
217
|
|
|
217
218
|
class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
219
|
+
|
|
220
|
+
pulumi_type = "vsphere:index/datastoreClusterVmAntiAffinityRule:DatastoreClusterVmAntiAffinityRule"
|
|
221
|
+
|
|
218
222
|
@overload
|
|
219
223
|
def __init__(__self__,
|
|
220
224
|
resource_name: str,
|
|
221
225
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
222
|
-
datastore_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
223
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
224
|
-
mandatory: Optional[pulumi.Input[bool]] = None,
|
|
225
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
226
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
226
|
+
datastore_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
227
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
228
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
229
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
230
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
227
231
|
__props__=None):
|
|
228
232
|
"""
|
|
229
233
|
The `DatastoreClusterVmAntiAffinityRule` resource can be used to
|
|
@@ -305,14 +309,14 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
305
309
|
|
|
306
310
|
:param str resource_name: The name of the resource.
|
|
307
311
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
308
|
-
:param pulumi.Input[str] datastore_cluster_id: The managed object reference
|
|
312
|
+
:param pulumi.Input[builtins.str] datastore_cluster_id: The managed object reference
|
|
309
313
|
ID of the datastore cluster to put the group in. Forces
|
|
310
314
|
a new resource if changed.
|
|
311
|
-
:param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
312
|
-
:param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
|
|
315
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
316
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
313
317
|
machine operations that may violate this rule. Default: `false`.
|
|
314
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the cluster.
|
|
315
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
318
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
|
|
319
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
316
320
|
on different datastores from each other.
|
|
317
321
|
|
|
318
322
|
> **NOTE:** The minimum length of `virtual_machine_ids` is 2.
|
|
@@ -416,11 +420,11 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
416
420
|
def _internal_init(__self__,
|
|
417
421
|
resource_name: str,
|
|
418
422
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
419
|
-
datastore_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
420
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
421
|
-
mandatory: Optional[pulumi.Input[bool]] = None,
|
|
422
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
423
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
423
|
+
datastore_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
424
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
425
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
426
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
427
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
424
428
|
__props__=None):
|
|
425
429
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
426
430
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -449,11 +453,11 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
449
453
|
def get(resource_name: str,
|
|
450
454
|
id: pulumi.Input[str],
|
|
451
455
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
452
|
-
datastore_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
453
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
454
|
-
mandatory: Optional[pulumi.Input[bool]] = None,
|
|
455
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
456
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'DatastoreClusterVmAntiAffinityRule':
|
|
456
|
+
datastore_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
457
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
458
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
459
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
460
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'DatastoreClusterVmAntiAffinityRule':
|
|
457
461
|
"""
|
|
458
462
|
Get an existing DatastoreClusterVmAntiAffinityRule resource's state with the given name, id, and optional extra
|
|
459
463
|
properties used to qualify the lookup.
|
|
@@ -461,14 +465,14 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
461
465
|
:param str resource_name: The unique name of the resulting resource.
|
|
462
466
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
463
467
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
464
|
-
:param pulumi.Input[str] datastore_cluster_id: The managed object reference
|
|
468
|
+
:param pulumi.Input[builtins.str] datastore_cluster_id: The managed object reference
|
|
465
469
|
ID of the datastore cluster to put the group in. Forces
|
|
466
470
|
a new resource if changed.
|
|
467
|
-
:param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
468
|
-
:param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
|
|
471
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
472
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
469
473
|
machine operations that may violate this rule. Default: `false`.
|
|
470
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the cluster.
|
|
471
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
474
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
|
|
475
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
472
476
|
on different datastores from each other.
|
|
473
477
|
|
|
474
478
|
> **NOTE:** The minimum length of `virtual_machine_ids` is 2.
|
|
@@ -486,7 +490,7 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
486
490
|
|
|
487
491
|
@property
|
|
488
492
|
@pulumi.getter(name="datastoreClusterId")
|
|
489
|
-
def datastore_cluster_id(self) -> pulumi.Output[str]:
|
|
493
|
+
def datastore_cluster_id(self) -> pulumi.Output[builtins.str]:
|
|
490
494
|
"""
|
|
491
495
|
The managed object reference
|
|
492
496
|
ID of the datastore cluster to put the group in. Forces
|
|
@@ -496,7 +500,7 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
496
500
|
|
|
497
501
|
@property
|
|
498
502
|
@pulumi.getter
|
|
499
|
-
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
503
|
+
def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
500
504
|
"""
|
|
501
505
|
Enable this rule in the cluster. Default: `true`.
|
|
502
506
|
"""
|
|
@@ -504,7 +508,7 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
504
508
|
|
|
505
509
|
@property
|
|
506
510
|
@pulumi.getter
|
|
507
|
-
def mandatory(self) -> pulumi.Output[Optional[bool]]:
|
|
511
|
+
def mandatory(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
508
512
|
"""
|
|
509
513
|
When this value is `true`, prevents any virtual
|
|
510
514
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -513,7 +517,7 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
513
517
|
|
|
514
518
|
@property
|
|
515
519
|
@pulumi.getter
|
|
516
|
-
def name(self) -> pulumi.Output[str]:
|
|
520
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
517
521
|
"""
|
|
518
522
|
The name of the rule. This must be unique in the cluster.
|
|
519
523
|
"""
|
|
@@ -521,7 +525,7 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
521
525
|
|
|
522
526
|
@property
|
|
523
527
|
@pulumi.getter(name="virtualMachineIds")
|
|
524
|
-
def virtual_machine_ids(self) -> pulumi.Output[Sequence[str]]:
|
|
528
|
+
def virtual_machine_ids(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
525
529
|
"""
|
|
526
530
|
The UUIDs of the virtual machines to run
|
|
527
531
|
on different datastores from each other.
|