pulumi-vsphere 4.14.0a1741243116__py3-none-any.whl → 4.14.0a1745952392__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +1 -0
- pulumi_vsphere/_inputs.py +969 -968
- pulumi_vsphere/compute_cluster.py +921 -917
- pulumi_vsphere/compute_cluster_host_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +88 -84
- pulumi_vsphere/compute_cluster_vm_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +102 -98
- pulumi_vsphere/config/__init__.py +1 -0
- pulumi_vsphere/config/__init__.pyi +1 -0
- pulumi_vsphere/config/vars.py +1 -0
- pulumi_vsphere/content_library.py +46 -42
- pulumi_vsphere/content_library_item.py +88 -84
- pulumi_vsphere/custom_attribute.py +32 -28
- pulumi_vsphere/datacenter.py +67 -63
- pulumi_vsphere/datastore_cluster.py +354 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/distributed_port_group.py +648 -644
- pulumi_vsphere/distributed_virtual_switch.py +1285 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +60 -56
- pulumi_vsphere/dpm_host_override.py +60 -56
- pulumi_vsphere/drs_vm_override.py +60 -56
- pulumi_vsphere/entity_permissions.py +32 -28
- pulumi_vsphere/file.py +98 -94
- pulumi_vsphere/folder.py +74 -70
- pulumi_vsphere/get_compute_cluster.py +13 -12
- pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
- pulumi_vsphere/get_content_library.py +7 -6
- pulumi_vsphere/get_content_library_item.py +17 -16
- pulumi_vsphere/get_custom_attribute.py +8 -7
- pulumi_vsphere/get_datacenter.py +8 -7
- pulumi_vsphere/get_datastore.py +17 -16
- pulumi_vsphere/get_datastore_cluster.py +13 -12
- pulumi_vsphere/get_datastore_stats.py +17 -16
- pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
- pulumi_vsphere/get_dynamic.py +17 -16
- pulumi_vsphere/get_folder.py +7 -6
- pulumi_vsphere/get_guest_os_customization.py +11 -10
- pulumi_vsphere/get_host.py +13 -12
- pulumi_vsphere/get_host_base_images.py +3 -2
- pulumi_vsphere/get_host_pci_device.py +23 -22
- pulumi_vsphere/get_host_thumbprint.py +17 -16
- pulumi_vsphere/get_host_vgpu_profile.py +12 -11
- pulumi_vsphere/get_license.py +12 -11
- pulumi_vsphere/get_network.py +18 -17
- pulumi_vsphere/get_ovf_vm_template.py +89 -88
- pulumi_vsphere/get_policy.py +7 -6
- pulumi_vsphere/get_resource_pool.py +12 -11
- pulumi_vsphere/get_role.py +20 -19
- pulumi_vsphere/get_tag.py +13 -12
- pulumi_vsphere/get_tag_category.py +10 -9
- pulumi_vsphere/get_vapp_container.py +12 -11
- pulumi_vsphere/get_virtual_machine.py +204 -203
- pulumi_vsphere/get_vmfs_disks.py +18 -17
- pulumi_vsphere/guest_os_customization.py +60 -56
- pulumi_vsphere/ha_vm_override.py +214 -210
- pulumi_vsphere/host.py +200 -196
- pulumi_vsphere/host_port_group.py +256 -252
- pulumi_vsphere/host_virtual_switch.py +298 -294
- pulumi_vsphere/license.py +60 -56
- pulumi_vsphere/nas_datastore.py +214 -210
- pulumi_vsphere/offline_software_depot.py +18 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +101 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +214 -210
- pulumi_vsphere/role.py +39 -35
- pulumi_vsphere/storage_drs_vm_override.py +74 -70
- pulumi_vsphere/supervisor.py +158 -154
- pulumi_vsphere/tag.py +46 -42
- pulumi_vsphere/tag_category.py +60 -56
- pulumi_vsphere/vapp_container.py +214 -210
- pulumi_vsphere/vapp_entity.py +144 -140
- pulumi_vsphere/virtual_disk.py +102 -98
- pulumi_vsphere/virtual_machine.py +1043 -1039
- pulumi_vsphere/virtual_machine_class.py +88 -84
- pulumi_vsphere/virtual_machine_snapshot.py +102 -98
- pulumi_vsphere/vm_storage_policy.py +32 -28
- pulumi_vsphere/vmfs_datastore.py +151 -147
- pulumi_vsphere/vnic.py +116 -112
- {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1741243116.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -19,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,24 @@ 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
|
|
|
280
281
|
class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
282
|
+
|
|
283
|
+
pulumi_type = "vsphere:index/computeClusterVmDependencyRule:ComputeClusterVmDependencyRule"
|
|
284
|
+
|
|
281
285
|
@overload
|
|
282
286
|
def __init__(__self__,
|
|
283
287
|
resource_name: str,
|
|
284
288
|
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,
|
|
289
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
290
|
+
dependency_vm_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
291
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
292
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
293
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
294
|
+
vm_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
291
295
|
__props__=None):
|
|
292
296
|
"""
|
|
293
297
|
The `ComputeClusterVmDependencyRule` resource can be used to manage
|
|
@@ -392,23 +396,23 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
392
396
|
|
|
393
397
|
:param str resource_name: The name of the resource.
|
|
394
398
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
395
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
399
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
396
400
|
ID of the cluster to put the group in. Forces a new
|
|
397
401
|
resource if changed.
|
|
398
|
-
:param pulumi.Input[str] dependency_vm_group_name: The name of the VM group that this
|
|
402
|
+
:param pulumi.Input[builtins.str] dependency_vm_group_name: The name of the VM group that this
|
|
399
403
|
rule depends on. The VMs defined in the group specified by
|
|
400
404
|
`vm_group_name` will not be started until the VMs in this
|
|
401
405
|
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
|
|
406
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
407
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
404
408
|
machine operations that may violate this rule. Default: `false`.
|
|
405
409
|
|
|
406
410
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
407
411
|
`name` argument) is shared with all rules in the cluster - consider
|
|
408
412
|
this when naming your rules.
|
|
409
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the
|
|
413
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the
|
|
410
414
|
cluster.
|
|
411
|
-
:param pulumi.Input[str] vm_group_name: The name of the VM group that is the subject of
|
|
415
|
+
:param pulumi.Input[builtins.str] vm_group_name: The name of the VM group that is the subject of
|
|
412
416
|
this rule. The VMs defined in this group will not be started until the VMs in
|
|
413
417
|
the group specified by
|
|
414
418
|
`dependency_vm_group_name` are started.
|
|
@@ -535,12 +539,12 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
535
539
|
def _internal_init(__self__,
|
|
536
540
|
resource_name: str,
|
|
537
541
|
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,
|
|
542
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
543
|
+
dependency_vm_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
544
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
545
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
546
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
547
|
+
vm_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
544
548
|
__props__=None):
|
|
545
549
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
546
550
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -572,12 +576,12 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
572
576
|
def get(resource_name: str,
|
|
573
577
|
id: pulumi.Input[str],
|
|
574
578
|
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':
|
|
579
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
580
|
+
dependency_vm_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
581
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
582
|
+
mandatory: Optional[pulumi.Input[builtins.bool]] = None,
|
|
583
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
584
|
+
vm_group_name: Optional[pulumi.Input[builtins.str]] = None) -> 'ComputeClusterVmDependencyRule':
|
|
581
585
|
"""
|
|
582
586
|
Get an existing ComputeClusterVmDependencyRule resource's state with the given name, id, and optional extra
|
|
583
587
|
properties used to qualify the lookup.
|
|
@@ -585,23 +589,23 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
585
589
|
:param str resource_name: The unique name of the resulting resource.
|
|
586
590
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
587
591
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
588
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
592
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
589
593
|
ID of the cluster to put the group in. Forces a new
|
|
590
594
|
resource if changed.
|
|
591
|
-
:param pulumi.Input[str] dependency_vm_group_name: The name of the VM group that this
|
|
595
|
+
:param pulumi.Input[builtins.str] dependency_vm_group_name: The name of the VM group that this
|
|
592
596
|
rule depends on. The VMs defined in the group specified by
|
|
593
597
|
`vm_group_name` will not be started until the VMs in this
|
|
594
598
|
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
|
|
599
|
+
:param pulumi.Input[builtins.bool] enabled: Enable this rule in the cluster. Default: `true`.
|
|
600
|
+
:param pulumi.Input[builtins.bool] mandatory: When this value is `true`, prevents any virtual
|
|
597
601
|
machine operations that may violate this rule. Default: `false`.
|
|
598
602
|
|
|
599
603
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
600
604
|
`name` argument) is shared with all rules in the cluster - consider
|
|
601
605
|
this when naming your rules.
|
|
602
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the
|
|
606
|
+
:param pulumi.Input[builtins.str] name: The name of the rule. This must be unique in the
|
|
603
607
|
cluster.
|
|
604
|
-
:param pulumi.Input[str] vm_group_name: The name of the VM group that is the subject of
|
|
608
|
+
:param pulumi.Input[builtins.str] vm_group_name: The name of the VM group that is the subject of
|
|
605
609
|
this rule. The VMs defined in this group will not be started until the VMs in
|
|
606
610
|
the group specified by
|
|
607
611
|
`dependency_vm_group_name` are started.
|
|
@@ -620,7 +624,7 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
620
624
|
|
|
621
625
|
@property
|
|
622
626
|
@pulumi.getter(name="computeClusterId")
|
|
623
|
-
def compute_cluster_id(self) -> pulumi.Output[str]:
|
|
627
|
+
def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
|
|
624
628
|
"""
|
|
625
629
|
The managed object reference
|
|
626
630
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -630,7 +634,7 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
630
634
|
|
|
631
635
|
@property
|
|
632
636
|
@pulumi.getter(name="dependencyVmGroupName")
|
|
633
|
-
def dependency_vm_group_name(self) -> pulumi.Output[str]:
|
|
637
|
+
def dependency_vm_group_name(self) -> pulumi.Output[builtins.str]:
|
|
634
638
|
"""
|
|
635
639
|
The name of the VM group that this
|
|
636
640
|
rule depends on. The VMs defined in the group specified by
|
|
@@ -641,7 +645,7 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
641
645
|
|
|
642
646
|
@property
|
|
643
647
|
@pulumi.getter
|
|
644
|
-
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
648
|
+
def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
645
649
|
"""
|
|
646
650
|
Enable this rule in the cluster. Default: `true`.
|
|
647
651
|
"""
|
|
@@ -649,7 +653,7 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
649
653
|
|
|
650
654
|
@property
|
|
651
655
|
@pulumi.getter
|
|
652
|
-
def mandatory(self) -> pulumi.Output[Optional[bool]]:
|
|
656
|
+
def mandatory(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
653
657
|
"""
|
|
654
658
|
When this value is `true`, prevents any virtual
|
|
655
659
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -662,7 +666,7 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
662
666
|
|
|
663
667
|
@property
|
|
664
668
|
@pulumi.getter
|
|
665
|
-
def name(self) -> pulumi.Output[str]:
|
|
669
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
666
670
|
"""
|
|
667
671
|
The name of the rule. This must be unique in the
|
|
668
672
|
cluster.
|
|
@@ -671,7 +675,7 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
671
675
|
|
|
672
676
|
@property
|
|
673
677
|
@pulumi.getter(name="vmGroupName")
|
|
674
|
-
def vm_group_name(self) -> pulumi.Output[str]:
|
|
678
|
+
def vm_group_name(self) -> pulumi.Output[builtins.str]:
|
|
675
679
|
"""
|
|
676
680
|
The name of the VM group that is the subject of
|
|
677
681
|
this rule. The VMs defined in this group will not be started until the VMs in
|