pulumi-vsphere 4.13.1__py3-none-any.whl → 4.13.2__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.1.dist-info → pulumi_vsphere-4.13.2.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.13.2.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.13.1.dist-info → pulumi_vsphere-4.13.2.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.13.1.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.13.1.dist-info → pulumi_vsphere-4.13.2.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,17 +20,17 @@ __all__ = ['ComputeClusterVmGroupArgs', 'ComputeClusterVmGroup']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class ComputeClusterVmGroupArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
compute_cluster_id: pulumi.Input[str],
|
|
23
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
24
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
23
|
+
compute_cluster_id: pulumi.Input[builtins.str],
|
|
24
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
25
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
25
26
|
"""
|
|
26
27
|
The set of arguments for constructing a ComputeClusterVmGroup resource.
|
|
27
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
28
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
28
29
|
ID of the cluster to put the group in. Forces a new
|
|
29
30
|
resource if changed.
|
|
30
|
-
:param pulumi.Input[str] name: The name of the VM group. This must be unique in the
|
|
31
|
+
:param pulumi.Input[builtins.str] name: The name of the VM group. This must be unique in the
|
|
31
32
|
cluster. Forces a new resource if changed.
|
|
32
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
|
|
33
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
|
|
33
34
|
group.
|
|
34
35
|
|
|
35
36
|
> **NOTE:** The namespace for cluster names on this resource (defined by the
|
|
@@ -50,7 +51,7 @@ class ComputeClusterVmGroupArgs:
|
|
|
50
51
|
|
|
51
52
|
@property
|
|
52
53
|
@pulumi.getter(name="computeClusterId")
|
|
53
|
-
def compute_cluster_id(self) -> pulumi.Input[str]:
|
|
54
|
+
def compute_cluster_id(self) -> pulumi.Input[builtins.str]:
|
|
54
55
|
"""
|
|
55
56
|
The managed object reference
|
|
56
57
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -59,12 +60,12 @@ class ComputeClusterVmGroupArgs:
|
|
|
59
60
|
return pulumi.get(self, "compute_cluster_id")
|
|
60
61
|
|
|
61
62
|
@compute_cluster_id.setter
|
|
62
|
-
def compute_cluster_id(self, value: pulumi.Input[str]):
|
|
63
|
+
def compute_cluster_id(self, value: pulumi.Input[builtins.str]):
|
|
63
64
|
pulumi.set(self, "compute_cluster_id", value)
|
|
64
65
|
|
|
65
66
|
@property
|
|
66
67
|
@pulumi.getter
|
|
67
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
68
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
68
69
|
"""
|
|
69
70
|
The name of the VM group. This must be unique in the
|
|
70
71
|
cluster. Forces a new resource if changed.
|
|
@@ -72,12 +73,12 @@ class ComputeClusterVmGroupArgs:
|
|
|
72
73
|
return pulumi.get(self, "name")
|
|
73
74
|
|
|
74
75
|
@name.setter
|
|
75
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
76
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
76
77
|
pulumi.set(self, "name", value)
|
|
77
78
|
|
|
78
79
|
@property
|
|
79
80
|
@pulumi.getter(name="virtualMachineIds")
|
|
80
|
-
def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
81
|
+
def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
81
82
|
"""
|
|
82
83
|
The UUIDs of the virtual machines in this
|
|
83
84
|
group.
|
|
@@ -95,24 +96,24 @@ class ComputeClusterVmGroupArgs:
|
|
|
95
96
|
return pulumi.get(self, "virtual_machine_ids")
|
|
96
97
|
|
|
97
98
|
@virtual_machine_ids.setter
|
|
98
|
-
def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
99
|
+
def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
99
100
|
pulumi.set(self, "virtual_machine_ids", value)
|
|
100
101
|
|
|
101
102
|
|
|
102
103
|
@pulumi.input_type
|
|
103
104
|
class _ComputeClusterVmGroupState:
|
|
104
105
|
def __init__(__self__, *,
|
|
105
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
106
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
107
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
106
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
107
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
108
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
108
109
|
"""
|
|
109
110
|
Input properties used for looking up and filtering ComputeClusterVmGroup resources.
|
|
110
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
111
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
111
112
|
ID of the cluster to put the group in. Forces a new
|
|
112
113
|
resource if changed.
|
|
113
|
-
:param pulumi.Input[str] name: The name of the VM group. This must be unique in the
|
|
114
|
+
:param pulumi.Input[builtins.str] name: The name of the VM group. This must be unique in the
|
|
114
115
|
cluster. Forces a new resource if changed.
|
|
115
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
|
|
116
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
|
|
116
117
|
group.
|
|
117
118
|
|
|
118
119
|
> **NOTE:** The namespace for cluster names on this resource (defined by the
|
|
@@ -134,7 +135,7 @@ class _ComputeClusterVmGroupState:
|
|
|
134
135
|
|
|
135
136
|
@property
|
|
136
137
|
@pulumi.getter(name="computeClusterId")
|
|
137
|
-
def compute_cluster_id(self) -> Optional[pulumi.Input[str]]:
|
|
138
|
+
def compute_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
138
139
|
"""
|
|
139
140
|
The managed object reference
|
|
140
141
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -143,12 +144,12 @@ class _ComputeClusterVmGroupState:
|
|
|
143
144
|
return pulumi.get(self, "compute_cluster_id")
|
|
144
145
|
|
|
145
146
|
@compute_cluster_id.setter
|
|
146
|
-
def compute_cluster_id(self, value: Optional[pulumi.Input[str]]):
|
|
147
|
+
def compute_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
147
148
|
pulumi.set(self, "compute_cluster_id", value)
|
|
148
149
|
|
|
149
150
|
@property
|
|
150
151
|
@pulumi.getter
|
|
151
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
152
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
152
153
|
"""
|
|
153
154
|
The name of the VM group. This must be unique in the
|
|
154
155
|
cluster. Forces a new resource if changed.
|
|
@@ -156,12 +157,12 @@ class _ComputeClusterVmGroupState:
|
|
|
156
157
|
return pulumi.get(self, "name")
|
|
157
158
|
|
|
158
159
|
@name.setter
|
|
159
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
160
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
160
161
|
pulumi.set(self, "name", value)
|
|
161
162
|
|
|
162
163
|
@property
|
|
163
164
|
@pulumi.getter(name="virtualMachineIds")
|
|
164
|
-
def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
165
|
+
def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
165
166
|
"""
|
|
166
167
|
The UUIDs of the virtual machines in this
|
|
167
168
|
group.
|
|
@@ -179,7 +180,7 @@ class _ComputeClusterVmGroupState:
|
|
|
179
180
|
return pulumi.get(self, "virtual_machine_ids")
|
|
180
181
|
|
|
181
182
|
@virtual_machine_ids.setter
|
|
182
|
-
def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
183
|
+
def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
183
184
|
pulumi.set(self, "virtual_machine_ids", value)
|
|
184
185
|
|
|
185
186
|
|
|
@@ -188,9 +189,9 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
|
|
|
188
189
|
def __init__(__self__,
|
|
189
190
|
resource_name: str,
|
|
190
191
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
191
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
192
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
193
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
192
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
193
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
194
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
194
195
|
__props__=None):
|
|
195
196
|
"""
|
|
196
197
|
The `ComputeClusterVmGroup` resource can be used to manage groups of
|
|
@@ -274,12 +275,12 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
|
|
|
274
275
|
|
|
275
276
|
:param str resource_name: The name of the resource.
|
|
276
277
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
277
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
278
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
278
279
|
ID of the cluster to put the group in. Forces a new
|
|
279
280
|
resource if changed.
|
|
280
|
-
:param pulumi.Input[str] name: The name of the VM group. This must be unique in the
|
|
281
|
+
:param pulumi.Input[builtins.str] name: The name of the VM group. This must be unique in the
|
|
281
282
|
cluster. Forces a new resource if changed.
|
|
282
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
|
|
283
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
|
|
283
284
|
group.
|
|
284
285
|
|
|
285
286
|
> **NOTE:** The namespace for cluster names on this resource (defined by the
|
|
@@ -393,9 +394,9 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
|
|
|
393
394
|
def _internal_init(__self__,
|
|
394
395
|
resource_name: str,
|
|
395
396
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
396
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
397
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
398
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
397
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
398
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
399
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
399
400
|
__props__=None):
|
|
400
401
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
401
402
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -420,9 +421,9 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
|
|
|
420
421
|
def get(resource_name: str,
|
|
421
422
|
id: pulumi.Input[str],
|
|
422
423
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
423
|
-
compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
424
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
425
|
-
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'ComputeClusterVmGroup':
|
|
424
|
+
compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
425
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
426
|
+
virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'ComputeClusterVmGroup':
|
|
426
427
|
"""
|
|
427
428
|
Get an existing ComputeClusterVmGroup resource's state with the given name, id, and optional extra
|
|
428
429
|
properties used to qualify the lookup.
|
|
@@ -430,12 +431,12 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
|
|
|
430
431
|
:param str resource_name: The unique name of the resulting resource.
|
|
431
432
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
432
433
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
433
|
-
:param pulumi.Input[str] compute_cluster_id: The managed object reference
|
|
434
|
+
:param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
|
|
434
435
|
ID of the cluster to put the group in. Forces a new
|
|
435
436
|
resource if changed.
|
|
436
|
-
:param pulumi.Input[str] name: The name of the VM group. This must be unique in the
|
|
437
|
+
:param pulumi.Input[builtins.str] name: The name of the VM group. This must be unique in the
|
|
437
438
|
cluster. Forces a new resource if changed.
|
|
438
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
|
|
439
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
|
|
439
440
|
group.
|
|
440
441
|
|
|
441
442
|
> **NOTE:** The namespace for cluster names on this resource (defined by the
|
|
@@ -459,7 +460,7 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
|
|
|
459
460
|
|
|
460
461
|
@property
|
|
461
462
|
@pulumi.getter(name="computeClusterId")
|
|
462
|
-
def compute_cluster_id(self) -> pulumi.Output[str]:
|
|
463
|
+
def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
|
|
463
464
|
"""
|
|
464
465
|
The managed object reference
|
|
465
466
|
ID of the cluster to put the group in. Forces a new
|
|
@@ -469,7 +470,7 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
|
|
|
469
470
|
|
|
470
471
|
@property
|
|
471
472
|
@pulumi.getter
|
|
472
|
-
def name(self) -> pulumi.Output[str]:
|
|
473
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
473
474
|
"""
|
|
474
475
|
The name of the VM group. This must be unique in the
|
|
475
476
|
cluster. Forces a new resource if changed.
|
|
@@ -478,7 +479,7 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
|
|
|
478
479
|
|
|
479
480
|
@property
|
|
480
481
|
@pulumi.getter(name="virtualMachineIds")
|
|
481
|
-
def virtual_machine_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
482
|
+
def virtual_machine_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
482
483
|
"""
|
|
483
484
|
The UUIDs of the virtual machines in this
|
|
484
485
|
group.
|