pulumi-vsphere 4.10.0a1709017641__py3-none-any.whl → 4.17.0a1763710194__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +51 -1
- pulumi_vsphere/_inputs.py +2568 -1025
- pulumi_vsphere/_utilities.py +50 -10
- pulumi_vsphere/compute_cluster.py +1564 -2373
- pulumi_vsphere/compute_cluster_host_group.py +191 -55
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +157 -113
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +133 -89
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +314 -106
- pulumi_vsphere/compute_cluster_vm_group.py +256 -55
- pulumi_vsphere/compute_cluster_vm_host_rule.py +323 -123
- pulumi_vsphere/config/__init__.py +2 -1
- pulumi_vsphere/config/__init__.pyi +7 -2
- pulumi_vsphere/config/vars.py +20 -15
- pulumi_vsphere/configuration_profile.py +286 -0
- pulumi_vsphere/content_library.py +177 -71
- pulumi_vsphere/content_library_item.py +252 -106
- pulumi_vsphere/custom_attribute.py +118 -38
- pulumi_vsphere/datacenter.py +128 -107
- pulumi_vsphere/datastore_cluster.py +636 -731
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +251 -89
- pulumi_vsphere/distributed_port_group.py +1129 -967
- pulumi_vsphere/distributed_virtual_switch.py +1971 -2239
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +294 -0
- pulumi_vsphere/dpm_host_override.py +222 -72
- pulumi_vsphere/drs_vm_override.py +236 -72
- pulumi_vsphere/entity_permissions.py +96 -69
- pulumi_vsphere/file.py +173 -178
- pulumi_vsphere/folder.py +236 -113
- pulumi_vsphere/get_compute_cluster.py +34 -23
- pulumi_vsphere/get_compute_cluster_host_group.py +52 -41
- pulumi_vsphere/get_configuration_profile.py +145 -0
- pulumi_vsphere/get_content_library.py +33 -21
- pulumi_vsphere/get_content_library_item.py +47 -31
- pulumi_vsphere/get_custom_attribute.py +26 -17
- pulumi_vsphere/get_datacenter.py +40 -18
- pulumi_vsphere/get_datastore.py +60 -24
- pulumi_vsphere/get_datastore_cluster.py +47 -22
- pulumi_vsphere/get_datastore_stats.py +204 -0
- pulumi_vsphere/get_distributed_virtual_switch.py +36 -23
- pulumi_vsphere/get_dynamic.py +55 -45
- pulumi_vsphere/get_folder.py +163 -25
- pulumi_vsphere/get_guest_os_customization.py +68 -37
- pulumi_vsphere/get_host.py +34 -23
- pulumi_vsphere/get_host_base_images.py +104 -0
- pulumi_vsphere/get_host_pci_device.py +78 -35
- pulumi_vsphere/get_host_thumbprint.py +58 -38
- pulumi_vsphere/get_host_vgpu_profile.py +195 -0
- pulumi_vsphere/get_license.py +44 -28
- pulumi_vsphere/get_network.py +157 -46
- pulumi_vsphere/get_ovf_vm_template.py +184 -301
- pulumi_vsphere/get_policy.py +23 -15
- pulumi_vsphere/get_resource_pool.py +107 -40
- pulumi_vsphere/get_role.py +49 -35
- pulumi_vsphere/get_tag.py +34 -23
- pulumi_vsphere/get_tag_category.py +32 -21
- pulumi_vsphere/get_vapp_container.py +31 -21
- pulumi_vsphere/get_virtual_machine.py +499 -287
- pulumi_vsphere/get_vmfs_disks.py +42 -29
- pulumi_vsphere/guest_os_customization.py +135 -79
- pulumi_vsphere/ha_vm_override.py +470 -577
- pulumi_vsphere/host.py +515 -262
- pulumi_vsphere/host_port_group.py +352 -355
- pulumi_vsphere/host_virtual_switch.py +580 -580
- pulumi_vsphere/license.py +110 -92
- pulumi_vsphere/nas_datastore.py +398 -270
- pulumi_vsphere/offline_software_depot.py +190 -0
- pulumi_vsphere/outputs.py +1582 -1027
- pulumi_vsphere/provider.py +172 -152
- pulumi_vsphere/pulumi-plugin.json +2 -1
- pulumi_vsphere/resource_pool.py +357 -273
- pulumi_vsphere/role.py +79 -47
- pulumi_vsphere/storage_drs_vm_override.py +225 -89
- pulumi_vsphere/supervisor.py +1064 -0
- pulumi_vsphere/tag.py +217 -55
- pulumi_vsphere/tag_category.py +158 -72
- pulumi_vsphere/vapp_container.py +425 -259
- pulumi_vsphere/vapp_entity.py +324 -174
- pulumi_vsphere/virtual_disk.py +245 -153
- pulumi_vsphere/virtual_machine.py +1696 -1836
- pulumi_vsphere/virtual_machine_class.py +448 -0
- pulumi_vsphere/virtual_machine_snapshot.py +137 -131
- pulumi_vsphere/vm_storage_policy.py +160 -154
- pulumi_vsphere/vmfs_datastore.py +460 -186
- pulumi_vsphere/vnic.py +249 -231
- {pulumi_vsphere-4.10.0a1709017641.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA +7 -6
- pulumi_vsphere-4.17.0a1763710194.dist-info/RECORD +89 -0
- {pulumi_vsphere-4.10.0a1709017641.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.10.0a1709017641.dist-info/RECORD +0 -80
- {pulumi_vsphere-4.10.0a1709017641.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = ['OfflineSoftwareDepotArgs', 'OfflineSoftwareDepot']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class OfflineSoftwareDepotArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
location: pulumi.Input[_builtins.str]):
|
|
25
|
+
"""
|
|
26
|
+
The set of arguments for constructing a OfflineSoftwareDepot resource.
|
|
27
|
+
:param pulumi.Input[_builtins.str] location: The URL where the depot source is hosted.
|
|
28
|
+
"""
|
|
29
|
+
pulumi.set(__self__, "location", location)
|
|
30
|
+
|
|
31
|
+
@_builtins.property
|
|
32
|
+
@pulumi.getter
|
|
33
|
+
def location(self) -> pulumi.Input[_builtins.str]:
|
|
34
|
+
"""
|
|
35
|
+
The URL where the depot source is hosted.
|
|
36
|
+
"""
|
|
37
|
+
return pulumi.get(self, "location")
|
|
38
|
+
|
|
39
|
+
@location.setter
|
|
40
|
+
def location(self, value: pulumi.Input[_builtins.str]):
|
|
41
|
+
pulumi.set(self, "location", value)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
@pulumi.input_type
|
|
45
|
+
class _OfflineSoftwareDepotState:
|
|
46
|
+
def __init__(__self__, *,
|
|
47
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input['OfflineSoftwareDepotComponentArgs']]]] = None,
|
|
48
|
+
location: Optional[pulumi.Input[_builtins.str]] = None):
|
|
49
|
+
"""
|
|
50
|
+
Input properties used for looking up and filtering OfflineSoftwareDepot resources.
|
|
51
|
+
:param pulumi.Input[Sequence[pulumi.Input['OfflineSoftwareDepotComponentArgs']]] components: The list of custom components in the depot.
|
|
52
|
+
:param pulumi.Input[_builtins.str] location: The URL where the depot source is hosted.
|
|
53
|
+
"""
|
|
54
|
+
if components is not None:
|
|
55
|
+
pulumi.set(__self__, "components", components)
|
|
56
|
+
if location is not None:
|
|
57
|
+
pulumi.set(__self__, "location", location)
|
|
58
|
+
|
|
59
|
+
@_builtins.property
|
|
60
|
+
@pulumi.getter
|
|
61
|
+
def components(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OfflineSoftwareDepotComponentArgs']]]]:
|
|
62
|
+
"""
|
|
63
|
+
The list of custom components in the depot.
|
|
64
|
+
"""
|
|
65
|
+
return pulumi.get(self, "components")
|
|
66
|
+
|
|
67
|
+
@components.setter
|
|
68
|
+
def components(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OfflineSoftwareDepotComponentArgs']]]]):
|
|
69
|
+
pulumi.set(self, "components", value)
|
|
70
|
+
|
|
71
|
+
@_builtins.property
|
|
72
|
+
@pulumi.getter
|
|
73
|
+
def location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
74
|
+
"""
|
|
75
|
+
The URL where the depot source is hosted.
|
|
76
|
+
"""
|
|
77
|
+
return pulumi.get(self, "location")
|
|
78
|
+
|
|
79
|
+
@location.setter
|
|
80
|
+
def location(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
81
|
+
pulumi.set(self, "location", value)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
@pulumi.type_token("vsphere:index/offlineSoftwareDepot:OfflineSoftwareDepot")
|
|
85
|
+
class OfflineSoftwareDepot(pulumi.CustomResource):
|
|
86
|
+
@overload
|
|
87
|
+
def __init__(__self__,
|
|
88
|
+
resource_name: str,
|
|
89
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
90
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
91
|
+
__props__=None):
|
|
92
|
+
"""
|
|
93
|
+
Provides a VMware vSphere offline software depot resource.
|
|
94
|
+
|
|
95
|
+
## Example Usage
|
|
96
|
+
|
|
97
|
+
### S
|
|
98
|
+
|
|
99
|
+
:param str resource_name: The name of the resource.
|
|
100
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
101
|
+
:param pulumi.Input[_builtins.str] location: The URL where the depot source is hosted.
|
|
102
|
+
"""
|
|
103
|
+
...
|
|
104
|
+
@overload
|
|
105
|
+
def __init__(__self__,
|
|
106
|
+
resource_name: str,
|
|
107
|
+
args: OfflineSoftwareDepotArgs,
|
|
108
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
109
|
+
"""
|
|
110
|
+
Provides a VMware vSphere offline software depot resource.
|
|
111
|
+
|
|
112
|
+
## Example Usage
|
|
113
|
+
|
|
114
|
+
### S
|
|
115
|
+
|
|
116
|
+
:param str resource_name: The name of the resource.
|
|
117
|
+
:param OfflineSoftwareDepotArgs args: The arguments to use to populate this resource's properties.
|
|
118
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
119
|
+
"""
|
|
120
|
+
...
|
|
121
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
122
|
+
resource_args, opts = _utilities.get_resource_args_opts(OfflineSoftwareDepotArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
123
|
+
if resource_args is not None:
|
|
124
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
125
|
+
else:
|
|
126
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
127
|
+
|
|
128
|
+
def _internal_init(__self__,
|
|
129
|
+
resource_name: str,
|
|
130
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
131
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
132
|
+
__props__=None):
|
|
133
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
134
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
135
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
136
|
+
if opts.id is None:
|
|
137
|
+
if __props__ is not None:
|
|
138
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
139
|
+
__props__ = OfflineSoftwareDepotArgs.__new__(OfflineSoftwareDepotArgs)
|
|
140
|
+
|
|
141
|
+
if location is None and not opts.urn:
|
|
142
|
+
raise TypeError("Missing required property 'location'")
|
|
143
|
+
__props__.__dict__["location"] = location
|
|
144
|
+
__props__.__dict__["components"] = None
|
|
145
|
+
super(OfflineSoftwareDepot, __self__).__init__(
|
|
146
|
+
'vsphere:index/offlineSoftwareDepot:OfflineSoftwareDepot',
|
|
147
|
+
resource_name,
|
|
148
|
+
__props__,
|
|
149
|
+
opts)
|
|
150
|
+
|
|
151
|
+
@staticmethod
|
|
152
|
+
def get(resource_name: str,
|
|
153
|
+
id: pulumi.Input[str],
|
|
154
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
155
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OfflineSoftwareDepotComponentArgs', 'OfflineSoftwareDepotComponentArgsDict']]]]] = None,
|
|
156
|
+
location: Optional[pulumi.Input[_builtins.str]] = None) -> 'OfflineSoftwareDepot':
|
|
157
|
+
"""
|
|
158
|
+
Get an existing OfflineSoftwareDepot resource's state with the given name, id, and optional extra
|
|
159
|
+
properties used to qualify the lookup.
|
|
160
|
+
|
|
161
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
162
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
163
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
164
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OfflineSoftwareDepotComponentArgs', 'OfflineSoftwareDepotComponentArgsDict']]]] components: The list of custom components in the depot.
|
|
165
|
+
:param pulumi.Input[_builtins.str] location: The URL where the depot source is hosted.
|
|
166
|
+
"""
|
|
167
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
168
|
+
|
|
169
|
+
__props__ = _OfflineSoftwareDepotState.__new__(_OfflineSoftwareDepotState)
|
|
170
|
+
|
|
171
|
+
__props__.__dict__["components"] = components
|
|
172
|
+
__props__.__dict__["location"] = location
|
|
173
|
+
return OfflineSoftwareDepot(resource_name, opts=opts, __props__=__props__)
|
|
174
|
+
|
|
175
|
+
@_builtins.property
|
|
176
|
+
@pulumi.getter
|
|
177
|
+
def components(self) -> pulumi.Output[Sequence['outputs.OfflineSoftwareDepotComponent']]:
|
|
178
|
+
"""
|
|
179
|
+
The list of custom components in the depot.
|
|
180
|
+
"""
|
|
181
|
+
return pulumi.get(self, "components")
|
|
182
|
+
|
|
183
|
+
@_builtins.property
|
|
184
|
+
@pulumi.getter
|
|
185
|
+
def location(self) -> pulumi.Output[_builtins.str]:
|
|
186
|
+
"""
|
|
187
|
+
The URL where the depot source is hosted.
|
|
188
|
+
"""
|
|
189
|
+
return pulumi.get(self, "location")
|
|
190
|
+
|