pulumi-vsphere 4.13.1a1738773193__py3-none-any.whl → 4.13.2a1744198820__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/_utilities.py +8 -4
- pulumi_vsphere/compute_cluster.py +918 -917
- pulumi_vsphere/compute_cluster_host_group.py +43 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +71 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +71 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +85 -84
- pulumi_vsphere/compute_cluster_vm_group.py +43 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +99 -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 +43 -42
- pulumi_vsphere/content_library_item.py +85 -84
- pulumi_vsphere/custom_attribute.py +29 -28
- pulumi_vsphere/datacenter.py +64 -63
- pulumi_vsphere/datastore_cluster.py +351 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +71 -70
- pulumi_vsphere/distributed_port_group.py +645 -644
- pulumi_vsphere/distributed_virtual_switch.py +1282 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +57 -56
- pulumi_vsphere/dpm_host_override.py +57 -56
- pulumi_vsphere/drs_vm_override.py +57 -56
- pulumi_vsphere/entity_permissions.py +29 -28
- pulumi_vsphere/file.py +95 -94
- pulumi_vsphere/folder.py +71 -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 +57 -56
- pulumi_vsphere/ha_vm_override.py +211 -210
- pulumi_vsphere/host.py +197 -196
- pulumi_vsphere/host_port_group.py +253 -252
- pulumi_vsphere/host_virtual_switch.py +295 -294
- pulumi_vsphere/license.py +57 -56
- pulumi_vsphere/nas_datastore.py +211 -210
- pulumi_vsphere/offline_software_depot.py +15 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +98 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +211 -210
- pulumi_vsphere/role.py +36 -35
- pulumi_vsphere/storage_drs_vm_override.py +71 -70
- pulumi_vsphere/supervisor.py +155 -154
- pulumi_vsphere/tag.py +43 -42
- pulumi_vsphere/tag_category.py +57 -56
- pulumi_vsphere/vapp_container.py +211 -210
- pulumi_vsphere/vapp_entity.py +141 -140
- pulumi_vsphere/virtual_disk.py +99 -98
- pulumi_vsphere/virtual_machine.py +1040 -1039
- pulumi_vsphere/virtual_machine_class.py +85 -84
- pulumi_vsphere/virtual_machine_snapshot.py +99 -98
- pulumi_vsphere/vm_storage_policy.py +29 -28
- pulumi_vsphere/vmfs_datastore.py +148 -147
- pulumi_vsphere/vnic.py +113 -112
- {pulumi_vsphere-4.13.1a1738773193.dist-info → pulumi_vsphere-4.13.2a1744198820.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.13.2a1744198820.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.13.1a1738773193.dist-info → pulumi_vsphere-4.13.2a1744198820.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.13.1a1738773193.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.13.1a1738773193.dist-info → pulumi_vsphere-4.13.2a1744198820.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,7 +195,7 @@ 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
|
|
|
@@ -203,10 +204,10 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
203
204
|
def __init__(__self__,
|
|
204
205
|
resource_name: str,
|
|
205
206
|
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,
|
|
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,
|
|
210
211
|
__props__=None):
|
|
211
212
|
"""
|
|
212
213
|
The `DrsVmOverride` resource can be used to add a DRS override to a
|
|
@@ -289,19 +290,19 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
289
290
|
|
|
290
291
|
:param str resource_name: The name of the resource.
|
|
291
292
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
292
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
293
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
293
294
|
ID of the cluster to put the override in. Forces a new
|
|
294
295
|
resource if changed.
|
|
295
|
-
:param pulumi.Input[str] drs_automation_level: Overrides the automation level for this virtual
|
|
296
|
+
:param pulumi.Input[builtins.str] drs_automation_level: Overrides the automation level for this virtual
|
|
296
297
|
machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
|
|
297
298
|
`fullyAutomated`. Default: `manual`.
|
|
298
299
|
|
|
299
300
|
> **NOTE:** Using this resource _always_ implies an override, even if one of
|
|
300
301
|
`drs_enabled` or `drs_automation_level` is omitted. Take note of the defaults
|
|
301
302
|
for both options.
|
|
302
|
-
:param pulumi.Input[bool] drs_enabled: Overrides the default DRS setting for this virtual
|
|
303
|
+
:param pulumi.Input[builtins.bool] drs_enabled: Overrides the default DRS setting for this virtual
|
|
303
304
|
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
|
|
305
|
+
:param pulumi.Input[builtins.str] virtual_machine_id: The UUID of the virtual machine to create
|
|
305
306
|
the override for. Forces a new resource if changed.
|
|
306
307
|
"""
|
|
307
308
|
...
|
|
@@ -404,10 +405,10 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
404
405
|
def _internal_init(__self__,
|
|
405
406
|
resource_name: str,
|
|
406
407
|
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,
|
|
408
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
409
|
+
drs_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
410
|
+
drs_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
411
|
+
virtual_machine_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
411
412
|
__props__=None):
|
|
412
413
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
413
414
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -435,10 +436,10 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
435
436
|
def get(resource_name: str,
|
|
436
437
|
id: pulumi.Input[str],
|
|
437
438
|
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':
|
|
439
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
440
|
+
drs_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
441
|
+
drs_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
442
|
+
virtual_machine_id: Optional[pulumi.Input[builtins.str]] = None) -> 'DrsVmOverride':
|
|
442
443
|
"""
|
|
443
444
|
Get an existing DrsVmOverride resource's state with the given name, id, and optional extra
|
|
444
445
|
properties used to qualify the lookup.
|
|
@@ -446,19 +447,19 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
446
447
|
:param str resource_name: The unique name of the resulting resource.
|
|
447
448
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
448
449
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
449
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
450
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
450
451
|
ID of the cluster to put the override in. Forces a new
|
|
451
452
|
resource if changed.
|
|
452
|
-
:param pulumi.Input[str] drs_automation_level: Overrides the automation level for this virtual
|
|
453
|
+
:param pulumi.Input[builtins.str] drs_automation_level: Overrides the automation level for this virtual
|
|
453
454
|
machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
|
|
454
455
|
`fullyAutomated`. Default: `manual`.
|
|
455
456
|
|
|
456
457
|
> **NOTE:** Using this resource _always_ implies an override, even if one of
|
|
457
458
|
`drs_enabled` or `drs_automation_level` is omitted. Take note of the defaults
|
|
458
459
|
for both options.
|
|
459
|
-
:param pulumi.Input[bool] drs_enabled: Overrides the default DRS setting for this virtual
|
|
460
|
+
:param pulumi.Input[builtins.bool] drs_enabled: Overrides the default DRS setting for this virtual
|
|
460
461
|
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
|
|
462
|
+
:param pulumi.Input[builtins.str] virtual_machine_id: The UUID of the virtual machine to create
|
|
462
463
|
the override for. Forces a new resource if changed.
|
|
463
464
|
"""
|
|
464
465
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -473,7 +474,7 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
473
474
|
|
|
474
475
|
@property
|
|
475
476
|
@pulumi.getter(name="computeClusterId")
|
|
476
|
-
def compute_cluster_id(self) -> pulumi.Output[str]:
|
|
477
|
+
def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
|
|
477
478
|
"""
|
|
478
479
|
The managed object reference
|
|
479
480
|
ID of the cluster to put the override in. Forces a new
|
|
@@ -483,7 +484,7 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
483
484
|
|
|
484
485
|
@property
|
|
485
486
|
@pulumi.getter(name="drsAutomationLevel")
|
|
486
|
-
def drs_automation_level(self) -> pulumi.Output[Optional[str]]:
|
|
487
|
+
def drs_automation_level(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
487
488
|
"""
|
|
488
489
|
Overrides the automation level for this virtual
|
|
489
490
|
machine in the cluster. Can be one of `manual`, `partiallyAutomated`, or
|
|
@@ -497,7 +498,7 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
497
498
|
|
|
498
499
|
@property
|
|
499
500
|
@pulumi.getter(name="drsEnabled")
|
|
500
|
-
def drs_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
501
|
+
def drs_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
501
502
|
"""
|
|
502
503
|
Overrides the default DRS setting for this virtual
|
|
503
504
|
machine. Can be either `true` or `false`. Default: `false`.
|
|
@@ -506,7 +507,7 @@ class DrsVmOverride(pulumi.CustomResource):
|
|
|
506
507
|
|
|
507
508
|
@property
|
|
508
509
|
@pulumi.getter(name="virtualMachineId")
|
|
509
|
-
def virtual_machine_id(self) -> pulumi.Output[str]:
|
|
510
|
+
def virtual_machine_id(self) -> pulumi.Output[builtins.str]:
|
|
510
511
|
"""
|
|
511
512
|
The UUID of the virtual machine to create
|
|
512
513
|
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
|
|
@@ -152,17 +153,17 @@ class EntityPermissions(pulumi.CustomResource):
|
|
|
152
153
|
def __init__(__self__,
|
|
153
154
|
resource_name: str,
|
|
154
155
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
155
|
-
entity_id: Optional[pulumi.Input[str]] = None,
|
|
156
|
-
entity_type: Optional[pulumi.Input[str]] = None,
|
|
156
|
+
entity_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
157
|
+
entity_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
157
158
|
permissions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EntityPermissionsPermissionArgs', 'EntityPermissionsPermissionArgsDict']]]]] = None,
|
|
158
159
|
__props__=None):
|
|
159
160
|
"""
|
|
160
161
|
Create a EntityPermissions resource with the given unique name, props, and options.
|
|
161
162
|
:param str resource_name: The name of the resource.
|
|
162
163
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
163
|
-
:param pulumi.Input[str] entity_id: The managed object id (uuid for some entities) on
|
|
164
|
+
:param pulumi.Input[builtins.str] entity_id: The managed object id (uuid for some entities) on
|
|
164
165
|
which permissions are to be created.
|
|
165
|
-
:param pulumi.Input[str] entity_type: The managed object type, types can be found in the
|
|
166
|
+
:param pulumi.Input[builtins.str] entity_type: The managed object type, types can be found in the
|
|
166
167
|
managed object type section
|
|
167
168
|
[here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
|
|
168
169
|
:param pulumi.Input[Sequence[pulumi.Input[Union['EntityPermissionsPermissionArgs', 'EntityPermissionsPermissionArgsDict']]]] permissions: The permissions to be given on this entity. Keep
|
|
@@ -192,8 +193,8 @@ class EntityPermissions(pulumi.CustomResource):
|
|
|
192
193
|
def _internal_init(__self__,
|
|
193
194
|
resource_name: str,
|
|
194
195
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
195
|
-
entity_id: Optional[pulumi.Input[str]] = None,
|
|
196
|
-
entity_type: Optional[pulumi.Input[str]] = None,
|
|
196
|
+
entity_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
197
|
+
entity_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
197
198
|
permissions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EntityPermissionsPermissionArgs', 'EntityPermissionsPermissionArgsDict']]]]] = None,
|
|
198
199
|
__props__=None):
|
|
199
200
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -223,8 +224,8 @@ class EntityPermissions(pulumi.CustomResource):
|
|
|
223
224
|
def get(resource_name: str,
|
|
224
225
|
id: pulumi.Input[str],
|
|
225
226
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
226
|
-
entity_id: Optional[pulumi.Input[str]] = None,
|
|
227
|
-
entity_type: Optional[pulumi.Input[str]] = None,
|
|
227
|
+
entity_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
228
|
+
entity_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
228
229
|
permissions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EntityPermissionsPermissionArgs', 'EntityPermissionsPermissionArgsDict']]]]] = None) -> 'EntityPermissions':
|
|
229
230
|
"""
|
|
230
231
|
Get an existing EntityPermissions resource's state with the given name, id, and optional extra
|
|
@@ -233,9 +234,9 @@ class EntityPermissions(pulumi.CustomResource):
|
|
|
233
234
|
:param str resource_name: The unique name of the resulting resource.
|
|
234
235
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
235
236
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
236
|
-
:param pulumi.Input[str] entity_id: The managed object id (uuid for some entities) on
|
|
237
|
+
:param pulumi.Input[builtins.str] entity_id: The managed object id (uuid for some entities) on
|
|
237
238
|
which permissions are to be created.
|
|
238
|
-
:param pulumi.Input[str] entity_type: The managed object type, types can be found in the
|
|
239
|
+
:param pulumi.Input[builtins.str] entity_type: The managed object type, types can be found in the
|
|
239
240
|
managed object type section
|
|
240
241
|
[here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
|
|
241
242
|
:param pulumi.Input[Sequence[pulumi.Input[Union['EntityPermissionsPermissionArgs', 'EntityPermissionsPermissionArgsDict']]]] permissions: The permissions to be given on this entity. Keep
|
|
@@ -253,7 +254,7 @@ class EntityPermissions(pulumi.CustomResource):
|
|
|
253
254
|
|
|
254
255
|
@property
|
|
255
256
|
@pulumi.getter(name="entityId")
|
|
256
|
-
def entity_id(self) -> pulumi.Output[str]:
|
|
257
|
+
def entity_id(self) -> pulumi.Output[builtins.str]:
|
|
257
258
|
"""
|
|
258
259
|
The managed object id (uuid for some entities) on
|
|
259
260
|
which permissions are to be created.
|
|
@@ -262,7 +263,7 @@ class EntityPermissions(pulumi.CustomResource):
|
|
|
262
263
|
|
|
263
264
|
@property
|
|
264
265
|
@pulumi.getter(name="entityType")
|
|
265
|
-
def entity_type(self) -> pulumi.Output[str]:
|
|
266
|
+
def entity_type(self) -> pulumi.Output[builtins.str]:
|
|
266
267
|
"""
|
|
267
268
|
The managed object type, types can be found in the
|
|
268
269
|
managed object type section
|