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,33 +20,33 @@ __all__ = ['ComputeClusterVmDependencyRuleArgs', 'ComputeClusterVmDependencyRule
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class ComputeClusterVmDependencyRuleArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
compute_cluster_id: pulumi.Input[str],
|
|
23
|
-
dependency_vm_group_name: pulumi.Input[str],
|
|
24
|
-
vm_group_name: pulumi.Input[str],
|
|
25
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
26
|
-
mandatory: Optional[pulumi.Input[bool]] = None,
|
|
27
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
23
|
+
compute_cluster_id: pulumi.Input[builtins.str],
|
|
24
|
+
dependency_vm_group_name: pulumi.Input[builtins.str],
|
|
25
|
+
vm_group_name: pulumi.Input[builtins.str],
|
|
26
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
27
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
28
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
28
29
|
"""
|
|
29
30
|
The set of arguments for constructing a ComputeClusterVmDependencyRule resource.
|
|
30
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
31
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
31
32
|
ID of the cluster to put the group in. Forces a new
|
|
32
33
|
resource if changed.
|
|
33
|
-
:param pulumi.Input[str] dependency_vm_group_name: The name of the VM group that this
|
|
34
|
+
:param pulumi.Input[builtins.str] dependency_vm_group_name: The name of the VM group that this
|
|
34
35
|
rule depends on. The VMs defined in the group specified by
|
|
35
36
|
`vm_group_name` will not be started until the VMs in this
|
|
36
37
|
group are started.
|
|
37
|
-
:param pulumi.Input[str] vm_group_name: The name of the VM group that is the subject of
|
|
38
|
+
:param pulumi.Input[builtins.str] vm_group_name: The name of the VM group that is the subject of
|
|
38
39
|
this rule. The VMs defined in this group will not be started until the VMs in
|
|
39
40
|
the group specified by
|
|
40
41
|
`dependency_vm_group_name` are started.
|
|
41
|
-
:param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
42
|
-
:param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
|
|
42
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
43
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
43
44
|
machine operations that may violate this rule. Default: `false`.
|
|
44
45
|
|
|
45
46
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
46
47
|
`name` argument) is shared with all rules in the cluster - consider
|
|
47
48
|
this when naming your rules.
|
|
48
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the
|
|
49
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the
|
|
49
50
|
cluster.
|
|
50
51
|
"""
|
|
51
52
|
pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
|
|
@@ -60,7 +61,7 @@ class ComputeClusterVmDependencyRuleArgs:
|
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter(name="computeClusterId")
|
|
63
|
-
def compute_cluster_id(self) -> pulumi.Input[str]:
|
|
64
|
+
def compute_cluster_id(self) -> pulumi.Input[builtins.str]:
|
|
64
65
|
"""
|
|
65
66
|
The managed object reference
|
|
66
67
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -69,12 +70,12 @@ class ComputeClusterVmDependencyRuleArgs:
|
|
|
69
70
|
return pulumi.get(self, "compute_cluster_id")
|
|
70
71
|
|
|
71
72
|
@compute_cluster_id.setter
|
|
72
|
-
def compute_cluster_id(self, value: pulumi.Input[str]):
|
|
73
|
+
def compute_cluster_id(self, value: pulumi.Input[builtins.str]):
|
|
73
74
|
pulumi.set(self, "compute_cluster_id", value)
|
|
74
75
|
|
|
75
76
|
@property
|
|
76
77
|
@pulumi.getter(name="dependencyVmGroupName")
|
|
77
|
-
def dependency_vm_group_name(self) -> pulumi.Input[str]:
|
|
78
|
+
def dependency_vm_group_name(self) -> pulumi.Input[builtins.str]:
|
|
78
79
|
"""
|
|
79
80
|
The name of the VM group that this
|
|
80
81
|
rule depends on. The VMs defined in the group specified by
|
|
@@ -84,12 +85,12 @@ class ComputeClusterVmDependencyRuleArgs:
|
|
|
84
85
|
return pulumi.get(self, "dependency_vm_group_name")
|
|
85
86
|
|
|
86
87
|
@dependency_vm_group_name.setter
|
|
87
|
-
def dependency_vm_group_name(self, value: pulumi.Input[str]):
|
|
88
|
+
def dependency_vm_group_name(self, value: pulumi.Input[builtins.str]):
|
|
88
89
|
pulumi.set(self, "dependency_vm_group_name", value)
|
|
89
90
|
|
|
90
91
|
@property
|
|
91
92
|
@pulumi.getter(name="vmGroupName")
|
|
92
|
-
def vm_group_name(self) -> pulumi.Input[str]:
|
|
93
|
+
def vm_group_name(self) -> pulumi.Input[builtins.str]:
|
|
93
94
|
"""
|
|
94
95
|
The name of the VM group that is the subject of
|
|
95
96
|
this rule. The VMs defined in this group will not be started until the VMs in
|
|
@@ -99,24 +100,24 @@ class ComputeClusterVmDependencyRuleArgs:
|
|
|
99
100
|
return pulumi.get(self, "vm_group_name")
|
|
100
101
|
|
|
101
102
|
@vm_group_name.setter
|
|
102
|
-
def vm_group_name(self, value: pulumi.Input[str]):
|
|
103
|
+
def vm_group_name(self, value: pulumi.Input[builtins.str]):
|
|
103
104
|
pulumi.set(self, "vm_group_name", value)
|
|
104
105
|
|
|
105
106
|
@property
|
|
106
107
|
@pulumi.getter
|
|
107
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
108
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
108
109
|
"""
|
|
109
110
|
Enable this rule in the cluster. Default: `true`.
|
|
110
111
|
"""
|
|
111
112
|
return pulumi.get(self, "enabled")
|
|
112
113
|
|
|
113
114
|
@enabled.setter
|
|
114
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
115
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
115
116
|
pulumi.set(self, "enabled", value)
|
|
116
117
|
|
|
117
118
|
@property
|
|
118
119
|
@pulumi.getter
|
|
119
|
-
def mandatory(self) -> Optional[pulumi.Input[bool]]:
|
|
120
|
+
def mandatory(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
120
121
|
"""
|
|
121
122
|
When this value is `true`, prevents any virtual
|
|
122
123
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -128,12 +129,12 @@ class ComputeClusterVmDependencyRuleArgs:
|
|
|
128
129
|
return pulumi.get(self, "mandatory")
|
|
129
130
|
|
|
130
131
|
@mandatory.setter
|
|
131
|
-
def mandatory(self, value: Optional[pulumi.Input[bool]]):
|
|
132
|
+
def mandatory(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
132
133
|
pulumi.set(self, "mandatory", value)
|
|
133
134
|
|
|
134
135
|
@property
|
|
135
136
|
@pulumi.getter
|
|
136
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
137
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
137
138
|
"""
|
|
138
139
|
The name of the rule. This must be unique in the
|
|
139
140
|
cluster.
|
|
@@ -141,38 +142,38 @@ class ComputeClusterVmDependencyRuleArgs:
|
|
|
141
142
|
return pulumi.get(self, "name")
|
|
142
143
|
|
|
143
144
|
@name.setter
|
|
144
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
145
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
145
146
|
pulumi.set(self, "name", value)
|
|
146
147
|
|
|
147
148
|
|
|
148
149
|
@pulumi.input_type
|
|
149
150
|
class _ComputeClusterVmDependencyRuleState:
|
|
150
151
|
def __init__(__self__, *,
|
|
151
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
152
|
-
dependency_vm_group_name: Optional[pulumi.Input[str]] = None,
|
|
153
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
154
|
-
mandatory: Optional[pulumi.Input[bool]] = None,
|
|
155
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
156
|
-
vm_group_name: Optional[pulumi.Input[str]] = None):
|
|
152
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
153
|
+
dependency_vm_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
154
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
155
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
156
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
157
|
+
vm_group_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
157
158
|
"""
|
|
158
159
|
Input properties used for looking up and filtering ComputeClusterVmDependencyRule resources.
|
|
159
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
160
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
160
161
|
ID of the cluster to put the group in. Forces a new
|
|
161
162
|
resource if changed.
|
|
162
|
-
:param pulumi.Input[str] dependency_vm_group_name: The name of the VM group that this
|
|
163
|
+
:param pulumi.Input[builtins.str] dependency_vm_group_name: The name of the VM group that this
|
|
163
164
|
rule depends on. The VMs defined in the group specified by
|
|
164
165
|
`vm_group_name` will not be started until the VMs in this
|
|
165
166
|
group are started.
|
|
166
|
-
:param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
167
|
-
:param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
|
|
167
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
168
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
168
169
|
machine operations that may violate this rule. Default: `false`.
|
|
169
170
|
|
|
170
171
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
171
172
|
`name` argument) is shared with all rules in the cluster - consider
|
|
172
173
|
this when naming your rules.
|
|
173
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the
|
|
174
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the
|
|
174
175
|
cluster.
|
|
175
|
-
:param pulumi.Input[str] vm_group_name: The name of the VM group that is the subject of
|
|
176
|
+
:param pulumi.Input[builtins.str] vm_group_name: The name of the VM group that is the subject of
|
|
176
177
|
this rule. The VMs defined in this group will not be started until the VMs in
|
|
177
178
|
the group specified by
|
|
178
179
|
`dependency_vm_group_name` are started.
|
|
@@ -192,7 +193,7 @@ class _ComputeClusterVmDependencyRuleState:
|
|
|
192
193
|
|
|
193
194
|
@property
|
|
194
195
|
@pulumi.getter(name="computeClusterId")
|
|
195
|
-
def compute_cluster_id(self) -> Optional[pulumi.Input[str]]:
|
|
196
|
+
def compute_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
196
197
|
"""
|
|
197
198
|
The managed object reference
|
|
198
199
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -201,12 +202,12 @@ class _ComputeClusterVmDependencyRuleState:
|
|
|
201
202
|
return pulumi.get(self, "compute_cluster_id")
|
|
202
203
|
|
|
203
204
|
@compute_cluster_id.setter
|
|
204
|
-
def compute_cluster_id(self, value: Optional[pulumi.Input[str]]):
|
|
205
|
+
def compute_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
205
206
|
pulumi.set(self, "compute_cluster_id", value)
|
|
206
207
|
|
|
207
208
|
@property
|
|
208
209
|
@pulumi.getter(name="dependencyVmGroupName")
|
|
209
|
-
def dependency_vm_group_name(self) -> Optional[pulumi.Input[str]]:
|
|
210
|
+
def dependency_vm_group_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
210
211
|
"""
|
|
211
212
|
The name of the VM group that this
|
|
212
213
|
rule depends on. The VMs defined in the group specified by
|
|
@@ -216,24 +217,24 @@ class _ComputeClusterVmDependencyRuleState:
|
|
|
216
217
|
return pulumi.get(self, "dependency_vm_group_name")
|
|
217
218
|
|
|
218
219
|
@dependency_vm_group_name.setter
|
|
219
|
-
def dependency_vm_group_name(self, value: Optional[pulumi.Input[str]]):
|
|
220
|
+
def dependency_vm_group_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
220
221
|
pulumi.set(self, "dependency_vm_group_name", value)
|
|
221
222
|
|
|
222
223
|
@property
|
|
223
224
|
@pulumi.getter
|
|
224
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
225
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
225
226
|
"""
|
|
226
227
|
Enable this rule in the cluster. Default: `true`.
|
|
227
228
|
"""
|
|
228
229
|
return pulumi.get(self, "enabled")
|
|
229
230
|
|
|
230
231
|
@enabled.setter
|
|
231
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
232
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
232
233
|
pulumi.set(self, "enabled", value)
|
|
233
234
|
|
|
234
235
|
@property
|
|
235
236
|
@pulumi.getter
|
|
236
|
-
def mandatory(self) -> Optional[pulumi.Input[bool]]:
|
|
237
|
+
def mandatory(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
237
238
|
"""
|
|
238
239
|
When this value is `true`, prevents any virtual
|
|
239
240
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -245,12 +246,12 @@ class _ComputeClusterVmDependencyRuleState:
|
|
|
245
246
|
return pulumi.get(self, "mandatory")
|
|
246
247
|
|
|
247
248
|
@mandatory.setter
|
|
248
|
-
def mandatory(self, value: Optional[pulumi.Input[bool]]):
|
|
249
|
+
def mandatory(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
249
250
|
pulumi.set(self, "mandatory", value)
|
|
250
251
|
|
|
251
252
|
@property
|
|
252
253
|
@pulumi.getter
|
|
253
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
254
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
254
255
|
"""
|
|
255
256
|
The name of the rule. This must be unique in the
|
|
256
257
|
cluster.
|
|
@@ -258,12 +259,12 @@ class _ComputeClusterVmDependencyRuleState:
|
|
|
258
259
|
return pulumi.get(self, "name")
|
|
259
260
|
|
|
260
261
|
@name.setter
|
|
261
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
262
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
262
263
|
pulumi.set(self, "name", value)
|
|
263
264
|
|
|
264
265
|
@property
|
|
265
266
|
@pulumi.getter(name="vmGroupName")
|
|
266
|
-
def vm_group_name(self) -> Optional[pulumi.Input[str]]:
|
|
267
|
+
def vm_group_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
267
268
|
"""
|
|
268
269
|
The name of the VM group that is the subject of
|
|
269
270
|
this rule. The VMs defined in this group will not be started until the VMs in
|
|
@@ -273,21 +274,22 @@ class _ComputeClusterVmDependencyRuleState:
|
|
|
273
274
|
return pulumi.get(self, "vm_group_name")
|
|
274
275
|
|
|
275
276
|
@vm_group_name.setter
|
|
276
|
-
def vm_group_name(self, value: Optional[pulumi.Input[str]]):
|
|
277
|
+
def vm_group_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
277
278
|
pulumi.set(self, "vm_group_name", value)
|
|
278
279
|
|
|
279
280
|
|
|
281
|
+
@pulumi.type_token("vsphere:index/computeClusterVmDependencyRule:ComputeClusterVmDependencyRule")
|
|
280
282
|
class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
281
283
|
@overload
|
|
282
284
|
def __init__(__self__,
|
|
283
285
|
resource_name: str,
|
|
284
286
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
285
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
286
|
-
dependency_vm_group_name: Optional[pulumi.Input[str]] = None,
|
|
287
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
288
|
-
mandatory: Optional[pulumi.Input[bool]] = None,
|
|
289
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
290
|
-
vm_group_name: Optional[pulumi.Input[str]] = None,
|
|
287
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
288
|
+
dependency_vm_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
289
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
290
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
291
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
292
|
+
vm_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
291
293
|
__props__=None):
|
|
292
294
|
"""
|
|
293
295
|
The `ComputeClusterVmDependencyRule` resource can be used to manage
|
|
@@ -392,23 +394,23 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
392
394
|
|
|
393
395
|
:param str resource_name: The name of the resource.
|
|
394
396
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
395
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
397
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
396
398
|
ID of the cluster to put the group in. Forces a new
|
|
397
399
|
resource if changed.
|
|
398
|
-
:param pulumi.Input[str] dependency_vm_group_name: The name of the VM group that this
|
|
400
|
+
:param pulumi.Input[builtins.str] dependency_vm_group_name: The name of the VM group that this
|
|
399
401
|
rule depends on. The VMs defined in the group specified by
|
|
400
402
|
`vm_group_name` will not be started until the VMs in this
|
|
401
403
|
group are started.
|
|
402
|
-
:param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
403
|
-
:param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
|
|
404
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
405
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
404
406
|
machine operations that may violate this rule. Default: `false`.
|
|
405
407
|
|
|
406
408
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
407
409
|
`name` argument) is shared with all rules in the cluster - consider
|
|
408
410
|
this when naming your rules.
|
|
409
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the
|
|
411
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the
|
|
410
412
|
cluster.
|
|
411
|
-
:param pulumi.Input[str] vm_group_name: The name of the VM group that is the subject of
|
|
413
|
+
:param pulumi.Input[builtins.str] vm_group_name: The name of the VM group that is the subject of
|
|
412
414
|
this rule. The VMs defined in this group will not be started until the VMs in
|
|
413
415
|
the group specified by
|
|
414
416
|
`dependency_vm_group_name` are started.
|
|
@@ -535,12 +537,12 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
535
537
|
def _internal_init(__self__,
|
|
536
538
|
resource_name: str,
|
|
537
539
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
538
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
539
|
-
dependency_vm_group_name: Optional[pulumi.Input[str]] = None,
|
|
540
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
541
|
-
mandatory: Optional[pulumi.Input[bool]] = None,
|
|
542
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
543
|
-
vm_group_name: Optional[pulumi.Input[str]] = None,
|
|
540
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
541
|
+
dependency_vm_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
542
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
543
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
544
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
545
|
+
vm_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
544
546
|
__props__=None):
|
|
545
547
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
546
548
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -572,12 +574,12 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
572
574
|
def get(resource_name: str,
|
|
573
575
|
id: pulumi.Input[str],
|
|
574
576
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
575
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
576
|
-
dependency_vm_group_name: Optional[pulumi.Input[str]] = None,
|
|
577
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
578
|
-
mandatory: Optional[pulumi.Input[bool]] = None,
|
|
579
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
580
|
-
vm_group_name: Optional[pulumi.Input[str]] = None) -> 'ComputeClusterVmDependencyRule':
|
|
577
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
578
|
+
dependency_vm_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
579
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
580
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
581
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
582
|
+
vm_group_name: Optional[pulumi.Input[builtins.str]] = None) -> 'ComputeClusterVmDependencyRule':
|
|
581
583
|
"""
|
|
582
584
|
Get an existing ComputeClusterVmDependencyRule resource's state with the given name, id, and optional extra
|
|
583
585
|
properties used to qualify the lookup.
|
|
@@ -585,23 +587,23 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
585
587
|
:param str resource_name: The unique name of the resulting resource.
|
|
586
588
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
587
589
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
588
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
590
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
589
591
|
ID of the cluster to put the group in. Forces a new
|
|
590
592
|
resource if changed.
|
|
591
|
-
:param pulumi.Input[str] dependency_vm_group_name: The name of the VM group that this
|
|
593
|
+
:param pulumi.Input[builtins.str] dependency_vm_group_name: The name of the VM group that this
|
|
592
594
|
rule depends on. The VMs defined in the group specified by
|
|
593
595
|
`vm_group_name` will not be started until the VMs in this
|
|
594
596
|
group are started.
|
|
595
|
-
:param pulumi.Input[bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
596
|
-
:param pulumi.Input[bool] mandatory: When this value is `true`, prevents any virtual
|
|
597
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
598
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
597
599
|
machine operations that may violate this rule. Default: `false`.
|
|
598
600
|
|
|
599
601
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
600
602
|
`name` argument) is shared with all rules in the cluster - consider
|
|
601
603
|
this when naming your rules.
|
|
602
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the
|
|
604
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the
|
|
603
605
|
cluster.
|
|
604
|
-
:param pulumi.Input[str] vm_group_name: The name of the VM group that is the subject of
|
|
606
|
+
:param pulumi.Input[builtins.str] vm_group_name: The name of the VM group that is the subject of
|
|
605
607
|
this rule. The VMs defined in this group will not be started until the VMs in
|
|
606
608
|
the group specified by
|
|
607
609
|
`dependency_vm_group_name` are started.
|
|
@@ -620,7 +622,7 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
620
622
|
|
|
621
623
|
@property
|
|
622
624
|
@pulumi.getter(name="computeClusterId")
|
|
623
|
-
def compute_cluster_id(self) -> pulumi.Output[str]:
|
|
625
|
+
def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
|
|
624
626
|
"""
|
|
625
627
|
The managed object reference
|
|
626
628
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -630,7 +632,7 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
630
632
|
|
|
631
633
|
@property
|
|
632
634
|
@pulumi.getter(name="dependencyVmGroupName")
|
|
633
|
-
def dependency_vm_group_name(self) -> pulumi.Output[str]:
|
|
635
|
+
def dependency_vm_group_name(self) -> pulumi.Output[builtins.str]:
|
|
634
636
|
"""
|
|
635
637
|
The name of the VM group that this
|
|
636
638
|
rule depends on. The VMs defined in the group specified by
|
|
@@ -641,7 +643,7 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
641
643
|
|
|
642
644
|
@property
|
|
643
645
|
@pulumi.getter
|
|
644
|
-
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
646
|
+
def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
645
647
|
"""
|
|
646
648
|
Enable this rule in the cluster. Default: `true`.
|
|
647
649
|
"""
|
|
@@ -649,7 +651,7 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
649
651
|
|
|
650
652
|
@property
|
|
651
653
|
@pulumi.getter
|
|
652
|
-
def mandatory(self) -> pulumi.Output[Optional[bool]]:
|
|
654
|
+
def mandatory(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
653
655
|
"""
|
|
654
656
|
When this value is `true`, prevents any virtual
|
|
655
657
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -662,7 +664,7 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
662
664
|
|
|
663
665
|
@property
|
|
664
666
|
@pulumi.getter
|
|
665
|
-
def name(self) -> pulumi.Output[str]:
|
|
667
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
666
668
|
"""
|
|
667
669
|
The name of the rule. This must be unique in the
|
|
668
670
|
cluster.
|
|
@@ -671,7 +673,7 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
671
673
|
|
|
672
674
|
@property
|
|
673
675
|
@pulumi.getter(name="vmGroupName")
|
|
674
|
-
def vm_group_name(self) -> pulumi.Output[str]:
|
|
676
|
+
def vm_group_name(self) -> pulumi.Output[builtins.str]:
|
|
675
677
|
"""
|
|
676
678
|
The name of the VM group that is the subject of
|
|
677
679
|
this rule. The VMs defined in this group will not be started until the VMs in
|