pulumi-vsphere 4.16.0a1753339697__py3-none-any.whl → 4.16.0a1753398270__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 -1
- pulumi_vsphere/_inputs.py +1171 -1172
- pulumi_vsphere/compute_cluster.py +1127 -1128
- pulumi_vsphere/compute_cluster_host_group.py +52 -53
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +86 -87
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +86 -87
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +103 -104
- pulumi_vsphere/compute_cluster_vm_group.py +52 -53
- pulumi_vsphere/compute_cluster_vm_host_rule.py +120 -121
- pulumi_vsphere/config/__init__.py +1 -1
- pulumi_vsphere/config/__init__.pyi +1 -2
- pulumi_vsphere/config/vars.py +14 -15
- pulumi_vsphere/content_library.py +58 -59
- pulumi_vsphere/content_library_item.py +103 -104
- pulumi_vsphere/custom_attribute.py +35 -36
- pulumi_vsphere/datacenter.py +78 -79
- pulumi_vsphere/datastore_cluster.py +426 -427
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +86 -87
- pulumi_vsphere/distributed_port_group.py +787 -788
- pulumi_vsphere/distributed_virtual_switch.py +1566 -1567
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +69 -70
- pulumi_vsphere/dpm_host_override.py +69 -70
- pulumi_vsphere/drs_vm_override.py +69 -70
- pulumi_vsphere/entity_permissions.py +38 -39
- pulumi_vsphere/file.py +120 -121
- pulumi_vsphere/folder.py +86 -87
- pulumi_vsphere/get_compute_cluster.py +17 -18
- pulumi_vsphere/get_compute_cluster_host_group.py +17 -18
- pulumi_vsphere/get_content_library.py +9 -10
- pulumi_vsphere/get_content_library_item.py +21 -22
- pulumi_vsphere/get_custom_attribute.py +11 -12
- pulumi_vsphere/get_datacenter.py +11 -12
- pulumi_vsphere/get_datastore.py +21 -22
- pulumi_vsphere/get_datastore_cluster.py +17 -18
- pulumi_vsphere/get_datastore_stats.py +21 -22
- pulumi_vsphere/get_distributed_virtual_switch.py +17 -18
- pulumi_vsphere/get_dynamic.py +21 -22
- pulumi_vsphere/get_folder.py +9 -10
- pulumi_vsphere/get_guest_os_customization.py +18 -19
- pulumi_vsphere/get_host.py +17 -18
- pulumi_vsphere/get_host_base_images.py +5 -6
- pulumi_vsphere/get_host_pci_device.py +29 -30
- pulumi_vsphere/get_host_thumbprint.py +21 -22
- pulumi_vsphere/get_host_vgpu_profile.py +16 -17
- pulumi_vsphere/get_license.py +19 -20
- pulumi_vsphere/get_network.py +42 -43
- pulumi_vsphere/get_ovf_vm_template.py +121 -122
- pulumi_vsphere/get_policy.py +9 -10
- pulumi_vsphere/get_resource_pool.py +21 -22
- pulumi_vsphere/get_role.py +25 -26
- pulumi_vsphere/get_tag.py +17 -18
- pulumi_vsphere/get_tag_category.py +15 -16
- pulumi_vsphere/get_vapp_container.py +15 -16
- pulumi_vsphere/get_virtual_machine.py +272 -273
- pulumi_vsphere/get_vmfs_disks.py +23 -24
- pulumi_vsphere/guest_os_customization.py +73 -74
- pulumi_vsphere/ha_vm_override.py +256 -257
- pulumi_vsphere/host.py +242 -243
- pulumi_vsphere/host_port_group.py +310 -311
- pulumi_vsphere/host_virtual_switch.py +358 -359
- pulumi_vsphere/license.py +71 -72
- pulumi_vsphere/nas_datastore.py +260 -261
- pulumi_vsphere/offline_software_depot.py +20 -21
- pulumi_vsphere/outputs.py +981 -982
- pulumi_vsphere/provider.py +120 -121
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +256 -257
- pulumi_vsphere/role.py +44 -45
- pulumi_vsphere/storage_drs_vm_override.py +86 -87
- pulumi_vsphere/supervisor.py +206 -207
- pulumi_vsphere/tag.py +52 -53
- pulumi_vsphere/tag_category.py +69 -70
- pulumi_vsphere/vapp_container.py +256 -257
- pulumi_vsphere/vapp_entity.py +171 -172
- pulumi_vsphere/virtual_disk.py +120 -121
- pulumi_vsphere/virtual_machine.py +1293 -1294
- pulumi_vsphere/virtual_machine_class.py +103 -104
- pulumi_vsphere/virtual_machine_snapshot.py +120 -121
- pulumi_vsphere/vm_storage_policy.py +38 -39
- pulumi_vsphere/vmfs_datastore.py +183 -184
- pulumi_vsphere/vnic.py +143 -144
- {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.16.0a1753398270.dist-info/RECORD +87 -0
- pulumi_vsphere-4.16.0a1753339697.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -20,26 +19,26 @@ __all__ = ['ComputeClusterVmAntiAffinityRuleArgs', 'ComputeClusterVmAntiAffinity
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class ComputeClusterVmAntiAffinityRuleArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
compute_cluster_id: pulumi.Input[
|
|
24
|
-
virtual_machine_ids: pulumi.Input[Sequence[pulumi.Input[
|
|
25
|
-
enabled: Optional[pulumi.Input[
|
|
26
|
-
mandatory: Optional[pulumi.Input[
|
|
27
|
-
name: Optional[pulumi.Input[
|
|
22
|
+
compute_cluster_id: pulumi.Input[_builtins.str],
|
|
23
|
+
virtual_machine_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
24
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
25
|
+
mandatory: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
26
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
28
27
|
"""
|
|
29
28
|
The set of arguments for constructing a ComputeClusterVmAntiAffinityRule resource.
|
|
30
|
-
:param pulumi.Input[
|
|
29
|
+
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
|
|
31
30
|
ID of the cluster to put the group in. Forces a new
|
|
32
31
|
resource if changed.
|
|
33
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
32
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
34
33
|
on hosts different from each other.
|
|
35
|
-
:param pulumi.Input[
|
|
36
|
-
:param pulumi.Input[
|
|
34
|
+
:param pulumi.Input[_builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
35
|
+
:param pulumi.Input[_builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
37
36
|
machine operations that may violate this rule. Default: `false`.
|
|
38
37
|
|
|
39
38
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
40
39
|
`name` argument) is shared with all rules in the cluster - consider
|
|
41
40
|
this when naming your rules.
|
|
42
|
-
:param pulumi.Input[
|
|
41
|
+
:param pulumi.Input[_builtins.str] name: The name of the rule. This must be unique in the cluster.
|
|
43
42
|
"""
|
|
44
43
|
pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
|
|
45
44
|
pulumi.set(__self__, "virtual_machine_ids", virtual_machine_ids)
|
|
@@ -50,9 +49,9 @@ class ComputeClusterVmAntiAffinityRuleArgs:
|
|
|
50
49
|
if name is not None:
|
|
51
50
|
pulumi.set(__self__, "name", name)
|
|
52
51
|
|
|
53
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
54
53
|
@pulumi.getter(name="computeClusterId")
|
|
55
|
-
def compute_cluster_id(self) -> pulumi.Input[
|
|
54
|
+
def compute_cluster_id(self) -> pulumi.Input[_builtins.str]:
|
|
56
55
|
"""
|
|
57
56
|
The managed object reference
|
|
58
57
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -61,12 +60,12 @@ class ComputeClusterVmAntiAffinityRuleArgs:
|
|
|
61
60
|
return pulumi.get(self, "compute_cluster_id")
|
|
62
61
|
|
|
63
62
|
@compute_cluster_id.setter
|
|
64
|
-
def compute_cluster_id(self, value: pulumi.Input[
|
|
63
|
+
def compute_cluster_id(self, value: pulumi.Input[_builtins.str]):
|
|
65
64
|
pulumi.set(self, "compute_cluster_id", value)
|
|
66
65
|
|
|
67
|
-
@property
|
|
66
|
+
@_builtins.property
|
|
68
67
|
@pulumi.getter(name="virtualMachineIds")
|
|
69
|
-
def virtual_machine_ids(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
68
|
+
def virtual_machine_ids(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
70
69
|
"""
|
|
71
70
|
The UUIDs of the virtual machines to run
|
|
72
71
|
on hosts different from each other.
|
|
@@ -74,24 +73,24 @@ class ComputeClusterVmAntiAffinityRuleArgs:
|
|
|
74
73
|
return pulumi.get(self, "virtual_machine_ids")
|
|
75
74
|
|
|
76
75
|
@virtual_machine_ids.setter
|
|
77
|
-
def virtual_machine_ids(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
76
|
+
def virtual_machine_ids(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
78
77
|
pulumi.set(self, "virtual_machine_ids", value)
|
|
79
78
|
|
|
80
|
-
@property
|
|
79
|
+
@_builtins.property
|
|
81
80
|
@pulumi.getter
|
|
82
|
-
def enabled(self) -> Optional[pulumi.Input[
|
|
81
|
+
def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
83
82
|
"""
|
|
84
83
|
Enable this rule in the cluster. Default: `true`.
|
|
85
84
|
"""
|
|
86
85
|
return pulumi.get(self, "enabled")
|
|
87
86
|
|
|
88
87
|
@enabled.setter
|
|
89
|
-
def enabled(self, value: Optional[pulumi.Input[
|
|
88
|
+
def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
90
89
|
pulumi.set(self, "enabled", value)
|
|
91
90
|
|
|
92
|
-
@property
|
|
91
|
+
@_builtins.property
|
|
93
92
|
@pulumi.getter
|
|
94
|
-
def mandatory(self) -> Optional[pulumi.Input[
|
|
93
|
+
def mandatory(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
95
94
|
"""
|
|
96
95
|
When this value is `true`, prevents any virtual
|
|
97
96
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -103,44 +102,44 @@ class ComputeClusterVmAntiAffinityRuleArgs:
|
|
|
103
102
|
return pulumi.get(self, "mandatory")
|
|
104
103
|
|
|
105
104
|
@mandatory.setter
|
|
106
|
-
def mandatory(self, value: Optional[pulumi.Input[
|
|
105
|
+
def mandatory(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
107
106
|
pulumi.set(self, "mandatory", value)
|
|
108
107
|
|
|
109
|
-
@property
|
|
108
|
+
@_builtins.property
|
|
110
109
|
@pulumi.getter
|
|
111
|
-
def name(self) -> Optional[pulumi.Input[
|
|
110
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
112
111
|
"""
|
|
113
112
|
The name of the rule. This must be unique in the cluster.
|
|
114
113
|
"""
|
|
115
114
|
return pulumi.get(self, "name")
|
|
116
115
|
|
|
117
116
|
@name.setter
|
|
118
|
-
def name(self, value: Optional[pulumi.Input[
|
|
117
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
119
118
|
pulumi.set(self, "name", value)
|
|
120
119
|
|
|
121
120
|
|
|
122
121
|
@pulumi.input_type
|
|
123
122
|
class _ComputeClusterVmAntiAffinityRuleState:
|
|
124
123
|
def __init__(__self__, *,
|
|
125
|
-
compute_cluster_id: Optional[pulumi.Input[
|
|
126
|
-
enabled: Optional[pulumi.Input[
|
|
127
|
-
mandatory: Optional[pulumi.Input[
|
|
128
|
-
name: Optional[pulumi.Input[
|
|
129
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
124
|
+
compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
125
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
126
|
+
mandatory: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
127
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
128
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
130
129
|
"""
|
|
131
130
|
Input properties used for looking up and filtering ComputeClusterVmAntiAffinityRule resources.
|
|
132
|
-
:param pulumi.Input[
|
|
131
|
+
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
|
|
133
132
|
ID of the cluster to put the group in. Forces a new
|
|
134
133
|
resource if changed.
|
|
135
|
-
:param pulumi.Input[
|
|
136
|
-
:param pulumi.Input[
|
|
134
|
+
:param pulumi.Input[_builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
135
|
+
:param pulumi.Input[_builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
137
136
|
machine operations that may violate this rule. Default: `false`.
|
|
138
137
|
|
|
139
138
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
140
139
|
`name` argument) is shared with all rules in the cluster - consider
|
|
141
140
|
this when naming your rules.
|
|
142
|
-
:param pulumi.Input[
|
|
143
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
141
|
+
:param pulumi.Input[_builtins.str] name: The name of the rule. This must be unique in the cluster.
|
|
142
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
144
143
|
on hosts different from each other.
|
|
145
144
|
"""
|
|
146
145
|
if compute_cluster_id is not None:
|
|
@@ -154,9 +153,9 @@ class _ComputeClusterVmAntiAffinityRuleState:
|
|
|
154
153
|
if virtual_machine_ids is not None:
|
|
155
154
|
pulumi.set(__self__, "virtual_machine_ids", virtual_machine_ids)
|
|
156
155
|
|
|
157
|
-
@property
|
|
156
|
+
@_builtins.property
|
|
158
157
|
@pulumi.getter(name="computeClusterId")
|
|
159
|
-
def compute_cluster_id(self) -> Optional[pulumi.Input[
|
|
158
|
+
def compute_cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
160
159
|
"""
|
|
161
160
|
The managed object reference
|
|
162
161
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -165,24 +164,24 @@ class _ComputeClusterVmAntiAffinityRuleState:
|
|
|
165
164
|
return pulumi.get(self, "compute_cluster_id")
|
|
166
165
|
|
|
167
166
|
@compute_cluster_id.setter
|
|
168
|
-
def compute_cluster_id(self, value: Optional[pulumi.Input[
|
|
167
|
+
def compute_cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
169
168
|
pulumi.set(self, "compute_cluster_id", value)
|
|
170
169
|
|
|
171
|
-
@property
|
|
170
|
+
@_builtins.property
|
|
172
171
|
@pulumi.getter
|
|
173
|
-
def enabled(self) -> Optional[pulumi.Input[
|
|
172
|
+
def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
174
173
|
"""
|
|
175
174
|
Enable this rule in the cluster. Default: `true`.
|
|
176
175
|
"""
|
|
177
176
|
return pulumi.get(self, "enabled")
|
|
178
177
|
|
|
179
178
|
@enabled.setter
|
|
180
|
-
def enabled(self, value: Optional[pulumi.Input[
|
|
179
|
+
def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
181
180
|
pulumi.set(self, "enabled", value)
|
|
182
181
|
|
|
183
|
-
@property
|
|
182
|
+
@_builtins.property
|
|
184
183
|
@pulumi.getter
|
|
185
|
-
def mandatory(self) -> Optional[pulumi.Input[
|
|
184
|
+
def mandatory(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
186
185
|
"""
|
|
187
186
|
When this value is `true`, prevents any virtual
|
|
188
187
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -194,24 +193,24 @@ class _ComputeClusterVmAntiAffinityRuleState:
|
|
|
194
193
|
return pulumi.get(self, "mandatory")
|
|
195
194
|
|
|
196
195
|
@mandatory.setter
|
|
197
|
-
def mandatory(self, value: Optional[pulumi.Input[
|
|
196
|
+
def mandatory(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
198
197
|
pulumi.set(self, "mandatory", value)
|
|
199
198
|
|
|
200
|
-
@property
|
|
199
|
+
@_builtins.property
|
|
201
200
|
@pulumi.getter
|
|
202
|
-
def name(self) -> Optional[pulumi.Input[
|
|
201
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
203
202
|
"""
|
|
204
203
|
The name of the rule. This must be unique in the cluster.
|
|
205
204
|
"""
|
|
206
205
|
return pulumi.get(self, "name")
|
|
207
206
|
|
|
208
207
|
@name.setter
|
|
209
|
-
def name(self, value: Optional[pulumi.Input[
|
|
208
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
210
209
|
pulumi.set(self, "name", value)
|
|
211
210
|
|
|
212
|
-
@property
|
|
211
|
+
@_builtins.property
|
|
213
212
|
@pulumi.getter(name="virtualMachineIds")
|
|
214
|
-
def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
213
|
+
def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
215
214
|
"""
|
|
216
215
|
The UUIDs of the virtual machines to run
|
|
217
216
|
on hosts different from each other.
|
|
@@ -219,7 +218,7 @@ class _ComputeClusterVmAntiAffinityRuleState:
|
|
|
219
218
|
return pulumi.get(self, "virtual_machine_ids")
|
|
220
219
|
|
|
221
220
|
@virtual_machine_ids.setter
|
|
222
|
-
def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
221
|
+
def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
223
222
|
pulumi.set(self, "virtual_machine_ids", value)
|
|
224
223
|
|
|
225
224
|
|
|
@@ -229,11 +228,11 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
229
228
|
def __init__(__self__,
|
|
230
229
|
resource_name: str,
|
|
231
230
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
232
|
-
compute_cluster_id: Optional[pulumi.Input[
|
|
233
|
-
enabled: Optional[pulumi.Input[
|
|
234
|
-
mandatory: Optional[pulumi.Input[
|
|
235
|
-
name: Optional[pulumi.Input[
|
|
236
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
231
|
+
compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
232
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
233
|
+
mandatory: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
234
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
235
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
237
236
|
__props__=None):
|
|
238
237
|
"""
|
|
239
238
|
## Import
|
|
@@ -258,18 +257,18 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
258
257
|
|
|
259
258
|
:param str resource_name: The name of the resource.
|
|
260
259
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
261
|
-
:param pulumi.Input[
|
|
260
|
+
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
|
|
262
261
|
ID of the cluster to put the group in. Forces a new
|
|
263
262
|
resource if changed.
|
|
264
|
-
:param pulumi.Input[
|
|
265
|
-
:param pulumi.Input[
|
|
263
|
+
:param pulumi.Input[_builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
264
|
+
:param pulumi.Input[_builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
266
265
|
machine operations that may violate this rule. Default: `false`.
|
|
267
266
|
|
|
268
267
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
269
268
|
`name` argument) is shared with all rules in the cluster - consider
|
|
270
269
|
this when naming your rules.
|
|
271
|
-
:param pulumi.Input[
|
|
272
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
270
|
+
:param pulumi.Input[_builtins.str] name: The name of the rule. This must be unique in the cluster.
|
|
271
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
273
272
|
on hosts different from each other.
|
|
274
273
|
"""
|
|
275
274
|
...
|
|
@@ -314,11 +313,11 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
314
313
|
def _internal_init(__self__,
|
|
315
314
|
resource_name: str,
|
|
316
315
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
317
|
-
compute_cluster_id: Optional[pulumi.Input[
|
|
318
|
-
enabled: Optional[pulumi.Input[
|
|
319
|
-
mandatory: Optional[pulumi.Input[
|
|
320
|
-
name: Optional[pulumi.Input[
|
|
321
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
316
|
+
compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
317
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
318
|
+
mandatory: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
319
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
320
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
322
321
|
__props__=None):
|
|
323
322
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
324
323
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -347,11 +346,11 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
347
346
|
def get(resource_name: str,
|
|
348
347
|
id: pulumi.Input[str],
|
|
349
348
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
350
|
-
compute_cluster_id: Optional[pulumi.Input[
|
|
351
|
-
enabled: Optional[pulumi.Input[
|
|
352
|
-
mandatory: Optional[pulumi.Input[
|
|
353
|
-
name: Optional[pulumi.Input[
|
|
354
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
349
|
+
compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
350
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
351
|
+
mandatory: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
352
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
353
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None) -> 'ComputeClusterVmAntiAffinityRule':
|
|
355
354
|
"""
|
|
356
355
|
Get an existing ComputeClusterVmAntiAffinityRule resource's state with the given name, id, and optional extra
|
|
357
356
|
properties used to qualify the lookup.
|
|
@@ -359,18 +358,18 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
359
358
|
:param str resource_name: The unique name of the resulting resource.
|
|
360
359
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
361
360
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
362
|
-
:param pulumi.Input[
|
|
361
|
+
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
|
|
363
362
|
ID of the cluster to put the group in. Forces a new
|
|
364
363
|
resource if changed.
|
|
365
|
-
:param pulumi.Input[
|
|
366
|
-
:param pulumi.Input[
|
|
364
|
+
:param pulumi.Input[_builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
365
|
+
:param pulumi.Input[_builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
367
366
|
machine operations that may violate this rule. Default: `false`.
|
|
368
367
|
|
|
369
368
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
370
369
|
`name` argument) is shared with all rules in the cluster - consider
|
|
371
370
|
this when naming your rules.
|
|
372
|
-
:param pulumi.Input[
|
|
373
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
371
|
+
:param pulumi.Input[_builtins.str] name: The name of the rule. This must be unique in the cluster.
|
|
372
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines to run
|
|
374
373
|
on hosts different from each other.
|
|
375
374
|
"""
|
|
376
375
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -384,9 +383,9 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
384
383
|
__props__.__dict__["virtual_machine_ids"] = virtual_machine_ids
|
|
385
384
|
return ComputeClusterVmAntiAffinityRule(resource_name, opts=opts, __props__=__props__)
|
|
386
385
|
|
|
387
|
-
@property
|
|
386
|
+
@_builtins.property
|
|
388
387
|
@pulumi.getter(name="computeClusterId")
|
|
389
|
-
def compute_cluster_id(self) -> pulumi.Output[
|
|
388
|
+
def compute_cluster_id(self) -> pulumi.Output[_builtins.str]:
|
|
390
389
|
"""
|
|
391
390
|
The managed object reference
|
|
392
391
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -394,17 +393,17 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
394
393
|
"""
|
|
395
394
|
return pulumi.get(self, "compute_cluster_id")
|
|
396
395
|
|
|
397
|
-
@property
|
|
396
|
+
@_builtins.property
|
|
398
397
|
@pulumi.getter
|
|
399
|
-
def enabled(self) -> pulumi.Output[Optional[
|
|
398
|
+
def enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
400
399
|
"""
|
|
401
400
|
Enable this rule in the cluster. Default: `true`.
|
|
402
401
|
"""
|
|
403
402
|
return pulumi.get(self, "enabled")
|
|
404
403
|
|
|
405
|
-
@property
|
|
404
|
+
@_builtins.property
|
|
406
405
|
@pulumi.getter
|
|
407
|
-
def mandatory(self) -> pulumi.Output[Optional[
|
|
406
|
+
def mandatory(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
408
407
|
"""
|
|
409
408
|
When this value is `true`, prevents any virtual
|
|
410
409
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -415,17 +414,17 @@ class ComputeClusterVmAntiAffinityRule(pulumi.CustomResource):
|
|
|
415
414
|
"""
|
|
416
415
|
return pulumi.get(self, "mandatory")
|
|
417
416
|
|
|
418
|
-
@property
|
|
417
|
+
@_builtins.property
|
|
419
418
|
@pulumi.getter
|
|
420
|
-
def name(self) -> pulumi.Output[
|
|
419
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
421
420
|
"""
|
|
422
421
|
The name of the rule. This must be unique in the cluster.
|
|
423
422
|
"""
|
|
424
423
|
return pulumi.get(self, "name")
|
|
425
424
|
|
|
426
|
-
@property
|
|
425
|
+
@_builtins.property
|
|
427
426
|
@pulumi.getter(name="virtualMachineIds")
|
|
428
|
-
def virtual_machine_ids(self) -> pulumi.Output[Sequence[
|
|
427
|
+
def virtual_machine_ids(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
429
428
|
"""
|
|
430
429
|
The UUIDs of the virtual machines to run
|
|
431
430
|
on hosts different from each other.
|