pulumi-vsphere 4.14.0a1739946909__py3-none-any.whl → 4.17.0a1763710194__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 +12 -1
- pulumi_vsphere/_inputs.py +1172 -1172
- pulumi_vsphere/_utilities.py +1 -1
- pulumi_vsphere/compute_cluster.py +1226 -1484
- pulumi_vsphere/compute_cluster_host_group.py +124 -53
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +88 -87
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +92 -87
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +109 -104
- pulumi_vsphere/compute_cluster_vm_group.py +58 -53
- pulumi_vsphere/compute_cluster_vm_host_rule.py +126 -121
- pulumi_vsphere/config/__init__.py +2 -1
- pulumi_vsphere/config/__init__.pyi +2 -2
- pulumi_vsphere/config/vars.py +15 -15
- pulumi_vsphere/configuration_profile.py +286 -0
- pulumi_vsphere/content_library.py +64 -59
- pulumi_vsphere/content_library_item.py +109 -104
- pulumi_vsphere/custom_attribute.py +41 -36
- pulumi_vsphere/datacenter.py +80 -79
- pulumi_vsphere/datastore_cluster.py +531 -477
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +92 -87
- pulumi_vsphere/distributed_port_group.py +802 -818
- pulumi_vsphere/distributed_virtual_switch.py +1590 -1620
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +71 -70
- pulumi_vsphere/dpm_host_override.py +159 -70
- pulumi_vsphere/drs_vm_override.py +75 -70
- pulumi_vsphere/entity_permissions.py +40 -39
- pulumi_vsphere/file.py +148 -162
- pulumi_vsphere/folder.py +104 -99
- pulumi_vsphere/get_compute_cluster.py +18 -18
- pulumi_vsphere/get_compute_cluster_host_group.py +18 -22
- pulumi_vsphere/get_configuration_profile.py +145 -0
- pulumi_vsphere/get_content_library.py +10 -10
- pulumi_vsphere/get_content_library_item.py +22 -22
- pulumi_vsphere/get_custom_attribute.py +12 -12
- pulumi_vsphere/get_datacenter.py +12 -12
- pulumi_vsphere/get_datastore.py +22 -22
- pulumi_vsphere/get_datastore_cluster.py +19 -19
- pulumi_vsphere/get_datastore_stats.py +22 -26
- pulumi_vsphere/get_distributed_virtual_switch.py +18 -18
- pulumi_vsphere/get_dynamic.py +22 -26
- pulumi_vsphere/get_folder.py +140 -18
- pulumi_vsphere/get_guest_os_customization.py +74 -21
- pulumi_vsphere/get_host.py +18 -18
- pulumi_vsphere/get_host_base_images.py +6 -6
- pulumi_vsphere/get_host_pci_device.py +30 -30
- pulumi_vsphere/get_host_thumbprint.py +22 -22
- pulumi_vsphere/get_host_vgpu_profile.py +17 -17
- pulumi_vsphere/get_license.py +26 -24
- pulumi_vsphere/get_network.py +80 -29
- pulumi_vsphere/get_ovf_vm_template.py +126 -126
- pulumi_vsphere/get_policy.py +10 -10
- pulumi_vsphere/get_resource_pool.py +77 -26
- pulumi_vsphere/get_role.py +26 -26
- pulumi_vsphere/get_tag.py +18 -18
- pulumi_vsphere/get_tag_category.py +16 -16
- pulumi_vsphere/get_vapp_container.py +16 -16
- pulumi_vsphere/get_virtual_machine.py +273 -273
- pulumi_vsphere/get_vmfs_disks.py +24 -24
- pulumi_vsphere/guest_os_customization.py +75 -74
- pulumi_vsphere/ha_vm_override.py +295 -374
- pulumi_vsphere/host.py +304 -249
- pulumi_vsphere/host_port_group.py +321 -341
- pulumi_vsphere/host_virtual_switch.py +373 -389
- pulumi_vsphere/license.py +125 -84
- pulumi_vsphere/nas_datastore.py +324 -261
- pulumi_vsphere/offline_software_depot.py +26 -21
- pulumi_vsphere/outputs.py +1003 -970
- pulumi_vsphere/provider.py +165 -146
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +691 -364
- pulumi_vsphere/role.py +46 -45
- pulumi_vsphere/storage_drs_vm_override.py +92 -87
- pulumi_vsphere/supervisor.py +210 -209
- pulumi_vsphere/tag.py +58 -53
- pulumi_vsphere/tag_category.py +75 -70
- pulumi_vsphere/vapp_container.py +262 -257
- pulumi_vsphere/vapp_entity.py +177 -172
- pulumi_vsphere/virtual_disk.py +130 -125
- pulumi_vsphere/virtual_machine.py +1339 -1443
- pulumi_vsphere/virtual_machine_class.py +109 -108
- pulumi_vsphere/virtual_machine_snapshot.py +122 -121
- pulumi_vsphere/vm_storage_policy.py +40 -39
- pulumi_vsphere/vmfs_datastore.py +189 -184
- pulumi_vsphere/vnic.py +145 -144
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA +4 -4
- pulumi_vsphere-4.17.0a1763710194.dist-info/RECORD +89 -0
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1739946909.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -19,33 +19,33 @@ __all__ = ['ComputeClusterVmDependencyRuleArgs', 'ComputeClusterVmDependencyRule
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class ComputeClusterVmDependencyRuleArgs:
|
|
21
21
|
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):
|
|
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):
|
|
28
28
|
"""
|
|
29
29
|
The set of arguments for constructing a ComputeClusterVmDependencyRule resource.
|
|
30
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
30
|
+
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
|
|
31
31
|
ID of the cluster to put the group in. Forces a new
|
|
32
32
|
resource if changed.
|
|
33
|
-
:param pulumi.Input[str] dependency_vm_group_name: The name of the VM group that this
|
|
33
|
+
:param pulumi.Input[_builtins.str] dependency_vm_group_name: The name of the VM group that this
|
|
34
34
|
rule depends on. The VMs defined in the group specified by
|
|
35
35
|
`vm_group_name` will not be started until the VMs in this
|
|
36
36
|
group are started.
|
|
37
|
-
:param pulumi.Input[str] vm_group_name: The name of the VM group that is the subject of
|
|
37
|
+
:param pulumi.Input[_builtins.str] vm_group_name: The name of the VM group that is the subject of
|
|
38
38
|
this rule. The VMs defined in this group will not be started until the VMs in
|
|
39
39
|
the group specified by
|
|
40
40
|
`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
|
|
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
|
|
43
43
|
machine operations that may violate this rule. Default: `false`.
|
|
44
44
|
|
|
45
45
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
46
46
|
`name` argument) is shared with all rules in the cluster - consider
|
|
47
47
|
this when naming your rules.
|
|
48
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the
|
|
48
|
+
:param pulumi.Input[_builtins.str] name: The name of the rule. This must be unique in the
|
|
49
49
|
cluster.
|
|
50
50
|
"""
|
|
51
51
|
pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
|
|
@@ -58,9 +58,9 @@ class ComputeClusterVmDependencyRuleArgs:
|
|
|
58
58
|
if name is not None:
|
|
59
59
|
pulumi.set(__self__, "name", name)
|
|
60
60
|
|
|
61
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
62
62
|
@pulumi.getter(name="computeClusterId")
|
|
63
|
-
def compute_cluster_id(self) -> pulumi.Input[str]:
|
|
63
|
+
def compute_cluster_id(self) -> pulumi.Input[_builtins.str]:
|
|
64
64
|
"""
|
|
65
65
|
The managed object reference
|
|
66
66
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -69,12 +69,12 @@ class ComputeClusterVmDependencyRuleArgs:
|
|
|
69
69
|
return pulumi.get(self, "compute_cluster_id")
|
|
70
70
|
|
|
71
71
|
@compute_cluster_id.setter
|
|
72
|
-
def compute_cluster_id(self, value: pulumi.Input[str]):
|
|
72
|
+
def compute_cluster_id(self, value: pulumi.Input[_builtins.str]):
|
|
73
73
|
pulumi.set(self, "compute_cluster_id", value)
|
|
74
74
|
|
|
75
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
76
76
|
@pulumi.getter(name="dependencyVmGroupName")
|
|
77
|
-
def dependency_vm_group_name(self) -> pulumi.Input[str]:
|
|
77
|
+
def dependency_vm_group_name(self) -> pulumi.Input[_builtins.str]:
|
|
78
78
|
"""
|
|
79
79
|
The name of the VM group that this
|
|
80
80
|
rule depends on. The VMs defined in the group specified by
|
|
@@ -84,12 +84,12 @@ class ComputeClusterVmDependencyRuleArgs:
|
|
|
84
84
|
return pulumi.get(self, "dependency_vm_group_name")
|
|
85
85
|
|
|
86
86
|
@dependency_vm_group_name.setter
|
|
87
|
-
def dependency_vm_group_name(self, value: pulumi.Input[str]):
|
|
87
|
+
def dependency_vm_group_name(self, value: pulumi.Input[_builtins.str]):
|
|
88
88
|
pulumi.set(self, "dependency_vm_group_name", value)
|
|
89
89
|
|
|
90
|
-
@property
|
|
90
|
+
@_builtins.property
|
|
91
91
|
@pulumi.getter(name="vmGroupName")
|
|
92
|
-
def vm_group_name(self) -> pulumi.Input[str]:
|
|
92
|
+
def vm_group_name(self) -> pulumi.Input[_builtins.str]:
|
|
93
93
|
"""
|
|
94
94
|
The name of the VM group that is the subject of
|
|
95
95
|
this rule. The VMs defined in this group will not be started until the VMs in
|
|
@@ -99,24 +99,24 @@ class ComputeClusterVmDependencyRuleArgs:
|
|
|
99
99
|
return pulumi.get(self, "vm_group_name")
|
|
100
100
|
|
|
101
101
|
@vm_group_name.setter
|
|
102
|
-
def vm_group_name(self, value: pulumi.Input[str]):
|
|
102
|
+
def vm_group_name(self, value: pulumi.Input[_builtins.str]):
|
|
103
103
|
pulumi.set(self, "vm_group_name", value)
|
|
104
104
|
|
|
105
|
-
@property
|
|
105
|
+
@_builtins.property
|
|
106
106
|
@pulumi.getter
|
|
107
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
107
|
+
def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
108
108
|
"""
|
|
109
109
|
Enable this rule in the cluster. Default: `true`.
|
|
110
110
|
"""
|
|
111
111
|
return pulumi.get(self, "enabled")
|
|
112
112
|
|
|
113
113
|
@enabled.setter
|
|
114
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
114
|
+
def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
115
115
|
pulumi.set(self, "enabled", value)
|
|
116
116
|
|
|
117
|
-
@property
|
|
117
|
+
@_builtins.property
|
|
118
118
|
@pulumi.getter
|
|
119
|
-
def mandatory(self) -> Optional[pulumi.Input[bool]]:
|
|
119
|
+
def mandatory(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
120
120
|
"""
|
|
121
121
|
When this value is `true`, prevents any virtual
|
|
122
122
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -128,12 +128,12 @@ class ComputeClusterVmDependencyRuleArgs:
|
|
|
128
128
|
return pulumi.get(self, "mandatory")
|
|
129
129
|
|
|
130
130
|
@mandatory.setter
|
|
131
|
-
def mandatory(self, value: Optional[pulumi.Input[bool]]):
|
|
131
|
+
def mandatory(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
132
132
|
pulumi.set(self, "mandatory", value)
|
|
133
133
|
|
|
134
|
-
@property
|
|
134
|
+
@_builtins.property
|
|
135
135
|
@pulumi.getter
|
|
136
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
136
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
137
137
|
"""
|
|
138
138
|
The name of the rule. This must be unique in the
|
|
139
139
|
cluster.
|
|
@@ -141,38 +141,38 @@ class ComputeClusterVmDependencyRuleArgs:
|
|
|
141
141
|
return pulumi.get(self, "name")
|
|
142
142
|
|
|
143
143
|
@name.setter
|
|
144
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
144
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
145
145
|
pulumi.set(self, "name", value)
|
|
146
146
|
|
|
147
147
|
|
|
148
148
|
@pulumi.input_type
|
|
149
149
|
class _ComputeClusterVmDependencyRuleState:
|
|
150
150
|
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):
|
|
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):
|
|
157
157
|
"""
|
|
158
158
|
Input properties used for looking up and filtering ComputeClusterVmDependencyRule resources.
|
|
159
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
159
|
+
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
|
|
160
160
|
ID of the cluster to put the group in. Forces a new
|
|
161
161
|
resource if changed.
|
|
162
|
-
:param pulumi.Input[str] dependency_vm_group_name: The name of the VM group that this
|
|
162
|
+
:param pulumi.Input[_builtins.str] dependency_vm_group_name: The name of the VM group that this
|
|
163
163
|
rule depends on. The VMs defined in the group specified by
|
|
164
164
|
`vm_group_name` will not be started until the VMs in this
|
|
165
165
|
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
|
|
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
|
|
168
168
|
machine operations that may violate this rule. Default: `false`.
|
|
169
169
|
|
|
170
170
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
171
171
|
`name` argument) is shared with all rules in the cluster - consider
|
|
172
172
|
this when naming your rules.
|
|
173
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the
|
|
173
|
+
:param pulumi.Input[_builtins.str] name: The name of the rule. This must be unique in the
|
|
174
174
|
cluster.
|
|
175
|
-
:param pulumi.Input[str] vm_group_name: The name of the VM group that is the subject of
|
|
175
|
+
:param pulumi.Input[_builtins.str] vm_group_name: The name of the VM group that is the subject of
|
|
176
176
|
this rule. The VMs defined in this group will not be started until the VMs in
|
|
177
177
|
the group specified by
|
|
178
178
|
`dependency_vm_group_name` are started.
|
|
@@ -190,9 +190,9 @@ class _ComputeClusterVmDependencyRuleState:
|
|
|
190
190
|
if vm_group_name is not None:
|
|
191
191
|
pulumi.set(__self__, "vm_group_name", vm_group_name)
|
|
192
192
|
|
|
193
|
-
@property
|
|
193
|
+
@_builtins.property
|
|
194
194
|
@pulumi.getter(name="computeClusterId")
|
|
195
|
-
def compute_cluster_id(self) -> Optional[pulumi.Input[str]]:
|
|
195
|
+
def compute_cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
196
196
|
"""
|
|
197
197
|
The managed object reference
|
|
198
198
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -201,12 +201,12 @@ class _ComputeClusterVmDependencyRuleState:
|
|
|
201
201
|
return pulumi.get(self, "compute_cluster_id")
|
|
202
202
|
|
|
203
203
|
@compute_cluster_id.setter
|
|
204
|
-
def compute_cluster_id(self, value: Optional[pulumi.Input[str]]):
|
|
204
|
+
def compute_cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
205
205
|
pulumi.set(self, "compute_cluster_id", value)
|
|
206
206
|
|
|
207
|
-
@property
|
|
207
|
+
@_builtins.property
|
|
208
208
|
@pulumi.getter(name="dependencyVmGroupName")
|
|
209
|
-
def dependency_vm_group_name(self) -> Optional[pulumi.Input[str]]:
|
|
209
|
+
def dependency_vm_group_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
210
210
|
"""
|
|
211
211
|
The name of the VM group that this
|
|
212
212
|
rule depends on. The VMs defined in the group specified by
|
|
@@ -216,24 +216,24 @@ class _ComputeClusterVmDependencyRuleState:
|
|
|
216
216
|
return pulumi.get(self, "dependency_vm_group_name")
|
|
217
217
|
|
|
218
218
|
@dependency_vm_group_name.setter
|
|
219
|
-
def dependency_vm_group_name(self, value: Optional[pulumi.Input[str]]):
|
|
219
|
+
def dependency_vm_group_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
220
220
|
pulumi.set(self, "dependency_vm_group_name", value)
|
|
221
221
|
|
|
222
|
-
@property
|
|
222
|
+
@_builtins.property
|
|
223
223
|
@pulumi.getter
|
|
224
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
224
|
+
def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
225
225
|
"""
|
|
226
226
|
Enable this rule in the cluster. Default: `true`.
|
|
227
227
|
"""
|
|
228
228
|
return pulumi.get(self, "enabled")
|
|
229
229
|
|
|
230
230
|
@enabled.setter
|
|
231
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
231
|
+
def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
232
232
|
pulumi.set(self, "enabled", value)
|
|
233
233
|
|
|
234
|
-
@property
|
|
234
|
+
@_builtins.property
|
|
235
235
|
@pulumi.getter
|
|
236
|
-
def mandatory(self) -> Optional[pulumi.Input[bool]]:
|
|
236
|
+
def mandatory(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
237
237
|
"""
|
|
238
238
|
When this value is `true`, prevents any virtual
|
|
239
239
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -245,12 +245,12 @@ class _ComputeClusterVmDependencyRuleState:
|
|
|
245
245
|
return pulumi.get(self, "mandatory")
|
|
246
246
|
|
|
247
247
|
@mandatory.setter
|
|
248
|
-
def mandatory(self, value: Optional[pulumi.Input[bool]]):
|
|
248
|
+
def mandatory(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
249
249
|
pulumi.set(self, "mandatory", value)
|
|
250
250
|
|
|
251
|
-
@property
|
|
251
|
+
@_builtins.property
|
|
252
252
|
@pulumi.getter
|
|
253
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
253
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
254
254
|
"""
|
|
255
255
|
The name of the rule. This must be unique in the
|
|
256
256
|
cluster.
|
|
@@ -258,12 +258,12 @@ class _ComputeClusterVmDependencyRuleState:
|
|
|
258
258
|
return pulumi.get(self, "name")
|
|
259
259
|
|
|
260
260
|
@name.setter
|
|
261
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
261
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
262
262
|
pulumi.set(self, "name", value)
|
|
263
263
|
|
|
264
|
-
@property
|
|
264
|
+
@_builtins.property
|
|
265
265
|
@pulumi.getter(name="vmGroupName")
|
|
266
|
-
def vm_group_name(self) -> Optional[pulumi.Input[str]]:
|
|
266
|
+
def vm_group_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
267
267
|
"""
|
|
268
268
|
The name of the VM group that is the subject of
|
|
269
269
|
this rule. The VMs defined in this group will not be started until the VMs in
|
|
@@ -273,21 +273,22 @@ class _ComputeClusterVmDependencyRuleState:
|
|
|
273
273
|
return pulumi.get(self, "vm_group_name")
|
|
274
274
|
|
|
275
275
|
@vm_group_name.setter
|
|
276
|
-
def vm_group_name(self, value: Optional[pulumi.Input[str]]):
|
|
276
|
+
def vm_group_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
277
277
|
pulumi.set(self, "vm_group_name", value)
|
|
278
278
|
|
|
279
279
|
|
|
280
|
+
@pulumi.type_token("vsphere:index/computeClusterVmDependencyRule:ComputeClusterVmDependencyRule")
|
|
280
281
|
class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
281
282
|
@overload
|
|
282
283
|
def __init__(__self__,
|
|
283
284
|
resource_name: str,
|
|
284
285
|
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,
|
|
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,
|
|
291
292
|
__props__=None):
|
|
292
293
|
"""
|
|
293
294
|
The `ComputeClusterVmDependencyRule` resource can be used to manage
|
|
@@ -382,6 +383,8 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
382
383
|
|
|
383
384
|
example is below:
|
|
384
385
|
|
|
386
|
+
[docs-import]: https://developer.hashicorp.com/terraform/cli/import
|
|
387
|
+
|
|
385
388
|
```sh
|
|
386
389
|
$ pulumi import vsphere:index/computeClusterVmDependencyRule:ComputeClusterVmDependencyRule cluster_vm_dependency_rule \\
|
|
387
390
|
```
|
|
@@ -392,23 +395,23 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
392
395
|
|
|
393
396
|
:param str resource_name: The name of the resource.
|
|
394
397
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
395
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
398
|
+
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
|
|
396
399
|
ID of the cluster to put the group in. Forces a new
|
|
397
400
|
resource if changed.
|
|
398
|
-
:param pulumi.Input[str] dependency_vm_group_name: The name of the VM group that this
|
|
401
|
+
:param pulumi.Input[_builtins.str] dependency_vm_group_name: The name of the VM group that this
|
|
399
402
|
rule depends on. The VMs defined in the group specified by
|
|
400
403
|
`vm_group_name` will not be started until the VMs in this
|
|
401
404
|
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
|
|
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
|
|
404
407
|
machine operations that may violate this rule. Default: `false`.
|
|
405
408
|
|
|
406
409
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
407
410
|
`name` argument) is shared with all rules in the cluster - consider
|
|
408
411
|
this when naming your rules.
|
|
409
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the
|
|
412
|
+
:param pulumi.Input[_builtins.str] name: The name of the rule. This must be unique in the
|
|
410
413
|
cluster.
|
|
411
|
-
:param pulumi.Input[str] vm_group_name: The name of the VM group that is the subject of
|
|
414
|
+
:param pulumi.Input[_builtins.str] vm_group_name: The name of the VM group that is the subject of
|
|
412
415
|
this rule. The VMs defined in this group will not be started until the VMs in
|
|
413
416
|
the group specified by
|
|
414
417
|
`dependency_vm_group_name` are started.
|
|
@@ -512,6 +515,8 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
512
515
|
|
|
513
516
|
example is below:
|
|
514
517
|
|
|
518
|
+
[docs-import]: https://developer.hashicorp.com/terraform/cli/import
|
|
519
|
+
|
|
515
520
|
```sh
|
|
516
521
|
$ pulumi import vsphere:index/computeClusterVmDependencyRule:ComputeClusterVmDependencyRule cluster_vm_dependency_rule \\
|
|
517
522
|
```
|
|
@@ -535,12 +540,12 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
535
540
|
def _internal_init(__self__,
|
|
536
541
|
resource_name: str,
|
|
537
542
|
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,
|
|
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,
|
|
544
549
|
__props__=None):
|
|
545
550
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
546
551
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -572,12 +577,12 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
572
577
|
def get(resource_name: str,
|
|
573
578
|
id: pulumi.Input[str],
|
|
574
579
|
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':
|
|
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':
|
|
581
586
|
"""
|
|
582
587
|
Get an existing ComputeClusterVmDependencyRule resource's state with the given name, id, and optional extra
|
|
583
588
|
properties used to qualify the lookup.
|
|
@@ -585,23 +590,23 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
585
590
|
:param str resource_name: The unique name of the resulting resource.
|
|
586
591
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
587
592
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
588
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
593
|
+
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
|
|
589
594
|
ID of the cluster to put the group in. Forces a new
|
|
590
595
|
resource if changed.
|
|
591
|
-
:param pulumi.Input[str] dependency_vm_group_name: The name of the VM group that this
|
|
596
|
+
:param pulumi.Input[_builtins.str] dependency_vm_group_name: The name of the VM group that this
|
|
592
597
|
rule depends on. The VMs defined in the group specified by
|
|
593
598
|
`vm_group_name` will not be started until the VMs in this
|
|
594
599
|
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
|
|
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
|
|
597
602
|
machine operations that may violate this rule. Default: `false`.
|
|
598
603
|
|
|
599
604
|
> **NOTE:** The namespace for rule names on this resource (defined by the
|
|
600
605
|
`name` argument) is shared with all rules in the cluster - consider
|
|
601
606
|
this when naming your rules.
|
|
602
|
-
:param pulumi.Input[str] name: The name of the rule. This must be unique in the
|
|
607
|
+
:param pulumi.Input[_builtins.str] name: The name of the rule. This must be unique in the
|
|
603
608
|
cluster.
|
|
604
|
-
:param pulumi.Input[str] vm_group_name: The name of the VM group that is the subject of
|
|
609
|
+
:param pulumi.Input[_builtins.str] vm_group_name: The name of the VM group that is the subject of
|
|
605
610
|
this rule. The VMs defined in this group will not be started until the VMs in
|
|
606
611
|
the group specified by
|
|
607
612
|
`dependency_vm_group_name` are started.
|
|
@@ -618,9 +623,9 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
618
623
|
__props__.__dict__["vm_group_name"] = vm_group_name
|
|
619
624
|
return ComputeClusterVmDependencyRule(resource_name, opts=opts, __props__=__props__)
|
|
620
625
|
|
|
621
|
-
@property
|
|
626
|
+
@_builtins.property
|
|
622
627
|
@pulumi.getter(name="computeClusterId")
|
|
623
|
-
def compute_cluster_id(self) -> pulumi.Output[str]:
|
|
628
|
+
def compute_cluster_id(self) -> pulumi.Output[_builtins.str]:
|
|
624
629
|
"""
|
|
625
630
|
The managed object reference
|
|
626
631
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -628,9 +633,9 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
628
633
|
"""
|
|
629
634
|
return pulumi.get(self, "compute_cluster_id")
|
|
630
635
|
|
|
631
|
-
@property
|
|
636
|
+
@_builtins.property
|
|
632
637
|
@pulumi.getter(name="dependencyVmGroupName")
|
|
633
|
-
def dependency_vm_group_name(self) -> pulumi.Output[str]:
|
|
638
|
+
def dependency_vm_group_name(self) -> pulumi.Output[_builtins.str]:
|
|
634
639
|
"""
|
|
635
640
|
The name of the VM group that this
|
|
636
641
|
rule depends on. The VMs defined in the group specified by
|
|
@@ -639,17 +644,17 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
639
644
|
"""
|
|
640
645
|
return pulumi.get(self, "dependency_vm_group_name")
|
|
641
646
|
|
|
642
|
-
@property
|
|
647
|
+
@_builtins.property
|
|
643
648
|
@pulumi.getter
|
|
644
|
-
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
649
|
+
def enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
645
650
|
"""
|
|
646
651
|
Enable this rule in the cluster. Default: `true`.
|
|
647
652
|
"""
|
|
648
653
|
return pulumi.get(self, "enabled")
|
|
649
654
|
|
|
650
|
-
@property
|
|
655
|
+
@_builtins.property
|
|
651
656
|
@pulumi.getter
|
|
652
|
-
def mandatory(self) -> pulumi.Output[Optional[bool]]:
|
|
657
|
+
def mandatory(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
653
658
|
"""
|
|
654
659
|
When this value is `true`, prevents any virtual
|
|
655
660
|
machine operations that may violate this rule. Default: `false`.
|
|
@@ -660,18 +665,18 @@ class ComputeClusterVmDependencyRule(pulumi.CustomResource):
|
|
|
660
665
|
"""
|
|
661
666
|
return pulumi.get(self, "mandatory")
|
|
662
667
|
|
|
663
|
-
@property
|
|
668
|
+
@_builtins.property
|
|
664
669
|
@pulumi.getter
|
|
665
|
-
def name(self) -> pulumi.Output[str]:
|
|
670
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
666
671
|
"""
|
|
667
672
|
The name of the rule. This must be unique in the
|
|
668
673
|
cluster.
|
|
669
674
|
"""
|
|
670
675
|
return pulumi.get(self, "name")
|
|
671
676
|
|
|
672
|
-
@property
|
|
677
|
+
@_builtins.property
|
|
673
678
|
@pulumi.getter(name="vmGroupName")
|
|
674
|
-
def vm_group_name(self) -> pulumi.Output[str]:
|
|
679
|
+
def vm_group_name(self) -> pulumi.Output[_builtins.str]:
|
|
675
680
|
"""
|
|
676
681
|
The name of the VM group that is the subject of
|
|
677
682
|
this rule. The VMs defined in this group will not be started until the VMs in
|