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