pulumi-vsphere 4.15.0a1753206257__py3-none-any.whl → 4.16.0a1753398270__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +1 -1
- pulumi_vsphere/_inputs.py +1171 -1172
- pulumi_vsphere/compute_cluster.py +1127 -1128
- pulumi_vsphere/compute_cluster_host_group.py +52 -53
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +86 -87
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +86 -87
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +103 -104
- pulumi_vsphere/compute_cluster_vm_group.py +52 -53
- pulumi_vsphere/compute_cluster_vm_host_rule.py +120 -121
- pulumi_vsphere/config/__init__.py +1 -1
- pulumi_vsphere/config/__init__.pyi +1 -2
- pulumi_vsphere/config/vars.py +14 -15
- pulumi_vsphere/content_library.py +58 -59
- pulumi_vsphere/content_library_item.py +103 -104
- pulumi_vsphere/custom_attribute.py +35 -36
- pulumi_vsphere/datacenter.py +78 -79
- pulumi_vsphere/datastore_cluster.py +426 -427
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +86 -87
- pulumi_vsphere/distributed_port_group.py +787 -788
- pulumi_vsphere/distributed_virtual_switch.py +1566 -1567
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +69 -70
- pulumi_vsphere/dpm_host_override.py +69 -70
- pulumi_vsphere/drs_vm_override.py +69 -70
- pulumi_vsphere/entity_permissions.py +38 -39
- pulumi_vsphere/file.py +120 -121
- pulumi_vsphere/folder.py +86 -87
- pulumi_vsphere/get_compute_cluster.py +17 -18
- pulumi_vsphere/get_compute_cluster_host_group.py +17 -18
- pulumi_vsphere/get_content_library.py +9 -10
- pulumi_vsphere/get_content_library_item.py +21 -22
- pulumi_vsphere/get_custom_attribute.py +11 -12
- pulumi_vsphere/get_datacenter.py +11 -12
- pulumi_vsphere/get_datastore.py +21 -22
- pulumi_vsphere/get_datastore_cluster.py +17 -18
- pulumi_vsphere/get_datastore_stats.py +21 -22
- pulumi_vsphere/get_distributed_virtual_switch.py +17 -18
- pulumi_vsphere/get_dynamic.py +21 -22
- pulumi_vsphere/get_folder.py +9 -10
- pulumi_vsphere/get_guest_os_customization.py +18 -19
- pulumi_vsphere/get_host.py +17 -18
- pulumi_vsphere/get_host_base_images.py +5 -6
- pulumi_vsphere/get_host_pci_device.py +29 -30
- pulumi_vsphere/get_host_thumbprint.py +21 -22
- pulumi_vsphere/get_host_vgpu_profile.py +16 -17
- pulumi_vsphere/get_license.py +19 -20
- pulumi_vsphere/get_network.py +42 -43
- pulumi_vsphere/get_ovf_vm_template.py +121 -122
- pulumi_vsphere/get_policy.py +9 -10
- pulumi_vsphere/get_resource_pool.py +21 -22
- pulumi_vsphere/get_role.py +25 -26
- pulumi_vsphere/get_tag.py +17 -18
- pulumi_vsphere/get_tag_category.py +15 -16
- pulumi_vsphere/get_vapp_container.py +15 -16
- pulumi_vsphere/get_virtual_machine.py +272 -273
- pulumi_vsphere/get_vmfs_disks.py +23 -24
- pulumi_vsphere/guest_os_customization.py +73 -74
- pulumi_vsphere/ha_vm_override.py +256 -257
- pulumi_vsphere/host.py +242 -243
- pulumi_vsphere/host_port_group.py +310 -311
- pulumi_vsphere/host_virtual_switch.py +358 -359
- pulumi_vsphere/license.py +71 -72
- pulumi_vsphere/nas_datastore.py +260 -261
- pulumi_vsphere/offline_software_depot.py +20 -21
- pulumi_vsphere/outputs.py +981 -982
- pulumi_vsphere/provider.py +120 -121
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +256 -257
- pulumi_vsphere/role.py +44 -45
- pulumi_vsphere/storage_drs_vm_override.py +86 -87
- pulumi_vsphere/supervisor.py +206 -207
- pulumi_vsphere/tag.py +52 -53
- pulumi_vsphere/tag_category.py +69 -70
- pulumi_vsphere/vapp_container.py +256 -257
- pulumi_vsphere/vapp_entity.py +171 -172
- pulumi_vsphere/virtual_disk.py +120 -121
- pulumi_vsphere/virtual_machine.py +1293 -1294
- pulumi_vsphere/virtual_machine_class.py +103 -104
- pulumi_vsphere/virtual_machine_snapshot.py +120 -121
- pulumi_vsphere/vm_storage_policy.py +38 -39
- pulumi_vsphere/vmfs_datastore.py +183 -184
- pulumi_vsphere/vnic.py +143 -144
- {pulumi_vsphere-4.15.0a1753206257.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.16.0a1753398270.dist-info/RECORD +87 -0
- pulumi_vsphere-4.15.0a1753206257.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.15.0a1753206257.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.15.0a1753206257.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -20,25 +19,25 @@ __all__ = ['DrsVmOverrideArgs', 'DrsVmOverride']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class DrsVmOverrideArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
compute_cluster_id: pulumi.Input[
|
|
24
|
-
virtual_machine_id: pulumi.Input[
|
|
25
|
-
drs_automation_level: Optional[pulumi.Input[
|
|
26
|
-
drs_enabled: Optional[pulumi.Input[
|
|
22
|
+
compute_cluster_id: pulumi.Input[_builtins.str],
|
|
23
|
+
virtual_machine_id: pulumi.Input[_builtins.str],
|
|
24
|
+
drs_automation_level: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
drs_enabled: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
27
26
|
"""
|
|
28
27
|
The set of arguments for constructing a DrsVmOverride resource.
|
|
29
|
-
:param pulumi.Input[
|
|
28
|
+
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
|
|
30
29
|
ID of the cluster to put the override in. Forces a new
|
|
31
30
|
resource if changed.
|
|
32
|
-
:param pulumi.Input[
|
|
31
|
+
:param pulumi.Input[_builtins.str] virtual_machine_id: The UUID of the virtual machine to create
|
|
33
32
|
the override for. Forces a new resource if changed.
|
|
34
|
-
:param pulumi.Input[
|
|
33
|
+
:param pulumi.Input[_builtins.str] drs_automation_level: Overrides the automation level for this virtual
|
|
35
34
|
machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
|
|
36
35
|
`fullyAutomated`. Default: `manual`.
|
|
37
36
|
|
|
38
37
|
> **NOTE:** Using this resource _always_ implies an override, even if one of
|
|
39
38
|
`drs_enabled` or `drs_automation_level` is omitted. Take note of the defaults
|
|
40
39
|
for both options.
|
|
41
|
-
:param pulumi.Input[
|
|
40
|
+
:param pulumi.Input[_builtins.bool] drs_enabled: Overrides the default DRS setting for this virtual
|
|
42
41
|
machine. Can be either `true` or `false`. Default: `false`.
|
|
43
42
|
"""
|
|
44
43
|
pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
|
|
@@ -48,9 +47,9 @@ class DrsVmOverrideArgs:
|
|
|
48
47
|
if drs_enabled is not None:
|
|
49
48
|
pulumi.set(__self__, "drs_enabled", drs_enabled)
|
|
50
49
|
|
|
51
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
52
51
|
@pulumi.getter(name="computeClusterId")
|
|
53
|
-
def compute_cluster_id(self) -> pulumi.Input[
|
|
52
|
+
def compute_cluster_id(self) -> pulumi.Input[_builtins.str]:
|
|
54
53
|
"""
|
|
55
54
|
The managed object reference
|
|
56
55
|
ID of the cluster to put the override in. Forces a new
|
|
@@ -59,12 +58,12 @@ class DrsVmOverrideArgs:
|
|
|
59
58
|
return pulumi.get(self, "compute_cluster_id")
|
|
60
59
|
|
|
61
60
|
@compute_cluster_id.setter
|
|
62
|
-
def compute_cluster_id(self, value: pulumi.Input[
|
|
61
|
+
def compute_cluster_id(self, value: pulumi.Input[_builtins.str]):
|
|
63
62
|
pulumi.set(self, "compute_cluster_id", value)
|
|
64
63
|
|
|
65
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
66
65
|
@pulumi.getter(name="virtualMachineId")
|
|
67
|
-
def virtual_machine_id(self) -> pulumi.Input[
|
|
66
|
+
def virtual_machine_id(self) -> pulumi.Input[_builtins.str]:
|
|
68
67
|
"""
|
|
69
68
|
The UUID of the virtual machine to create
|
|
70
69
|
the override for. Forces a new resource if changed.
|
|
@@ -72,12 +71,12 @@ class DrsVmOverrideArgs:
|
|
|
72
71
|
return pulumi.get(self, "virtual_machine_id")
|
|
73
72
|
|
|
74
73
|
@virtual_machine_id.setter
|
|
75
|
-
def virtual_machine_id(self, value: pulumi.Input[
|
|
74
|
+
def virtual_machine_id(self, value: pulumi.Input[_builtins.str]):
|
|
76
75
|
pulumi.set(self, "virtual_machine_id", value)
|
|
77
76
|
|
|
78
|
-
@property
|
|
77
|
+
@_builtins.property
|
|
79
78
|
@pulumi.getter(name="drsAutomationLevel")
|
|
80
|
-
def drs_automation_level(self) -> Optional[pulumi.Input[
|
|
79
|
+
def drs_automation_level(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
81
80
|
"""
|
|
82
81
|
Overrides the automation level for this virtual
|
|
83
82
|
machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
|
|
@@ -90,12 +89,12 @@ class DrsVmOverrideArgs:
|
|
|
90
89
|
return pulumi.get(self, "drs_automation_level")
|
|
91
90
|
|
|
92
91
|
@drs_automation_level.setter
|
|
93
|
-
def drs_automation_level(self, value: Optional[pulumi.Input[
|
|
92
|
+
def drs_automation_level(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
94
93
|
pulumi.set(self, "drs_automation_level", value)
|
|
95
94
|
|
|
96
|
-
@property
|
|
95
|
+
@_builtins.property
|
|
97
96
|
@pulumi.getter(name="drsEnabled")
|
|
98
|
-
def drs_enabled(self) -> Optional[pulumi.Input[
|
|
97
|
+
def drs_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
99
98
|
"""
|
|
100
99
|
Overrides the default DRS setting for this virtual
|
|
101
100
|
machine. Can be either `true` or `false`. Default: `false`.
|
|
@@ -103,32 +102,32 @@ class DrsVmOverrideArgs:
|
|
|
103
102
|
return pulumi.get(self, "drs_enabled")
|
|
104
103
|
|
|
105
104
|
@drs_enabled.setter
|
|
106
|
-
def drs_enabled(self, value: Optional[pulumi.Input[
|
|
105
|
+
def drs_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
107
106
|
pulumi.set(self, "drs_enabled", value)
|
|
108
107
|
|
|
109
108
|
|
|
110
109
|
@pulumi.input_type
|
|
111
110
|
class _DrsVmOverrideState:
|
|
112
111
|
def __init__(__self__, *,
|
|
113
|
-
compute_cluster_id: Optional[pulumi.Input[
|
|
114
|
-
drs_automation_level: Optional[pulumi.Input[
|
|
115
|
-
drs_enabled: Optional[pulumi.Input[
|
|
116
|
-
virtual_machine_id: Optional[pulumi.Input[
|
|
112
|
+
compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
113
|
+
drs_automation_level: Optional[pulumi.Input[_builtins.str]] = None,
|
|
114
|
+
drs_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
115
|
+
virtual_machine_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
117
116
|
"""
|
|
118
117
|
Input properties used for looking up and filtering DrsVmOverride resources.
|
|
119
|
-
:param pulumi.Input[
|
|
118
|
+
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
|
|
120
119
|
ID of the cluster to put the override in. Forces a new
|
|
121
120
|
resource if changed.
|
|
122
|
-
:param pulumi.Input[
|
|
121
|
+
:param pulumi.Input[_builtins.str] drs_automation_level: Overrides the automation level for this virtual
|
|
123
122
|
machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
|
|
124
123
|
`fullyAutomated`. Default: `manual`.
|
|
125
124
|
|
|
126
125
|
> **NOTE:** Using this resource _always_ implies an override, even if one of
|
|
127
126
|
`drs_enabled` or `drs_automation_level` is omitted. Take note of the defaults
|
|
128
127
|
for both options.
|
|
129
|
-
:param pulumi.Input[
|
|
128
|
+
:param pulumi.Input[_builtins.bool] drs_enabled: Overrides the default DRS setting for this virtual
|
|
130
129
|
machine. Can be either `true` or `false`. Default: `false`.
|
|
131
|
-
:param pulumi.Input[
|
|
130
|
+
:param pulumi.Input[_builtins.str] virtual_machine_id: The UUID of the virtual machine to create
|
|
132
131
|
the override for. Forces a new resource if changed.
|
|
133
132
|
"""
|
|
134
133
|
if compute_cluster_id is not None:
|
|
@@ -140,9 +139,9 @@ class _DrsVmOverrideState:
|
|
|
140
139
|
if virtual_machine_id is not None:
|
|
141
140
|
pulumi.set(__self__, "virtual_machine_id", virtual_machine_id)
|
|
142
141
|
|
|
143
|
-
@property
|
|
142
|
+
@_builtins.property
|
|
144
143
|
@pulumi.getter(name="computeClusterId")
|
|
145
|
-
def compute_cluster_id(self) -> Optional[pulumi.Input[
|
|
144
|
+
def compute_cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
146
145
|
"""
|
|
147
146
|
The managed object reference
|
|
148
147
|
ID of the cluster to put the override in. Forces a new
|
|
@@ -151,12 +150,12 @@ class _DrsVmOverrideState:
|
|
|
151
150
|
return pulumi.get(self, "compute_cluster_id")
|
|
152
151
|
|
|
153
152
|
@compute_cluster_id.setter
|
|
154
|
-
def compute_cluster_id(self, value: Optional[pulumi.Input[
|
|
153
|
+
def compute_cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
155
154
|
pulumi.set(self, "compute_cluster_id", value)
|
|
156
155
|
|
|
157
|
-
@property
|
|
156
|
+
@_builtins.property
|
|
158
157
|
@pulumi.getter(name="drsAutomationLevel")
|
|
159
|
-
def drs_automation_level(self) -> Optional[pulumi.Input[
|
|
158
|
+
def drs_automation_level(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
160
159
|
"""
|
|
161
160
|
Overrides the automation level for this virtual
|
|
162
161
|
machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
|
|
@@ -169,12 +168,12 @@ class _DrsVmOverrideState:
|
|
|
169
168
|
return pulumi.get(self, "drs_automation_level")
|
|
170
169
|
|
|
171
170
|
@drs_automation_level.setter
|
|
172
|
-
def drs_automation_level(self, value: Optional[pulumi.Input[
|
|
171
|
+
def drs_automation_level(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
173
172
|
pulumi.set(self, "drs_automation_level", value)
|
|
174
173
|
|
|
175
|
-
@property
|
|
174
|
+
@_builtins.property
|
|
176
175
|
@pulumi.getter(name="drsEnabled")
|
|
177
|
-
def drs_enabled(self) -> Optional[pulumi.Input[
|
|
176
|
+
def drs_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
178
177
|
"""
|
|
179
178
|
Overrides the default DRS setting for this virtual
|
|
180
179
|
machine. Can be either `true` or `false`. Default: `false`.
|
|
@@ -182,12 +181,12 @@ class _DrsVmOverrideState:
|
|
|
182
181
|
return pulumi.get(self, "drs_enabled")
|
|
183
182
|
|
|
184
183
|
@drs_enabled.setter
|
|
185
|
-
def drs_enabled(self, value: Optional[pulumi.Input[
|
|
184
|
+
def drs_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
186
185
|
pulumi.set(self, "drs_enabled", value)
|
|
187
186
|
|
|
188
|
-
@property
|
|
187
|
+
@_builtins.property
|
|
189
188
|
@pulumi.getter(name="virtualMachineId")
|
|
190
|
-
def virtual_machine_id(self) -> Optional[pulumi.Input[
|
|
189
|
+
def virtual_machine_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
191
190
|
"""
|
|
192
191
|
The UUID of the virtual machine to create
|
|
193
192
|
the override for. Forces a new resource if changed.
|
|
@@ -195,7 +194,7 @@ class _DrsVmOverrideState:
|
|
|
195
194
|
return pulumi.get(self, "virtual_machine_id")
|
|
196
195
|
|
|
197
196
|
@virtual_machine_id.setter
|
|
198
|
-
def virtual_machine_id(self, value: Optional[pulumi.Input[
|
|
197
|
+
def virtual_machine_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
199
198
|
pulumi.set(self, "virtual_machine_id", value)
|
|
200
199
|
|
|
201
200
|
|
|
@@ -205,10 +204,10 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
205
204
|
def __init__(__self__,
|
|
206
205
|
resource_name: str,
|
|
207
206
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
208
|
-
compute_cluster_id: Optional[pulumi.Input[
|
|
209
|
-
drs_automation_level: Optional[pulumi.Input[
|
|
210
|
-
drs_enabled: Optional[pulumi.Input[
|
|
211
|
-
virtual_machine_id: Optional[pulumi.Input[
|
|
207
|
+
compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
208
|
+
drs_automation_level: Optional[pulumi.Input[_builtins.str]] = None,
|
|
209
|
+
drs_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
210
|
+
virtual_machine_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
212
211
|
__props__=None):
|
|
213
212
|
"""
|
|
214
213
|
The `DrsVmOverride` resource can be used to add a DRS override to a
|
|
@@ -293,19 +292,19 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
293
292
|
|
|
294
293
|
:param str resource_name: The name of the resource.
|
|
295
294
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
296
|
-
:param pulumi.Input[
|
|
295
|
+
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
|
|
297
296
|
ID of the cluster to put the override in. Forces a new
|
|
298
297
|
resource if changed.
|
|
299
|
-
:param pulumi.Input[
|
|
298
|
+
:param pulumi.Input[_builtins.str] drs_automation_level: Overrides the automation level for this virtual
|
|
300
299
|
machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
|
|
301
300
|
`fullyAutomated`. Default: `manual`.
|
|
302
301
|
|
|
303
302
|
> **NOTE:** Using this resource _always_ implies an override, even if one of
|
|
304
303
|
`drs_enabled` or `drs_automation_level` is omitted. Take note of the defaults
|
|
305
304
|
for both options.
|
|
306
|
-
:param pulumi.Input[
|
|
305
|
+
:param pulumi.Input[_builtins.bool] drs_enabled: Overrides the default DRS setting for this virtual
|
|
307
306
|
machine. Can be either `true` or `false`. Default: `false`.
|
|
308
|
-
:param pulumi.Input[
|
|
307
|
+
:param pulumi.Input[_builtins.str] virtual_machine_id: The UUID of the virtual machine to create
|
|
309
308
|
the override for. Forces a new resource if changed.
|
|
310
309
|
"""
|
|
311
310
|
...
|
|
@@ -410,10 +409,10 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
410
409
|
def _internal_init(__self__,
|
|
411
410
|
resource_name: str,
|
|
412
411
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
413
|
-
compute_cluster_id: Optional[pulumi.Input[
|
|
414
|
-
drs_automation_level: Optional[pulumi.Input[
|
|
415
|
-
drs_enabled: Optional[pulumi.Input[
|
|
416
|
-
virtual_machine_id: Optional[pulumi.Input[
|
|
412
|
+
compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
413
|
+
drs_automation_level: Optional[pulumi.Input[_builtins.str]] = None,
|
|
414
|
+
drs_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
415
|
+
virtual_machine_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
417
416
|
__props__=None):
|
|
418
417
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
419
418
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -441,10 +440,10 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
441
440
|
def get(resource_name: str,
|
|
442
441
|
id: pulumi.Input[str],
|
|
443
442
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
444
|
-
compute_cluster_id: Optional[pulumi.Input[
|
|
445
|
-
drs_automation_level: Optional[pulumi.Input[
|
|
446
|
-
drs_enabled: Optional[pulumi.Input[
|
|
447
|
-
virtual_machine_id: Optional[pulumi.Input[
|
|
443
|
+
compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
444
|
+
drs_automation_level: Optional[pulumi.Input[_builtins.str]] = None,
|
|
445
|
+
drs_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
446
|
+
virtual_machine_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'DrsVmOverride':
|
|
448
447
|
"""
|
|
449
448
|
Get an existing DrsVmOverride resource's state with the given name, id, and optional extra
|
|
450
449
|
properties used to qualify the lookup.
|
|
@@ -452,19 +451,19 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
452
451
|
:param str resource_name: The unique name of the resulting resource.
|
|
453
452
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
454
453
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
455
|
-
:param pulumi.Input[
|
|
454
|
+
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
|
|
456
455
|
ID of the cluster to put the override in. Forces a new
|
|
457
456
|
resource if changed.
|
|
458
|
-
:param pulumi.Input[
|
|
457
|
+
:param pulumi.Input[_builtins.str] drs_automation_level: Overrides the automation level for this virtual
|
|
459
458
|
machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
|
|
460
459
|
`fullyAutomated`. Default: `manual`.
|
|
461
460
|
|
|
462
461
|
> **NOTE:** Using this resource _always_ implies an override, even if one of
|
|
463
462
|
`drs_enabled` or `drs_automation_level` is omitted. Take note of the defaults
|
|
464
463
|
for both options.
|
|
465
|
-
:param pulumi.Input[
|
|
464
|
+
:param pulumi.Input[_builtins.bool] drs_enabled: Overrides the default DRS setting for this virtual
|
|
466
465
|
machine. Can be either `true` or `false`. Default: `false`.
|
|
467
|
-
:param pulumi.Input[
|
|
466
|
+
:param pulumi.Input[_builtins.str] virtual_machine_id: The UUID of the virtual machine to create
|
|
468
467
|
the override for. Forces a new resource if changed.
|
|
469
468
|
"""
|
|
470
469
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -477,9 +476,9 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
477
476
|
__props__.__dict__["virtual_machine_id"] = virtual_machine_id
|
|
478
477
|
return DrsVmOverride(resource_name, opts=opts, __props__=__props__)
|
|
479
478
|
|
|
480
|
-
@property
|
|
479
|
+
@_builtins.property
|
|
481
480
|
@pulumi.getter(name="computeClusterId")
|
|
482
|
-
def compute_cluster_id(self) -> pulumi.Output[
|
|
481
|
+
def compute_cluster_id(self) -> pulumi.Output[_builtins.str]:
|
|
483
482
|
"""
|
|
484
483
|
The managed object reference
|
|
485
484
|
ID of the cluster to put the override in. Forces a new
|
|
@@ -487,9 +486,9 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
487
486
|
"""
|
|
488
487
|
return pulumi.get(self, "compute_cluster_id")
|
|
489
488
|
|
|
490
|
-
@property
|
|
489
|
+
@_builtins.property
|
|
491
490
|
@pulumi.getter(name="drsAutomationLevel")
|
|
492
|
-
def drs_automation_level(self) -> pulumi.Output[Optional[
|
|
491
|
+
def drs_automation_level(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
493
492
|
"""
|
|
494
493
|
Overrides the automation level for this virtual
|
|
495
494
|
machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
|
|
@@ -501,18 +500,18 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
501
500
|
"""
|
|
502
501
|
return pulumi.get(self, "drs_automation_level")
|
|
503
502
|
|
|
504
|
-
@property
|
|
503
|
+
@_builtins.property
|
|
505
504
|
@pulumi.getter(name="drsEnabled")
|
|
506
|
-
def drs_enabled(self) -> pulumi.Output[Optional[
|
|
505
|
+
def drs_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
507
506
|
"""
|
|
508
507
|
Overrides the default DRS setting for this virtual
|
|
509
508
|
machine. Can be either `true` or `false`. Default: `false`.
|
|
510
509
|
"""
|
|
511
510
|
return pulumi.get(self, "drs_enabled")
|
|
512
511
|
|
|
513
|
-
@property
|
|
512
|
+
@_builtins.property
|
|
514
513
|
@pulumi.getter(name="virtualMachineId")
|
|
515
|
-
def virtual_machine_id(self) -> pulumi.Output[
|
|
514
|
+
def virtual_machine_id(self) -> pulumi.Output[_builtins.str]:
|
|
516
515
|
"""
|
|
517
516
|
The UUID of the virtual machine to create
|
|
518
517
|
the override for. Forces a new resource if changed.
|
|
@@ -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
|
|
@@ -22,14 +21,14 @@ __all__ = ['EntityPermissionsArgs', 'EntityPermissions']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class EntityPermissionsArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
entity_id: pulumi.Input[
|
|
26
|
-
entity_type: pulumi.Input[
|
|
24
|
+
entity_id: pulumi.Input[_builtins.str],
|
|
25
|
+
entity_type: pulumi.Input[_builtins.str],
|
|
27
26
|
permissions: pulumi.Input[Sequence[pulumi.Input['EntityPermissionsPermissionArgs']]]):
|
|
28
27
|
"""
|
|
29
28
|
The set of arguments for constructing a EntityPermissions resource.
|
|
30
|
-
:param pulumi.Input[
|
|
29
|
+
:param pulumi.Input[_builtins.str] entity_id: The managed object id (uuid for some entities) on
|
|
31
30
|
which permissions are to be created.
|
|
32
|
-
:param pulumi.Input[
|
|
31
|
+
:param pulumi.Input[_builtins.str] entity_type: The managed object type, types can be found in the
|
|
33
32
|
managed object type section
|
|
34
33
|
[here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
|
|
35
34
|
:param pulumi.Input[Sequence[pulumi.Input['EntityPermissionsPermissionArgs']]] permissions: The permissions to be given on this entity. Keep
|
|
@@ -40,9 +39,9 @@ class EntityPermissionsArgs:
|
|
|
40
39
|
pulumi.set(__self__, "entity_type", entity_type)
|
|
41
40
|
pulumi.set(__self__, "permissions", permissions)
|
|
42
41
|
|
|
43
|
-
@property
|
|
42
|
+
@_builtins.property
|
|
44
43
|
@pulumi.getter(name="entityId")
|
|
45
|
-
def entity_id(self) -> pulumi.Input[
|
|
44
|
+
def entity_id(self) -> pulumi.Input[_builtins.str]:
|
|
46
45
|
"""
|
|
47
46
|
The managed object id (uuid for some entities) on
|
|
48
47
|
which permissions are to be created.
|
|
@@ -50,12 +49,12 @@ class EntityPermissionsArgs:
|
|
|
50
49
|
return pulumi.get(self, "entity_id")
|
|
51
50
|
|
|
52
51
|
@entity_id.setter
|
|
53
|
-
def entity_id(self, value: pulumi.Input[
|
|
52
|
+
def entity_id(self, value: pulumi.Input[_builtins.str]):
|
|
54
53
|
pulumi.set(self, "entity_id", value)
|
|
55
54
|
|
|
56
|
-
@property
|
|
55
|
+
@_builtins.property
|
|
57
56
|
@pulumi.getter(name="entityType")
|
|
58
|
-
def entity_type(self) -> pulumi.Input[
|
|
57
|
+
def entity_type(self) -> pulumi.Input[_builtins.str]:
|
|
59
58
|
"""
|
|
60
59
|
The managed object type, types can be found in the
|
|
61
60
|
managed object type section
|
|
@@ -64,10 +63,10 @@ class EntityPermissionsArgs:
|
|
|
64
63
|
return pulumi.get(self, "entity_type")
|
|
65
64
|
|
|
66
65
|
@entity_type.setter
|
|
67
|
-
def entity_type(self, value: pulumi.Input[
|
|
66
|
+
def entity_type(self, value: pulumi.Input[_builtins.str]):
|
|
68
67
|
pulumi.set(self, "entity_type", value)
|
|
69
68
|
|
|
70
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
71
70
|
@pulumi.getter
|
|
72
71
|
def permissions(self) -> pulumi.Input[Sequence[pulumi.Input['EntityPermissionsPermissionArgs']]]:
|
|
73
72
|
"""
|
|
@@ -85,14 +84,14 @@ class EntityPermissionsArgs:
|
|
|
85
84
|
@pulumi.input_type
|
|
86
85
|
class _EntityPermissionsState:
|
|
87
86
|
def __init__(__self__, *,
|
|
88
|
-
entity_id: Optional[pulumi.Input[
|
|
89
|
-
entity_type: Optional[pulumi.Input[
|
|
87
|
+
entity_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
88
|
+
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
90
89
|
permissions: Optional[pulumi.Input[Sequence[pulumi.Input['EntityPermissionsPermissionArgs']]]] = None):
|
|
91
90
|
"""
|
|
92
91
|
Input properties used for looking up and filtering EntityPermissions resources.
|
|
93
|
-
:param pulumi.Input[
|
|
92
|
+
:param pulumi.Input[_builtins.str] entity_id: The managed object id (uuid for some entities) on
|
|
94
93
|
which permissions are to be created.
|
|
95
|
-
:param pulumi.Input[
|
|
94
|
+
:param pulumi.Input[_builtins.str] entity_type: The managed object type, types can be found in the
|
|
96
95
|
managed object type section
|
|
97
96
|
[here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
|
|
98
97
|
:param pulumi.Input[Sequence[pulumi.Input['EntityPermissionsPermissionArgs']]] permissions: The permissions to be given on this entity. Keep
|
|
@@ -106,9 +105,9 @@ class _EntityPermissionsState:
|
|
|
106
105
|
if permissions is not None:
|
|
107
106
|
pulumi.set(__self__, "permissions", permissions)
|
|
108
107
|
|
|
109
|
-
@property
|
|
108
|
+
@_builtins.property
|
|
110
109
|
@pulumi.getter(name="entityId")
|
|
111
|
-
def entity_id(self) -> Optional[pulumi.Input[
|
|
110
|
+
def entity_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
112
111
|
"""
|
|
113
112
|
The managed object id (uuid for some entities) on
|
|
114
113
|
which permissions are to be created.
|
|
@@ -116,12 +115,12 @@ class _EntityPermissionsState:
|
|
|
116
115
|
return pulumi.get(self, "entity_id")
|
|
117
116
|
|
|
118
117
|
@entity_id.setter
|
|
119
|
-
def entity_id(self, value: Optional[pulumi.Input[
|
|
118
|
+
def entity_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
120
119
|
pulumi.set(self, "entity_id", value)
|
|
121
120
|
|
|
122
|
-
@property
|
|
121
|
+
@_builtins.property
|
|
123
122
|
@pulumi.getter(name="entityType")
|
|
124
|
-
def entity_type(self) -> Optional[pulumi.Input[
|
|
123
|
+
def entity_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
125
124
|
"""
|
|
126
125
|
The managed object type, types can be found in the
|
|
127
126
|
managed object type section
|
|
@@ -130,10 +129,10 @@ class _EntityPermissionsState:
|
|
|
130
129
|
return pulumi.get(self, "entity_type")
|
|
131
130
|
|
|
132
131
|
@entity_type.setter
|
|
133
|
-
def entity_type(self, value: Optional[pulumi.Input[
|
|
132
|
+
def entity_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
134
133
|
pulumi.set(self, "entity_type", value)
|
|
135
134
|
|
|
136
|
-
@property
|
|
135
|
+
@_builtins.property
|
|
137
136
|
@pulumi.getter
|
|
138
137
|
def permissions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EntityPermissionsPermissionArgs']]]]:
|
|
139
138
|
"""
|
|
@@ -154,17 +153,17 @@ class EntityPermissions(pulumi.CustomResource):
|
|
|
154
153
|
def __init__(__self__,
|
|
155
154
|
resource_name: str,
|
|
156
155
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
157
|
-
entity_id: Optional[pulumi.Input[
|
|
158
|
-
entity_type: Optional[pulumi.Input[
|
|
156
|
+
entity_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
157
|
+
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
159
158
|
permissions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EntityPermissionsPermissionArgs', 'EntityPermissionsPermissionArgsDict']]]]] = None,
|
|
160
159
|
__props__=None):
|
|
161
160
|
"""
|
|
162
161
|
Create a EntityPermissions resource with the given unique name, props, and options.
|
|
163
162
|
:param str resource_name: The name of the resource.
|
|
164
163
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
165
|
-
:param pulumi.Input[
|
|
164
|
+
:param pulumi.Input[_builtins.str] entity_id: The managed object id (uuid for some entities) on
|
|
166
165
|
which permissions are to be created.
|
|
167
|
-
:param pulumi.Input[
|
|
166
|
+
:param pulumi.Input[_builtins.str] entity_type: The managed object type, types can be found in the
|
|
168
167
|
managed object type section
|
|
169
168
|
[here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
|
|
170
169
|
:param pulumi.Input[Sequence[pulumi.Input[Union['EntityPermissionsPermissionArgs', 'EntityPermissionsPermissionArgsDict']]]] permissions: The permissions to be given on this entity. Keep
|
|
@@ -194,8 +193,8 @@ class EntityPermissions(pulumi.CustomResource):
|
|
|
194
193
|
def _internal_init(__self__,
|
|
195
194
|
resource_name: str,
|
|
196
195
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
197
|
-
entity_id: Optional[pulumi.Input[
|
|
198
|
-
entity_type: Optional[pulumi.Input[
|
|
196
|
+
entity_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
197
|
+
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
199
198
|
permissions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EntityPermissionsPermissionArgs', 'EntityPermissionsPermissionArgsDict']]]]] = None,
|
|
200
199
|
__props__=None):
|
|
201
200
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -225,8 +224,8 @@ class EntityPermissions(pulumi.CustomResource):
|
|
|
225
224
|
def get(resource_name: str,
|
|
226
225
|
id: pulumi.Input[str],
|
|
227
226
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
228
|
-
entity_id: Optional[pulumi.Input[
|
|
229
|
-
entity_type: Optional[pulumi.Input[
|
|
227
|
+
entity_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
228
|
+
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
230
229
|
permissions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EntityPermissionsPermissionArgs', 'EntityPermissionsPermissionArgsDict']]]]] = None) -> 'EntityPermissions':
|
|
231
230
|
"""
|
|
232
231
|
Get an existing EntityPermissions resource's state with the given name, id, and optional extra
|
|
@@ -235,9 +234,9 @@ class EntityPermissions(pulumi.CustomResource):
|
|
|
235
234
|
:param str resource_name: The unique name of the resulting resource.
|
|
236
235
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
237
236
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
238
|
-
:param pulumi.Input[
|
|
237
|
+
:param pulumi.Input[_builtins.str] entity_id: The managed object id (uuid for some entities) on
|
|
239
238
|
which permissions are to be created.
|
|
240
|
-
:param pulumi.Input[
|
|
239
|
+
:param pulumi.Input[_builtins.str] entity_type: The managed object type, types can be found in the
|
|
241
240
|
managed object type section
|
|
242
241
|
[here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
|
|
243
242
|
:param pulumi.Input[Sequence[pulumi.Input[Union['EntityPermissionsPermissionArgs', 'EntityPermissionsPermissionArgsDict']]]] permissions: The permissions to be given on this entity. Keep
|
|
@@ -253,18 +252,18 @@ class EntityPermissions(pulumi.CustomResource):
|
|
|
253
252
|
__props__.__dict__["permissions"] = permissions
|
|
254
253
|
return EntityPermissions(resource_name, opts=opts, __props__=__props__)
|
|
255
254
|
|
|
256
|
-
@property
|
|
255
|
+
@_builtins.property
|
|
257
256
|
@pulumi.getter(name="entityId")
|
|
258
|
-
def entity_id(self) -> pulumi.Output[
|
|
257
|
+
def entity_id(self) -> pulumi.Output[_builtins.str]:
|
|
259
258
|
"""
|
|
260
259
|
The managed object id (uuid for some entities) on
|
|
261
260
|
which permissions are to be created.
|
|
262
261
|
"""
|
|
263
262
|
return pulumi.get(self, "entity_id")
|
|
264
263
|
|
|
265
|
-
@property
|
|
264
|
+
@_builtins.property
|
|
266
265
|
@pulumi.getter(name="entityType")
|
|
267
|
-
def entity_type(self) -> pulumi.Output[
|
|
266
|
+
def entity_type(self) -> pulumi.Output[_builtins.str]:
|
|
268
267
|
"""
|
|
269
268
|
The managed object type, types can be found in the
|
|
270
269
|
managed object type section
|
|
@@ -272,7 +271,7 @@ class EntityPermissions(pulumi.CustomResource):
|
|
|
272
271
|
"""
|
|
273
272
|
return pulumi.get(self, "entity_type")
|
|
274
273
|
|
|
275
|
-
@property
|
|
274
|
+
@_builtins.property
|
|
276
275
|
@pulumi.getter
|
|
277
276
|
def permissions(self) -> pulumi.Output[Sequence['outputs.EntityPermissionsPermission']]:
|
|
278
277
|
"""
|