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