pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1746734806__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 +919 -917
- pulumi_vsphere/compute_cluster_host_group.py +44 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +72 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +72 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +86 -84
- pulumi_vsphere/compute_cluster_vm_group.py +44 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +100 -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 +44 -42
- pulumi_vsphere/content_library_item.py +86 -84
- pulumi_vsphere/custom_attribute.py +30 -28
- pulumi_vsphere/datacenter.py +65 -63
- pulumi_vsphere/datastore_cluster.py +352 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +72 -70
- pulumi_vsphere/distributed_port_group.py +646 -644
- pulumi_vsphere/distributed_virtual_switch.py +1283 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +58 -56
- pulumi_vsphere/dpm_host_override.py +58 -56
- pulumi_vsphere/drs_vm_override.py +58 -56
- pulumi_vsphere/entity_permissions.py +30 -28
- pulumi_vsphere/file.py +96 -94
- pulumi_vsphere/folder.py +72 -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 +58 -56
- pulumi_vsphere/ha_vm_override.py +212 -210
- pulumi_vsphere/host.py +198 -196
- pulumi_vsphere/host_port_group.py +254 -252
- pulumi_vsphere/host_virtual_switch.py +296 -294
- pulumi_vsphere/license.py +58 -56
- pulumi_vsphere/nas_datastore.py +212 -210
- pulumi_vsphere/offline_software_depot.py +16 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +119 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +212 -210
- pulumi_vsphere/role.py +37 -35
- pulumi_vsphere/storage_drs_vm_override.py +72 -70
- pulumi_vsphere/supervisor.py +156 -154
- pulumi_vsphere/tag.py +44 -42
- pulumi_vsphere/tag_category.py +58 -56
- pulumi_vsphere/vapp_container.py +212 -210
- pulumi_vsphere/vapp_entity.py +142 -140
- pulumi_vsphere/virtual_disk.py +100 -98
- pulumi_vsphere/virtual_machine.py +1041 -1039
- pulumi_vsphere/virtual_machine_class.py +86 -84
- pulumi_vsphere/virtual_machine_snapshot.py +100 -98
- pulumi_vsphere/vm_storage_policy.py +30 -28
- pulumi_vsphere/vmfs_datastore.py +149 -147
- pulumi_vsphere/vnic.py +114 -112
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/METADATA +4 -4
- pulumi_vsphere-4.14.0a1746734806.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.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.0a1746734806.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,21 @@ 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
|
|
|
218
|
+
@pulumi.type_token("vsphere:index/datastoreClusterVmAntiAffinityRule:DatastoreClusterVmAntiAffinityRule")
|
|
217
219
|
class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
218
220
|
@overload
|
|
219
221
|
def __init__(__self__,
|
|
220
222
|
resource_name: str,
|
|
221
223
|
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,
|
|
224
|
+
datastore_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
225
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
226
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
227
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
228
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
227
229
|
__props__=None):
|
|
228
230
|
"""
|
|
229
231
|
The `DatastoreClusterVmAntiAffinityRule` resource can be used to
|
|
@@ -305,14 +307,14 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
305
307
|
|
|
306
308
|
:param str resource_name: The name of the resource.
|
|
307
309
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
308
|
-
:param pulumi.Input[str] datastore_cluster_id: The managed object reference
|
|
310
|
+
:param pulumi.Input[builtins.str] datastore_cluster_id: The managed object reference
|
|
309
311
|
ID of the datastore cluster to put the group in. Forces
|
|
310
312
|
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
|
|
313
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
314
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
313
315
|
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
|
|
316
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
|
|
317
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
316
318
|
on different datastores from each other.
|
|
317
319
|
|
|
318
320
|
> **NOTE:** The minimum length of `virtual_machine_ids` is 2.
|
|
@@ -416,11 +418,11 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
416
418
|
def _internal_init(__self__,
|
|
417
419
|
resource_name: str,
|
|
418
420
|
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,
|
|
421
|
+
datastore_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
422
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
423
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
424
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
425
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
424
426
|
__props__=None):
|
|
425
427
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
426
428
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -449,11 +451,11 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
449
451
|
def get(resource_name: str,
|
|
450
452
|
id: pulumi.Input[str],
|
|
451
453
|
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':
|
|
454
|
+
datastore_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
455
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
456
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
457
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
458
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'DatastoreClusterVmAntiAffinityRule':
|
|
457
459
|
"""
|
|
458
460
|
Get an existing DatastoreClusterVmAntiAffinityRule resource's state with the given name, id, and optional extra
|
|
459
461
|
properties used to qualify the lookup.
|
|
@@ -461,14 +463,14 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
461
463
|
:param str resource_name: The unique name of the resulting resource.
|
|
462
464
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
463
465
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
464
|
-
:param pulumi.Input[str] datastore_cluster_id: The managed object reference
|
|
466
|
+
:param pulumi.Input[builtins.str] datastore_cluster_id: The managed object reference
|
|
465
467
|
ID of the datastore cluster to put the group in. Forces
|
|
466
468
|
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
|
|
469
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
470
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
469
471
|
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
|
|
472
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the cluster.
|
|
473
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
472
474
|
on different datastores from each other.
|
|
473
475
|
|
|
474
476
|
> **NOTE:** The minimum length of `virtual_machine_ids` is 2.
|
|
@@ -486,7 +488,7 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
486
488
|
|
|
487
489
|
@property
|
|
488
490
|
@pulumi.getter(name="datastoreClusterId")
|
|
489
|
-
def datastore_cluster_id(self) -> pulumi.Output[str]:
|
|
491
|
+
def datastore_cluster_id(self) -> pulumi.Output[builtins.str]:
|
|
490
492
|
"""
|
|
491
493
|
The managed object reference
|
|
492
494
|
ID of the datastore cluster to put the group in. Forces
|
|
@@ -496,7 +498,7 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
496
498
|
|
|
497
499
|
@property
|
|
498
500
|
@pulumi.getter
|
|
499
|
-
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
501
|
+
def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
500
502
|
"""
|
|
501
503
|
Enable this rule in the cluster. Default: `true`.
|
|
502
504
|
"""
|
|
@@ -504,7 +506,7 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
504
506
|
|
|
505
507
|
@property
|
|
506
508
|
@pulumi.getter
|
|
507
|
-
def mandatory(self) -> pulumi.Output[Optional[bool]]:
|
|
509
|
+
def mandatory(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
508
510
|
"""
|
|
509
511
|
When this value is `true`, prevents any virtual
|
|
510
512
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -513,7 +515,7 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
513
515
|
|
|
514
516
|
@property
|
|
515
517
|
@pulumi.getter
|
|
516
|
-
def name(self) -> pulumi.Output[str]:
|
|
518
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
517
519
|
"""
|
|
518
520
|
The name of the rule. This must be unique in the cluster.
|
|
519
521
|
"""
|
|
@@ -521,7 +523,7 @@ class DatastoreClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
521
523
|
|
|
522
524
|
@property
|
|
523
525
|
@pulumi.getter(name="virtualMachineIds")
|
|
524
|
-
def virtual_machine_ids(self) -> pulumi.Output[Sequence[str]]:
|
|
526
|
+
def virtual_machine_ids(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
525
527
|
"""
|
|
526
528
|
The UUIDs of the virtual machines to run
|
|
527
529
|
on different datastores from each other.
|