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