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
pulumi_vsphere/outputs.py
CHANGED
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
13
18
|
__all__ = [
|
|
19
|
+
'ComputeClusterHostImage',
|
|
20
|
+
'ComputeClusterHostImageComponent',
|
|
14
21
|
'ComputeClusterVsanDiskGroup',
|
|
15
22
|
'ComputeClusterVsanFaultDomain',
|
|
16
23
|
'ComputeClusterVsanFaultDomainFaultDomain',
|
|
@@ -27,6 +34,15 @@ __all__ = [
|
|
|
27
34
|
'GuestOsCustomizationSpecNetworkInterface',
|
|
28
35
|
'GuestOsCustomizationSpecWindowsOptions',
|
|
29
36
|
'HostPortGroupPort',
|
|
37
|
+
'HostService',
|
|
38
|
+
'HostServiceNtpd',
|
|
39
|
+
'OfflineSoftwareDepotComponent',
|
|
40
|
+
'SupervisorEgressCidr',
|
|
41
|
+
'SupervisorIngressCidr',
|
|
42
|
+
'SupervisorManagementNetwork',
|
|
43
|
+
'SupervisorNamespace',
|
|
44
|
+
'SupervisorPodCidr',
|
|
45
|
+
'SupervisorServiceCidr',
|
|
30
46
|
'VirtualMachineCdrom',
|
|
31
47
|
'VirtualMachineClone',
|
|
32
48
|
'VirtualMachineCloneCustomizationSpec',
|
|
@@ -38,6 +54,7 @@ __all__ = [
|
|
|
38
54
|
'VirtualMachineNetworkInterface',
|
|
39
55
|
'VirtualMachineOvfDeploy',
|
|
40
56
|
'VirtualMachineVapp',
|
|
57
|
+
'VirtualMachineVtpm',
|
|
41
58
|
'VmStoragePolicyTagRule',
|
|
42
59
|
'VnicIpv4',
|
|
43
60
|
'VnicIpv6',
|
|
@@ -45,38 +62,119 @@ __all__ = [
|
|
|
45
62
|
'GetGuestOsCustomizationSpecLinuxOptionResult',
|
|
46
63
|
'GetGuestOsCustomizationSpecNetworkInterfaceResult',
|
|
47
64
|
'GetGuestOsCustomizationSpecWindowsOptionResult',
|
|
65
|
+
'GetHostVgpuProfileVgpuProfileResult',
|
|
66
|
+
'GetNetworkFilterResult',
|
|
48
67
|
'GetVirtualMachineDiskResult',
|
|
49
68
|
'GetVirtualMachineNetworkInterfaceResult',
|
|
50
69
|
'GetVirtualMachineVappResult',
|
|
51
70
|
]
|
|
52
71
|
|
|
72
|
+
@pulumi.output_type
|
|
73
|
+
class ComputeClusterHostImage(dict):
|
|
74
|
+
@staticmethod
|
|
75
|
+
def __key_warning(key: str):
|
|
76
|
+
suggest = None
|
|
77
|
+
if key == "esxVersion":
|
|
78
|
+
suggest = "esx_version"
|
|
79
|
+
|
|
80
|
+
if suggest:
|
|
81
|
+
pulumi.log.warn(f"Key '{key}' not found in ComputeClusterHostImage. Access the value via the '{suggest}' property getter instead.")
|
|
82
|
+
|
|
83
|
+
def __getitem__(self, key: str) -> Any:
|
|
84
|
+
ComputeClusterHostImage.__key_warning(key)
|
|
85
|
+
return super().__getitem__(key)
|
|
86
|
+
|
|
87
|
+
def get(self, key: str, default = None) -> Any:
|
|
88
|
+
ComputeClusterHostImage.__key_warning(key)
|
|
89
|
+
return super().get(key, default)
|
|
90
|
+
|
|
91
|
+
def __init__(__self__, *,
|
|
92
|
+
components: Optional[Sequence['outputs.ComputeClusterHostImageComponent']] = None,
|
|
93
|
+
esx_version: Optional[_builtins.str] = None):
|
|
94
|
+
"""
|
|
95
|
+
:param Sequence['ComputeClusterHostImageComponentArgs'] components: List of custom components.
|
|
96
|
+
:param _builtins.str esx_version: The ESXi version which the image is based on.
|
|
97
|
+
"""
|
|
98
|
+
if components is not None:
|
|
99
|
+
pulumi.set(__self__, "components", components)
|
|
100
|
+
if esx_version is not None:
|
|
101
|
+
pulumi.set(__self__, "esx_version", esx_version)
|
|
102
|
+
|
|
103
|
+
@_builtins.property
|
|
104
|
+
@pulumi.getter
|
|
105
|
+
def components(self) -> Optional[Sequence['outputs.ComputeClusterHostImageComponent']]:
|
|
106
|
+
"""
|
|
107
|
+
List of custom components.
|
|
108
|
+
"""
|
|
109
|
+
return pulumi.get(self, "components")
|
|
110
|
+
|
|
111
|
+
@_builtins.property
|
|
112
|
+
@pulumi.getter(name="esxVersion")
|
|
113
|
+
def esx_version(self) -> Optional[_builtins.str]:
|
|
114
|
+
"""
|
|
115
|
+
The ESXi version which the image is based on.
|
|
116
|
+
"""
|
|
117
|
+
return pulumi.get(self, "esx_version")
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
@pulumi.output_type
|
|
121
|
+
class ComputeClusterHostImageComponent(dict):
|
|
122
|
+
def __init__(__self__, *,
|
|
123
|
+
key: Optional[_builtins.str] = None,
|
|
124
|
+
version: Optional[_builtins.str] = None):
|
|
125
|
+
"""
|
|
126
|
+
:param _builtins.str key: The identifier for the component.
|
|
127
|
+
:param _builtins.str version: The version to use.
|
|
128
|
+
"""
|
|
129
|
+
if key is not None:
|
|
130
|
+
pulumi.set(__self__, "key", key)
|
|
131
|
+
if version is not None:
|
|
132
|
+
pulumi.set(__self__, "version", version)
|
|
133
|
+
|
|
134
|
+
@_builtins.property
|
|
135
|
+
@pulumi.getter
|
|
136
|
+
def key(self) -> Optional[_builtins.str]:
|
|
137
|
+
"""
|
|
138
|
+
The identifier for the component.
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "key")
|
|
141
|
+
|
|
142
|
+
@_builtins.property
|
|
143
|
+
@pulumi.getter
|
|
144
|
+
def version(self) -> Optional[_builtins.str]:
|
|
145
|
+
"""
|
|
146
|
+
The version to use.
|
|
147
|
+
"""
|
|
148
|
+
return pulumi.get(self, "version")
|
|
149
|
+
|
|
150
|
+
|
|
53
151
|
@pulumi.output_type
|
|
54
152
|
class ComputeClusterVsanDiskGroup(dict):
|
|
55
153
|
def __init__(__self__, *,
|
|
56
|
-
cache: Optional[str] = None,
|
|
57
|
-
storages: Optional[Sequence[str]] = None):
|
|
154
|
+
cache: Optional[_builtins.str] = None,
|
|
155
|
+
storages: Optional[Sequence[_builtins.str]] = None):
|
|
58
156
|
"""
|
|
59
|
-
:param str cache:
|
|
60
|
-
:param Sequence[str] storages:
|
|
157
|
+
:param _builtins.str cache: Cache disk.
|
|
158
|
+
:param Sequence[_builtins.str] storages: List of storage disks.
|
|
61
159
|
"""
|
|
62
160
|
if cache is not None:
|
|
63
161
|
pulumi.set(__self__, "cache", cache)
|
|
64
162
|
if storages is not None:
|
|
65
163
|
pulumi.set(__self__, "storages", storages)
|
|
66
164
|
|
|
67
|
-
@property
|
|
165
|
+
@_builtins.property
|
|
68
166
|
@pulumi.getter
|
|
69
|
-
def cache(self) -> Optional[str]:
|
|
167
|
+
def cache(self) -> Optional[_builtins.str]:
|
|
70
168
|
"""
|
|
71
|
-
|
|
169
|
+
Cache disk.
|
|
72
170
|
"""
|
|
73
171
|
return pulumi.get(self, "cache")
|
|
74
172
|
|
|
75
|
-
@property
|
|
173
|
+
@_builtins.property
|
|
76
174
|
@pulumi.getter
|
|
77
|
-
def storages(self) -> Optional[Sequence[str]]:
|
|
175
|
+
def storages(self) -> Optional[Sequence[_builtins.str]]:
|
|
78
176
|
"""
|
|
79
|
-
|
|
177
|
+
List of storage disks.
|
|
80
178
|
"""
|
|
81
179
|
return pulumi.get(self, "storages")
|
|
82
180
|
|
|
@@ -108,7 +206,7 @@ class ComputeClusterVsanFaultDomain(dict):
|
|
|
108
206
|
if fault_domains is not None:
|
|
109
207
|
pulumi.set(__self__, "fault_domains", fault_domains)
|
|
110
208
|
|
|
111
|
-
@property
|
|
209
|
+
@_builtins.property
|
|
112
210
|
@pulumi.getter(name="faultDomains")
|
|
113
211
|
def fault_domains(self) -> Optional[Sequence['outputs.ComputeClusterVsanFaultDomainFaultDomain']]:
|
|
114
212
|
"""
|
|
@@ -137,26 +235,26 @@ class ComputeClusterVsanFaultDomainFaultDomain(dict):
|
|
|
137
235
|
return super().get(key, default)
|
|
138
236
|
|
|
139
237
|
def __init__(__self__, *,
|
|
140
|
-
host_ids: Sequence[str],
|
|
141
|
-
name: str):
|
|
238
|
+
host_ids: Sequence[_builtins.str],
|
|
239
|
+
name: _builtins.str):
|
|
142
240
|
"""
|
|
143
|
-
:param Sequence[str] host_ids: The managed object IDs of the hosts to put in the fault domain.
|
|
144
|
-
:param str name: The name of the cluster.
|
|
241
|
+
:param Sequence[_builtins.str] host_ids: The managed object IDs of the hosts to put in the fault domain.
|
|
242
|
+
:param _builtins.str name: The name of the cluster.
|
|
145
243
|
"""
|
|
146
244
|
pulumi.set(__self__, "host_ids", host_ids)
|
|
147
245
|
pulumi.set(__self__, "name", name)
|
|
148
246
|
|
|
149
|
-
@property
|
|
247
|
+
@_builtins.property
|
|
150
248
|
@pulumi.getter(name="hostIds")
|
|
151
|
-
def host_ids(self) -> Sequence[str]:
|
|
249
|
+
def host_ids(self) -> Sequence[_builtins.str]:
|
|
152
250
|
"""
|
|
153
251
|
The managed object IDs of the hosts to put in the fault domain.
|
|
154
252
|
"""
|
|
155
253
|
return pulumi.get(self, "host_ids")
|
|
156
254
|
|
|
157
|
-
@property
|
|
255
|
+
@_builtins.property
|
|
158
256
|
@pulumi.getter
|
|
159
|
-
def name(self) -> str:
|
|
257
|
+
def name(self) -> _builtins.str:
|
|
160
258
|
"""
|
|
161
259
|
The name of the cluster.
|
|
162
260
|
"""
|
|
@@ -191,63 +289,17 @@ class ComputeClusterVsanStretchedCluster(dict):
|
|
|
191
289
|
return super().get(key, default)
|
|
192
290
|
|
|
193
291
|
def __init__(__self__, *,
|
|
194
|
-
preferred_fault_domain_host_ids: Sequence[str],
|
|
195
|
-
secondary_fault_domain_host_ids: Sequence[str],
|
|
196
|
-
witness_node: str,
|
|
197
|
-
preferred_fault_domain_name: Optional[str] = None,
|
|
198
|
-
secondary_fault_domain_name: Optional[str] = None):
|
|
199
|
-
"""
|
|
200
|
-
:param Sequence[str] preferred_fault_domain_host_ids: The managed object IDs of the hosts to put in the first fault domain.
|
|
201
|
-
:param Sequence[str] secondary_fault_domain_host_ids: The managed object IDs of the hosts to put in the second fault domain.
|
|
202
|
-
:param str witness_node: The managed object IDs of the host selected as witness node when enable stretched cluster.
|
|
203
|
-
:param str preferred_fault_domain_name: The name of
|
|
204
|
-
:param str secondary_fault_domain_name: The name of
|
|
205
|
-
|
|
206
|
-
> **NOTE:** You must disable vSphere HA before you enable vSAN on the cluster.
|
|
207
|
-
You can enable or re-enable vSphere HA after vSAN is configured.
|
|
208
|
-
|
|
209
|
-
```python
|
|
210
|
-
import pulumi
|
|
211
|
-
import pulumi_vsphere as vsphere
|
|
212
|
-
|
|
213
|
-
compute_cluster = vsphere.ComputeCluster("computeCluster",
|
|
214
|
-
datacenter_id=data["vsphere_datacenter"]["datacenter"]["id"],
|
|
215
|
-
host_system_ids=[[__item["id"] for __item in data["vsphere_host"]["host"]]],
|
|
216
|
-
drs_enabled=True,
|
|
217
|
-
drs_automation_level="fullyAutomated",
|
|
218
|
-
ha_enabled=False,
|
|
219
|
-
vsan_enabled=True,
|
|
220
|
-
vsan_esa_enabled=True,
|
|
221
|
-
vsan_dedup_enabled=True,
|
|
222
|
-
vsan_compression_enabled=True,
|
|
223
|
-
vsan_performance_enabled=True,
|
|
224
|
-
vsan_verbose_mode_enabled=True,
|
|
225
|
-
vsan_network_diagnostic_mode_enabled=True,
|
|
226
|
-
vsan_unmap_enabled=True,
|
|
227
|
-
vsan_dit_encryption_enabled=True,
|
|
228
|
-
vsan_dit_rekey_interval=1800,
|
|
229
|
-
vsan_disk_groups=[vsphere.ComputeClusterVsanDiskGroupArgs(
|
|
230
|
-
cache=data["vsphere_vmfs_disks"]["cache_disks"],
|
|
231
|
-
storages=data["vsphere_vmfs_disks"]["storage_disks"],
|
|
232
|
-
)],
|
|
233
|
-
vsan_fault_domains=[vsphere.ComputeClusterVsanFaultDomainArgs(
|
|
234
|
-
fault_domains=[
|
|
235
|
-
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
236
|
-
name="fd1",
|
|
237
|
-
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain1_hosts"]]],
|
|
238
|
-
),
|
|
239
|
-
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
240
|
-
name="fd2",
|
|
241
|
-
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain2_hosts"]]],
|
|
242
|
-
),
|
|
243
|
-
],
|
|
244
|
-
)],
|
|
245
|
-
vsan_stretched_cluster=vsphere.ComputeClusterVsanStretchedClusterArgs(
|
|
246
|
-
preferred_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["preferred_fault_domain_host"]]],
|
|
247
|
-
secondary_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["secondary_fault_domain_host"]]],
|
|
248
|
-
witness_node=data["vsphere_host"]["witness_host"]["id"],
|
|
249
|
-
))
|
|
250
|
-
```
|
|
292
|
+
preferred_fault_domain_host_ids: Sequence[_builtins.str],
|
|
293
|
+
secondary_fault_domain_host_ids: Sequence[_builtins.str],
|
|
294
|
+
witness_node: _builtins.str,
|
|
295
|
+
preferred_fault_domain_name: Optional[_builtins.str] = None,
|
|
296
|
+
secondary_fault_domain_name: Optional[_builtins.str] = None):
|
|
297
|
+
"""
|
|
298
|
+
:param Sequence[_builtins.str] preferred_fault_domain_host_ids: The managed object IDs of the hosts to put in the first fault domain.
|
|
299
|
+
:param Sequence[_builtins.str] secondary_fault_domain_host_ids: The managed object IDs of the hosts to put in the second fault domain.
|
|
300
|
+
:param _builtins.str witness_node: The managed object IDs of the host selected as witness node when enable stretched cluster.
|
|
301
|
+
:param _builtins.str preferred_fault_domain_name: The name of prepferred fault domain.
|
|
302
|
+
:param _builtins.str secondary_fault_domain_name: The name of secondary fault domain.
|
|
251
303
|
"""
|
|
252
304
|
pulumi.set(__self__, "preferred_fault_domain_host_ids", preferred_fault_domain_host_ids)
|
|
253
305
|
pulumi.set(__self__, "secondary_fault_domain_host_ids", secondary_fault_domain_host_ids)
|
|
@@ -257,89 +309,43 @@ class ComputeClusterVsanStretchedCluster(dict):
|
|
|
257
309
|
if secondary_fault_domain_name is not None:
|
|
258
310
|
pulumi.set(__self__, "secondary_fault_domain_name", secondary_fault_domain_name)
|
|
259
311
|
|
|
260
|
-
@property
|
|
312
|
+
@_builtins.property
|
|
261
313
|
@pulumi.getter(name="preferredFaultDomainHostIds")
|
|
262
|
-
def preferred_fault_domain_host_ids(self) -> Sequence[str]:
|
|
314
|
+
def preferred_fault_domain_host_ids(self) -> Sequence[_builtins.str]:
|
|
263
315
|
"""
|
|
264
316
|
The managed object IDs of the hosts to put in the first fault domain.
|
|
265
317
|
"""
|
|
266
318
|
return pulumi.get(self, "preferred_fault_domain_host_ids")
|
|
267
319
|
|
|
268
|
-
@property
|
|
320
|
+
@_builtins.property
|
|
269
321
|
@pulumi.getter(name="secondaryFaultDomainHostIds")
|
|
270
|
-
def secondary_fault_domain_host_ids(self) -> Sequence[str]:
|
|
322
|
+
def secondary_fault_domain_host_ids(self) -> Sequence[_builtins.str]:
|
|
271
323
|
"""
|
|
272
324
|
The managed object IDs of the hosts to put in the second fault domain.
|
|
273
325
|
"""
|
|
274
326
|
return pulumi.get(self, "secondary_fault_domain_host_ids")
|
|
275
327
|
|
|
276
|
-
@property
|
|
328
|
+
@_builtins.property
|
|
277
329
|
@pulumi.getter(name="witnessNode")
|
|
278
|
-
def witness_node(self) -> str:
|
|
330
|
+
def witness_node(self) -> _builtins.str:
|
|
279
331
|
"""
|
|
280
332
|
The managed object IDs of the host selected as witness node when enable stretched cluster.
|
|
281
333
|
"""
|
|
282
334
|
return pulumi.get(self, "witness_node")
|
|
283
335
|
|
|
284
|
-
@property
|
|
336
|
+
@_builtins.property
|
|
285
337
|
@pulumi.getter(name="preferredFaultDomainName")
|
|
286
|
-
def preferred_fault_domain_name(self) -> Optional[str]:
|
|
338
|
+
def preferred_fault_domain_name(self) -> Optional[_builtins.str]:
|
|
287
339
|
"""
|
|
288
|
-
The name of
|
|
340
|
+
The name of prepferred fault domain.
|
|
289
341
|
"""
|
|
290
342
|
return pulumi.get(self, "preferred_fault_domain_name")
|
|
291
343
|
|
|
292
|
-
@property
|
|
344
|
+
@_builtins.property
|
|
293
345
|
@pulumi.getter(name="secondaryFaultDomainName")
|
|
294
|
-
def secondary_fault_domain_name(self) -> Optional[str]:
|
|
295
|
-
"""
|
|
296
|
-
The name of
|
|
297
|
-
|
|
298
|
-
> **NOTE:** You must disable vSphere HA before you enable vSAN on the cluster.
|
|
299
|
-
You can enable or re-enable vSphere HA after vSAN is configured.
|
|
300
|
-
|
|
301
|
-
```python
|
|
302
|
-
import pulumi
|
|
303
|
-
import pulumi_vsphere as vsphere
|
|
304
|
-
|
|
305
|
-
compute_cluster = vsphere.ComputeCluster("computeCluster",
|
|
306
|
-
datacenter_id=data["vsphere_datacenter"]["datacenter"]["id"],
|
|
307
|
-
host_system_ids=[[__item["id"] for __item in data["vsphere_host"]["host"]]],
|
|
308
|
-
drs_enabled=True,
|
|
309
|
-
drs_automation_level="fullyAutomated",
|
|
310
|
-
ha_enabled=False,
|
|
311
|
-
vsan_enabled=True,
|
|
312
|
-
vsan_esa_enabled=True,
|
|
313
|
-
vsan_dedup_enabled=True,
|
|
314
|
-
vsan_compression_enabled=True,
|
|
315
|
-
vsan_performance_enabled=True,
|
|
316
|
-
vsan_verbose_mode_enabled=True,
|
|
317
|
-
vsan_network_diagnostic_mode_enabled=True,
|
|
318
|
-
vsan_unmap_enabled=True,
|
|
319
|
-
vsan_dit_encryption_enabled=True,
|
|
320
|
-
vsan_dit_rekey_interval=1800,
|
|
321
|
-
vsan_disk_groups=[vsphere.ComputeClusterVsanDiskGroupArgs(
|
|
322
|
-
cache=data["vsphere_vmfs_disks"]["cache_disks"],
|
|
323
|
-
storages=data["vsphere_vmfs_disks"]["storage_disks"],
|
|
324
|
-
)],
|
|
325
|
-
vsan_fault_domains=[vsphere.ComputeClusterVsanFaultDomainArgs(
|
|
326
|
-
fault_domains=[
|
|
327
|
-
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
328
|
-
name="fd1",
|
|
329
|
-
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain1_hosts"]]],
|
|
330
|
-
),
|
|
331
|
-
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
332
|
-
name="fd2",
|
|
333
|
-
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain2_hosts"]]],
|
|
334
|
-
),
|
|
335
|
-
],
|
|
336
|
-
)],
|
|
337
|
-
vsan_stretched_cluster=vsphere.ComputeClusterVsanStretchedClusterArgs(
|
|
338
|
-
preferred_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["preferred_fault_domain_host"]]],
|
|
339
|
-
secondary_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["secondary_fault_domain_host"]]],
|
|
340
|
-
witness_node=data["vsphere_host"]["witness_host"]["id"],
|
|
341
|
-
))
|
|
342
|
-
```
|
|
346
|
+
def secondary_fault_domain_name(self) -> Optional[_builtins.str]:
|
|
347
|
+
"""
|
|
348
|
+
The name of secondary fault domain.
|
|
343
349
|
"""
|
|
344
350
|
return pulumi.get(self, "secondary_fault_domain_name")
|
|
345
351
|
|
|
@@ -366,17 +372,17 @@ class ContentLibraryPublication(dict):
|
|
|
366
372
|
return super().get(key, default)
|
|
367
373
|
|
|
368
374
|
def __init__(__self__, *,
|
|
369
|
-
authentication_method: Optional[str] = None,
|
|
370
|
-
password: Optional[str] = None,
|
|
371
|
-
publish_url: Optional[str] = None,
|
|
372
|
-
published: Optional[bool] = None,
|
|
373
|
-
username: Optional[str] = None):
|
|
374
|
-
"""
|
|
375
|
-
:param str authentication_method:
|
|
376
|
-
:param str password: Password used
|
|
377
|
-
:param str publish_url: The URL of the published content library.
|
|
378
|
-
:param bool published: Publish the content library. Default `false`.
|
|
379
|
-
:param str username: Username used
|
|
375
|
+
authentication_method: Optional[_builtins.str] = None,
|
|
376
|
+
password: Optional[_builtins.str] = None,
|
|
377
|
+
publish_url: Optional[_builtins.str] = None,
|
|
378
|
+
published: Optional[_builtins.bool] = None,
|
|
379
|
+
username: Optional[_builtins.str] = None):
|
|
380
|
+
"""
|
|
381
|
+
:param _builtins.str authentication_method: Method to authenticate users. Must be `NONE` or `BASIC`.
|
|
382
|
+
:param _builtins.str password: Password used by subscribers to authenticate.
|
|
383
|
+
:param _builtins.str publish_url: The URL of the published content library.
|
|
384
|
+
:param _builtins.bool published: Publish the content library. Default `false`.
|
|
385
|
+
:param _builtins.str username: Username used by subscribers to authenticate. Currently can only be `vcsp`.
|
|
380
386
|
"""
|
|
381
387
|
if authentication_method is not None:
|
|
382
388
|
pulumi.set(__self__, "authentication_method", authentication_method)
|
|
@@ -389,43 +395,43 @@ class ContentLibraryPublication(dict):
|
|
|
389
395
|
if username is not None:
|
|
390
396
|
pulumi.set(__self__, "username", username)
|
|
391
397
|
|
|
392
|
-
@property
|
|
398
|
+
@_builtins.property
|
|
393
399
|
@pulumi.getter(name="authenticationMethod")
|
|
394
|
-
def authentication_method(self) -> Optional[str]:
|
|
400
|
+
def authentication_method(self) -> Optional[_builtins.str]:
|
|
395
401
|
"""
|
|
396
|
-
|
|
402
|
+
Method to authenticate users. Must be `NONE` or `BASIC`.
|
|
397
403
|
"""
|
|
398
404
|
return pulumi.get(self, "authentication_method")
|
|
399
405
|
|
|
400
|
-
@property
|
|
406
|
+
@_builtins.property
|
|
401
407
|
@pulumi.getter
|
|
402
|
-
def password(self) -> Optional[str]:
|
|
408
|
+
def password(self) -> Optional[_builtins.str]:
|
|
403
409
|
"""
|
|
404
|
-
Password used
|
|
410
|
+
Password used by subscribers to authenticate.
|
|
405
411
|
"""
|
|
406
412
|
return pulumi.get(self, "password")
|
|
407
413
|
|
|
408
|
-
@property
|
|
414
|
+
@_builtins.property
|
|
409
415
|
@pulumi.getter(name="publishUrl")
|
|
410
|
-
def publish_url(self) -> Optional[str]:
|
|
416
|
+
def publish_url(self) -> Optional[_builtins.str]:
|
|
411
417
|
"""
|
|
412
418
|
The URL of the published content library.
|
|
413
419
|
"""
|
|
414
420
|
return pulumi.get(self, "publish_url")
|
|
415
421
|
|
|
416
|
-
@property
|
|
422
|
+
@_builtins.property
|
|
417
423
|
@pulumi.getter
|
|
418
|
-
def published(self) -> Optional[bool]:
|
|
424
|
+
def published(self) -> Optional[_builtins.bool]:
|
|
419
425
|
"""
|
|
420
426
|
Publish the content library. Default `false`.
|
|
421
427
|
"""
|
|
422
428
|
return pulumi.get(self, "published")
|
|
423
429
|
|
|
424
|
-
@property
|
|
430
|
+
@_builtins.property
|
|
425
431
|
@pulumi.getter
|
|
426
|
-
def username(self) -> Optional[str]:
|
|
432
|
+
def username(self) -> Optional[_builtins.str]:
|
|
427
433
|
"""
|
|
428
|
-
Username used
|
|
434
|
+
Username used by subscribers to authenticate. Currently can only be `vcsp`.
|
|
429
435
|
"""
|
|
430
436
|
return pulumi.get(self, "username")
|
|
431
437
|
|
|
@@ -456,19 +462,19 @@ class ContentLibrarySubscription(dict):
|
|
|
456
462
|
return super().get(key, default)
|
|
457
463
|
|
|
458
464
|
def __init__(__self__, *,
|
|
459
|
-
authentication_method: Optional[str] = None,
|
|
460
|
-
automatic_sync: Optional[bool] = None,
|
|
461
|
-
on_demand: Optional[bool] = None,
|
|
462
|
-
password: Optional[str] = None,
|
|
463
|
-
subscription_url: Optional[str] = None,
|
|
464
|
-
username: Optional[str] = None):
|
|
465
|
-
"""
|
|
466
|
-
:param str authentication_method: Authentication method to connect ro a published content library. Must be `NONE` or `BASIC`.
|
|
467
|
-
:param bool automatic_sync: Enable automatic synchronization with the published library. Default `false`.
|
|
468
|
-
:param bool on_demand: Download the library from a content only when needed. Default `true`.
|
|
469
|
-
:param str password: Password used for authentication.
|
|
470
|
-
:param str subscription_url: URL of the published content library.
|
|
471
|
-
:param str username: Username used for authentication.
|
|
465
|
+
authentication_method: Optional[_builtins.str] = None,
|
|
466
|
+
automatic_sync: Optional[_builtins.bool] = None,
|
|
467
|
+
on_demand: Optional[_builtins.bool] = None,
|
|
468
|
+
password: Optional[_builtins.str] = None,
|
|
469
|
+
subscription_url: Optional[_builtins.str] = None,
|
|
470
|
+
username: Optional[_builtins.str] = None):
|
|
471
|
+
"""
|
|
472
|
+
:param _builtins.str authentication_method: Authentication method to connect ro a published content library. Must be `NONE` or `BASIC`.
|
|
473
|
+
:param _builtins.bool automatic_sync: Enable automatic synchronization with the published library. Default `false`.
|
|
474
|
+
:param _builtins.bool on_demand: Download the library from a content only when needed. Default `true`.
|
|
475
|
+
:param _builtins.str password: Password used for authentication.
|
|
476
|
+
:param _builtins.str subscription_url: URL of the published content library.
|
|
477
|
+
:param _builtins.str username: Username used for authentication.
|
|
472
478
|
"""
|
|
473
479
|
if authentication_method is not None:
|
|
474
480
|
pulumi.set(__self__, "authentication_method", authentication_method)
|
|
@@ -483,49 +489,49 @@ class ContentLibrarySubscription(dict):
|
|
|
483
489
|
if username is not None:
|
|
484
490
|
pulumi.set(__self__, "username", username)
|
|
485
491
|
|
|
486
|
-
@property
|
|
492
|
+
@_builtins.property
|
|
487
493
|
@pulumi.getter(name="authenticationMethod")
|
|
488
|
-
def authentication_method(self) -> Optional[str]:
|
|
494
|
+
def authentication_method(self) -> Optional[_builtins.str]:
|
|
489
495
|
"""
|
|
490
496
|
Authentication method to connect ro a published content library. Must be `NONE` or `BASIC`.
|
|
491
497
|
"""
|
|
492
498
|
return pulumi.get(self, "authentication_method")
|
|
493
499
|
|
|
494
|
-
@property
|
|
500
|
+
@_builtins.property
|
|
495
501
|
@pulumi.getter(name="automaticSync")
|
|
496
|
-
def automatic_sync(self) -> Optional[bool]:
|
|
502
|
+
def automatic_sync(self) -> Optional[_builtins.bool]:
|
|
497
503
|
"""
|
|
498
504
|
Enable automatic synchronization with the published library. Default `false`.
|
|
499
505
|
"""
|
|
500
506
|
return pulumi.get(self, "automatic_sync")
|
|
501
507
|
|
|
502
|
-
@property
|
|
508
|
+
@_builtins.property
|
|
503
509
|
@pulumi.getter(name="onDemand")
|
|
504
|
-
def on_demand(self) -> Optional[bool]:
|
|
510
|
+
def on_demand(self) -> Optional[_builtins.bool]:
|
|
505
511
|
"""
|
|
506
512
|
Download the library from a content only when needed. Default `true`.
|
|
507
513
|
"""
|
|
508
514
|
return pulumi.get(self, "on_demand")
|
|
509
515
|
|
|
510
|
-
@property
|
|
516
|
+
@_builtins.property
|
|
511
517
|
@pulumi.getter
|
|
512
|
-
def password(self) -> Optional[str]:
|
|
518
|
+
def password(self) -> Optional[_builtins.str]:
|
|
513
519
|
"""
|
|
514
520
|
Password used for authentication.
|
|
515
521
|
"""
|
|
516
522
|
return pulumi.get(self, "password")
|
|
517
523
|
|
|
518
|
-
@property
|
|
524
|
+
@_builtins.property
|
|
519
525
|
@pulumi.getter(name="subscriptionUrl")
|
|
520
|
-
def subscription_url(self) -> Optional[str]:
|
|
526
|
+
def subscription_url(self) -> Optional[_builtins.str]:
|
|
521
527
|
"""
|
|
522
528
|
URL of the published content library.
|
|
523
529
|
"""
|
|
524
530
|
return pulumi.get(self, "subscription_url")
|
|
525
531
|
|
|
526
|
-
@property
|
|
532
|
+
@_builtins.property
|
|
527
533
|
@pulumi.getter
|
|
528
|
-
def username(self) -> Optional[str]:
|
|
534
|
+
def username(self) -> Optional[_builtins.str]:
|
|
529
535
|
"""
|
|
530
536
|
Username used for authentication.
|
|
531
537
|
"""
|
|
@@ -554,26 +560,26 @@ class DistributedPortGroupVlanRange(dict):
|
|
|
554
560
|
return super().get(key, default)
|
|
555
561
|
|
|
556
562
|
def __init__(__self__, *,
|
|
557
|
-
max_vlan: int,
|
|
558
|
-
min_vlan: int):
|
|
563
|
+
max_vlan: _builtins.int,
|
|
564
|
+
min_vlan: _builtins.int):
|
|
559
565
|
"""
|
|
560
|
-
:param int max_vlan: The minimum VLAN to use in the range.
|
|
561
|
-
:param int min_vlan: The minimum VLAN to use in the range.
|
|
566
|
+
:param _builtins.int max_vlan: The minimum VLAN to use in the range.
|
|
567
|
+
:param _builtins.int min_vlan: The minimum VLAN to use in the range.
|
|
562
568
|
"""
|
|
563
569
|
pulumi.set(__self__, "max_vlan", max_vlan)
|
|
564
570
|
pulumi.set(__self__, "min_vlan", min_vlan)
|
|
565
571
|
|
|
566
|
-
@property
|
|
572
|
+
@_builtins.property
|
|
567
573
|
@pulumi.getter(name="maxVlan")
|
|
568
|
-
def max_vlan(self) -> int:
|
|
574
|
+
def max_vlan(self) -> _builtins.int:
|
|
569
575
|
"""
|
|
570
576
|
The minimum VLAN to use in the range.
|
|
571
577
|
"""
|
|
572
578
|
return pulumi.get(self, "max_vlan")
|
|
573
579
|
|
|
574
|
-
@property
|
|
580
|
+
@_builtins.property
|
|
575
581
|
@pulumi.getter(name="minVlan")
|
|
576
|
-
def min_vlan(self) -> int:
|
|
582
|
+
def min_vlan(self) -> _builtins.int:
|
|
577
583
|
"""
|
|
578
584
|
The minimum VLAN to use in the range.
|
|
579
585
|
"""
|
|
@@ -600,33 +606,29 @@ class DistributedVirtualSwitchHost(dict):
|
|
|
600
606
|
return super().get(key, default)
|
|
601
607
|
|
|
602
608
|
def __init__(__self__, *,
|
|
603
|
-
host_system_id: str,
|
|
604
|
-
devices: Optional[Sequence[str]] = None):
|
|
609
|
+
host_system_id: _builtins.str,
|
|
610
|
+
devices: Optional[Sequence[_builtins.str]] = None):
|
|
605
611
|
"""
|
|
606
|
-
:param str host_system_id: The
|
|
607
|
-
|
|
608
|
-
:param Sequence[str] devices: The list of NIC devices to map to uplinks on the VDS,
|
|
609
|
-
added in order they are specified.
|
|
612
|
+
:param _builtins.str host_system_id: The managed object ID of the host this specification applies to.
|
|
613
|
+
:param Sequence[_builtins.str] devices: Name of the physical NIC to be added to the proxy switch.
|
|
610
614
|
"""
|
|
611
615
|
pulumi.set(__self__, "host_system_id", host_system_id)
|
|
612
616
|
if devices is not None:
|
|
613
617
|
pulumi.set(__self__, "devices", devices)
|
|
614
618
|
|
|
615
|
-
@property
|
|
619
|
+
@_builtins.property
|
|
616
620
|
@pulumi.getter(name="hostSystemId")
|
|
617
|
-
def host_system_id(self) -> str:
|
|
621
|
+
def host_system_id(self) -> _builtins.str:
|
|
618
622
|
"""
|
|
619
|
-
The
|
|
620
|
-
VDS.
|
|
623
|
+
The managed object ID of the host this specification applies to.
|
|
621
624
|
"""
|
|
622
625
|
return pulumi.get(self, "host_system_id")
|
|
623
626
|
|
|
624
|
-
@property
|
|
627
|
+
@_builtins.property
|
|
625
628
|
@pulumi.getter
|
|
626
|
-
def devices(self) -> Optional[Sequence[str]]:
|
|
629
|
+
def devices(self) -> Optional[Sequence[_builtins.str]]:
|
|
627
630
|
"""
|
|
628
|
-
|
|
629
|
-
added in order they are specified.
|
|
631
|
+
Name of the physical NIC to be added to the proxy switch.
|
|
630
632
|
"""
|
|
631
633
|
return pulumi.get(self, "devices")
|
|
632
634
|
|
|
@@ -655,45 +657,39 @@ class DistributedVirtualSwitchPvlanMapping(dict):
|
|
|
655
657
|
return super().get(key, default)
|
|
656
658
|
|
|
657
659
|
def __init__(__self__, *,
|
|
658
|
-
primary_vlan_id: int,
|
|
659
|
-
pvlan_type: str,
|
|
660
|
-
secondary_vlan_id: int):
|
|
660
|
+
primary_vlan_id: _builtins.int,
|
|
661
|
+
pvlan_type: _builtins.str,
|
|
662
|
+
secondary_vlan_id: _builtins.int):
|
|
661
663
|
"""
|
|
662
|
-
:param int primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and
|
|
663
|
-
|
|
664
|
-
:param
|
|
665
|
-
promiscuous, community and isolated.
|
|
666
|
-
:param int secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0
|
|
667
|
-
and 4095 are reserved and cannot be used in this property.
|
|
664
|
+
:param _builtins.int primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
665
|
+
:param _builtins.str pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
666
|
+
:param _builtins.int secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
668
667
|
"""
|
|
669
668
|
pulumi.set(__self__, "primary_vlan_id", primary_vlan_id)
|
|
670
669
|
pulumi.set(__self__, "pvlan_type", pvlan_type)
|
|
671
670
|
pulumi.set(__self__, "secondary_vlan_id", secondary_vlan_id)
|
|
672
671
|
|
|
673
|
-
@property
|
|
672
|
+
@_builtins.property
|
|
674
673
|
@pulumi.getter(name="primaryVlanId")
|
|
675
|
-
def primary_vlan_id(self) -> int:
|
|
674
|
+
def primary_vlan_id(self) -> _builtins.int:
|
|
676
675
|
"""
|
|
677
|
-
The primary VLAN ID. The VLAN IDs of 0 and
|
|
678
|
-
4095 are reserved and cannot be used in this property.
|
|
676
|
+
The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
679
677
|
"""
|
|
680
678
|
return pulumi.get(self, "primary_vlan_id")
|
|
681
679
|
|
|
682
|
-
@property
|
|
680
|
+
@_builtins.property
|
|
683
681
|
@pulumi.getter(name="pvlanType")
|
|
684
|
-
def pvlan_type(self) -> str:
|
|
682
|
+
def pvlan_type(self) -> _builtins.str:
|
|
685
683
|
"""
|
|
686
|
-
The private VLAN type. Valid values are
|
|
687
|
-
promiscuous, community and isolated.
|
|
684
|
+
The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
688
685
|
"""
|
|
689
686
|
return pulumi.get(self, "pvlan_type")
|
|
690
687
|
|
|
691
|
-
@property
|
|
688
|
+
@_builtins.property
|
|
692
689
|
@pulumi.getter(name="secondaryVlanId")
|
|
693
|
-
def secondary_vlan_id(self) -> int:
|
|
690
|
+
def secondary_vlan_id(self) -> _builtins.int:
|
|
694
691
|
"""
|
|
695
|
-
The secondary VLAN ID. The VLAN IDs of 0
|
|
696
|
-
and 4095 are reserved and cannot be used in this property.
|
|
692
|
+
The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
697
693
|
"""
|
|
698
694
|
return pulumi.get(self, "secondary_vlan_id")
|
|
699
695
|
|
|
@@ -720,26 +716,26 @@ class DistributedVirtualSwitchVlanRange(dict):
|
|
|
720
716
|
return super().get(key, default)
|
|
721
717
|
|
|
722
718
|
def __init__(__self__, *,
|
|
723
|
-
max_vlan: int,
|
|
724
|
-
min_vlan: int):
|
|
719
|
+
max_vlan: _builtins.int,
|
|
720
|
+
min_vlan: _builtins.int):
|
|
725
721
|
"""
|
|
726
|
-
:param int max_vlan: The minimum VLAN to use in the range.
|
|
727
|
-
:param int min_vlan: The minimum VLAN to use in the range.
|
|
722
|
+
:param _builtins.int max_vlan: The minimum VLAN to use in the range.
|
|
723
|
+
:param _builtins.int min_vlan: The minimum VLAN to use in the range.
|
|
728
724
|
"""
|
|
729
725
|
pulumi.set(__self__, "max_vlan", max_vlan)
|
|
730
726
|
pulumi.set(__self__, "min_vlan", min_vlan)
|
|
731
727
|
|
|
732
|
-
@property
|
|
728
|
+
@_builtins.property
|
|
733
729
|
@pulumi.getter(name="maxVlan")
|
|
734
|
-
def max_vlan(self) -> int:
|
|
730
|
+
def max_vlan(self) -> _builtins.int:
|
|
735
731
|
"""
|
|
736
732
|
The minimum VLAN to use in the range.
|
|
737
733
|
"""
|
|
738
734
|
return pulumi.get(self, "max_vlan")
|
|
739
735
|
|
|
740
|
-
@property
|
|
736
|
+
@_builtins.property
|
|
741
737
|
@pulumi.getter(name="minVlan")
|
|
742
|
-
def min_vlan(self) -> int:
|
|
738
|
+
def min_vlan(self) -> _builtins.int:
|
|
743
739
|
"""
|
|
744
740
|
The minimum VLAN to use in the range.
|
|
745
741
|
"""
|
|
@@ -770,48 +766,54 @@ class EntityPermissionsPermission(dict):
|
|
|
770
766
|
return super().get(key, default)
|
|
771
767
|
|
|
772
768
|
def __init__(__self__, *,
|
|
773
|
-
is_group: bool,
|
|
774
|
-
propagate: bool,
|
|
775
|
-
role_id: str,
|
|
776
|
-
user_or_group: str):
|
|
777
|
-
"""
|
|
778
|
-
:param bool is_group: Whether user_or_group field refers to a user or a
|
|
779
|
-
|
|
780
|
-
:param
|
|
781
|
-
|
|
769
|
+
is_group: _builtins.bool,
|
|
770
|
+
propagate: _builtins.bool,
|
|
771
|
+
role_id: _builtins.str,
|
|
772
|
+
user_or_group: _builtins.str):
|
|
773
|
+
"""
|
|
774
|
+
:param _builtins.bool is_group: Whether `user_or_group` field refers to a user or a
|
|
775
|
+
group. True for a group and false for a user.
|
|
776
|
+
:param _builtins.bool propagate: Whether or not this permission propagates down the
|
|
777
|
+
hierarchy to sub-entities.
|
|
778
|
+
:param _builtins.str role_id: The role id of the role to be given to the user on
|
|
779
|
+
the specified entity.
|
|
780
|
+
:param _builtins.str user_or_group: The user/group getting the permission.
|
|
782
781
|
"""
|
|
783
782
|
pulumi.set(__self__, "is_group", is_group)
|
|
784
783
|
pulumi.set(__self__, "propagate", propagate)
|
|
785
784
|
pulumi.set(__self__, "role_id", role_id)
|
|
786
785
|
pulumi.set(__self__, "user_or_group", user_or_group)
|
|
787
786
|
|
|
788
|
-
@property
|
|
787
|
+
@_builtins.property
|
|
789
788
|
@pulumi.getter(name="isGroup")
|
|
790
|
-
def is_group(self) -> bool:
|
|
789
|
+
def is_group(self) -> _builtins.bool:
|
|
791
790
|
"""
|
|
792
|
-
Whether user_or_group field refers to a user or a
|
|
791
|
+
Whether `user_or_group` field refers to a user or a
|
|
792
|
+
group. True for a group and false for a user.
|
|
793
793
|
"""
|
|
794
794
|
return pulumi.get(self, "is_group")
|
|
795
795
|
|
|
796
|
-
@property
|
|
796
|
+
@_builtins.property
|
|
797
797
|
@pulumi.getter
|
|
798
|
-
def propagate(self) -> bool:
|
|
798
|
+
def propagate(self) -> _builtins.bool:
|
|
799
799
|
"""
|
|
800
|
-
Whether or not this permission propagates down the
|
|
800
|
+
Whether or not this permission propagates down the
|
|
801
|
+
hierarchy to sub-entities.
|
|
801
802
|
"""
|
|
802
803
|
return pulumi.get(self, "propagate")
|
|
803
804
|
|
|
804
|
-
@property
|
|
805
|
+
@_builtins.property
|
|
805
806
|
@pulumi.getter(name="roleId")
|
|
806
|
-
def role_id(self) -> str:
|
|
807
|
+
def role_id(self) -> _builtins.str:
|
|
807
808
|
"""
|
|
808
|
-
The role id of the role to be given to the user on
|
|
809
|
+
The role id of the role to be given to the user on
|
|
810
|
+
the specified entity.
|
|
809
811
|
"""
|
|
810
812
|
return pulumi.get(self, "role_id")
|
|
811
813
|
|
|
812
|
-
@property
|
|
814
|
+
@_builtins.property
|
|
813
815
|
@pulumi.getter(name="userOrGroup")
|
|
814
|
-
def user_or_group(self) -> str:
|
|
816
|
+
def user_or_group(self) -> _builtins.str:
|
|
815
817
|
"""
|
|
816
818
|
The user/group getting the permission.
|
|
817
819
|
"""
|
|
@@ -852,23 +854,23 @@ class GuestOsCustomizationSpec(dict):
|
|
|
852
854
|
return super().get(key, default)
|
|
853
855
|
|
|
854
856
|
def __init__(__self__, *,
|
|
855
|
-
dns_server_lists: Optional[Sequence[str]] = None,
|
|
856
|
-
dns_suffix_lists: Optional[Sequence[str]] = None,
|
|
857
|
-
ipv4_gateway: Optional[str] = None,
|
|
858
|
-
ipv6_gateway: Optional[str] = None,
|
|
857
|
+
dns_server_lists: Optional[Sequence[_builtins.str]] = None,
|
|
858
|
+
dns_suffix_lists: Optional[Sequence[_builtins.str]] = None,
|
|
859
|
+
ipv4_gateway: Optional[_builtins.str] = None,
|
|
860
|
+
ipv6_gateway: Optional[_builtins.str] = None,
|
|
859
861
|
linux_options: Optional['outputs.GuestOsCustomizationSpecLinuxOptions'] = None,
|
|
860
862
|
network_interfaces: Optional[Sequence['outputs.GuestOsCustomizationSpecNetworkInterface']] = None,
|
|
861
863
|
windows_options: Optional['outputs.GuestOsCustomizationSpecWindowsOptions'] = None,
|
|
862
|
-
windows_sysprep_text: Optional[str] = None):
|
|
864
|
+
windows_sysprep_text: Optional[_builtins.str] = None):
|
|
863
865
|
"""
|
|
864
|
-
:param Sequence[str] dns_server_lists: The list of DNS servers for a virtual network adapter with a static IP address.
|
|
865
|
-
:param Sequence[str] dns_suffix_lists: A list of DNS search domains to add to the DNS configuration on the virtual machine.
|
|
866
|
-
:param str ipv4_gateway: The IPv4 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
867
|
-
:param str ipv6_gateway: The IPv6 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
866
|
+
:param Sequence[_builtins.str] dns_server_lists: The list of DNS servers for a virtual network adapter with a static IP address.
|
|
867
|
+
:param Sequence[_builtins.str] dns_suffix_lists: A list of DNS search domains to add to the DNS configuration on the virtual machine.
|
|
868
|
+
:param _builtins.str ipv4_gateway: The IPv4 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
869
|
+
:param _builtins.str ipv6_gateway: The IPv6 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
868
870
|
:param 'GuestOsCustomizationSpecLinuxOptionsArgs' linux_options: A list of configuration options specific to Linux virtual machines.
|
|
869
871
|
:param Sequence['GuestOsCustomizationSpecNetworkInterfaceArgs'] network_interfaces: A specification of network interface configuration options.
|
|
870
872
|
:param 'GuestOsCustomizationSpecWindowsOptionsArgs' windows_options: A list of configuration options specific to Windows virtual machines.
|
|
871
|
-
:param str windows_sysprep_text: Use this option to specify a windows sysprep file directly.
|
|
873
|
+
:param _builtins.str windows_sysprep_text: Use this option to specify a windows sysprep file directly.
|
|
872
874
|
"""
|
|
873
875
|
if dns_server_lists is not None:
|
|
874
876
|
pulumi.set(__self__, "dns_server_lists", dns_server_lists)
|
|
@@ -887,39 +889,39 @@ class GuestOsCustomizationSpec(dict):
|
|
|
887
889
|
if windows_sysprep_text is not None:
|
|
888
890
|
pulumi.set(__self__, "windows_sysprep_text", windows_sysprep_text)
|
|
889
891
|
|
|
890
|
-
@property
|
|
892
|
+
@_builtins.property
|
|
891
893
|
@pulumi.getter(name="dnsServerLists")
|
|
892
|
-
def dns_server_lists(self) -> Optional[Sequence[str]]:
|
|
894
|
+
def dns_server_lists(self) -> Optional[Sequence[_builtins.str]]:
|
|
893
895
|
"""
|
|
894
896
|
The list of DNS servers for a virtual network adapter with a static IP address.
|
|
895
897
|
"""
|
|
896
898
|
return pulumi.get(self, "dns_server_lists")
|
|
897
899
|
|
|
898
|
-
@property
|
|
900
|
+
@_builtins.property
|
|
899
901
|
@pulumi.getter(name="dnsSuffixLists")
|
|
900
|
-
def dns_suffix_lists(self) -> Optional[Sequence[str]]:
|
|
902
|
+
def dns_suffix_lists(self) -> Optional[Sequence[_builtins.str]]:
|
|
901
903
|
"""
|
|
902
904
|
A list of DNS search domains to add to the DNS configuration on the virtual machine.
|
|
903
905
|
"""
|
|
904
906
|
return pulumi.get(self, "dns_suffix_lists")
|
|
905
907
|
|
|
906
|
-
@property
|
|
908
|
+
@_builtins.property
|
|
907
909
|
@pulumi.getter(name="ipv4Gateway")
|
|
908
|
-
def ipv4_gateway(self) -> Optional[str]:
|
|
910
|
+
def ipv4_gateway(self) -> Optional[_builtins.str]:
|
|
909
911
|
"""
|
|
910
912
|
The IPv4 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
911
913
|
"""
|
|
912
914
|
return pulumi.get(self, "ipv4_gateway")
|
|
913
915
|
|
|
914
|
-
@property
|
|
916
|
+
@_builtins.property
|
|
915
917
|
@pulumi.getter(name="ipv6Gateway")
|
|
916
|
-
def ipv6_gateway(self) -> Optional[str]:
|
|
918
|
+
def ipv6_gateway(self) -> Optional[_builtins.str]:
|
|
917
919
|
"""
|
|
918
920
|
The IPv6 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
919
921
|
"""
|
|
920
922
|
return pulumi.get(self, "ipv6_gateway")
|
|
921
923
|
|
|
922
|
-
@property
|
|
924
|
+
@_builtins.property
|
|
923
925
|
@pulumi.getter(name="linuxOptions")
|
|
924
926
|
def linux_options(self) -> Optional['outputs.GuestOsCustomizationSpecLinuxOptions']:
|
|
925
927
|
"""
|
|
@@ -927,7 +929,7 @@ class GuestOsCustomizationSpec(dict):
|
|
|
927
929
|
"""
|
|
928
930
|
return pulumi.get(self, "linux_options")
|
|
929
931
|
|
|
930
|
-
@property
|
|
932
|
+
@_builtins.property
|
|
931
933
|
@pulumi.getter(name="networkInterfaces")
|
|
932
934
|
def network_interfaces(self) -> Optional[Sequence['outputs.GuestOsCustomizationSpecNetworkInterface']]:
|
|
933
935
|
"""
|
|
@@ -935,7 +937,7 @@ class GuestOsCustomizationSpec(dict):
|
|
|
935
937
|
"""
|
|
936
938
|
return pulumi.get(self, "network_interfaces")
|
|
937
939
|
|
|
938
|
-
@property
|
|
940
|
+
@_builtins.property
|
|
939
941
|
@pulumi.getter(name="windowsOptions")
|
|
940
942
|
def windows_options(self) -> Optional['outputs.GuestOsCustomizationSpecWindowsOptions']:
|
|
941
943
|
"""
|
|
@@ -943,9 +945,9 @@ class GuestOsCustomizationSpec(dict):
|
|
|
943
945
|
"""
|
|
944
946
|
return pulumi.get(self, "windows_options")
|
|
945
947
|
|
|
946
|
-
@property
|
|
948
|
+
@_builtins.property
|
|
947
949
|
@pulumi.getter(name="windowsSysprepText")
|
|
948
|
-
def windows_sysprep_text(self) -> Optional[str]:
|
|
950
|
+
def windows_sysprep_text(self) -> Optional[_builtins.str]:
|
|
949
951
|
"""
|
|
950
952
|
Use this option to specify a windows sysprep file directly.
|
|
951
953
|
"""
|
|
@@ -978,17 +980,17 @@ class GuestOsCustomizationSpecLinuxOptions(dict):
|
|
|
978
980
|
return super().get(key, default)
|
|
979
981
|
|
|
980
982
|
def __init__(__self__, *,
|
|
981
|
-
domain: str,
|
|
982
|
-
host_name: str,
|
|
983
|
-
hw_clock_utc: Optional[bool] = None,
|
|
984
|
-
script_text: Optional[str] = None,
|
|
985
|
-
time_zone: Optional[str] = None):
|
|
986
|
-
"""
|
|
987
|
-
:param str domain: The domain name for this virtual machine.
|
|
988
|
-
:param str host_name: The hostname for this virtual machine.
|
|
989
|
-
:param bool hw_clock_utc: Specifies whether or not the hardware clock should be in UTC or not.
|
|
990
|
-
:param str script_text: The customization script to run before and or after guest customization
|
|
991
|
-
:param str time_zone: Customize the time zone on the VM. This should be a time zone-style entry, like America/Los_Angeles.
|
|
983
|
+
domain: _builtins.str,
|
|
984
|
+
host_name: _builtins.str,
|
|
985
|
+
hw_clock_utc: Optional[_builtins.bool] = None,
|
|
986
|
+
script_text: Optional[_builtins.str] = None,
|
|
987
|
+
time_zone: Optional[_builtins.str] = None):
|
|
988
|
+
"""
|
|
989
|
+
:param _builtins.str domain: The domain name for this virtual machine.
|
|
990
|
+
:param _builtins.str host_name: The hostname for this virtual machine.
|
|
991
|
+
:param _builtins.bool hw_clock_utc: Specifies whether or not the hardware clock should be in UTC or not.
|
|
992
|
+
:param _builtins.str script_text: The customization script to run before and or after guest customization
|
|
993
|
+
:param _builtins.str time_zone: Customize the time zone on the VM. This should be a time zone-style entry, like America/Los_Angeles.
|
|
992
994
|
"""
|
|
993
995
|
pulumi.set(__self__, "domain", domain)
|
|
994
996
|
pulumi.set(__self__, "host_name", host_name)
|
|
@@ -999,41 +1001,41 @@ class GuestOsCustomizationSpecLinuxOptions(dict):
|
|
|
999
1001
|
if time_zone is not None:
|
|
1000
1002
|
pulumi.set(__self__, "time_zone", time_zone)
|
|
1001
1003
|
|
|
1002
|
-
@property
|
|
1004
|
+
@_builtins.property
|
|
1003
1005
|
@pulumi.getter
|
|
1004
|
-
def domain(self) -> str:
|
|
1006
|
+
def domain(self) -> _builtins.str:
|
|
1005
1007
|
"""
|
|
1006
1008
|
The domain name for this virtual machine.
|
|
1007
1009
|
"""
|
|
1008
1010
|
return pulumi.get(self, "domain")
|
|
1009
1011
|
|
|
1010
|
-
@property
|
|
1012
|
+
@_builtins.property
|
|
1011
1013
|
@pulumi.getter(name="hostName")
|
|
1012
|
-
def host_name(self) -> str:
|
|
1014
|
+
def host_name(self) -> _builtins.str:
|
|
1013
1015
|
"""
|
|
1014
1016
|
The hostname for this virtual machine.
|
|
1015
1017
|
"""
|
|
1016
1018
|
return pulumi.get(self, "host_name")
|
|
1017
1019
|
|
|
1018
|
-
@property
|
|
1020
|
+
@_builtins.property
|
|
1019
1021
|
@pulumi.getter(name="hwClockUtc")
|
|
1020
|
-
def hw_clock_utc(self) -> Optional[bool]:
|
|
1022
|
+
def hw_clock_utc(self) -> Optional[_builtins.bool]:
|
|
1021
1023
|
"""
|
|
1022
1024
|
Specifies whether or not the hardware clock should be in UTC or not.
|
|
1023
1025
|
"""
|
|
1024
1026
|
return pulumi.get(self, "hw_clock_utc")
|
|
1025
1027
|
|
|
1026
|
-
@property
|
|
1028
|
+
@_builtins.property
|
|
1027
1029
|
@pulumi.getter(name="scriptText")
|
|
1028
|
-
def script_text(self) -> Optional[str]:
|
|
1030
|
+
def script_text(self) -> Optional[_builtins.str]:
|
|
1029
1031
|
"""
|
|
1030
1032
|
The customization script to run before and or after guest customization
|
|
1031
1033
|
"""
|
|
1032
1034
|
return pulumi.get(self, "script_text")
|
|
1033
1035
|
|
|
1034
|
-
@property
|
|
1036
|
+
@_builtins.property
|
|
1035
1037
|
@pulumi.getter(name="timeZone")
|
|
1036
|
-
def time_zone(self) -> Optional[str]:
|
|
1038
|
+
def time_zone(self) -> Optional[_builtins.str]:
|
|
1037
1039
|
"""
|
|
1038
1040
|
Customize the time zone on the VM. This should be a time zone-style entry, like America/Los_Angeles.
|
|
1039
1041
|
"""
|
|
@@ -1070,19 +1072,19 @@ class GuestOsCustomizationSpecNetworkInterface(dict):
|
|
|
1070
1072
|
return super().get(key, default)
|
|
1071
1073
|
|
|
1072
1074
|
def __init__(__self__, *,
|
|
1073
|
-
dns_domain: Optional[str] = None,
|
|
1074
|
-
dns_server_lists: Optional[Sequence[str]] = None,
|
|
1075
|
-
ipv4_address: Optional[str] = None,
|
|
1076
|
-
ipv4_netmask: Optional[int] = None,
|
|
1077
|
-
ipv6_address: Optional[str] = None,
|
|
1078
|
-
ipv6_netmask: Optional[int] = None):
|
|
1079
|
-
"""
|
|
1080
|
-
:param str dns_domain: A DNS search domain to add to the DNS configuration on the virtual machine.
|
|
1081
|
-
:param Sequence[str] dns_server_lists: Network-interface specific DNS settings for Windows operating systems. Ignored on Linux.
|
|
1082
|
-
:param str ipv4_address: The IPv4 address assigned to this network adapter. If left blank, DHCP is used.
|
|
1083
|
-
:param int ipv4_netmask: The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected.
|
|
1084
|
-
:param str ipv6_address: The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used.
|
|
1085
|
-
:param int ipv6_netmask: The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected.
|
|
1075
|
+
dns_domain: Optional[_builtins.str] = None,
|
|
1076
|
+
dns_server_lists: Optional[Sequence[_builtins.str]] = None,
|
|
1077
|
+
ipv4_address: Optional[_builtins.str] = None,
|
|
1078
|
+
ipv4_netmask: Optional[_builtins.int] = None,
|
|
1079
|
+
ipv6_address: Optional[_builtins.str] = None,
|
|
1080
|
+
ipv6_netmask: Optional[_builtins.int] = None):
|
|
1081
|
+
"""
|
|
1082
|
+
:param _builtins.str dns_domain: A DNS search domain to add to the DNS configuration on the virtual machine.
|
|
1083
|
+
:param Sequence[_builtins.str] dns_server_lists: Network-interface specific DNS settings for Windows operating systems. Ignored on Linux.
|
|
1084
|
+
:param _builtins.str ipv4_address: The IPv4 address assigned to this network adapter. If left blank, DHCP is used.
|
|
1085
|
+
:param _builtins.int ipv4_netmask: The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected.
|
|
1086
|
+
:param _builtins.str ipv6_address: The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used.
|
|
1087
|
+
:param _builtins.int ipv6_netmask: The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected.
|
|
1086
1088
|
"""
|
|
1087
1089
|
if dns_domain is not None:
|
|
1088
1090
|
pulumi.set(__self__, "dns_domain", dns_domain)
|
|
@@ -1097,49 +1099,49 @@ class GuestOsCustomizationSpecNetworkInterface(dict):
|
|
|
1097
1099
|
if ipv6_netmask is not None:
|
|
1098
1100
|
pulumi.set(__self__, "ipv6_netmask", ipv6_netmask)
|
|
1099
1101
|
|
|
1100
|
-
@property
|
|
1102
|
+
@_builtins.property
|
|
1101
1103
|
@pulumi.getter(name="dnsDomain")
|
|
1102
|
-
def dns_domain(self) -> Optional[str]:
|
|
1104
|
+
def dns_domain(self) -> Optional[_builtins.str]:
|
|
1103
1105
|
"""
|
|
1104
1106
|
A DNS search domain to add to the DNS configuration on the virtual machine.
|
|
1105
1107
|
"""
|
|
1106
1108
|
return pulumi.get(self, "dns_domain")
|
|
1107
1109
|
|
|
1108
|
-
@property
|
|
1110
|
+
@_builtins.property
|
|
1109
1111
|
@pulumi.getter(name="dnsServerLists")
|
|
1110
|
-
def dns_server_lists(self) -> Optional[Sequence[str]]:
|
|
1112
|
+
def dns_server_lists(self) -> Optional[Sequence[_builtins.str]]:
|
|
1111
1113
|
"""
|
|
1112
1114
|
Network-interface specific DNS settings for Windows operating systems. Ignored on Linux.
|
|
1113
1115
|
"""
|
|
1114
1116
|
return pulumi.get(self, "dns_server_lists")
|
|
1115
1117
|
|
|
1116
|
-
@property
|
|
1118
|
+
@_builtins.property
|
|
1117
1119
|
@pulumi.getter(name="ipv4Address")
|
|
1118
|
-
def ipv4_address(self) -> Optional[str]:
|
|
1120
|
+
def ipv4_address(self) -> Optional[_builtins.str]:
|
|
1119
1121
|
"""
|
|
1120
1122
|
The IPv4 address assigned to this network adapter. If left blank, DHCP is used.
|
|
1121
1123
|
"""
|
|
1122
1124
|
return pulumi.get(self, "ipv4_address")
|
|
1123
1125
|
|
|
1124
|
-
@property
|
|
1126
|
+
@_builtins.property
|
|
1125
1127
|
@pulumi.getter(name="ipv4Netmask")
|
|
1126
|
-
def ipv4_netmask(self) -> Optional[int]:
|
|
1128
|
+
def ipv4_netmask(self) -> Optional[_builtins.int]:
|
|
1127
1129
|
"""
|
|
1128
1130
|
The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected.
|
|
1129
1131
|
"""
|
|
1130
1132
|
return pulumi.get(self, "ipv4_netmask")
|
|
1131
1133
|
|
|
1132
|
-
@property
|
|
1134
|
+
@_builtins.property
|
|
1133
1135
|
@pulumi.getter(name="ipv6Address")
|
|
1134
|
-
def ipv6_address(self) -> Optional[str]:
|
|
1136
|
+
def ipv6_address(self) -> Optional[_builtins.str]:
|
|
1135
1137
|
"""
|
|
1136
1138
|
The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used.
|
|
1137
1139
|
"""
|
|
1138
1140
|
return pulumi.get(self, "ipv6_address")
|
|
1139
1141
|
|
|
1140
|
-
@property
|
|
1142
|
+
@_builtins.property
|
|
1141
1143
|
@pulumi.getter(name="ipv6Netmask")
|
|
1142
|
-
def ipv6_netmask(self) -> Optional[int]:
|
|
1144
|
+
def ipv6_netmask(self) -> Optional[_builtins.int]:
|
|
1143
1145
|
"""
|
|
1144
1146
|
The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected.
|
|
1145
1147
|
"""
|
|
@@ -1163,6 +1165,8 @@ class GuestOsCustomizationSpecWindowsOptions(dict):
|
|
|
1163
1165
|
suggest = "domain_admin_password"
|
|
1164
1166
|
elif key == "domainAdminUser":
|
|
1165
1167
|
suggest = "domain_admin_user"
|
|
1168
|
+
elif key == "domainOu":
|
|
1169
|
+
suggest = "domain_ou"
|
|
1166
1170
|
elif key == "fullName":
|
|
1167
1171
|
suggest = "full_name"
|
|
1168
1172
|
elif key == "joinDomain":
|
|
@@ -1188,33 +1192,35 @@ class GuestOsCustomizationSpecWindowsOptions(dict):
|
|
|
1188
1192
|
return super().get(key, default)
|
|
1189
1193
|
|
|
1190
1194
|
def __init__(__self__, *,
|
|
1191
|
-
computer_name: str,
|
|
1192
|
-
admin_password: Optional[str] = None,
|
|
1193
|
-
auto_logon: Optional[bool] = None,
|
|
1194
|
-
auto_logon_count: Optional[int] = None,
|
|
1195
|
-
domain_admin_password: Optional[str] = None,
|
|
1196
|
-
domain_admin_user: Optional[str] = None,
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
:param str
|
|
1207
|
-
:param
|
|
1208
|
-
:param
|
|
1209
|
-
:param
|
|
1210
|
-
:param str
|
|
1211
|
-
:param str
|
|
1212
|
-
:param str
|
|
1213
|
-
:param str
|
|
1214
|
-
:param str
|
|
1215
|
-
:param
|
|
1216
|
-
:param
|
|
1217
|
-
:param str
|
|
1195
|
+
computer_name: _builtins.str,
|
|
1196
|
+
admin_password: Optional[_builtins.str] = None,
|
|
1197
|
+
auto_logon: Optional[_builtins.bool] = None,
|
|
1198
|
+
auto_logon_count: Optional[_builtins.int] = None,
|
|
1199
|
+
domain_admin_password: Optional[_builtins.str] = None,
|
|
1200
|
+
domain_admin_user: Optional[_builtins.str] = None,
|
|
1201
|
+
domain_ou: Optional[_builtins.str] = None,
|
|
1202
|
+
full_name: Optional[_builtins.str] = None,
|
|
1203
|
+
join_domain: Optional[_builtins.str] = None,
|
|
1204
|
+
organization_name: Optional[_builtins.str] = None,
|
|
1205
|
+
product_key: Optional[_builtins.str] = None,
|
|
1206
|
+
run_once_command_lists: Optional[Sequence[_builtins.str]] = None,
|
|
1207
|
+
time_zone: Optional[_builtins.int] = None,
|
|
1208
|
+
workgroup: Optional[_builtins.str] = None):
|
|
1209
|
+
"""
|
|
1210
|
+
:param _builtins.str computer_name: The host name for this virtual machine.
|
|
1211
|
+
:param _builtins.str admin_password: The new administrator password for this virtual machine.
|
|
1212
|
+
:param _builtins.bool auto_logon: Specifies whether or not the VM automatically logs on as Administrator.
|
|
1213
|
+
:param _builtins.int auto_logon_count: Specifies how many times the VM should auto-logon the Administrator account when auto_logon is true.
|
|
1214
|
+
:param _builtins.str domain_admin_password: The password of the domain administrator used to join this virtual machine to the domain.
|
|
1215
|
+
:param _builtins.str domain_admin_user: The user account of the domain administrator used to join this virtual machine to the domain.
|
|
1216
|
+
:param _builtins.str domain_ou: The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
1217
|
+
:param _builtins.str full_name: The full name of the user of this virtual machine.
|
|
1218
|
+
:param _builtins.str join_domain: The domain that the virtual machine should join.
|
|
1219
|
+
:param _builtins.str organization_name: The organization name this virtual machine is being installed for.
|
|
1220
|
+
:param _builtins.str product_key: The product key for this virtual machine.
|
|
1221
|
+
:param Sequence[_builtins.str] run_once_command_lists: A list of commands to run at first user logon, after guest customization.
|
|
1222
|
+
:param _builtins.int time_zone: The new time zone for the virtual machine. This is a sysprep-dictated timezone code.
|
|
1223
|
+
:param _builtins.str workgroup: The workgroup for this virtual machine if not joining a domain.
|
|
1218
1224
|
"""
|
|
1219
1225
|
pulumi.set(__self__, "computer_name", computer_name)
|
|
1220
1226
|
if admin_password is not None:
|
|
@@ -1227,6 +1233,8 @@ class GuestOsCustomizationSpecWindowsOptions(dict):
|
|
|
1227
1233
|
pulumi.set(__self__, "domain_admin_password", domain_admin_password)
|
|
1228
1234
|
if domain_admin_user is not None:
|
|
1229
1235
|
pulumi.set(__self__, "domain_admin_user", domain_admin_user)
|
|
1236
|
+
if domain_ou is not None:
|
|
1237
|
+
pulumi.set(__self__, "domain_ou", domain_ou)
|
|
1230
1238
|
if full_name is not None:
|
|
1231
1239
|
pulumi.set(__self__, "full_name", full_name)
|
|
1232
1240
|
if join_domain is not None:
|
|
@@ -1242,105 +1250,113 @@ class GuestOsCustomizationSpecWindowsOptions(dict):
|
|
|
1242
1250
|
if workgroup is not None:
|
|
1243
1251
|
pulumi.set(__self__, "workgroup", workgroup)
|
|
1244
1252
|
|
|
1245
|
-
@property
|
|
1253
|
+
@_builtins.property
|
|
1246
1254
|
@pulumi.getter(name="computerName")
|
|
1247
|
-
def computer_name(self) -> str:
|
|
1255
|
+
def computer_name(self) -> _builtins.str:
|
|
1248
1256
|
"""
|
|
1249
1257
|
The host name for this virtual machine.
|
|
1250
1258
|
"""
|
|
1251
1259
|
return pulumi.get(self, "computer_name")
|
|
1252
1260
|
|
|
1253
|
-
@property
|
|
1261
|
+
@_builtins.property
|
|
1254
1262
|
@pulumi.getter(name="adminPassword")
|
|
1255
|
-
def admin_password(self) -> Optional[str]:
|
|
1263
|
+
def admin_password(self) -> Optional[_builtins.str]:
|
|
1256
1264
|
"""
|
|
1257
1265
|
The new administrator password for this virtual machine.
|
|
1258
1266
|
"""
|
|
1259
1267
|
return pulumi.get(self, "admin_password")
|
|
1260
1268
|
|
|
1261
|
-
@property
|
|
1269
|
+
@_builtins.property
|
|
1262
1270
|
@pulumi.getter(name="autoLogon")
|
|
1263
|
-
def auto_logon(self) -> Optional[bool]:
|
|
1271
|
+
def auto_logon(self) -> Optional[_builtins.bool]:
|
|
1264
1272
|
"""
|
|
1265
1273
|
Specifies whether or not the VM automatically logs on as Administrator.
|
|
1266
1274
|
"""
|
|
1267
1275
|
return pulumi.get(self, "auto_logon")
|
|
1268
1276
|
|
|
1269
|
-
@property
|
|
1277
|
+
@_builtins.property
|
|
1270
1278
|
@pulumi.getter(name="autoLogonCount")
|
|
1271
|
-
def auto_logon_count(self) -> Optional[int]:
|
|
1279
|
+
def auto_logon_count(self) -> Optional[_builtins.int]:
|
|
1272
1280
|
"""
|
|
1273
1281
|
Specifies how many times the VM should auto-logon the Administrator account when auto_logon is true.
|
|
1274
1282
|
"""
|
|
1275
1283
|
return pulumi.get(self, "auto_logon_count")
|
|
1276
1284
|
|
|
1277
|
-
@property
|
|
1285
|
+
@_builtins.property
|
|
1278
1286
|
@pulumi.getter(name="domainAdminPassword")
|
|
1279
|
-
def domain_admin_password(self) -> Optional[str]:
|
|
1287
|
+
def domain_admin_password(self) -> Optional[_builtins.str]:
|
|
1280
1288
|
"""
|
|
1281
1289
|
The password of the domain administrator used to join this virtual machine to the domain.
|
|
1282
1290
|
"""
|
|
1283
1291
|
return pulumi.get(self, "domain_admin_password")
|
|
1284
1292
|
|
|
1285
|
-
@property
|
|
1293
|
+
@_builtins.property
|
|
1286
1294
|
@pulumi.getter(name="domainAdminUser")
|
|
1287
|
-
def domain_admin_user(self) -> Optional[str]:
|
|
1295
|
+
def domain_admin_user(self) -> Optional[_builtins.str]:
|
|
1288
1296
|
"""
|
|
1289
1297
|
The user account of the domain administrator used to join this virtual machine to the domain.
|
|
1290
1298
|
"""
|
|
1291
1299
|
return pulumi.get(self, "domain_admin_user")
|
|
1292
1300
|
|
|
1293
|
-
@property
|
|
1301
|
+
@_builtins.property
|
|
1302
|
+
@pulumi.getter(name="domainOu")
|
|
1303
|
+
def domain_ou(self) -> Optional[_builtins.str]:
|
|
1304
|
+
"""
|
|
1305
|
+
The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
1306
|
+
"""
|
|
1307
|
+
return pulumi.get(self, "domain_ou")
|
|
1308
|
+
|
|
1309
|
+
@_builtins.property
|
|
1294
1310
|
@pulumi.getter(name="fullName")
|
|
1295
|
-
def full_name(self) -> Optional[str]:
|
|
1311
|
+
def full_name(self) -> Optional[_builtins.str]:
|
|
1296
1312
|
"""
|
|
1297
1313
|
The full name of the user of this virtual machine.
|
|
1298
1314
|
"""
|
|
1299
1315
|
return pulumi.get(self, "full_name")
|
|
1300
1316
|
|
|
1301
|
-
@property
|
|
1317
|
+
@_builtins.property
|
|
1302
1318
|
@pulumi.getter(name="joinDomain")
|
|
1303
|
-
def join_domain(self) -> Optional[str]:
|
|
1319
|
+
def join_domain(self) -> Optional[_builtins.str]:
|
|
1304
1320
|
"""
|
|
1305
1321
|
The domain that the virtual machine should join.
|
|
1306
1322
|
"""
|
|
1307
1323
|
return pulumi.get(self, "join_domain")
|
|
1308
1324
|
|
|
1309
|
-
@property
|
|
1325
|
+
@_builtins.property
|
|
1310
1326
|
@pulumi.getter(name="organizationName")
|
|
1311
|
-
def organization_name(self) -> Optional[str]:
|
|
1327
|
+
def organization_name(self) -> Optional[_builtins.str]:
|
|
1312
1328
|
"""
|
|
1313
1329
|
The organization name this virtual machine is being installed for.
|
|
1314
1330
|
"""
|
|
1315
1331
|
return pulumi.get(self, "organization_name")
|
|
1316
1332
|
|
|
1317
|
-
@property
|
|
1333
|
+
@_builtins.property
|
|
1318
1334
|
@pulumi.getter(name="productKey")
|
|
1319
|
-
def product_key(self) -> Optional[str]:
|
|
1335
|
+
def product_key(self) -> Optional[_builtins.str]:
|
|
1320
1336
|
"""
|
|
1321
1337
|
The product key for this virtual machine.
|
|
1322
1338
|
"""
|
|
1323
1339
|
return pulumi.get(self, "product_key")
|
|
1324
1340
|
|
|
1325
|
-
@property
|
|
1341
|
+
@_builtins.property
|
|
1326
1342
|
@pulumi.getter(name="runOnceCommandLists")
|
|
1327
|
-
def run_once_command_lists(self) -> Optional[Sequence[str]]:
|
|
1343
|
+
def run_once_command_lists(self) -> Optional[Sequence[_builtins.str]]:
|
|
1328
1344
|
"""
|
|
1329
1345
|
A list of commands to run at first user logon, after guest customization.
|
|
1330
1346
|
"""
|
|
1331
1347
|
return pulumi.get(self, "run_once_command_lists")
|
|
1332
1348
|
|
|
1333
|
-
@property
|
|
1349
|
+
@_builtins.property
|
|
1334
1350
|
@pulumi.getter(name="timeZone")
|
|
1335
|
-
def time_zone(self) -> Optional[int]:
|
|
1351
|
+
def time_zone(self) -> Optional[_builtins.int]:
|
|
1336
1352
|
"""
|
|
1337
1353
|
The new time zone for the virtual machine. This is a sysprep-dictated timezone code.
|
|
1338
1354
|
"""
|
|
1339
1355
|
return pulumi.get(self, "time_zone")
|
|
1340
1356
|
|
|
1341
|
-
@property
|
|
1357
|
+
@_builtins.property
|
|
1342
1358
|
@pulumi.getter
|
|
1343
|
-
def workgroup(self) -> Optional[str]:
|
|
1359
|
+
def workgroup(self) -> Optional[_builtins.str]:
|
|
1344
1360
|
"""
|
|
1345
1361
|
The workgroup for this virtual machine if not joining a domain.
|
|
1346
1362
|
"""
|
|
@@ -1367,13 +1383,13 @@ class HostPortGroupPort(dict):
|
|
|
1367
1383
|
return super().get(key, default)
|
|
1368
1384
|
|
|
1369
1385
|
def __init__(__self__, *,
|
|
1370
|
-
key: Optional[str] = None,
|
|
1371
|
-
mac_addresses: Optional[Sequence[str]] = None,
|
|
1372
|
-
type: Optional[str] = None):
|
|
1386
|
+
key: Optional[_builtins.str] = None,
|
|
1387
|
+
mac_addresses: Optional[Sequence[_builtins.str]] = None,
|
|
1388
|
+
type: Optional[_builtins.str] = None):
|
|
1373
1389
|
"""
|
|
1374
|
-
:param str key: The key for this port group as returned from the vSphere API.
|
|
1375
|
-
:param Sequence[str] mac_addresses: The MAC addresses of the network service of the virtual machine connected on this port.
|
|
1376
|
-
:param str type: Type type of the entity connected on this port. Possible values are host (VMKkernel), systemManagement (service console), virtualMachine, or unknown.
|
|
1390
|
+
:param _builtins.str key: The key for this port group as returned from the vSphere API.
|
|
1391
|
+
:param Sequence[_builtins.str] mac_addresses: The MAC addresses of the network service of the virtual machine connected on this port.
|
|
1392
|
+
:param _builtins.str type: Type type of the entity connected on this port. Possible values are host (VMKkernel), systemManagement (service console), virtualMachine, or unknown.
|
|
1377
1393
|
"""
|
|
1378
1394
|
if key is not None:
|
|
1379
1395
|
pulumi.set(__self__, "key", key)
|
|
@@ -1382,31 +1398,430 @@ class HostPortGroupPort(dict):
|
|
|
1382
1398
|
if type is not None:
|
|
1383
1399
|
pulumi.set(__self__, "type", type)
|
|
1384
1400
|
|
|
1385
|
-
@property
|
|
1401
|
+
@_builtins.property
|
|
1386
1402
|
@pulumi.getter
|
|
1387
|
-
def key(self) -> Optional[str]:
|
|
1403
|
+
def key(self) -> Optional[_builtins.str]:
|
|
1388
1404
|
"""
|
|
1389
1405
|
The key for this port group as returned from the vSphere API.
|
|
1390
1406
|
"""
|
|
1391
1407
|
return pulumi.get(self, "key")
|
|
1392
1408
|
|
|
1393
|
-
@property
|
|
1409
|
+
@_builtins.property
|
|
1394
1410
|
@pulumi.getter(name="macAddresses")
|
|
1395
|
-
def mac_addresses(self) -> Optional[Sequence[str]]:
|
|
1411
|
+
def mac_addresses(self) -> Optional[Sequence[_builtins.str]]:
|
|
1396
1412
|
"""
|
|
1397
1413
|
The MAC addresses of the network service of the virtual machine connected on this port.
|
|
1398
1414
|
"""
|
|
1399
1415
|
return pulumi.get(self, "mac_addresses")
|
|
1400
1416
|
|
|
1401
|
-
@property
|
|
1417
|
+
@_builtins.property
|
|
1402
1418
|
@pulumi.getter
|
|
1403
|
-
def type(self) -> Optional[str]:
|
|
1419
|
+
def type(self) -> Optional[_builtins.str]:
|
|
1404
1420
|
"""
|
|
1405
1421
|
Type type of the entity connected on this port. Possible values are host (VMKkernel), systemManagement (service console), virtualMachine, or unknown.
|
|
1406
1422
|
"""
|
|
1407
1423
|
return pulumi.get(self, "type")
|
|
1408
1424
|
|
|
1409
1425
|
|
|
1426
|
+
@pulumi.output_type
|
|
1427
|
+
class HostService(dict):
|
|
1428
|
+
def __init__(__self__, *,
|
|
1429
|
+
ntpd: Optional['outputs.HostServiceNtpd'] = None):
|
|
1430
|
+
"""
|
|
1431
|
+
:param 'HostServiceNtpdArgs' ntpd: service has three settings, `enabled` sets service to running or not running, `policy` sets service based on setting of `on` which sets service to "Start and stop with host", `off` which sets service to "Start and stop manually", `automatic` which sets service to "Start and stop with port usage".
|
|
1432
|
+
|
|
1433
|
+
> **NOTE:** `services` only supports ntpd service today.
|
|
1434
|
+
"""
|
|
1435
|
+
if ntpd is not None:
|
|
1436
|
+
pulumi.set(__self__, "ntpd", ntpd)
|
|
1437
|
+
|
|
1438
|
+
@_builtins.property
|
|
1439
|
+
@pulumi.getter
|
|
1440
|
+
def ntpd(self) -> Optional['outputs.HostServiceNtpd']:
|
|
1441
|
+
"""
|
|
1442
|
+
service has three settings, `enabled` sets service to running or not running, `policy` sets service based on setting of `on` which sets service to "Start and stop with host", `off` which sets service to "Start and stop manually", `automatic` which sets service to "Start and stop with port usage".
|
|
1443
|
+
|
|
1444
|
+
> **NOTE:** `services` only supports ntpd service today.
|
|
1445
|
+
"""
|
|
1446
|
+
return pulumi.get(self, "ntpd")
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
@pulumi.output_type
|
|
1450
|
+
class HostServiceNtpd(dict):
|
|
1451
|
+
@staticmethod
|
|
1452
|
+
def __key_warning(key: str):
|
|
1453
|
+
suggest = None
|
|
1454
|
+
if key == "ntpServers":
|
|
1455
|
+
suggest = "ntp_servers"
|
|
1456
|
+
|
|
1457
|
+
if suggest:
|
|
1458
|
+
pulumi.log.warn(f"Key '{key}' not found in HostServiceNtpd. Access the value via the '{suggest}' property getter instead.")
|
|
1459
|
+
|
|
1460
|
+
def __getitem__(self, key: str) -> Any:
|
|
1461
|
+
HostServiceNtpd.__key_warning(key)
|
|
1462
|
+
return super().__getitem__(key)
|
|
1463
|
+
|
|
1464
|
+
def get(self, key: str, default = None) -> Any:
|
|
1465
|
+
HostServiceNtpd.__key_warning(key)
|
|
1466
|
+
return super().get(key, default)
|
|
1467
|
+
|
|
1468
|
+
def __init__(__self__, *,
|
|
1469
|
+
enabled: Optional[_builtins.bool] = None,
|
|
1470
|
+
ntp_servers: Optional[Sequence[_builtins.str]] = None,
|
|
1471
|
+
policy: Optional[_builtins.str] = None):
|
|
1472
|
+
"""
|
|
1473
|
+
:param _builtins.bool enabled: Whether the NTP service is enabled. Default is false.
|
|
1474
|
+
:param _builtins.str policy: The policy for the NTP service. Valid values are 'Start and stop with host', 'Start and stop manually', 'Start and stop with port usage'.
|
|
1475
|
+
"""
|
|
1476
|
+
if enabled is not None:
|
|
1477
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
1478
|
+
if ntp_servers is not None:
|
|
1479
|
+
pulumi.set(__self__, "ntp_servers", ntp_servers)
|
|
1480
|
+
if policy is not None:
|
|
1481
|
+
pulumi.set(__self__, "policy", policy)
|
|
1482
|
+
|
|
1483
|
+
@_builtins.property
|
|
1484
|
+
@pulumi.getter
|
|
1485
|
+
def enabled(self) -> Optional[_builtins.bool]:
|
|
1486
|
+
"""
|
|
1487
|
+
Whether the NTP service is enabled. Default is false.
|
|
1488
|
+
"""
|
|
1489
|
+
return pulumi.get(self, "enabled")
|
|
1490
|
+
|
|
1491
|
+
@_builtins.property
|
|
1492
|
+
@pulumi.getter(name="ntpServers")
|
|
1493
|
+
def ntp_servers(self) -> Optional[Sequence[_builtins.str]]:
|
|
1494
|
+
return pulumi.get(self, "ntp_servers")
|
|
1495
|
+
|
|
1496
|
+
@_builtins.property
|
|
1497
|
+
@pulumi.getter
|
|
1498
|
+
def policy(self) -> Optional[_builtins.str]:
|
|
1499
|
+
"""
|
|
1500
|
+
The policy for the NTP service. Valid values are 'Start and stop with host', 'Start and stop manually', 'Start and stop with port usage'.
|
|
1501
|
+
"""
|
|
1502
|
+
return pulumi.get(self, "policy")
|
|
1503
|
+
|
|
1504
|
+
|
|
1505
|
+
@pulumi.output_type
|
|
1506
|
+
class OfflineSoftwareDepotComponent(dict):
|
|
1507
|
+
@staticmethod
|
|
1508
|
+
def __key_warning(key: str):
|
|
1509
|
+
suggest = None
|
|
1510
|
+
if key == "displayName":
|
|
1511
|
+
suggest = "display_name"
|
|
1512
|
+
|
|
1513
|
+
if suggest:
|
|
1514
|
+
pulumi.log.warn(f"Key '{key}' not found in OfflineSoftwareDepotComponent. Access the value via the '{suggest}' property getter instead.")
|
|
1515
|
+
|
|
1516
|
+
def __getitem__(self, key: str) -> Any:
|
|
1517
|
+
OfflineSoftwareDepotComponent.__key_warning(key)
|
|
1518
|
+
return super().__getitem__(key)
|
|
1519
|
+
|
|
1520
|
+
def get(self, key: str, default = None) -> Any:
|
|
1521
|
+
OfflineSoftwareDepotComponent.__key_warning(key)
|
|
1522
|
+
return super().get(key, default)
|
|
1523
|
+
|
|
1524
|
+
def __init__(__self__, *,
|
|
1525
|
+
display_name: Optional[_builtins.str] = None,
|
|
1526
|
+
key: Optional[_builtins.str] = None,
|
|
1527
|
+
versions: Optional[Sequence[_builtins.str]] = None):
|
|
1528
|
+
"""
|
|
1529
|
+
:param _builtins.str display_name: The name of the component. Useful for easier identification.
|
|
1530
|
+
:param _builtins.str key: The identifier of the component.
|
|
1531
|
+
:param Sequence[_builtins.str] versions: The list of available versions of the component.
|
|
1532
|
+
"""
|
|
1533
|
+
if display_name is not None:
|
|
1534
|
+
pulumi.set(__self__, "display_name", display_name)
|
|
1535
|
+
if key is not None:
|
|
1536
|
+
pulumi.set(__self__, "key", key)
|
|
1537
|
+
if versions is not None:
|
|
1538
|
+
pulumi.set(__self__, "versions", versions)
|
|
1539
|
+
|
|
1540
|
+
@_builtins.property
|
|
1541
|
+
@pulumi.getter(name="displayName")
|
|
1542
|
+
def display_name(self) -> Optional[_builtins.str]:
|
|
1543
|
+
"""
|
|
1544
|
+
The name of the component. Useful for easier identification.
|
|
1545
|
+
"""
|
|
1546
|
+
return pulumi.get(self, "display_name")
|
|
1547
|
+
|
|
1548
|
+
@_builtins.property
|
|
1549
|
+
@pulumi.getter
|
|
1550
|
+
def key(self) -> Optional[_builtins.str]:
|
|
1551
|
+
"""
|
|
1552
|
+
The identifier of the component.
|
|
1553
|
+
"""
|
|
1554
|
+
return pulumi.get(self, "key")
|
|
1555
|
+
|
|
1556
|
+
@_builtins.property
|
|
1557
|
+
@pulumi.getter
|
|
1558
|
+
def versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
1559
|
+
"""
|
|
1560
|
+
The list of available versions of the component.
|
|
1561
|
+
"""
|
|
1562
|
+
return pulumi.get(self, "versions")
|
|
1563
|
+
|
|
1564
|
+
|
|
1565
|
+
@pulumi.output_type
|
|
1566
|
+
class SupervisorEgressCidr(dict):
|
|
1567
|
+
def __init__(__self__, *,
|
|
1568
|
+
address: _builtins.str,
|
|
1569
|
+
prefix: _builtins.int):
|
|
1570
|
+
"""
|
|
1571
|
+
:param _builtins.str address: Network address.
|
|
1572
|
+
:param _builtins.int prefix: Subnet prefix.
|
|
1573
|
+
"""
|
|
1574
|
+
pulumi.set(__self__, "address", address)
|
|
1575
|
+
pulumi.set(__self__, "prefix", prefix)
|
|
1576
|
+
|
|
1577
|
+
@_builtins.property
|
|
1578
|
+
@pulumi.getter
|
|
1579
|
+
def address(self) -> _builtins.str:
|
|
1580
|
+
"""
|
|
1581
|
+
Network address.
|
|
1582
|
+
"""
|
|
1583
|
+
return pulumi.get(self, "address")
|
|
1584
|
+
|
|
1585
|
+
@_builtins.property
|
|
1586
|
+
@pulumi.getter
|
|
1587
|
+
def prefix(self) -> _builtins.int:
|
|
1588
|
+
"""
|
|
1589
|
+
Subnet prefix.
|
|
1590
|
+
"""
|
|
1591
|
+
return pulumi.get(self, "prefix")
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
@pulumi.output_type
|
|
1595
|
+
class SupervisorIngressCidr(dict):
|
|
1596
|
+
def __init__(__self__, *,
|
|
1597
|
+
address: _builtins.str,
|
|
1598
|
+
prefix: _builtins.int):
|
|
1599
|
+
"""
|
|
1600
|
+
:param _builtins.str address: Network address.
|
|
1601
|
+
:param _builtins.int prefix: Subnet prefix.
|
|
1602
|
+
"""
|
|
1603
|
+
pulumi.set(__self__, "address", address)
|
|
1604
|
+
pulumi.set(__self__, "prefix", prefix)
|
|
1605
|
+
|
|
1606
|
+
@_builtins.property
|
|
1607
|
+
@pulumi.getter
|
|
1608
|
+
def address(self) -> _builtins.str:
|
|
1609
|
+
"""
|
|
1610
|
+
Network address.
|
|
1611
|
+
"""
|
|
1612
|
+
return pulumi.get(self, "address")
|
|
1613
|
+
|
|
1614
|
+
@_builtins.property
|
|
1615
|
+
@pulumi.getter
|
|
1616
|
+
def prefix(self) -> _builtins.int:
|
|
1617
|
+
"""
|
|
1618
|
+
Subnet prefix.
|
|
1619
|
+
"""
|
|
1620
|
+
return pulumi.get(self, "prefix")
|
|
1621
|
+
|
|
1622
|
+
|
|
1623
|
+
@pulumi.output_type
|
|
1624
|
+
class SupervisorManagementNetwork(dict):
|
|
1625
|
+
@staticmethod
|
|
1626
|
+
def __key_warning(key: str):
|
|
1627
|
+
suggest = None
|
|
1628
|
+
if key == "addressCount":
|
|
1629
|
+
suggest = "address_count"
|
|
1630
|
+
elif key == "startingAddress":
|
|
1631
|
+
suggest = "starting_address"
|
|
1632
|
+
elif key == "subnetMask":
|
|
1633
|
+
suggest = "subnet_mask"
|
|
1634
|
+
|
|
1635
|
+
if suggest:
|
|
1636
|
+
pulumi.log.warn(f"Key '{key}' not found in SupervisorManagementNetwork. Access the value via the '{suggest}' property getter instead.")
|
|
1637
|
+
|
|
1638
|
+
def __getitem__(self, key: str) -> Any:
|
|
1639
|
+
SupervisorManagementNetwork.__key_warning(key)
|
|
1640
|
+
return super().__getitem__(key)
|
|
1641
|
+
|
|
1642
|
+
def get(self, key: str, default = None) -> Any:
|
|
1643
|
+
SupervisorManagementNetwork.__key_warning(key)
|
|
1644
|
+
return super().get(key, default)
|
|
1645
|
+
|
|
1646
|
+
def __init__(__self__, *,
|
|
1647
|
+
address_count: _builtins.int,
|
|
1648
|
+
gateway: _builtins.str,
|
|
1649
|
+
network: _builtins.str,
|
|
1650
|
+
starting_address: _builtins.str,
|
|
1651
|
+
subnet_mask: _builtins.str):
|
|
1652
|
+
"""
|
|
1653
|
+
:param _builtins.int address_count: Number of addresses to allocate. Starts from 'starting_address'
|
|
1654
|
+
:param _builtins.str gateway: Gateway IP address.
|
|
1655
|
+
:param _builtins.str network: ID of the network. (e.g. a distributed port group).
|
|
1656
|
+
:param _builtins.str starting_address: Starting address of the management network range.
|
|
1657
|
+
:param _builtins.str subnet_mask: Subnet mask.
|
|
1658
|
+
"""
|
|
1659
|
+
pulumi.set(__self__, "address_count", address_count)
|
|
1660
|
+
pulumi.set(__self__, "gateway", gateway)
|
|
1661
|
+
pulumi.set(__self__, "network", network)
|
|
1662
|
+
pulumi.set(__self__, "starting_address", starting_address)
|
|
1663
|
+
pulumi.set(__self__, "subnet_mask", subnet_mask)
|
|
1664
|
+
|
|
1665
|
+
@_builtins.property
|
|
1666
|
+
@pulumi.getter(name="addressCount")
|
|
1667
|
+
def address_count(self) -> _builtins.int:
|
|
1668
|
+
"""
|
|
1669
|
+
Number of addresses to allocate. Starts from 'starting_address'
|
|
1670
|
+
"""
|
|
1671
|
+
return pulumi.get(self, "address_count")
|
|
1672
|
+
|
|
1673
|
+
@_builtins.property
|
|
1674
|
+
@pulumi.getter
|
|
1675
|
+
def gateway(self) -> _builtins.str:
|
|
1676
|
+
"""
|
|
1677
|
+
Gateway IP address.
|
|
1678
|
+
"""
|
|
1679
|
+
return pulumi.get(self, "gateway")
|
|
1680
|
+
|
|
1681
|
+
@_builtins.property
|
|
1682
|
+
@pulumi.getter
|
|
1683
|
+
def network(self) -> _builtins.str:
|
|
1684
|
+
"""
|
|
1685
|
+
ID of the network. (e.g. a distributed port group).
|
|
1686
|
+
"""
|
|
1687
|
+
return pulumi.get(self, "network")
|
|
1688
|
+
|
|
1689
|
+
@_builtins.property
|
|
1690
|
+
@pulumi.getter(name="startingAddress")
|
|
1691
|
+
def starting_address(self) -> _builtins.str:
|
|
1692
|
+
"""
|
|
1693
|
+
Starting address of the management network range.
|
|
1694
|
+
"""
|
|
1695
|
+
return pulumi.get(self, "starting_address")
|
|
1696
|
+
|
|
1697
|
+
@_builtins.property
|
|
1698
|
+
@pulumi.getter(name="subnetMask")
|
|
1699
|
+
def subnet_mask(self) -> _builtins.str:
|
|
1700
|
+
"""
|
|
1701
|
+
Subnet mask.
|
|
1702
|
+
"""
|
|
1703
|
+
return pulumi.get(self, "subnet_mask")
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
@pulumi.output_type
|
|
1707
|
+
class SupervisorNamespace(dict):
|
|
1708
|
+
@staticmethod
|
|
1709
|
+
def __key_warning(key: str):
|
|
1710
|
+
suggest = None
|
|
1711
|
+
if key == "contentLibraries":
|
|
1712
|
+
suggest = "content_libraries"
|
|
1713
|
+
elif key == "vmClasses":
|
|
1714
|
+
suggest = "vm_classes"
|
|
1715
|
+
|
|
1716
|
+
if suggest:
|
|
1717
|
+
pulumi.log.warn(f"Key '{key}' not found in SupervisorNamespace. Access the value via the '{suggest}' property getter instead.")
|
|
1718
|
+
|
|
1719
|
+
def __getitem__(self, key: str) -> Any:
|
|
1720
|
+
SupervisorNamespace.__key_warning(key)
|
|
1721
|
+
return super().__getitem__(key)
|
|
1722
|
+
|
|
1723
|
+
def get(self, key: str, default = None) -> Any:
|
|
1724
|
+
SupervisorNamespace.__key_warning(key)
|
|
1725
|
+
return super().get(key, default)
|
|
1726
|
+
|
|
1727
|
+
def __init__(__self__, *,
|
|
1728
|
+
name: _builtins.str,
|
|
1729
|
+
content_libraries: Optional[Sequence[_builtins.str]] = None,
|
|
1730
|
+
vm_classes: Optional[Sequence[_builtins.str]] = None):
|
|
1731
|
+
"""
|
|
1732
|
+
:param _builtins.str name: The name of the namespace.
|
|
1733
|
+
:param Sequence[_builtins.str] content_libraries: A list of content libraries.
|
|
1734
|
+
:param Sequence[_builtins.str] vm_classes: A list of virtual machine classes.
|
|
1735
|
+
"""
|
|
1736
|
+
pulumi.set(__self__, "name", name)
|
|
1737
|
+
if content_libraries is not None:
|
|
1738
|
+
pulumi.set(__self__, "content_libraries", content_libraries)
|
|
1739
|
+
if vm_classes is not None:
|
|
1740
|
+
pulumi.set(__self__, "vm_classes", vm_classes)
|
|
1741
|
+
|
|
1742
|
+
@_builtins.property
|
|
1743
|
+
@pulumi.getter
|
|
1744
|
+
def name(self) -> _builtins.str:
|
|
1745
|
+
"""
|
|
1746
|
+
The name of the namespace.
|
|
1747
|
+
"""
|
|
1748
|
+
return pulumi.get(self, "name")
|
|
1749
|
+
|
|
1750
|
+
@_builtins.property
|
|
1751
|
+
@pulumi.getter(name="contentLibraries")
|
|
1752
|
+
def content_libraries(self) -> Optional[Sequence[_builtins.str]]:
|
|
1753
|
+
"""
|
|
1754
|
+
A list of content libraries.
|
|
1755
|
+
"""
|
|
1756
|
+
return pulumi.get(self, "content_libraries")
|
|
1757
|
+
|
|
1758
|
+
@_builtins.property
|
|
1759
|
+
@pulumi.getter(name="vmClasses")
|
|
1760
|
+
def vm_classes(self) -> Optional[Sequence[_builtins.str]]:
|
|
1761
|
+
"""
|
|
1762
|
+
A list of virtual machine classes.
|
|
1763
|
+
"""
|
|
1764
|
+
return pulumi.get(self, "vm_classes")
|
|
1765
|
+
|
|
1766
|
+
|
|
1767
|
+
@pulumi.output_type
|
|
1768
|
+
class SupervisorPodCidr(dict):
|
|
1769
|
+
def __init__(__self__, *,
|
|
1770
|
+
address: _builtins.str,
|
|
1771
|
+
prefix: _builtins.int):
|
|
1772
|
+
"""
|
|
1773
|
+
:param _builtins.str address: Network address.
|
|
1774
|
+
:param _builtins.int prefix: Subnet prefix.
|
|
1775
|
+
"""
|
|
1776
|
+
pulumi.set(__self__, "address", address)
|
|
1777
|
+
pulumi.set(__self__, "prefix", prefix)
|
|
1778
|
+
|
|
1779
|
+
@_builtins.property
|
|
1780
|
+
@pulumi.getter
|
|
1781
|
+
def address(self) -> _builtins.str:
|
|
1782
|
+
"""
|
|
1783
|
+
Network address.
|
|
1784
|
+
"""
|
|
1785
|
+
return pulumi.get(self, "address")
|
|
1786
|
+
|
|
1787
|
+
@_builtins.property
|
|
1788
|
+
@pulumi.getter
|
|
1789
|
+
def prefix(self) -> _builtins.int:
|
|
1790
|
+
"""
|
|
1791
|
+
Subnet prefix.
|
|
1792
|
+
"""
|
|
1793
|
+
return pulumi.get(self, "prefix")
|
|
1794
|
+
|
|
1795
|
+
|
|
1796
|
+
@pulumi.output_type
|
|
1797
|
+
class SupervisorServiceCidr(dict):
|
|
1798
|
+
def __init__(__self__, *,
|
|
1799
|
+
address: _builtins.str,
|
|
1800
|
+
prefix: _builtins.int):
|
|
1801
|
+
"""
|
|
1802
|
+
:param _builtins.str address: Network address.
|
|
1803
|
+
:param _builtins.int prefix: Subnet prefix.
|
|
1804
|
+
"""
|
|
1805
|
+
pulumi.set(__self__, "address", address)
|
|
1806
|
+
pulumi.set(__self__, "prefix", prefix)
|
|
1807
|
+
|
|
1808
|
+
@_builtins.property
|
|
1809
|
+
@pulumi.getter
|
|
1810
|
+
def address(self) -> _builtins.str:
|
|
1811
|
+
"""
|
|
1812
|
+
Network address.
|
|
1813
|
+
"""
|
|
1814
|
+
return pulumi.get(self, "address")
|
|
1815
|
+
|
|
1816
|
+
@_builtins.property
|
|
1817
|
+
@pulumi.getter
|
|
1818
|
+
def prefix(self) -> _builtins.int:
|
|
1819
|
+
"""
|
|
1820
|
+
Subnet prefix.
|
|
1821
|
+
"""
|
|
1822
|
+
return pulumi.get(self, "prefix")
|
|
1823
|
+
|
|
1824
|
+
|
|
1410
1825
|
@pulumi.output_type
|
|
1411
1826
|
class VirtualMachineCdrom(dict):
|
|
1412
1827
|
@staticmethod
|
|
@@ -1431,21 +1846,17 @@ class VirtualMachineCdrom(dict):
|
|
|
1431
1846
|
return super().get(key, default)
|
|
1432
1847
|
|
|
1433
1848
|
def __init__(__self__, *,
|
|
1434
|
-
client_device: Optional[bool] = None,
|
|
1435
|
-
datastore_id: Optional[str] = None,
|
|
1436
|
-
device_address: Optional[str] = None,
|
|
1437
|
-
key: Optional[int] = None,
|
|
1438
|
-
path: Optional[str] = None):
|
|
1439
|
-
"""
|
|
1440
|
-
:param bool client_device: Indicates whether the device should be
|
|
1441
|
-
:param str datastore_id: The datastore ID
|
|
1442
|
-
:param str device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
1443
|
-
:param int key: The ID of the device within the virtual machine.
|
|
1444
|
-
:param str path: The path to the ISO file
|
|
1445
|
-
|
|
1446
|
-
> **NOTE:** Either `client_device` (for a remote backed CD-ROM) or `datastore_id` and `path` (for a datastore ISO backed CD-ROM) are required to .
|
|
1447
|
-
|
|
1448
|
-
> **NOTE:** Some CD-ROM drive types are not supported by this resource, such as pass-through devices. If these drives are present in a cloned template, or added outside of the provider, the desired state will be corrected to the defined device, or removed if no `cdrom` block is present.
|
|
1849
|
+
client_device: Optional[_builtins.bool] = None,
|
|
1850
|
+
datastore_id: Optional[_builtins.str] = None,
|
|
1851
|
+
device_address: Optional[_builtins.str] = None,
|
|
1852
|
+
key: Optional[_builtins.int] = None,
|
|
1853
|
+
path: Optional[_builtins.str] = None):
|
|
1854
|
+
"""
|
|
1855
|
+
:param _builtins.bool client_device: Indicates whether the device should be mapped to a remote client device
|
|
1856
|
+
:param _builtins.str datastore_id: The datastore ID the ISO is located on.
|
|
1857
|
+
:param _builtins.str device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
1858
|
+
:param _builtins.int key: The ID of the device within the virtual machine.
|
|
1859
|
+
:param _builtins.str path: The path to the ISO file on the datastore.
|
|
1449
1860
|
"""
|
|
1450
1861
|
if client_device is not None:
|
|
1451
1862
|
pulumi.set(__self__, "client_device", client_device)
|
|
@@ -1458,47 +1869,43 @@ class VirtualMachineCdrom(dict):
|
|
|
1458
1869
|
if path is not None:
|
|
1459
1870
|
pulumi.set(__self__, "path", path)
|
|
1460
1871
|
|
|
1461
|
-
@property
|
|
1872
|
+
@_builtins.property
|
|
1462
1873
|
@pulumi.getter(name="clientDevice")
|
|
1463
|
-
def client_device(self) -> Optional[bool]:
|
|
1874
|
+
def client_device(self) -> Optional[_builtins.bool]:
|
|
1464
1875
|
"""
|
|
1465
|
-
Indicates whether the device should be
|
|
1876
|
+
Indicates whether the device should be mapped to a remote client device
|
|
1466
1877
|
"""
|
|
1467
1878
|
return pulumi.get(self, "client_device")
|
|
1468
1879
|
|
|
1469
|
-
@property
|
|
1880
|
+
@_builtins.property
|
|
1470
1881
|
@pulumi.getter(name="datastoreId")
|
|
1471
|
-
def datastore_id(self) -> Optional[str]:
|
|
1882
|
+
def datastore_id(self) -> Optional[_builtins.str]:
|
|
1472
1883
|
"""
|
|
1473
|
-
The datastore ID
|
|
1884
|
+
The datastore ID the ISO is located on.
|
|
1474
1885
|
"""
|
|
1475
1886
|
return pulumi.get(self, "datastore_id")
|
|
1476
1887
|
|
|
1477
|
-
@property
|
|
1888
|
+
@_builtins.property
|
|
1478
1889
|
@pulumi.getter(name="deviceAddress")
|
|
1479
|
-
def device_address(self) -> Optional[str]:
|
|
1890
|
+
def device_address(self) -> Optional[_builtins.str]:
|
|
1480
1891
|
"""
|
|
1481
1892
|
The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
1482
1893
|
"""
|
|
1483
1894
|
return pulumi.get(self, "device_address")
|
|
1484
1895
|
|
|
1485
|
-
@property
|
|
1896
|
+
@_builtins.property
|
|
1486
1897
|
@pulumi.getter
|
|
1487
|
-
def key(self) -> Optional[int]:
|
|
1898
|
+
def key(self) -> Optional[_builtins.int]:
|
|
1488
1899
|
"""
|
|
1489
1900
|
The ID of the device within the virtual machine.
|
|
1490
1901
|
"""
|
|
1491
1902
|
return pulumi.get(self, "key")
|
|
1492
1903
|
|
|
1493
|
-
@property
|
|
1904
|
+
@_builtins.property
|
|
1494
1905
|
@pulumi.getter
|
|
1495
|
-
def path(self) -> Optional[str]:
|
|
1906
|
+
def path(self) -> Optional[_builtins.str]:
|
|
1496
1907
|
"""
|
|
1497
|
-
The path to the ISO file
|
|
1498
|
-
|
|
1499
|
-
> **NOTE:** Either `client_device` (for a remote backed CD-ROM) or `datastore_id` and `path` (for a datastore ISO backed CD-ROM) are required to .
|
|
1500
|
-
|
|
1501
|
-
> **NOTE:** Some CD-ROM drive types are not supported by this resource, such as pass-through devices. If these drives are present in a cloned template, or added outside of the provider, the desired state will be corrected to the defined device, or removed if no `cdrom` block is present.
|
|
1908
|
+
The path to the ISO file on the datastore.
|
|
1502
1909
|
"""
|
|
1503
1910
|
return pulumi.get(self, "path")
|
|
1504
1911
|
|
|
@@ -1531,21 +1938,21 @@ class VirtualMachineClone(dict):
|
|
|
1531
1938
|
return super().get(key, default)
|
|
1532
1939
|
|
|
1533
1940
|
def __init__(__self__, *,
|
|
1534
|
-
template_uuid: str,
|
|
1941
|
+
template_uuid: _builtins.str,
|
|
1535
1942
|
customization_spec: Optional['outputs.VirtualMachineCloneCustomizationSpec'] = None,
|
|
1536
1943
|
customize: Optional['outputs.VirtualMachineCloneCustomize'] = None,
|
|
1537
|
-
linked_clone: Optional[bool] = None,
|
|
1538
|
-
ovf_network_map: Optional[Mapping[str, str]] = None,
|
|
1539
|
-
ovf_storage_map: Optional[Mapping[str, str]] = None,
|
|
1540
|
-
timeout: Optional[int] = None):
|
|
1944
|
+
linked_clone: Optional[_builtins.bool] = None,
|
|
1945
|
+
ovf_network_map: Optional[Mapping[str, _builtins.str]] = None,
|
|
1946
|
+
ovf_storage_map: Optional[Mapping[str, _builtins.str]] = None,
|
|
1947
|
+
timeout: Optional[_builtins.int] = None):
|
|
1541
1948
|
"""
|
|
1542
|
-
:param str template_uuid: The UUID of the source virtual machine or template.
|
|
1949
|
+
:param _builtins.str template_uuid: The UUID of the source virtual machine or template.
|
|
1543
1950
|
:param 'VirtualMachineCloneCustomizationSpecArgs' customization_spec: The customization specification for the virtual machine post-clone.
|
|
1544
1951
|
:param 'VirtualMachineCloneCustomizeArgs' customize: The customization specification for the virtual machine post-clone.
|
|
1545
|
-
:param bool linked_clone: Whether or not to create a linked clone when cloning. When this option is used, the source VM must have a single snapshot associated with it.
|
|
1546
|
-
:param Mapping[str, str] ovf_network_map: Mapping of ovf networks to the networks to use in vSphere.
|
|
1547
|
-
:param Mapping[str, str] ovf_storage_map: Mapping of ovf storage to the datastores to use in vSphere.
|
|
1548
|
-
:param int timeout: The timeout, in minutes, to wait for the virtual machine clone to complete.
|
|
1952
|
+
:param _builtins.bool linked_clone: Whether or not to create a linked clone when cloning. When this option is used, the source VM must have a single snapshot associated with it.
|
|
1953
|
+
:param Mapping[str, _builtins.str] ovf_network_map: Mapping of ovf networks to the networks to use in vSphere.
|
|
1954
|
+
:param Mapping[str, _builtins.str] ovf_storage_map: Mapping of ovf storage to the datastores to use in vSphere.
|
|
1955
|
+
:param _builtins.int timeout: The timeout, in minutes, to wait for the virtual machine clone to complete.
|
|
1549
1956
|
"""
|
|
1550
1957
|
pulumi.set(__self__, "template_uuid", template_uuid)
|
|
1551
1958
|
if customization_spec is not None:
|
|
@@ -1561,15 +1968,15 @@ class VirtualMachineClone(dict):
|
|
|
1561
1968
|
if timeout is not None:
|
|
1562
1969
|
pulumi.set(__self__, "timeout", timeout)
|
|
1563
1970
|
|
|
1564
|
-
@property
|
|
1971
|
+
@_builtins.property
|
|
1565
1972
|
@pulumi.getter(name="templateUuid")
|
|
1566
|
-
def template_uuid(self) -> str:
|
|
1973
|
+
def template_uuid(self) -> _builtins.str:
|
|
1567
1974
|
"""
|
|
1568
1975
|
The UUID of the source virtual machine or template.
|
|
1569
1976
|
"""
|
|
1570
1977
|
return pulumi.get(self, "template_uuid")
|
|
1571
1978
|
|
|
1572
|
-
@property
|
|
1979
|
+
@_builtins.property
|
|
1573
1980
|
@pulumi.getter(name="customizationSpec")
|
|
1574
1981
|
def customization_spec(self) -> Optional['outputs.VirtualMachineCloneCustomizationSpec']:
|
|
1575
1982
|
"""
|
|
@@ -1577,7 +1984,7 @@ class VirtualMachineClone(dict):
|
|
|
1577
1984
|
"""
|
|
1578
1985
|
return pulumi.get(self, "customization_spec")
|
|
1579
1986
|
|
|
1580
|
-
@property
|
|
1987
|
+
@_builtins.property
|
|
1581
1988
|
@pulumi.getter
|
|
1582
1989
|
def customize(self) -> Optional['outputs.VirtualMachineCloneCustomize']:
|
|
1583
1990
|
"""
|
|
@@ -1585,33 +1992,33 @@ class VirtualMachineClone(dict):
|
|
|
1585
1992
|
"""
|
|
1586
1993
|
return pulumi.get(self, "customize")
|
|
1587
1994
|
|
|
1588
|
-
@property
|
|
1995
|
+
@_builtins.property
|
|
1589
1996
|
@pulumi.getter(name="linkedClone")
|
|
1590
|
-
def linked_clone(self) -> Optional[bool]:
|
|
1997
|
+
def linked_clone(self) -> Optional[_builtins.bool]:
|
|
1591
1998
|
"""
|
|
1592
1999
|
Whether or not to create a linked clone when cloning. When this option is used, the source VM must have a single snapshot associated with it.
|
|
1593
2000
|
"""
|
|
1594
2001
|
return pulumi.get(self, "linked_clone")
|
|
1595
2002
|
|
|
1596
|
-
@property
|
|
2003
|
+
@_builtins.property
|
|
1597
2004
|
@pulumi.getter(name="ovfNetworkMap")
|
|
1598
|
-
def ovf_network_map(self) -> Optional[Mapping[str, str]]:
|
|
2005
|
+
def ovf_network_map(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
1599
2006
|
"""
|
|
1600
2007
|
Mapping of ovf networks to the networks to use in vSphere.
|
|
1601
2008
|
"""
|
|
1602
2009
|
return pulumi.get(self, "ovf_network_map")
|
|
1603
2010
|
|
|
1604
|
-
@property
|
|
2011
|
+
@_builtins.property
|
|
1605
2012
|
@pulumi.getter(name="ovfStorageMap")
|
|
1606
|
-
def ovf_storage_map(self) -> Optional[Mapping[str, str]]:
|
|
2013
|
+
def ovf_storage_map(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
1607
2014
|
"""
|
|
1608
2015
|
Mapping of ovf storage to the datastores to use in vSphere.
|
|
1609
2016
|
"""
|
|
1610
2017
|
return pulumi.get(self, "ovf_storage_map")
|
|
1611
2018
|
|
|
1612
|
-
@property
|
|
2019
|
+
@_builtins.property
|
|
1613
2020
|
@pulumi.getter
|
|
1614
|
-
def timeout(self) -> Optional[int]:
|
|
2021
|
+
def timeout(self) -> Optional[_builtins.int]:
|
|
1615
2022
|
"""
|
|
1616
2023
|
The timeout, in minutes, to wait for the virtual machine clone to complete.
|
|
1617
2024
|
"""
|
|
@@ -1621,27 +2028,27 @@ class VirtualMachineClone(dict):
|
|
|
1621
2028
|
@pulumi.output_type
|
|
1622
2029
|
class VirtualMachineCloneCustomizationSpec(dict):
|
|
1623
2030
|
def __init__(__self__, *,
|
|
1624
|
-
id: str,
|
|
1625
|
-
timeout: Optional[int] = None):
|
|
2031
|
+
id: _builtins.str,
|
|
2032
|
+
timeout: Optional[_builtins.int] = None):
|
|
1626
2033
|
"""
|
|
1627
|
-
:param str id: The UUID of the virtual machine.
|
|
1628
|
-
:param int timeout: The amount of time, in minutes, to wait for guest OS customization to complete before returning with an error. Setting this value to 0 or a negative value skips the waiter. Default: 10.
|
|
2034
|
+
:param _builtins.str id: The UUID of the virtual machine.
|
|
2035
|
+
:param _builtins.int timeout: The amount of time, in minutes, to wait for guest OS customization to complete before returning with an error. Setting this value to 0 or a negative value skips the waiter. Default: 10.
|
|
1629
2036
|
"""
|
|
1630
2037
|
pulumi.set(__self__, "id", id)
|
|
1631
2038
|
if timeout is not None:
|
|
1632
2039
|
pulumi.set(__self__, "timeout", timeout)
|
|
1633
2040
|
|
|
1634
|
-
@property
|
|
2041
|
+
@_builtins.property
|
|
1635
2042
|
@pulumi.getter
|
|
1636
|
-
def id(self) -> str:
|
|
2043
|
+
def id(self) -> _builtins.str:
|
|
1637
2044
|
"""
|
|
1638
2045
|
The UUID of the virtual machine.
|
|
1639
2046
|
"""
|
|
1640
2047
|
return pulumi.get(self, "id")
|
|
1641
2048
|
|
|
1642
|
-
@property
|
|
2049
|
+
@_builtins.property
|
|
1643
2050
|
@pulumi.getter
|
|
1644
|
-
def timeout(self) -> Optional[int]:
|
|
2051
|
+
def timeout(self) -> Optional[_builtins.int]:
|
|
1645
2052
|
"""
|
|
1646
2053
|
The amount of time, in minutes, to wait for guest OS customization to complete before returning with an error. Setting this value to 0 or a negative value skips the waiter. Default: 10.
|
|
1647
2054
|
"""
|
|
@@ -1682,25 +2089,25 @@ class VirtualMachineCloneCustomize(dict):
|
|
|
1682
2089
|
return super().get(key, default)
|
|
1683
2090
|
|
|
1684
2091
|
def __init__(__self__, *,
|
|
1685
|
-
dns_server_lists: Optional[Sequence[str]] = None,
|
|
1686
|
-
dns_suffix_lists: Optional[Sequence[str]] = None,
|
|
1687
|
-
ipv4_gateway: Optional[str] = None,
|
|
1688
|
-
ipv6_gateway: Optional[str] = None,
|
|
2092
|
+
dns_server_lists: Optional[Sequence[_builtins.str]] = None,
|
|
2093
|
+
dns_suffix_lists: Optional[Sequence[_builtins.str]] = None,
|
|
2094
|
+
ipv4_gateway: Optional[_builtins.str] = None,
|
|
2095
|
+
ipv6_gateway: Optional[_builtins.str] = None,
|
|
1689
2096
|
linux_options: Optional['outputs.VirtualMachineCloneCustomizeLinuxOptions'] = None,
|
|
1690
2097
|
network_interfaces: Optional[Sequence['outputs.VirtualMachineCloneCustomizeNetworkInterface']] = None,
|
|
1691
|
-
timeout: Optional[int] = None,
|
|
2098
|
+
timeout: Optional[_builtins.int] = None,
|
|
1692
2099
|
windows_options: Optional['outputs.VirtualMachineCloneCustomizeWindowsOptions'] = None,
|
|
1693
|
-
windows_sysprep_text: Optional[str] = None):
|
|
2100
|
+
windows_sysprep_text: Optional[_builtins.str] = None):
|
|
1694
2101
|
"""
|
|
1695
|
-
:param Sequence[str] dns_server_lists: The list of DNS servers for a virtual network adapter with a static IP address.
|
|
1696
|
-
:param Sequence[str] dns_suffix_lists: A list of DNS search domains to add to the DNS configuration on the virtual machine.
|
|
1697
|
-
:param str ipv4_gateway: The IPv4 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
1698
|
-
:param str ipv6_gateway: The IPv6 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
2102
|
+
:param Sequence[_builtins.str] dns_server_lists: The list of DNS servers for a virtual network adapter with a static IP address.
|
|
2103
|
+
:param Sequence[_builtins.str] dns_suffix_lists: A list of DNS search domains to add to the DNS configuration on the virtual machine.
|
|
2104
|
+
:param _builtins.str ipv4_gateway: The IPv4 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
2105
|
+
:param _builtins.str ipv6_gateway: The IPv6 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
1699
2106
|
:param 'VirtualMachineCloneCustomizeLinuxOptionsArgs' linux_options: A list of configuration options specific to Linux virtual machines.
|
|
1700
|
-
:param Sequence['VirtualMachineCloneCustomizeNetworkInterfaceArgs'] network_interfaces: A specification
|
|
1701
|
-
:param int timeout: The amount of time, in minutes, to wait for guest OS customization to complete before returning with an error. Setting this value to 0 or a negative value skips the waiter. Default: 10.
|
|
2107
|
+
:param Sequence['VirtualMachineCloneCustomizeNetworkInterfaceArgs'] network_interfaces: A specification of network interface configuration options.
|
|
2108
|
+
:param _builtins.int timeout: The amount of time, in minutes, to wait for guest OS customization to complete before returning with an error. Setting this value to 0 or a negative value skips the waiter. Default: 10.
|
|
1702
2109
|
:param 'VirtualMachineCloneCustomizeWindowsOptionsArgs' windows_options: A list of configuration options specific to Windows virtual machines.
|
|
1703
|
-
:param str windows_sysprep_text: Use this option to specify a windows sysprep file directly.
|
|
2110
|
+
:param _builtins.str windows_sysprep_text: Use this option to specify a windows sysprep file directly.
|
|
1704
2111
|
"""
|
|
1705
2112
|
if dns_server_lists is not None:
|
|
1706
2113
|
pulumi.set(__self__, "dns_server_lists", dns_server_lists)
|
|
@@ -1721,39 +2128,39 @@ class VirtualMachineCloneCustomize(dict):
|
|
|
1721
2128
|
if windows_sysprep_text is not None:
|
|
1722
2129
|
pulumi.set(__self__, "windows_sysprep_text", windows_sysprep_text)
|
|
1723
2130
|
|
|
1724
|
-
@property
|
|
2131
|
+
@_builtins.property
|
|
1725
2132
|
@pulumi.getter(name="dnsServerLists")
|
|
1726
|
-
def dns_server_lists(self) -> Optional[Sequence[str]]:
|
|
2133
|
+
def dns_server_lists(self) -> Optional[Sequence[_builtins.str]]:
|
|
1727
2134
|
"""
|
|
1728
2135
|
The list of DNS servers for a virtual network adapter with a static IP address.
|
|
1729
2136
|
"""
|
|
1730
2137
|
return pulumi.get(self, "dns_server_lists")
|
|
1731
2138
|
|
|
1732
|
-
@property
|
|
2139
|
+
@_builtins.property
|
|
1733
2140
|
@pulumi.getter(name="dnsSuffixLists")
|
|
1734
|
-
def dns_suffix_lists(self) -> Optional[Sequence[str]]:
|
|
2141
|
+
def dns_suffix_lists(self) -> Optional[Sequence[_builtins.str]]:
|
|
1735
2142
|
"""
|
|
1736
2143
|
A list of DNS search domains to add to the DNS configuration on the virtual machine.
|
|
1737
2144
|
"""
|
|
1738
2145
|
return pulumi.get(self, "dns_suffix_lists")
|
|
1739
2146
|
|
|
1740
|
-
@property
|
|
2147
|
+
@_builtins.property
|
|
1741
2148
|
@pulumi.getter(name="ipv4Gateway")
|
|
1742
|
-
def ipv4_gateway(self) -> Optional[str]:
|
|
2149
|
+
def ipv4_gateway(self) -> Optional[_builtins.str]:
|
|
1743
2150
|
"""
|
|
1744
2151
|
The IPv4 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
1745
2152
|
"""
|
|
1746
2153
|
return pulumi.get(self, "ipv4_gateway")
|
|
1747
2154
|
|
|
1748
|
-
@property
|
|
2155
|
+
@_builtins.property
|
|
1749
2156
|
@pulumi.getter(name="ipv6Gateway")
|
|
1750
|
-
def ipv6_gateway(self) -> Optional[str]:
|
|
2157
|
+
def ipv6_gateway(self) -> Optional[_builtins.str]:
|
|
1751
2158
|
"""
|
|
1752
2159
|
The IPv6 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
1753
2160
|
"""
|
|
1754
2161
|
return pulumi.get(self, "ipv6_gateway")
|
|
1755
2162
|
|
|
1756
|
-
@property
|
|
2163
|
+
@_builtins.property
|
|
1757
2164
|
@pulumi.getter(name="linuxOptions")
|
|
1758
2165
|
def linux_options(self) -> Optional['outputs.VirtualMachineCloneCustomizeLinuxOptions']:
|
|
1759
2166
|
"""
|
|
@@ -1761,23 +2168,23 @@ class VirtualMachineCloneCustomize(dict):
|
|
|
1761
2168
|
"""
|
|
1762
2169
|
return pulumi.get(self, "linux_options")
|
|
1763
2170
|
|
|
1764
|
-
@property
|
|
2171
|
+
@_builtins.property
|
|
1765
2172
|
@pulumi.getter(name="networkInterfaces")
|
|
1766
2173
|
def network_interfaces(self) -> Optional[Sequence['outputs.VirtualMachineCloneCustomizeNetworkInterface']]:
|
|
1767
2174
|
"""
|
|
1768
|
-
A specification
|
|
2175
|
+
A specification of network interface configuration options.
|
|
1769
2176
|
"""
|
|
1770
2177
|
return pulumi.get(self, "network_interfaces")
|
|
1771
2178
|
|
|
1772
|
-
@property
|
|
2179
|
+
@_builtins.property
|
|
1773
2180
|
@pulumi.getter
|
|
1774
|
-
def timeout(self) -> Optional[int]:
|
|
2181
|
+
def timeout(self) -> Optional[_builtins.int]:
|
|
1775
2182
|
"""
|
|
1776
2183
|
The amount of time, in minutes, to wait for guest OS customization to complete before returning with an error. Setting this value to 0 or a negative value skips the waiter. Default: 10.
|
|
1777
2184
|
"""
|
|
1778
2185
|
return pulumi.get(self, "timeout")
|
|
1779
2186
|
|
|
1780
|
-
@property
|
|
2187
|
+
@_builtins.property
|
|
1781
2188
|
@pulumi.getter(name="windowsOptions")
|
|
1782
2189
|
def windows_options(self) -> Optional['outputs.VirtualMachineCloneCustomizeWindowsOptions']:
|
|
1783
2190
|
"""
|
|
@@ -1785,9 +2192,9 @@ class VirtualMachineCloneCustomize(dict):
|
|
|
1785
2192
|
"""
|
|
1786
2193
|
return pulumi.get(self, "windows_options")
|
|
1787
2194
|
|
|
1788
|
-
@property
|
|
2195
|
+
@_builtins.property
|
|
1789
2196
|
@pulumi.getter(name="windowsSysprepText")
|
|
1790
|
-
def windows_sysprep_text(self) -> Optional[str]:
|
|
2197
|
+
def windows_sysprep_text(self) -> Optional[_builtins.str]:
|
|
1791
2198
|
"""
|
|
1792
2199
|
Use this option to specify a windows sysprep file directly.
|
|
1793
2200
|
"""
|
|
@@ -1820,17 +2227,17 @@ class VirtualMachineCloneCustomizeLinuxOptions(dict):
|
|
|
1820
2227
|
return super().get(key, default)
|
|
1821
2228
|
|
|
1822
2229
|
def __init__(__self__, *,
|
|
1823
|
-
domain: str,
|
|
1824
|
-
host_name: str,
|
|
1825
|
-
hw_clock_utc: Optional[bool] = None,
|
|
1826
|
-
script_text: Optional[str] = None,
|
|
1827
|
-
time_zone: Optional[str] = None):
|
|
1828
|
-
"""
|
|
1829
|
-
:param str domain: The domain name for this virtual machine.
|
|
1830
|
-
:param str host_name: The hostname for this virtual machine.
|
|
1831
|
-
:param bool hw_clock_utc: Specifies whether or not the hardware clock should be in UTC or not.
|
|
1832
|
-
:param str script_text: The customization script to run before and or after guest customization
|
|
1833
|
-
:param str time_zone: Customize the time zone on the VM. This should be a time zone-style entry, like America/Los_Angeles.
|
|
2230
|
+
domain: _builtins.str,
|
|
2231
|
+
host_name: _builtins.str,
|
|
2232
|
+
hw_clock_utc: Optional[_builtins.bool] = None,
|
|
2233
|
+
script_text: Optional[_builtins.str] = None,
|
|
2234
|
+
time_zone: Optional[_builtins.str] = None):
|
|
2235
|
+
"""
|
|
2236
|
+
:param _builtins.str domain: The domain name for this virtual machine.
|
|
2237
|
+
:param _builtins.str host_name: The hostname for this virtual machine.
|
|
2238
|
+
:param _builtins.bool hw_clock_utc: Specifies whether or not the hardware clock should be in UTC or not.
|
|
2239
|
+
:param _builtins.str script_text: The customization script to run before and or after guest customization
|
|
2240
|
+
:param _builtins.str time_zone: Customize the time zone on the VM. This should be a time zone-style entry, like America/Los_Angeles.
|
|
1834
2241
|
"""
|
|
1835
2242
|
pulumi.set(__self__, "domain", domain)
|
|
1836
2243
|
pulumi.set(__self__, "host_name", host_name)
|
|
@@ -1841,41 +2248,41 @@ class VirtualMachineCloneCustomizeLinuxOptions(dict):
|
|
|
1841
2248
|
if time_zone is not None:
|
|
1842
2249
|
pulumi.set(__self__, "time_zone", time_zone)
|
|
1843
2250
|
|
|
1844
|
-
@property
|
|
2251
|
+
@_builtins.property
|
|
1845
2252
|
@pulumi.getter
|
|
1846
|
-
def domain(self) -> str:
|
|
2253
|
+
def domain(self) -> _builtins.str:
|
|
1847
2254
|
"""
|
|
1848
2255
|
The domain name for this virtual machine.
|
|
1849
2256
|
"""
|
|
1850
2257
|
return pulumi.get(self, "domain")
|
|
1851
2258
|
|
|
1852
|
-
@property
|
|
2259
|
+
@_builtins.property
|
|
1853
2260
|
@pulumi.getter(name="hostName")
|
|
1854
|
-
def host_name(self) -> str:
|
|
2261
|
+
def host_name(self) -> _builtins.str:
|
|
1855
2262
|
"""
|
|
1856
2263
|
The hostname for this virtual machine.
|
|
1857
2264
|
"""
|
|
1858
2265
|
return pulumi.get(self, "host_name")
|
|
1859
2266
|
|
|
1860
|
-
@property
|
|
2267
|
+
@_builtins.property
|
|
1861
2268
|
@pulumi.getter(name="hwClockUtc")
|
|
1862
|
-
def hw_clock_utc(self) -> Optional[bool]:
|
|
2269
|
+
def hw_clock_utc(self) -> Optional[_builtins.bool]:
|
|
1863
2270
|
"""
|
|
1864
2271
|
Specifies whether or not the hardware clock should be in UTC or not.
|
|
1865
2272
|
"""
|
|
1866
2273
|
return pulumi.get(self, "hw_clock_utc")
|
|
1867
2274
|
|
|
1868
|
-
@property
|
|
2275
|
+
@_builtins.property
|
|
1869
2276
|
@pulumi.getter(name="scriptText")
|
|
1870
|
-
def script_text(self) -> Optional[str]:
|
|
2277
|
+
def script_text(self) -> Optional[_builtins.str]:
|
|
1871
2278
|
"""
|
|
1872
2279
|
The customization script to run before and or after guest customization
|
|
1873
2280
|
"""
|
|
1874
2281
|
return pulumi.get(self, "script_text")
|
|
1875
2282
|
|
|
1876
|
-
@property
|
|
2283
|
+
@_builtins.property
|
|
1877
2284
|
@pulumi.getter(name="timeZone")
|
|
1878
|
-
def time_zone(self) -> Optional[str]:
|
|
2285
|
+
def time_zone(self) -> Optional[_builtins.str]:
|
|
1879
2286
|
"""
|
|
1880
2287
|
Customize the time zone on the VM. This should be a time zone-style entry, like America/Los_Angeles.
|
|
1881
2288
|
"""
|
|
@@ -1912,19 +2319,19 @@ class VirtualMachineCloneCustomizeNetworkInterface(dict):
|
|
|
1912
2319
|
return super().get(key, default)
|
|
1913
2320
|
|
|
1914
2321
|
def __init__(__self__, *,
|
|
1915
|
-
dns_domain: Optional[str] = None,
|
|
1916
|
-
dns_server_lists: Optional[Sequence[str]] = None,
|
|
1917
|
-
ipv4_address: Optional[str] = None,
|
|
1918
|
-
ipv4_netmask: Optional[int] = None,
|
|
1919
|
-
ipv6_address: Optional[str] = None,
|
|
1920
|
-
ipv6_netmask: Optional[int] = None):
|
|
1921
|
-
"""
|
|
1922
|
-
:param str dns_domain: A DNS search domain to add to the DNS configuration on the virtual machine.
|
|
1923
|
-
:param Sequence[str] dns_server_lists: Network-interface specific DNS settings for Windows operating systems. Ignored on Linux.
|
|
1924
|
-
:param str ipv4_address: The IPv4 address assigned to this network adapter. If left blank, DHCP is used.
|
|
1925
|
-
:param int ipv4_netmask: The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected.
|
|
1926
|
-
:param str ipv6_address: The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used.
|
|
1927
|
-
:param int ipv6_netmask: The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected.
|
|
2322
|
+
dns_domain: Optional[_builtins.str] = None,
|
|
2323
|
+
dns_server_lists: Optional[Sequence[_builtins.str]] = None,
|
|
2324
|
+
ipv4_address: Optional[_builtins.str] = None,
|
|
2325
|
+
ipv4_netmask: Optional[_builtins.int] = None,
|
|
2326
|
+
ipv6_address: Optional[_builtins.str] = None,
|
|
2327
|
+
ipv6_netmask: Optional[_builtins.int] = None):
|
|
2328
|
+
"""
|
|
2329
|
+
:param _builtins.str dns_domain: A DNS search domain to add to the DNS configuration on the virtual machine.
|
|
2330
|
+
:param Sequence[_builtins.str] dns_server_lists: Network-interface specific DNS settings for Windows operating systems. Ignored on Linux.
|
|
2331
|
+
:param _builtins.str ipv4_address: The IPv4 address assigned to this network adapter. If left blank, DHCP is used.
|
|
2332
|
+
:param _builtins.int ipv4_netmask: The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected.
|
|
2333
|
+
:param _builtins.str ipv6_address: The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used.
|
|
2334
|
+
:param _builtins.int ipv6_netmask: The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected.
|
|
1928
2335
|
"""
|
|
1929
2336
|
if dns_domain is not None:
|
|
1930
2337
|
pulumi.set(__self__, "dns_domain", dns_domain)
|
|
@@ -1939,49 +2346,49 @@ class VirtualMachineCloneCustomizeNetworkInterface(dict):
|
|
|
1939
2346
|
if ipv6_netmask is not None:
|
|
1940
2347
|
pulumi.set(__self__, "ipv6_netmask", ipv6_netmask)
|
|
1941
2348
|
|
|
1942
|
-
@property
|
|
2349
|
+
@_builtins.property
|
|
1943
2350
|
@pulumi.getter(name="dnsDomain")
|
|
1944
|
-
def dns_domain(self) -> Optional[str]:
|
|
2351
|
+
def dns_domain(self) -> Optional[_builtins.str]:
|
|
1945
2352
|
"""
|
|
1946
2353
|
A DNS search domain to add to the DNS configuration on the virtual machine.
|
|
1947
2354
|
"""
|
|
1948
2355
|
return pulumi.get(self, "dns_domain")
|
|
1949
2356
|
|
|
1950
|
-
@property
|
|
2357
|
+
@_builtins.property
|
|
1951
2358
|
@pulumi.getter(name="dnsServerLists")
|
|
1952
|
-
def dns_server_lists(self) -> Optional[Sequence[str]]:
|
|
2359
|
+
def dns_server_lists(self) -> Optional[Sequence[_builtins.str]]:
|
|
1953
2360
|
"""
|
|
1954
2361
|
Network-interface specific DNS settings for Windows operating systems. Ignored on Linux.
|
|
1955
2362
|
"""
|
|
1956
2363
|
return pulumi.get(self, "dns_server_lists")
|
|
1957
2364
|
|
|
1958
|
-
@property
|
|
2365
|
+
@_builtins.property
|
|
1959
2366
|
@pulumi.getter(name="ipv4Address")
|
|
1960
|
-
def ipv4_address(self) -> Optional[str]:
|
|
2367
|
+
def ipv4_address(self) -> Optional[_builtins.str]:
|
|
1961
2368
|
"""
|
|
1962
2369
|
The IPv4 address assigned to this network adapter. If left blank, DHCP is used.
|
|
1963
2370
|
"""
|
|
1964
2371
|
return pulumi.get(self, "ipv4_address")
|
|
1965
2372
|
|
|
1966
|
-
@property
|
|
2373
|
+
@_builtins.property
|
|
1967
2374
|
@pulumi.getter(name="ipv4Netmask")
|
|
1968
|
-
def ipv4_netmask(self) -> Optional[int]:
|
|
2375
|
+
def ipv4_netmask(self) -> Optional[_builtins.int]:
|
|
1969
2376
|
"""
|
|
1970
2377
|
The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected.
|
|
1971
2378
|
"""
|
|
1972
2379
|
return pulumi.get(self, "ipv4_netmask")
|
|
1973
2380
|
|
|
1974
|
-
@property
|
|
2381
|
+
@_builtins.property
|
|
1975
2382
|
@pulumi.getter(name="ipv6Address")
|
|
1976
|
-
def ipv6_address(self) -> Optional[str]:
|
|
2383
|
+
def ipv6_address(self) -> Optional[_builtins.str]:
|
|
1977
2384
|
"""
|
|
1978
2385
|
The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used.
|
|
1979
2386
|
"""
|
|
1980
2387
|
return pulumi.get(self, "ipv6_address")
|
|
1981
2388
|
|
|
1982
|
-
@property
|
|
2389
|
+
@_builtins.property
|
|
1983
2390
|
@pulumi.getter(name="ipv6Netmask")
|
|
1984
|
-
def ipv6_netmask(self) -> Optional[int]:
|
|
2391
|
+
def ipv6_netmask(self) -> Optional[_builtins.int]:
|
|
1985
2392
|
"""
|
|
1986
2393
|
The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected.
|
|
1987
2394
|
"""
|
|
@@ -2005,6 +2412,8 @@ class VirtualMachineCloneCustomizeWindowsOptions(dict):
|
|
|
2005
2412
|
suggest = "domain_admin_password"
|
|
2006
2413
|
elif key == "domainAdminUser":
|
|
2007
2414
|
suggest = "domain_admin_user"
|
|
2415
|
+
elif key == "domainOu":
|
|
2416
|
+
suggest = "domain_ou"
|
|
2008
2417
|
elif key == "fullName":
|
|
2009
2418
|
suggest = "full_name"
|
|
2010
2419
|
elif key == "joinDomain":
|
|
@@ -2030,33 +2439,35 @@ class VirtualMachineCloneCustomizeWindowsOptions(dict):
|
|
|
2030
2439
|
return super().get(key, default)
|
|
2031
2440
|
|
|
2032
2441
|
def __init__(__self__, *,
|
|
2033
|
-
computer_name: str,
|
|
2034
|
-
admin_password: Optional[str] = None,
|
|
2035
|
-
auto_logon: Optional[bool] = None,
|
|
2036
|
-
auto_logon_count: Optional[int] = None,
|
|
2037
|
-
domain_admin_password: Optional[str] = None,
|
|
2038
|
-
domain_admin_user: Optional[str] = None,
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
:param str
|
|
2049
|
-
:param
|
|
2050
|
-
:param
|
|
2051
|
-
:param
|
|
2052
|
-
:param str
|
|
2053
|
-
:param str
|
|
2054
|
-
:param str
|
|
2055
|
-
:param str
|
|
2056
|
-
:param str
|
|
2057
|
-
:param
|
|
2058
|
-
:param
|
|
2059
|
-
:param str
|
|
2442
|
+
computer_name: _builtins.str,
|
|
2443
|
+
admin_password: Optional[_builtins.str] = None,
|
|
2444
|
+
auto_logon: Optional[_builtins.bool] = None,
|
|
2445
|
+
auto_logon_count: Optional[_builtins.int] = None,
|
|
2446
|
+
domain_admin_password: Optional[_builtins.str] = None,
|
|
2447
|
+
domain_admin_user: Optional[_builtins.str] = None,
|
|
2448
|
+
domain_ou: Optional[_builtins.str] = None,
|
|
2449
|
+
full_name: Optional[_builtins.str] = None,
|
|
2450
|
+
join_domain: Optional[_builtins.str] = None,
|
|
2451
|
+
organization_name: Optional[_builtins.str] = None,
|
|
2452
|
+
product_key: Optional[_builtins.str] = None,
|
|
2453
|
+
run_once_command_lists: Optional[Sequence[_builtins.str]] = None,
|
|
2454
|
+
time_zone: Optional[_builtins.int] = None,
|
|
2455
|
+
workgroup: Optional[_builtins.str] = None):
|
|
2456
|
+
"""
|
|
2457
|
+
:param _builtins.str computer_name: The host name for this virtual machine.
|
|
2458
|
+
:param _builtins.str admin_password: The new administrator password for this virtual machine.
|
|
2459
|
+
:param _builtins.bool auto_logon: Specifies whether or not the VM automatically logs on as Administrator.
|
|
2460
|
+
:param _builtins.int auto_logon_count: Specifies how many times the VM should auto-logon the Administrator account when auto_logon is true.
|
|
2461
|
+
:param _builtins.str domain_admin_password: The password of the domain administrator used to join this virtual machine to the domain.
|
|
2462
|
+
:param _builtins.str domain_admin_user: The user account of the domain administrator used to join this virtual machine to the domain.
|
|
2463
|
+
:param _builtins.str domain_ou: The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
2464
|
+
:param _builtins.str full_name: The full name of the user of this virtual machine.
|
|
2465
|
+
:param _builtins.str join_domain: The domain that the virtual machine should join.
|
|
2466
|
+
:param _builtins.str organization_name: The organization name this virtual machine is being installed for.
|
|
2467
|
+
:param _builtins.str product_key: The product key for this virtual machine.
|
|
2468
|
+
:param Sequence[_builtins.str] run_once_command_lists: A list of commands to run at first user logon, after guest customization.
|
|
2469
|
+
:param _builtins.int time_zone: The new time zone for the virtual machine. This is a sysprep-dictated timezone code.
|
|
2470
|
+
:param _builtins.str workgroup: The workgroup for this virtual machine if not joining a domain.
|
|
2060
2471
|
"""
|
|
2061
2472
|
pulumi.set(__self__, "computer_name", computer_name)
|
|
2062
2473
|
if admin_password is not None:
|
|
@@ -2069,6 +2480,8 @@ class VirtualMachineCloneCustomizeWindowsOptions(dict):
|
|
|
2069
2480
|
pulumi.set(__self__, "domain_admin_password", domain_admin_password)
|
|
2070
2481
|
if domain_admin_user is not None:
|
|
2071
2482
|
pulumi.set(__self__, "domain_admin_user", domain_admin_user)
|
|
2483
|
+
if domain_ou is not None:
|
|
2484
|
+
pulumi.set(__self__, "domain_ou", domain_ou)
|
|
2072
2485
|
if full_name is not None:
|
|
2073
2486
|
pulumi.set(__self__, "full_name", full_name)
|
|
2074
2487
|
if join_domain is not None:
|
|
@@ -2084,105 +2497,113 @@ class VirtualMachineCloneCustomizeWindowsOptions(dict):
|
|
|
2084
2497
|
if workgroup is not None:
|
|
2085
2498
|
pulumi.set(__self__, "workgroup", workgroup)
|
|
2086
2499
|
|
|
2087
|
-
@property
|
|
2500
|
+
@_builtins.property
|
|
2088
2501
|
@pulumi.getter(name="computerName")
|
|
2089
|
-
def computer_name(self) -> str:
|
|
2502
|
+
def computer_name(self) -> _builtins.str:
|
|
2090
2503
|
"""
|
|
2091
2504
|
The host name for this virtual machine.
|
|
2092
2505
|
"""
|
|
2093
2506
|
return pulumi.get(self, "computer_name")
|
|
2094
2507
|
|
|
2095
|
-
@property
|
|
2508
|
+
@_builtins.property
|
|
2096
2509
|
@pulumi.getter(name="adminPassword")
|
|
2097
|
-
def admin_password(self) -> Optional[str]:
|
|
2510
|
+
def admin_password(self) -> Optional[_builtins.str]:
|
|
2098
2511
|
"""
|
|
2099
2512
|
The new administrator password for this virtual machine.
|
|
2100
2513
|
"""
|
|
2101
2514
|
return pulumi.get(self, "admin_password")
|
|
2102
2515
|
|
|
2103
|
-
@property
|
|
2516
|
+
@_builtins.property
|
|
2104
2517
|
@pulumi.getter(name="autoLogon")
|
|
2105
|
-
def auto_logon(self) -> Optional[bool]:
|
|
2518
|
+
def auto_logon(self) -> Optional[_builtins.bool]:
|
|
2106
2519
|
"""
|
|
2107
2520
|
Specifies whether or not the VM automatically logs on as Administrator.
|
|
2108
2521
|
"""
|
|
2109
2522
|
return pulumi.get(self, "auto_logon")
|
|
2110
2523
|
|
|
2111
|
-
@property
|
|
2524
|
+
@_builtins.property
|
|
2112
2525
|
@pulumi.getter(name="autoLogonCount")
|
|
2113
|
-
def auto_logon_count(self) -> Optional[int]:
|
|
2526
|
+
def auto_logon_count(self) -> Optional[_builtins.int]:
|
|
2114
2527
|
"""
|
|
2115
2528
|
Specifies how many times the VM should auto-logon the Administrator account when auto_logon is true.
|
|
2116
2529
|
"""
|
|
2117
2530
|
return pulumi.get(self, "auto_logon_count")
|
|
2118
2531
|
|
|
2119
|
-
@property
|
|
2532
|
+
@_builtins.property
|
|
2120
2533
|
@pulumi.getter(name="domainAdminPassword")
|
|
2121
|
-
def domain_admin_password(self) -> Optional[str]:
|
|
2534
|
+
def domain_admin_password(self) -> Optional[_builtins.str]:
|
|
2122
2535
|
"""
|
|
2123
2536
|
The password of the domain administrator used to join this virtual machine to the domain.
|
|
2124
2537
|
"""
|
|
2125
2538
|
return pulumi.get(self, "domain_admin_password")
|
|
2126
2539
|
|
|
2127
|
-
@property
|
|
2540
|
+
@_builtins.property
|
|
2128
2541
|
@pulumi.getter(name="domainAdminUser")
|
|
2129
|
-
def domain_admin_user(self) -> Optional[str]:
|
|
2542
|
+
def domain_admin_user(self) -> Optional[_builtins.str]:
|
|
2130
2543
|
"""
|
|
2131
2544
|
The user account of the domain administrator used to join this virtual machine to the domain.
|
|
2132
2545
|
"""
|
|
2133
2546
|
return pulumi.get(self, "domain_admin_user")
|
|
2134
2547
|
|
|
2135
|
-
@property
|
|
2548
|
+
@_builtins.property
|
|
2549
|
+
@pulumi.getter(name="domainOu")
|
|
2550
|
+
def domain_ou(self) -> Optional[_builtins.str]:
|
|
2551
|
+
"""
|
|
2552
|
+
The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
2553
|
+
"""
|
|
2554
|
+
return pulumi.get(self, "domain_ou")
|
|
2555
|
+
|
|
2556
|
+
@_builtins.property
|
|
2136
2557
|
@pulumi.getter(name="fullName")
|
|
2137
|
-
def full_name(self) -> Optional[str]:
|
|
2558
|
+
def full_name(self) -> Optional[_builtins.str]:
|
|
2138
2559
|
"""
|
|
2139
2560
|
The full name of the user of this virtual machine.
|
|
2140
2561
|
"""
|
|
2141
2562
|
return pulumi.get(self, "full_name")
|
|
2142
2563
|
|
|
2143
|
-
@property
|
|
2564
|
+
@_builtins.property
|
|
2144
2565
|
@pulumi.getter(name="joinDomain")
|
|
2145
|
-
def join_domain(self) -> Optional[str]:
|
|
2566
|
+
def join_domain(self) -> Optional[_builtins.str]:
|
|
2146
2567
|
"""
|
|
2147
2568
|
The domain that the virtual machine should join.
|
|
2148
2569
|
"""
|
|
2149
2570
|
return pulumi.get(self, "join_domain")
|
|
2150
2571
|
|
|
2151
|
-
@property
|
|
2572
|
+
@_builtins.property
|
|
2152
2573
|
@pulumi.getter(name="organizationName")
|
|
2153
|
-
def organization_name(self) -> Optional[str]:
|
|
2574
|
+
def organization_name(self) -> Optional[_builtins.str]:
|
|
2154
2575
|
"""
|
|
2155
2576
|
The organization name this virtual machine is being installed for.
|
|
2156
2577
|
"""
|
|
2157
2578
|
return pulumi.get(self, "organization_name")
|
|
2158
2579
|
|
|
2159
|
-
@property
|
|
2580
|
+
@_builtins.property
|
|
2160
2581
|
@pulumi.getter(name="productKey")
|
|
2161
|
-
def product_key(self) -> Optional[str]:
|
|
2582
|
+
def product_key(self) -> Optional[_builtins.str]:
|
|
2162
2583
|
"""
|
|
2163
2584
|
The product key for this virtual machine.
|
|
2164
2585
|
"""
|
|
2165
2586
|
return pulumi.get(self, "product_key")
|
|
2166
2587
|
|
|
2167
|
-
@property
|
|
2588
|
+
@_builtins.property
|
|
2168
2589
|
@pulumi.getter(name="runOnceCommandLists")
|
|
2169
|
-
def run_once_command_lists(self) -> Optional[Sequence[str]]:
|
|
2590
|
+
def run_once_command_lists(self) -> Optional[Sequence[_builtins.str]]:
|
|
2170
2591
|
"""
|
|
2171
2592
|
A list of commands to run at first user logon, after guest customization.
|
|
2172
2593
|
"""
|
|
2173
2594
|
return pulumi.get(self, "run_once_command_lists")
|
|
2174
2595
|
|
|
2175
|
-
@property
|
|
2596
|
+
@_builtins.property
|
|
2176
2597
|
@pulumi.getter(name="timeZone")
|
|
2177
|
-
def time_zone(self) -> Optional[int]:
|
|
2598
|
+
def time_zone(self) -> Optional[_builtins.int]:
|
|
2178
2599
|
"""
|
|
2179
2600
|
The new time zone for the virtual machine. This is a sysprep-dictated timezone code.
|
|
2180
2601
|
"""
|
|
2181
2602
|
return pulumi.get(self, "time_zone")
|
|
2182
2603
|
|
|
2183
|
-
@property
|
|
2604
|
+
@_builtins.property
|
|
2184
2605
|
@pulumi.getter
|
|
2185
|
-
def workgroup(self) -> Optional[str]:
|
|
2606
|
+
def workgroup(self) -> Optional[_builtins.str]:
|
|
2186
2607
|
"""
|
|
2187
2608
|
The workgroup for this virtual machine if not joining a domain.
|
|
2188
2609
|
"""
|
|
@@ -2237,59 +2658,49 @@ class VirtualMachineDisk(dict):
|
|
|
2237
2658
|
return super().get(key, default)
|
|
2238
2659
|
|
|
2239
2660
|
def __init__(__self__, *,
|
|
2240
|
-
label: str,
|
|
2241
|
-
attach: Optional[bool] = None,
|
|
2242
|
-
controller_type: Optional[str] = None,
|
|
2243
|
-
datastore_id: Optional[str] = None,
|
|
2244
|
-
device_address: Optional[str] = None,
|
|
2245
|
-
disk_mode: Optional[str] = None,
|
|
2246
|
-
disk_sharing: Optional[str] = None,
|
|
2247
|
-
eagerly_scrub: Optional[bool] = None,
|
|
2248
|
-
io_limit: Optional[int] = None,
|
|
2249
|
-
io_reservation: Optional[int] = None,
|
|
2250
|
-
io_share_count: Optional[int] = None,
|
|
2251
|
-
io_share_level: Optional[str] = None,
|
|
2252
|
-
keep_on_remove: Optional[bool] = None,
|
|
2253
|
-
key: Optional[int] = None,
|
|
2254
|
-
path: Optional[str] = None,
|
|
2255
|
-
size: Optional[int] = None,
|
|
2256
|
-
storage_policy_id: Optional[str] = None,
|
|
2257
|
-
thin_provisioned: Optional[bool] = None,
|
|
2258
|
-
unit_number: Optional[int] = None,
|
|
2259
|
-
uuid: Optional[str] = None,
|
|
2260
|
-
write_through: Optional[bool] = None):
|
|
2261
|
-
"""
|
|
2262
|
-
:param str label: A unique label for this disk.
|
|
2263
|
-
:param bool attach:
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
:param str
|
|
2267
|
-
:param str
|
|
2268
|
-
:param str
|
|
2269
|
-
:param
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
:param
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
:param
|
|
2276
|
-
:param
|
|
2277
|
-
:param int
|
|
2278
|
-
:param
|
|
2279
|
-
:param
|
|
2280
|
-
:param
|
|
2281
|
-
:param
|
|
2282
|
-
:param
|
|
2283
|
-
|
|
2284
|
-
> **NOTE:** Either `client_device` (for a remote backed CD-ROM) or `datastore_id` and `path` (for a datastore ISO backed CD-ROM) are required to .
|
|
2285
|
-
|
|
2286
|
-
> **NOTE:** Some CD-ROM drive types are not supported by this resource, such as pass-through devices. If these drives are present in a cloned template, or added outside of the provider, the desired state will be corrected to the defined device, or removed if no `cdrom` block is present.
|
|
2287
|
-
:param int size: The size of the disk, in GB. Must be a whole number.
|
|
2288
|
-
:param str storage_policy_id: The UUID of the storage policy to assign to the virtual disk.
|
|
2289
|
-
:param bool thin_provisioned: If `true`, the disk is thin provisioned, with space for the file being allocated on an as-needed basis. Cannot be set to `true` when `eagerly_scrub` is `true`. See the section on selecting a disk type for more information. Default: `true`.
|
|
2290
|
-
:param int unit_number: The disk number on the storage bus. The maximum value for this setting is the value of the controller count times the controller capacity (15 for SCSI, 30 for SATA, and 2 for IDE). Duplicate unit numbers are not allowed. Default `0`, for which one disk must be set to.
|
|
2291
|
-
:param str uuid: The UUID of the virtual disk VMDK file. This is used to track the virtual disk on the virtual machine.
|
|
2292
|
-
:param bool write_through: If `true`, writes for this disk are sent directly to the filesystem immediately instead of being buffered. Default: `false`.
|
|
2661
|
+
label: _builtins.str,
|
|
2662
|
+
attach: Optional[_builtins.bool] = None,
|
|
2663
|
+
controller_type: Optional[_builtins.str] = None,
|
|
2664
|
+
datastore_id: Optional[_builtins.str] = None,
|
|
2665
|
+
device_address: Optional[_builtins.str] = None,
|
|
2666
|
+
disk_mode: Optional[_builtins.str] = None,
|
|
2667
|
+
disk_sharing: Optional[_builtins.str] = None,
|
|
2668
|
+
eagerly_scrub: Optional[_builtins.bool] = None,
|
|
2669
|
+
io_limit: Optional[_builtins.int] = None,
|
|
2670
|
+
io_reservation: Optional[_builtins.int] = None,
|
|
2671
|
+
io_share_count: Optional[_builtins.int] = None,
|
|
2672
|
+
io_share_level: Optional[_builtins.str] = None,
|
|
2673
|
+
keep_on_remove: Optional[_builtins.bool] = None,
|
|
2674
|
+
key: Optional[_builtins.int] = None,
|
|
2675
|
+
path: Optional[_builtins.str] = None,
|
|
2676
|
+
size: Optional[_builtins.int] = None,
|
|
2677
|
+
storage_policy_id: Optional[_builtins.str] = None,
|
|
2678
|
+
thin_provisioned: Optional[_builtins.bool] = None,
|
|
2679
|
+
unit_number: Optional[_builtins.int] = None,
|
|
2680
|
+
uuid: Optional[_builtins.str] = None,
|
|
2681
|
+
write_through: Optional[_builtins.bool] = None):
|
|
2682
|
+
"""
|
|
2683
|
+
:param _builtins.str label: A unique label for this disk.
|
|
2684
|
+
:param _builtins.bool attach: If this is true, the disk is attached instead of created. Implies keep_on_remove.
|
|
2685
|
+
:param _builtins.str controller_type: The type of controller the disk should be connected to. Must be 'scsi', 'sata', 'nvme', or 'ide'.
|
|
2686
|
+
:param _builtins.str datastore_id: The datastore ID for this virtual disk, if different than the virtual machine.
|
|
2687
|
+
:param _builtins.str device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
2688
|
+
:param _builtins.str disk_mode: The mode of this this virtual disk for purposes of writes and snapshotting. Can be one of append, independent_nonpersistent, independent_persistent, nonpersistent, persistent, or undoable.
|
|
2689
|
+
:param _builtins.str disk_sharing: The sharing mode of this virtual disk. Can be one of sharingMultiWriter or sharingNone.
|
|
2690
|
+
:param _builtins.bool eagerly_scrub: The virtual disk file zeroing policy when thin_provision is not true. The default is false, which lazily-zeros the disk, speeding up thick-provisioned disk creation time.
|
|
2691
|
+
:param _builtins.int io_limit: The upper limit of IOPS that this disk can use.
|
|
2692
|
+
:param _builtins.int io_reservation: The I/O guarantee that this disk has, in IOPS.
|
|
2693
|
+
:param _builtins.int io_share_count: The share count for this disk when the share level is custom.
|
|
2694
|
+
:param _builtins.str io_share_level: The share allocation level for this disk. Can be one of low, normal, high, or custom.
|
|
2695
|
+
:param _builtins.bool keep_on_remove: Set to true to keep the underlying VMDK file when removing this virtual disk from configuration.
|
|
2696
|
+
:param _builtins.int key: The ID of the device within the virtual machine.
|
|
2697
|
+
:param _builtins.str path: The full path of the virtual disk. This can only be provided if attach is set to true, otherwise it is a read-only value.
|
|
2698
|
+
:param _builtins.int size: The size of the disk, in GB.
|
|
2699
|
+
:param _builtins.str storage_policy_id: The ID of the storage policy to assign to the virtual disk in VM.
|
|
2700
|
+
:param _builtins.bool thin_provisioned: If true, this disk is thin provisioned, with space for the file being allocated on an as-needed basis.
|
|
2701
|
+
:param _builtins.int unit_number: The unique device number for this disk. This number determines where on the SCSI bus this device will be attached.
|
|
2702
|
+
:param _builtins.str uuid: The UUID of the virtual machine. Also exposed as the `id` of the resource.
|
|
2703
|
+
:param _builtins.bool write_through: If true, writes for this disk are sent directly to the filesystem immediately instead of being buffered.
|
|
2293
2704
|
"""
|
|
2294
2705
|
pulumi.set(__self__, "label", label)
|
|
2295
2706
|
if attach is not None:
|
|
@@ -2333,181 +2744,171 @@ class VirtualMachineDisk(dict):
|
|
|
2333
2744
|
if write_through is not None:
|
|
2334
2745
|
pulumi.set(__self__, "write_through", write_through)
|
|
2335
2746
|
|
|
2336
|
-
@property
|
|
2747
|
+
@_builtins.property
|
|
2337
2748
|
@pulumi.getter
|
|
2338
|
-
def label(self) -> str:
|
|
2749
|
+
def label(self) -> _builtins.str:
|
|
2339
2750
|
"""
|
|
2340
2751
|
A unique label for this disk.
|
|
2341
2752
|
"""
|
|
2342
2753
|
return pulumi.get(self, "label")
|
|
2343
2754
|
|
|
2344
|
-
@property
|
|
2755
|
+
@_builtins.property
|
|
2345
2756
|
@pulumi.getter
|
|
2346
|
-
def attach(self) -> Optional[bool]:
|
|
2757
|
+
def attach(self) -> Optional[_builtins.bool]:
|
|
2347
2758
|
"""
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
> **NOTE:** External disks cannot be attached when `datastore_cluster_id` is used.
|
|
2759
|
+
If this is true, the disk is attached instead of created. Implies keep_on_remove.
|
|
2351
2760
|
"""
|
|
2352
2761
|
return pulumi.get(self, "attach")
|
|
2353
2762
|
|
|
2354
|
-
@property
|
|
2763
|
+
@_builtins.property
|
|
2355
2764
|
@pulumi.getter(name="controllerType")
|
|
2356
|
-
def controller_type(self) -> Optional[str]:
|
|
2765
|
+
def controller_type(self) -> Optional[_builtins.str]:
|
|
2357
2766
|
"""
|
|
2358
|
-
The type of
|
|
2767
|
+
The type of controller the disk should be connected to. Must be 'scsi', 'sata', 'nvme', or 'ide'.
|
|
2359
2768
|
"""
|
|
2360
2769
|
return pulumi.get(self, "controller_type")
|
|
2361
2770
|
|
|
2362
|
-
@property
|
|
2771
|
+
@_builtins.property
|
|
2363
2772
|
@pulumi.getter(name="datastoreId")
|
|
2364
|
-
def datastore_id(self) -> Optional[str]:
|
|
2773
|
+
def datastore_id(self) -> Optional[_builtins.str]:
|
|
2365
2774
|
"""
|
|
2366
|
-
The datastore ID
|
|
2775
|
+
The datastore ID for this virtual disk, if different than the virtual machine.
|
|
2367
2776
|
"""
|
|
2368
2777
|
return pulumi.get(self, "datastore_id")
|
|
2369
2778
|
|
|
2370
|
-
@property
|
|
2779
|
+
@_builtins.property
|
|
2371
2780
|
@pulumi.getter(name="deviceAddress")
|
|
2372
|
-
def device_address(self) -> Optional[str]:
|
|
2781
|
+
def device_address(self) -> Optional[_builtins.str]:
|
|
2373
2782
|
"""
|
|
2374
2783
|
The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
2375
2784
|
"""
|
|
2376
2785
|
return pulumi.get(self, "device_address")
|
|
2377
2786
|
|
|
2378
|
-
@property
|
|
2787
|
+
@_builtins.property
|
|
2379
2788
|
@pulumi.getter(name="diskMode")
|
|
2380
|
-
def disk_mode(self) -> Optional[str]:
|
|
2789
|
+
def disk_mode(self) -> Optional[_builtins.str]:
|
|
2381
2790
|
"""
|
|
2382
|
-
The mode of this this virtual disk for purposes of writes and
|
|
2383
|
-
|
|
2384
|
-
[vmware-docs-disk-mode]: https://vdc-download.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.device.VirtualDiskOption.DiskMode.html
|
|
2791
|
+
The mode of this this virtual disk for purposes of writes and snapshotting. Can be one of append, independent_nonpersistent, independent_persistent, nonpersistent, persistent, or undoable.
|
|
2385
2792
|
"""
|
|
2386
2793
|
return pulumi.get(self, "disk_mode")
|
|
2387
2794
|
|
|
2388
|
-
@property
|
|
2795
|
+
@_builtins.property
|
|
2389
2796
|
@pulumi.getter(name="diskSharing")
|
|
2390
|
-
def disk_sharing(self) -> Optional[str]:
|
|
2797
|
+
def disk_sharing(self) -> Optional[_builtins.str]:
|
|
2391
2798
|
"""
|
|
2392
|
-
The sharing mode of this virtual disk.
|
|
2393
|
-
|
|
2394
|
-
> **NOTE:** Disk sharing is only available on vSphere 6.0 and later.
|
|
2799
|
+
The sharing mode of this virtual disk. Can be one of sharingMultiWriter or sharingNone.
|
|
2395
2800
|
"""
|
|
2396
2801
|
return pulumi.get(self, "disk_sharing")
|
|
2397
2802
|
|
|
2398
|
-
@property
|
|
2803
|
+
@_builtins.property
|
|
2399
2804
|
@pulumi.getter(name="eagerlyScrub")
|
|
2400
|
-
def eagerly_scrub(self) -> Optional[bool]:
|
|
2805
|
+
def eagerly_scrub(self) -> Optional[_builtins.bool]:
|
|
2401
2806
|
"""
|
|
2402
|
-
|
|
2807
|
+
The virtual disk file zeroing policy when thin_provision is not true. The default is false, which lazily-zeros the disk, speeding up thick-provisioned disk creation time.
|
|
2403
2808
|
"""
|
|
2404
2809
|
return pulumi.get(self, "eagerly_scrub")
|
|
2405
2810
|
|
|
2406
|
-
@property
|
|
2811
|
+
@_builtins.property
|
|
2407
2812
|
@pulumi.getter(name="ioLimit")
|
|
2408
|
-
def io_limit(self) -> Optional[int]:
|
|
2813
|
+
def io_limit(self) -> Optional[_builtins.int]:
|
|
2409
2814
|
"""
|
|
2410
|
-
The upper limit of IOPS that this disk can use.
|
|
2815
|
+
The upper limit of IOPS that this disk can use.
|
|
2411
2816
|
"""
|
|
2412
2817
|
return pulumi.get(self, "io_limit")
|
|
2413
2818
|
|
|
2414
|
-
@property
|
|
2819
|
+
@_builtins.property
|
|
2415
2820
|
@pulumi.getter(name="ioReservation")
|
|
2416
|
-
def io_reservation(self) -> Optional[int]:
|
|
2821
|
+
def io_reservation(self) -> Optional[_builtins.int]:
|
|
2417
2822
|
"""
|
|
2418
|
-
The I/O
|
|
2823
|
+
The I/O guarantee that this disk has, in IOPS.
|
|
2419
2824
|
"""
|
|
2420
2825
|
return pulumi.get(self, "io_reservation")
|
|
2421
2826
|
|
|
2422
|
-
@property
|
|
2827
|
+
@_builtins.property
|
|
2423
2828
|
@pulumi.getter(name="ioShareCount")
|
|
2424
|
-
def io_share_count(self) -> Optional[int]:
|
|
2829
|
+
def io_share_count(self) -> Optional[_builtins.int]:
|
|
2425
2830
|
"""
|
|
2426
|
-
The share count for
|
|
2831
|
+
The share count for this disk when the share level is custom.
|
|
2427
2832
|
"""
|
|
2428
2833
|
return pulumi.get(self, "io_share_count")
|
|
2429
2834
|
|
|
2430
|
-
@property
|
|
2835
|
+
@_builtins.property
|
|
2431
2836
|
@pulumi.getter(name="ioShareLevel")
|
|
2432
|
-
def io_share_level(self) -> Optional[str]:
|
|
2837
|
+
def io_share_level(self) -> Optional[_builtins.str]:
|
|
2433
2838
|
"""
|
|
2434
|
-
The share allocation level for
|
|
2839
|
+
The share allocation level for this disk. Can be one of low, normal, high, or custom.
|
|
2435
2840
|
"""
|
|
2436
2841
|
return pulumi.get(self, "io_share_level")
|
|
2437
2842
|
|
|
2438
|
-
@property
|
|
2843
|
+
@_builtins.property
|
|
2439
2844
|
@pulumi.getter(name="keepOnRemove")
|
|
2440
|
-
def keep_on_remove(self) -> Optional[bool]:
|
|
2845
|
+
def keep_on_remove(self) -> Optional[_builtins.bool]:
|
|
2441
2846
|
"""
|
|
2442
|
-
|
|
2847
|
+
Set to true to keep the underlying VMDK file when removing this virtual disk from configuration.
|
|
2443
2848
|
"""
|
|
2444
2849
|
return pulumi.get(self, "keep_on_remove")
|
|
2445
2850
|
|
|
2446
|
-
@property
|
|
2851
|
+
@_builtins.property
|
|
2447
2852
|
@pulumi.getter
|
|
2448
|
-
def key(self) -> Optional[int]:
|
|
2853
|
+
def key(self) -> Optional[_builtins.int]:
|
|
2449
2854
|
"""
|
|
2450
2855
|
The ID of the device within the virtual machine.
|
|
2451
2856
|
"""
|
|
2452
2857
|
return pulumi.get(self, "key")
|
|
2453
2858
|
|
|
2454
|
-
@property
|
|
2859
|
+
@_builtins.property
|
|
2455
2860
|
@pulumi.getter
|
|
2456
|
-
def path(self) -> Optional[str]:
|
|
2861
|
+
def path(self) -> Optional[_builtins.str]:
|
|
2457
2862
|
"""
|
|
2458
|
-
The path
|
|
2459
|
-
|
|
2460
|
-
> **NOTE:** Either `client_device` (for a remote backed CD-ROM) or `datastore_id` and `path` (for a datastore ISO backed CD-ROM) are required to .
|
|
2461
|
-
|
|
2462
|
-
> **NOTE:** Some CD-ROM drive types are not supported by this resource, such as pass-through devices. If these drives are present in a cloned template, or added outside of the provider, the desired state will be corrected to the defined device, or removed if no `cdrom` block is present.
|
|
2863
|
+
The full path of the virtual disk. This can only be provided if attach is set to true, otherwise it is a read-only value.
|
|
2463
2864
|
"""
|
|
2464
2865
|
return pulumi.get(self, "path")
|
|
2465
2866
|
|
|
2466
|
-
@property
|
|
2867
|
+
@_builtins.property
|
|
2467
2868
|
@pulumi.getter
|
|
2468
|
-
def size(self) -> Optional[int]:
|
|
2869
|
+
def size(self) -> Optional[_builtins.int]:
|
|
2469
2870
|
"""
|
|
2470
|
-
The size of the disk, in GB.
|
|
2871
|
+
The size of the disk, in GB.
|
|
2471
2872
|
"""
|
|
2472
2873
|
return pulumi.get(self, "size")
|
|
2473
2874
|
|
|
2474
|
-
@property
|
|
2875
|
+
@_builtins.property
|
|
2475
2876
|
@pulumi.getter(name="storagePolicyId")
|
|
2476
|
-
def storage_policy_id(self) -> Optional[str]:
|
|
2877
|
+
def storage_policy_id(self) -> Optional[_builtins.str]:
|
|
2477
2878
|
"""
|
|
2478
|
-
The
|
|
2879
|
+
The ID of the storage policy to assign to the virtual disk in VM.
|
|
2479
2880
|
"""
|
|
2480
2881
|
return pulumi.get(self, "storage_policy_id")
|
|
2481
2882
|
|
|
2482
|
-
@property
|
|
2883
|
+
@_builtins.property
|
|
2483
2884
|
@pulumi.getter(name="thinProvisioned")
|
|
2484
|
-
def thin_provisioned(self) -> Optional[bool]:
|
|
2885
|
+
def thin_provisioned(self) -> Optional[_builtins.bool]:
|
|
2485
2886
|
"""
|
|
2486
|
-
If
|
|
2887
|
+
If true, this disk is thin provisioned, with space for the file being allocated on an as-needed basis.
|
|
2487
2888
|
"""
|
|
2488
2889
|
return pulumi.get(self, "thin_provisioned")
|
|
2489
2890
|
|
|
2490
|
-
@property
|
|
2891
|
+
@_builtins.property
|
|
2491
2892
|
@pulumi.getter(name="unitNumber")
|
|
2492
|
-
def unit_number(self) -> Optional[int]:
|
|
2893
|
+
def unit_number(self) -> Optional[_builtins.int]:
|
|
2493
2894
|
"""
|
|
2494
|
-
The
|
|
2895
|
+
The unique device number for this disk. This number determines where on the SCSI bus this device will be attached.
|
|
2495
2896
|
"""
|
|
2496
2897
|
return pulumi.get(self, "unit_number")
|
|
2497
2898
|
|
|
2498
|
-
@property
|
|
2899
|
+
@_builtins.property
|
|
2499
2900
|
@pulumi.getter
|
|
2500
|
-
def uuid(self) -> Optional[str]:
|
|
2901
|
+
def uuid(self) -> Optional[_builtins.str]:
|
|
2501
2902
|
"""
|
|
2502
|
-
The UUID of the virtual
|
|
2903
|
+
The UUID of the virtual machine. Also exposed as the `id` of the resource.
|
|
2503
2904
|
"""
|
|
2504
2905
|
return pulumi.get(self, "uuid")
|
|
2505
2906
|
|
|
2506
|
-
@property
|
|
2907
|
+
@_builtins.property
|
|
2507
2908
|
@pulumi.getter(name="writeThrough")
|
|
2508
|
-
def write_through(self) -> Optional[bool]:
|
|
2909
|
+
def write_through(self) -> Optional[_builtins.bool]:
|
|
2509
2910
|
"""
|
|
2510
|
-
If
|
|
2911
|
+
If true, writes for this disk are sent directly to the filesystem immediately instead of being buffered.
|
|
2511
2912
|
"""
|
|
2512
2913
|
return pulumi.get(self, "write_through")
|
|
2513
2914
|
|
|
@@ -2552,31 +2953,31 @@ class VirtualMachineNetworkInterface(dict):
|
|
|
2552
2953
|
return super().get(key, default)
|
|
2553
2954
|
|
|
2554
2955
|
def __init__(__self__, *,
|
|
2555
|
-
network_id: str,
|
|
2556
|
-
adapter_type: Optional[str] = None,
|
|
2557
|
-
bandwidth_limit: Optional[int] = None,
|
|
2558
|
-
bandwidth_reservation: Optional[int] = None,
|
|
2559
|
-
bandwidth_share_count: Optional[int] = None,
|
|
2560
|
-
bandwidth_share_level: Optional[str] = None,
|
|
2561
|
-
device_address: Optional[str] = None,
|
|
2562
|
-
key: Optional[int] = None,
|
|
2563
|
-
mac_address: Optional[str] = None,
|
|
2564
|
-
ovf_mapping: Optional[str] = None,
|
|
2565
|
-
physical_function: Optional[str] = None,
|
|
2566
|
-
use_static_mac: Optional[bool] = None):
|
|
2567
|
-
"""
|
|
2568
|
-
:param str network_id: The
|
|
2569
|
-
:param str adapter_type: The
|
|
2570
|
-
:param int bandwidth_limit: The upper bandwidth limit of
|
|
2571
|
-
:param int bandwidth_reservation: The bandwidth reservation of
|
|
2572
|
-
:param int bandwidth_share_count: The share count for
|
|
2573
|
-
:param str bandwidth_share_level: The bandwidth share allocation level for
|
|
2574
|
-
:param str device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
2575
|
-
:param int key: The ID of the device within the virtual machine.
|
|
2576
|
-
:param str mac_address: The MAC address of
|
|
2577
|
-
:param str ovf_mapping:
|
|
2578
|
-
:param str physical_function: The ID of the Physical SR-IOV NIC to attach to, e.g. '0000:d8:00.0'
|
|
2579
|
-
:param bool use_static_mac: If true, the
|
|
2956
|
+
network_id: _builtins.str,
|
|
2957
|
+
adapter_type: Optional[_builtins.str] = None,
|
|
2958
|
+
bandwidth_limit: Optional[_builtins.int] = None,
|
|
2959
|
+
bandwidth_reservation: Optional[_builtins.int] = None,
|
|
2960
|
+
bandwidth_share_count: Optional[_builtins.int] = None,
|
|
2961
|
+
bandwidth_share_level: Optional[_builtins.str] = None,
|
|
2962
|
+
device_address: Optional[_builtins.str] = None,
|
|
2963
|
+
key: Optional[_builtins.int] = None,
|
|
2964
|
+
mac_address: Optional[_builtins.str] = None,
|
|
2965
|
+
ovf_mapping: Optional[_builtins.str] = None,
|
|
2966
|
+
physical_function: Optional[_builtins.str] = None,
|
|
2967
|
+
use_static_mac: Optional[_builtins.bool] = None):
|
|
2968
|
+
"""
|
|
2969
|
+
:param _builtins.str network_id: The ID of the network to connect this network interface to.
|
|
2970
|
+
:param _builtins.str adapter_type: The controller type. Can be one of e1000, e1000e, sriov, vmxnet3, or vrdma.
|
|
2971
|
+
:param _builtins.int bandwidth_limit: The upper bandwidth limit of this network interface, in Mbits/sec.
|
|
2972
|
+
:param _builtins.int bandwidth_reservation: The bandwidth reservation of this network interface, in Mbits/sec.
|
|
2973
|
+
:param _builtins.int bandwidth_share_count: The share count for this network interface when the share level is custom.
|
|
2974
|
+
:param _builtins.str bandwidth_share_level: The bandwidth share allocation level for this interface. Can be one of low, normal, high, or custom.
|
|
2975
|
+
:param _builtins.str device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
2976
|
+
:param _builtins.int key: The ID of the device within the virtual machine.
|
|
2977
|
+
:param _builtins.str mac_address: The MAC address of this network interface. Can only be manually set if use_static_mac is true.
|
|
2978
|
+
:param _builtins.str ovf_mapping: Mapping of network interface to OVF network.
|
|
2979
|
+
:param _builtins.str physical_function: The ID of the Physical SR-IOV NIC to attach to, e.g. '0000:d8:00.0'
|
|
2980
|
+
:param _builtins.bool use_static_mac: If true, the mac_address field is treated as a static MAC address and set accordingly.
|
|
2580
2981
|
"""
|
|
2581
2982
|
pulumi.set(__self__, "network_id", network_id)
|
|
2582
2983
|
if adapter_type is not None:
|
|
@@ -2602,99 +3003,99 @@ class VirtualMachineNetworkInterface(dict):
|
|
|
2602
3003
|
if use_static_mac is not None:
|
|
2603
3004
|
pulumi.set(__self__, "use_static_mac", use_static_mac)
|
|
2604
3005
|
|
|
2605
|
-
@property
|
|
3006
|
+
@_builtins.property
|
|
2606
3007
|
@pulumi.getter(name="networkId")
|
|
2607
|
-
def network_id(self) -> str:
|
|
3008
|
+
def network_id(self) -> _builtins.str:
|
|
2608
3009
|
"""
|
|
2609
|
-
The
|
|
3010
|
+
The ID of the network to connect this network interface to.
|
|
2610
3011
|
"""
|
|
2611
3012
|
return pulumi.get(self, "network_id")
|
|
2612
3013
|
|
|
2613
|
-
@property
|
|
3014
|
+
@_builtins.property
|
|
2614
3015
|
@pulumi.getter(name="adapterType")
|
|
2615
|
-
def adapter_type(self) -> Optional[str]:
|
|
3016
|
+
def adapter_type(self) -> Optional[_builtins.str]:
|
|
2616
3017
|
"""
|
|
2617
|
-
The
|
|
3018
|
+
The controller type. Can be one of e1000, e1000e, sriov, vmxnet3, or vrdma.
|
|
2618
3019
|
"""
|
|
2619
3020
|
return pulumi.get(self, "adapter_type")
|
|
2620
3021
|
|
|
2621
|
-
@property
|
|
3022
|
+
@_builtins.property
|
|
2622
3023
|
@pulumi.getter(name="bandwidthLimit")
|
|
2623
|
-
def bandwidth_limit(self) -> Optional[int]:
|
|
3024
|
+
def bandwidth_limit(self) -> Optional[_builtins.int]:
|
|
2624
3025
|
"""
|
|
2625
|
-
The upper bandwidth limit of
|
|
3026
|
+
The upper bandwidth limit of this network interface, in Mbits/sec.
|
|
2626
3027
|
"""
|
|
2627
3028
|
return pulumi.get(self, "bandwidth_limit")
|
|
2628
3029
|
|
|
2629
|
-
@property
|
|
3030
|
+
@_builtins.property
|
|
2630
3031
|
@pulumi.getter(name="bandwidthReservation")
|
|
2631
|
-
def bandwidth_reservation(self) -> Optional[int]:
|
|
3032
|
+
def bandwidth_reservation(self) -> Optional[_builtins.int]:
|
|
2632
3033
|
"""
|
|
2633
|
-
The bandwidth reservation of
|
|
3034
|
+
The bandwidth reservation of this network interface, in Mbits/sec.
|
|
2634
3035
|
"""
|
|
2635
3036
|
return pulumi.get(self, "bandwidth_reservation")
|
|
2636
3037
|
|
|
2637
|
-
@property
|
|
3038
|
+
@_builtins.property
|
|
2638
3039
|
@pulumi.getter(name="bandwidthShareCount")
|
|
2639
|
-
def bandwidth_share_count(self) -> Optional[int]:
|
|
3040
|
+
def bandwidth_share_count(self) -> Optional[_builtins.int]:
|
|
2640
3041
|
"""
|
|
2641
|
-
The share count for
|
|
3042
|
+
The share count for this network interface when the share level is custom.
|
|
2642
3043
|
"""
|
|
2643
3044
|
return pulumi.get(self, "bandwidth_share_count")
|
|
2644
3045
|
|
|
2645
|
-
@property
|
|
3046
|
+
@_builtins.property
|
|
2646
3047
|
@pulumi.getter(name="bandwidthShareLevel")
|
|
2647
|
-
def bandwidth_share_level(self) -> Optional[str]:
|
|
3048
|
+
def bandwidth_share_level(self) -> Optional[_builtins.str]:
|
|
2648
3049
|
"""
|
|
2649
|
-
The bandwidth share allocation level for
|
|
3050
|
+
The bandwidth share allocation level for this interface. Can be one of low, normal, high, or custom.
|
|
2650
3051
|
"""
|
|
2651
3052
|
return pulumi.get(self, "bandwidth_share_level")
|
|
2652
3053
|
|
|
2653
|
-
@property
|
|
3054
|
+
@_builtins.property
|
|
2654
3055
|
@pulumi.getter(name="deviceAddress")
|
|
2655
|
-
def device_address(self) -> Optional[str]:
|
|
3056
|
+
def device_address(self) -> Optional[_builtins.str]:
|
|
2656
3057
|
"""
|
|
2657
3058
|
The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
2658
3059
|
"""
|
|
2659
3060
|
return pulumi.get(self, "device_address")
|
|
2660
3061
|
|
|
2661
|
-
@property
|
|
3062
|
+
@_builtins.property
|
|
2662
3063
|
@pulumi.getter
|
|
2663
|
-
def key(self) -> Optional[int]:
|
|
3064
|
+
def key(self) -> Optional[_builtins.int]:
|
|
2664
3065
|
"""
|
|
2665
3066
|
The ID of the device within the virtual machine.
|
|
2666
3067
|
"""
|
|
2667
3068
|
return pulumi.get(self, "key")
|
|
2668
3069
|
|
|
2669
|
-
@property
|
|
3070
|
+
@_builtins.property
|
|
2670
3071
|
@pulumi.getter(name="macAddress")
|
|
2671
|
-
def mac_address(self) -> Optional[str]:
|
|
3072
|
+
def mac_address(self) -> Optional[_builtins.str]:
|
|
2672
3073
|
"""
|
|
2673
|
-
The MAC address of
|
|
3074
|
+
The MAC address of this network interface. Can only be manually set if use_static_mac is true.
|
|
2674
3075
|
"""
|
|
2675
3076
|
return pulumi.get(self, "mac_address")
|
|
2676
3077
|
|
|
2677
|
-
@property
|
|
3078
|
+
@_builtins.property
|
|
2678
3079
|
@pulumi.getter(name="ovfMapping")
|
|
2679
|
-
def ovf_mapping(self) -> Optional[str]:
|
|
3080
|
+
def ovf_mapping(self) -> Optional[_builtins.str]:
|
|
2680
3081
|
"""
|
|
2681
|
-
|
|
3082
|
+
Mapping of network interface to OVF network.
|
|
2682
3083
|
"""
|
|
2683
3084
|
return pulumi.get(self, "ovf_mapping")
|
|
2684
3085
|
|
|
2685
|
-
@property
|
|
3086
|
+
@_builtins.property
|
|
2686
3087
|
@pulumi.getter(name="physicalFunction")
|
|
2687
|
-
def physical_function(self) -> Optional[str]:
|
|
3088
|
+
def physical_function(self) -> Optional[_builtins.str]:
|
|
2688
3089
|
"""
|
|
2689
3090
|
The ID of the Physical SR-IOV NIC to attach to, e.g. '0000:d8:00.0'
|
|
2690
3091
|
"""
|
|
2691
3092
|
return pulumi.get(self, "physical_function")
|
|
2692
3093
|
|
|
2693
|
-
@property
|
|
3094
|
+
@_builtins.property
|
|
2694
3095
|
@pulumi.getter(name="useStaticMac")
|
|
2695
|
-
def use_static_mac(self) -> Optional[bool]:
|
|
3096
|
+
def use_static_mac(self) -> Optional[_builtins.bool]:
|
|
2696
3097
|
"""
|
|
2697
|
-
If true, the
|
|
3098
|
+
If true, the mac_address field is treated as a static MAC address and set accordingly.
|
|
2698
3099
|
"""
|
|
2699
3100
|
return pulumi.get(self, "use_static_mac")
|
|
2700
3101
|
|
|
@@ -2735,25 +3136,25 @@ class VirtualMachineOvfDeploy(dict):
|
|
|
2735
3136
|
return super().get(key, default)
|
|
2736
3137
|
|
|
2737
3138
|
def __init__(__self__, *,
|
|
2738
|
-
allow_unverified_ssl_cert: Optional[bool] = None,
|
|
2739
|
-
deployment_option: Optional[str] = None,
|
|
2740
|
-
disk_provisioning: Optional[str] = None,
|
|
2741
|
-
enable_hidden_properties: Optional[bool] = None,
|
|
2742
|
-
ip_allocation_policy: Optional[str] = None,
|
|
2743
|
-
ip_protocol: Optional[str] = None,
|
|
2744
|
-
local_ovf_path: Optional[str] = None,
|
|
2745
|
-
ovf_network_map: Optional[Mapping[str, str]] = None,
|
|
2746
|
-
remote_ovf_url: Optional[str] = None):
|
|
2747
|
-
"""
|
|
2748
|
-
:param bool allow_unverified_ssl_cert: Allow unverified ssl certificates while deploying ovf/ova from url.
|
|
2749
|
-
:param str deployment_option: The Deployment option to be chosen. If empty, the default option is used.
|
|
2750
|
-
:param str disk_provisioning: An optional disk provisioning. If set, all the disks in the deployed ovf will have the same specified disk type (e.g., thin provisioned).
|
|
2751
|
-
:param bool enable_hidden_properties: Allow properties with ovf:userConfigurable=false to be set.
|
|
2752
|
-
:param str ip_allocation_policy: The IP allocation policy.
|
|
2753
|
-
:param str ip_protocol: The IP protocol.
|
|
2754
|
-
:param str local_ovf_path: The absolute path to the ovf/ova file in the local system.
|
|
2755
|
-
:param Mapping[str, str] ovf_network_map: The mapping of name of network identifiers from the ovf descriptor to network UUID in the VI infrastructure.
|
|
2756
|
-
:param str remote_ovf_url: URL to the remote ovf/ova file to be deployed.
|
|
3139
|
+
allow_unverified_ssl_cert: Optional[_builtins.bool] = None,
|
|
3140
|
+
deployment_option: Optional[_builtins.str] = None,
|
|
3141
|
+
disk_provisioning: Optional[_builtins.str] = None,
|
|
3142
|
+
enable_hidden_properties: Optional[_builtins.bool] = None,
|
|
3143
|
+
ip_allocation_policy: Optional[_builtins.str] = None,
|
|
3144
|
+
ip_protocol: Optional[_builtins.str] = None,
|
|
3145
|
+
local_ovf_path: Optional[_builtins.str] = None,
|
|
3146
|
+
ovf_network_map: Optional[Mapping[str, _builtins.str]] = None,
|
|
3147
|
+
remote_ovf_url: Optional[_builtins.str] = None):
|
|
3148
|
+
"""
|
|
3149
|
+
:param _builtins.bool allow_unverified_ssl_cert: Allow unverified ssl certificates while deploying ovf/ova from url.
|
|
3150
|
+
:param _builtins.str deployment_option: The Deployment option to be chosen. If empty, the default option is used.
|
|
3151
|
+
:param _builtins.str disk_provisioning: An optional disk provisioning. If set, all the disks in the deployed ovf will have the same specified disk type (e.g., thin provisioned).
|
|
3152
|
+
:param _builtins.bool enable_hidden_properties: Allow properties with ovf:userConfigurable=false to be set.
|
|
3153
|
+
:param _builtins.str ip_allocation_policy: The IP allocation policy.
|
|
3154
|
+
:param _builtins.str ip_protocol: The IP protocol.
|
|
3155
|
+
:param _builtins.str local_ovf_path: The absolute path to the ovf/ova file in the local system.
|
|
3156
|
+
:param Mapping[str, _builtins.str] ovf_network_map: The mapping of name of network identifiers from the ovf descriptor to network UUID in the VI infrastructure.
|
|
3157
|
+
:param _builtins.str remote_ovf_url: URL to the remote ovf/ova file to be deployed.
|
|
2757
3158
|
"""
|
|
2758
3159
|
if allow_unverified_ssl_cert is not None:
|
|
2759
3160
|
pulumi.set(__self__, "allow_unverified_ssl_cert", allow_unverified_ssl_cert)
|
|
@@ -2774,73 +3175,73 @@ class VirtualMachineOvfDeploy(dict):
|
|
|
2774
3175
|
if remote_ovf_url is not None:
|
|
2775
3176
|
pulumi.set(__self__, "remote_ovf_url", remote_ovf_url)
|
|
2776
3177
|
|
|
2777
|
-
@property
|
|
3178
|
+
@_builtins.property
|
|
2778
3179
|
@pulumi.getter(name="allowUnverifiedSslCert")
|
|
2779
|
-
def allow_unverified_ssl_cert(self) -> Optional[bool]:
|
|
3180
|
+
def allow_unverified_ssl_cert(self) -> Optional[_builtins.bool]:
|
|
2780
3181
|
"""
|
|
2781
3182
|
Allow unverified ssl certificates while deploying ovf/ova from url.
|
|
2782
3183
|
"""
|
|
2783
3184
|
return pulumi.get(self, "allow_unverified_ssl_cert")
|
|
2784
3185
|
|
|
2785
|
-
@property
|
|
3186
|
+
@_builtins.property
|
|
2786
3187
|
@pulumi.getter(name="deploymentOption")
|
|
2787
|
-
def deployment_option(self) -> Optional[str]:
|
|
3188
|
+
def deployment_option(self) -> Optional[_builtins.str]:
|
|
2788
3189
|
"""
|
|
2789
3190
|
The Deployment option to be chosen. If empty, the default option is used.
|
|
2790
3191
|
"""
|
|
2791
3192
|
return pulumi.get(self, "deployment_option")
|
|
2792
3193
|
|
|
2793
|
-
@property
|
|
3194
|
+
@_builtins.property
|
|
2794
3195
|
@pulumi.getter(name="diskProvisioning")
|
|
2795
|
-
def disk_provisioning(self) -> Optional[str]:
|
|
3196
|
+
def disk_provisioning(self) -> Optional[_builtins.str]:
|
|
2796
3197
|
"""
|
|
2797
3198
|
An optional disk provisioning. If set, all the disks in the deployed ovf will have the same specified disk type (e.g., thin provisioned).
|
|
2798
3199
|
"""
|
|
2799
3200
|
return pulumi.get(self, "disk_provisioning")
|
|
2800
3201
|
|
|
2801
|
-
@property
|
|
3202
|
+
@_builtins.property
|
|
2802
3203
|
@pulumi.getter(name="enableHiddenProperties")
|
|
2803
|
-
def enable_hidden_properties(self) -> Optional[bool]:
|
|
3204
|
+
def enable_hidden_properties(self) -> Optional[_builtins.bool]:
|
|
2804
3205
|
"""
|
|
2805
3206
|
Allow properties with ovf:userConfigurable=false to be set.
|
|
2806
3207
|
"""
|
|
2807
3208
|
return pulumi.get(self, "enable_hidden_properties")
|
|
2808
3209
|
|
|
2809
|
-
@property
|
|
3210
|
+
@_builtins.property
|
|
2810
3211
|
@pulumi.getter(name="ipAllocationPolicy")
|
|
2811
|
-
def ip_allocation_policy(self) -> Optional[str]:
|
|
3212
|
+
def ip_allocation_policy(self) -> Optional[_builtins.str]:
|
|
2812
3213
|
"""
|
|
2813
3214
|
The IP allocation policy.
|
|
2814
3215
|
"""
|
|
2815
3216
|
return pulumi.get(self, "ip_allocation_policy")
|
|
2816
3217
|
|
|
2817
|
-
@property
|
|
3218
|
+
@_builtins.property
|
|
2818
3219
|
@pulumi.getter(name="ipProtocol")
|
|
2819
|
-
def ip_protocol(self) -> Optional[str]:
|
|
3220
|
+
def ip_protocol(self) -> Optional[_builtins.str]:
|
|
2820
3221
|
"""
|
|
2821
3222
|
The IP protocol.
|
|
2822
3223
|
"""
|
|
2823
3224
|
return pulumi.get(self, "ip_protocol")
|
|
2824
3225
|
|
|
2825
|
-
@property
|
|
3226
|
+
@_builtins.property
|
|
2826
3227
|
@pulumi.getter(name="localOvfPath")
|
|
2827
|
-
def local_ovf_path(self) -> Optional[str]:
|
|
3228
|
+
def local_ovf_path(self) -> Optional[_builtins.str]:
|
|
2828
3229
|
"""
|
|
2829
3230
|
The absolute path to the ovf/ova file in the local system.
|
|
2830
3231
|
"""
|
|
2831
3232
|
return pulumi.get(self, "local_ovf_path")
|
|
2832
3233
|
|
|
2833
|
-
@property
|
|
3234
|
+
@_builtins.property
|
|
2834
3235
|
@pulumi.getter(name="ovfNetworkMap")
|
|
2835
|
-
def ovf_network_map(self) -> Optional[Mapping[str, str]]:
|
|
3236
|
+
def ovf_network_map(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
2836
3237
|
"""
|
|
2837
3238
|
The mapping of name of network identifiers from the ovf descriptor to network UUID in the VI infrastructure.
|
|
2838
3239
|
"""
|
|
2839
3240
|
return pulumi.get(self, "ovf_network_map")
|
|
2840
3241
|
|
|
2841
|
-
@property
|
|
3242
|
+
@_builtins.property
|
|
2842
3243
|
@pulumi.getter(name="remoteOvfUrl")
|
|
2843
|
-
def remote_ovf_url(self) -> Optional[str]:
|
|
3244
|
+
def remote_ovf_url(self) -> Optional[_builtins.str]:
|
|
2844
3245
|
"""
|
|
2845
3246
|
URL to the remote ovf/ova file to be deployed.
|
|
2846
3247
|
"""
|
|
@@ -2850,22 +3251,41 @@ class VirtualMachineOvfDeploy(dict):
|
|
|
2850
3251
|
@pulumi.output_type
|
|
2851
3252
|
class VirtualMachineVapp(dict):
|
|
2852
3253
|
def __init__(__self__, *,
|
|
2853
|
-
properties: Optional[Mapping[str, str]] = None):
|
|
3254
|
+
properties: Optional[Mapping[str, _builtins.str]] = None):
|
|
2854
3255
|
"""
|
|
2855
|
-
:param Mapping[str, str] properties: A map of customizable vApp properties and their values. Allows customization of VMs cloned from OVF templates which have customizable vApp properties.
|
|
3256
|
+
:param Mapping[str, _builtins.str] properties: A map of customizable vApp properties and their values. Allows customization of VMs cloned from OVF templates which have customizable vApp properties.
|
|
2856
3257
|
"""
|
|
2857
3258
|
if properties is not None:
|
|
2858
3259
|
pulumi.set(__self__, "properties", properties)
|
|
2859
3260
|
|
|
2860
|
-
@property
|
|
3261
|
+
@_builtins.property
|
|
2861
3262
|
@pulumi.getter
|
|
2862
|
-
def properties(self) -> Optional[Mapping[str, str]]:
|
|
3263
|
+
def properties(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
2863
3264
|
"""
|
|
2864
3265
|
A map of customizable vApp properties and their values. Allows customization of VMs cloned from OVF templates which have customizable vApp properties.
|
|
2865
3266
|
"""
|
|
2866
3267
|
return pulumi.get(self, "properties")
|
|
2867
3268
|
|
|
2868
3269
|
|
|
3270
|
+
@pulumi.output_type
|
|
3271
|
+
class VirtualMachineVtpm(dict):
|
|
3272
|
+
def __init__(__self__, *,
|
|
3273
|
+
version: Optional[_builtins.str] = None):
|
|
3274
|
+
"""
|
|
3275
|
+
:param _builtins.str version: The version of the TPM device. Default is 2.0.
|
|
3276
|
+
"""
|
|
3277
|
+
if version is not None:
|
|
3278
|
+
pulumi.set(__self__, "version", version)
|
|
3279
|
+
|
|
3280
|
+
@_builtins.property
|
|
3281
|
+
@pulumi.getter
|
|
3282
|
+
def version(self) -> Optional[_builtins.str]:
|
|
3283
|
+
"""
|
|
3284
|
+
The version of the TPM device. Default is 2.0.
|
|
3285
|
+
"""
|
|
3286
|
+
return pulumi.get(self, "version")
|
|
3287
|
+
|
|
3288
|
+
|
|
2869
3289
|
@pulumi.output_type
|
|
2870
3290
|
class VmStoragePolicyTagRule(dict):
|
|
2871
3291
|
@staticmethod
|
|
@@ -2888,38 +3308,38 @@ class VmStoragePolicyTagRule(dict):
|
|
|
2888
3308
|
return super().get(key, default)
|
|
2889
3309
|
|
|
2890
3310
|
def __init__(__self__, *,
|
|
2891
|
-
tag_category: str,
|
|
2892
|
-
tags: Sequence[str],
|
|
2893
|
-
include_datastores_with_tags: Optional[bool] = None):
|
|
3311
|
+
tag_category: _builtins.str,
|
|
3312
|
+
tags: Sequence[_builtins.str],
|
|
3313
|
+
include_datastores_with_tags: Optional[_builtins.bool] = None):
|
|
2894
3314
|
"""
|
|
2895
|
-
:param str tag_category: Name of the tag category.
|
|
2896
|
-
:param Sequence[str] tags: List of Name of tags to select from the given category.
|
|
2897
|
-
:param bool include_datastores_with_tags: Include datastores with the given tags or exclude. Default `true`.
|
|
3315
|
+
:param _builtins.str tag_category: Name of the tag category.
|
|
3316
|
+
:param Sequence[_builtins.str] tags: List of Name of tags to select from the given category.
|
|
3317
|
+
:param _builtins.bool include_datastores_with_tags: Include datastores with the given tags or exclude. Default `true`.
|
|
2898
3318
|
"""
|
|
2899
3319
|
pulumi.set(__self__, "tag_category", tag_category)
|
|
2900
3320
|
pulumi.set(__self__, "tags", tags)
|
|
2901
3321
|
if include_datastores_with_tags is not None:
|
|
2902
3322
|
pulumi.set(__self__, "include_datastores_with_tags", include_datastores_with_tags)
|
|
2903
3323
|
|
|
2904
|
-
@property
|
|
3324
|
+
@_builtins.property
|
|
2905
3325
|
@pulumi.getter(name="tagCategory")
|
|
2906
|
-
def tag_category(self) -> str:
|
|
3326
|
+
def tag_category(self) -> _builtins.str:
|
|
2907
3327
|
"""
|
|
2908
3328
|
Name of the tag category.
|
|
2909
3329
|
"""
|
|
2910
3330
|
return pulumi.get(self, "tag_category")
|
|
2911
3331
|
|
|
2912
|
-
@property
|
|
3332
|
+
@_builtins.property
|
|
2913
3333
|
@pulumi.getter
|
|
2914
|
-
def tags(self) -> Sequence[str]:
|
|
3334
|
+
def tags(self) -> Sequence[_builtins.str]:
|
|
2915
3335
|
"""
|
|
2916
3336
|
List of Name of tags to select from the given category.
|
|
2917
3337
|
"""
|
|
2918
3338
|
return pulumi.get(self, "tags")
|
|
2919
3339
|
|
|
2920
|
-
@property
|
|
3340
|
+
@_builtins.property
|
|
2921
3341
|
@pulumi.getter(name="includeDatastoresWithTags")
|
|
2922
|
-
def include_datastores_with_tags(self) -> Optional[bool]:
|
|
3342
|
+
def include_datastores_with_tags(self) -> Optional[_builtins.bool]:
|
|
2923
3343
|
"""
|
|
2924
3344
|
Include datastores with the given tags or exclude. Default `true`.
|
|
2925
3345
|
"""
|
|
@@ -2929,15 +3349,15 @@ class VmStoragePolicyTagRule(dict):
|
|
|
2929
3349
|
@pulumi.output_type
|
|
2930
3350
|
class VnicIpv4(dict):
|
|
2931
3351
|
def __init__(__self__, *,
|
|
2932
|
-
dhcp: Optional[bool] = None,
|
|
2933
|
-
gw: Optional[str] = None,
|
|
2934
|
-
ip: Optional[str] = None,
|
|
2935
|
-
netmask: Optional[str] = None):
|
|
3352
|
+
dhcp: Optional[_builtins.bool] = None,
|
|
3353
|
+
gw: Optional[_builtins.str] = None,
|
|
3354
|
+
ip: Optional[_builtins.str] = None,
|
|
3355
|
+
netmask: Optional[_builtins.str] = None):
|
|
2936
3356
|
"""
|
|
2937
|
-
:param bool dhcp: Use DHCP to configure the interface's
|
|
2938
|
-
:param str gw: IP address of the default gateway, if DHCP
|
|
2939
|
-
:param str ip:
|
|
2940
|
-
:param str netmask:
|
|
3357
|
+
:param _builtins.bool dhcp: Use DHCP to configure the interface's IPv4 stack.
|
|
3358
|
+
:param _builtins.str gw: IP address of the default gateway, if DHCP is not set.
|
|
3359
|
+
:param _builtins.str ip: address of the interface, if DHCP is not set.
|
|
3360
|
+
:param _builtins.str netmask: netmask of the interface, if DHCP is not set.
|
|
2941
3361
|
"""
|
|
2942
3362
|
if dhcp is not None:
|
|
2943
3363
|
pulumi.set(__self__, "dhcp", dhcp)
|
|
@@ -2948,35 +3368,35 @@ class VnicIpv4(dict):
|
|
|
2948
3368
|
if netmask is not None:
|
|
2949
3369
|
pulumi.set(__self__, "netmask", netmask)
|
|
2950
3370
|
|
|
2951
|
-
@property
|
|
3371
|
+
@_builtins.property
|
|
2952
3372
|
@pulumi.getter
|
|
2953
|
-
def dhcp(self) -> Optional[bool]:
|
|
3373
|
+
def dhcp(self) -> Optional[_builtins.bool]:
|
|
2954
3374
|
"""
|
|
2955
|
-
Use DHCP to configure the interface's
|
|
3375
|
+
Use DHCP to configure the interface's IPv4 stack.
|
|
2956
3376
|
"""
|
|
2957
3377
|
return pulumi.get(self, "dhcp")
|
|
2958
3378
|
|
|
2959
|
-
@property
|
|
3379
|
+
@_builtins.property
|
|
2960
3380
|
@pulumi.getter
|
|
2961
|
-
def gw(self) -> Optional[str]:
|
|
3381
|
+
def gw(self) -> Optional[_builtins.str]:
|
|
2962
3382
|
"""
|
|
2963
|
-
IP address of the default gateway, if DHCP
|
|
3383
|
+
IP address of the default gateway, if DHCP is not set.
|
|
2964
3384
|
"""
|
|
2965
3385
|
return pulumi.get(self, "gw")
|
|
2966
3386
|
|
|
2967
|
-
@property
|
|
3387
|
+
@_builtins.property
|
|
2968
3388
|
@pulumi.getter
|
|
2969
|
-
def ip(self) -> Optional[str]:
|
|
3389
|
+
def ip(self) -> Optional[_builtins.str]:
|
|
2970
3390
|
"""
|
|
2971
|
-
|
|
3391
|
+
address of the interface, if DHCP is not set.
|
|
2972
3392
|
"""
|
|
2973
3393
|
return pulumi.get(self, "ip")
|
|
2974
3394
|
|
|
2975
|
-
@property
|
|
3395
|
+
@_builtins.property
|
|
2976
3396
|
@pulumi.getter
|
|
2977
|
-
def netmask(self) -> Optional[str]:
|
|
3397
|
+
def netmask(self) -> Optional[_builtins.str]:
|
|
2978
3398
|
"""
|
|
2979
|
-
|
|
3399
|
+
netmask of the interface, if DHCP is not set.
|
|
2980
3400
|
"""
|
|
2981
3401
|
return pulumi.get(self, "netmask")
|
|
2982
3402
|
|
|
@@ -2984,15 +3404,15 @@ class VnicIpv4(dict):
|
|
|
2984
3404
|
@pulumi.output_type
|
|
2985
3405
|
class VnicIpv6(dict):
|
|
2986
3406
|
def __init__(__self__, *,
|
|
2987
|
-
addresses: Optional[Sequence[str]] = None,
|
|
2988
|
-
autoconfig: Optional[bool] = None,
|
|
2989
|
-
dhcp: Optional[bool] = None,
|
|
2990
|
-
gw: Optional[str] = None):
|
|
3407
|
+
addresses: Optional[Sequence[_builtins.str]] = None,
|
|
3408
|
+
autoconfig: Optional[_builtins.bool] = None,
|
|
3409
|
+
dhcp: Optional[_builtins.bool] = None,
|
|
3410
|
+
gw: Optional[_builtins.str] = None):
|
|
2991
3411
|
"""
|
|
2992
|
-
:param Sequence[str] addresses: List of IPv6 addresses
|
|
2993
|
-
:param bool autoconfig: Use IPv6 Autoconfiguration (RFC2462).
|
|
2994
|
-
:param bool dhcp: Use DHCP to configure the interface's
|
|
2995
|
-
:param str gw: IP address of the default gateway, if DHCP or autoconfig is not set.
|
|
3412
|
+
:param Sequence[_builtins.str] addresses: List of IPv6 addresses
|
|
3413
|
+
:param _builtins.bool autoconfig: Use IPv6 Autoconfiguration (RFC2462).
|
|
3414
|
+
:param _builtins.bool dhcp: Use DHCP to configure the interface's IPv4 stack.
|
|
3415
|
+
:param _builtins.str gw: IP address of the default gateway, if DHCP or autoconfig is not set.
|
|
2996
3416
|
"""
|
|
2997
3417
|
if addresses is not None:
|
|
2998
3418
|
pulumi.set(__self__, "addresses", addresses)
|
|
@@ -3003,33 +3423,33 @@ class VnicIpv6(dict):
|
|
|
3003
3423
|
if gw is not None:
|
|
3004
3424
|
pulumi.set(__self__, "gw", gw)
|
|
3005
3425
|
|
|
3006
|
-
@property
|
|
3426
|
+
@_builtins.property
|
|
3007
3427
|
@pulumi.getter
|
|
3008
|
-
def addresses(self) -> Optional[Sequence[str]]:
|
|
3428
|
+
def addresses(self) -> Optional[Sequence[_builtins.str]]:
|
|
3009
3429
|
"""
|
|
3010
3430
|
List of IPv6 addresses
|
|
3011
3431
|
"""
|
|
3012
3432
|
return pulumi.get(self, "addresses")
|
|
3013
3433
|
|
|
3014
|
-
@property
|
|
3434
|
+
@_builtins.property
|
|
3015
3435
|
@pulumi.getter
|
|
3016
|
-
def autoconfig(self) -> Optional[bool]:
|
|
3436
|
+
def autoconfig(self) -> Optional[_builtins.bool]:
|
|
3017
3437
|
"""
|
|
3018
3438
|
Use IPv6 Autoconfiguration (RFC2462).
|
|
3019
3439
|
"""
|
|
3020
3440
|
return pulumi.get(self, "autoconfig")
|
|
3021
3441
|
|
|
3022
|
-
@property
|
|
3442
|
+
@_builtins.property
|
|
3023
3443
|
@pulumi.getter
|
|
3024
|
-
def dhcp(self) -> Optional[bool]:
|
|
3444
|
+
def dhcp(self) -> Optional[_builtins.bool]:
|
|
3025
3445
|
"""
|
|
3026
|
-
Use DHCP to configure the interface's
|
|
3446
|
+
Use DHCP to configure the interface's IPv4 stack.
|
|
3027
3447
|
"""
|
|
3028
3448
|
return pulumi.get(self, "dhcp")
|
|
3029
3449
|
|
|
3030
|
-
@property
|
|
3450
|
+
@_builtins.property
|
|
3031
3451
|
@pulumi.getter
|
|
3032
|
-
def gw(self) -> Optional[str]:
|
|
3452
|
+
def gw(self) -> Optional[_builtins.str]:
|
|
3033
3453
|
"""
|
|
3034
3454
|
IP address of the default gateway, if DHCP or autoconfig is not set.
|
|
3035
3455
|
"""
|
|
@@ -3039,19 +3459,19 @@ class VnicIpv6(dict):
|
|
|
3039
3459
|
@pulumi.output_type
|
|
3040
3460
|
class GetGuestOsCustomizationSpecResult(dict):
|
|
3041
3461
|
def __init__(__self__, *,
|
|
3042
|
-
dns_server_lists: Sequence[str],
|
|
3043
|
-
dns_suffix_lists: Sequence[str],
|
|
3462
|
+
dns_server_lists: Sequence[_builtins.str],
|
|
3463
|
+
dns_suffix_lists: Sequence[_builtins.str],
|
|
3044
3464
|
linux_options: Sequence['outputs.GetGuestOsCustomizationSpecLinuxOptionResult'],
|
|
3045
3465
|
network_interfaces: Sequence['outputs.GetGuestOsCustomizationSpecNetworkInterfaceResult'],
|
|
3046
3466
|
windows_options: Sequence['outputs.GetGuestOsCustomizationSpecWindowsOptionResult'],
|
|
3047
|
-
windows_sysprep_text: str):
|
|
3467
|
+
windows_sysprep_text: _builtins.str):
|
|
3048
3468
|
"""
|
|
3049
|
-
:param Sequence[str] dns_server_lists: A list of DNS servers for a virtual network adapter with a static IP address.
|
|
3050
|
-
:param Sequence[str] dns_suffix_lists: A list of DNS search domains to add to the DNS configuration on the virtual machine.
|
|
3469
|
+
:param Sequence[_builtins.str] dns_server_lists: A list of DNS servers for a virtual network adapter with a static IP address.
|
|
3470
|
+
:param Sequence[_builtins.str] dns_suffix_lists: A list of DNS search domains to add to the DNS configuration on the virtual machine.
|
|
3051
3471
|
:param Sequence['GetGuestOsCustomizationSpecLinuxOptionArgs'] linux_options: A list of configuration options specific to Linux.
|
|
3052
3472
|
:param Sequence['GetGuestOsCustomizationSpecNetworkInterfaceArgs'] network_interfaces: A specification of network interface configuration options.
|
|
3053
3473
|
:param Sequence['GetGuestOsCustomizationSpecWindowsOptionArgs'] windows_options: A list of configuration options specific to Windows.
|
|
3054
|
-
:param str windows_sysprep_text: Use this option to specify use of a Windows Sysprep file.
|
|
3474
|
+
:param _builtins.str windows_sysprep_text: Use this option to specify use of a Windows Sysprep file.
|
|
3055
3475
|
"""
|
|
3056
3476
|
pulumi.set(__self__, "dns_server_lists", dns_server_lists)
|
|
3057
3477
|
pulumi.set(__self__, "dns_suffix_lists", dns_suffix_lists)
|
|
@@ -3060,23 +3480,23 @@ class GetGuestOsCustomizationSpecResult(dict):
|
|
|
3060
3480
|
pulumi.set(__self__, "windows_options", windows_options)
|
|
3061
3481
|
pulumi.set(__self__, "windows_sysprep_text", windows_sysprep_text)
|
|
3062
3482
|
|
|
3063
|
-
@property
|
|
3483
|
+
@_builtins.property
|
|
3064
3484
|
@pulumi.getter(name="dnsServerLists")
|
|
3065
|
-
def dns_server_lists(self) -> Sequence[str]:
|
|
3485
|
+
def dns_server_lists(self) -> Sequence[_builtins.str]:
|
|
3066
3486
|
"""
|
|
3067
3487
|
A list of DNS servers for a virtual network adapter with a static IP address.
|
|
3068
3488
|
"""
|
|
3069
3489
|
return pulumi.get(self, "dns_server_lists")
|
|
3070
3490
|
|
|
3071
|
-
@property
|
|
3491
|
+
@_builtins.property
|
|
3072
3492
|
@pulumi.getter(name="dnsSuffixLists")
|
|
3073
|
-
def dns_suffix_lists(self) -> Sequence[str]:
|
|
3493
|
+
def dns_suffix_lists(self) -> Sequence[_builtins.str]:
|
|
3074
3494
|
"""
|
|
3075
3495
|
A list of DNS search domains to add to the DNS configuration on the virtual machine.
|
|
3076
3496
|
"""
|
|
3077
3497
|
return pulumi.get(self, "dns_suffix_lists")
|
|
3078
3498
|
|
|
3079
|
-
@property
|
|
3499
|
+
@_builtins.property
|
|
3080
3500
|
@pulumi.getter(name="linuxOptions")
|
|
3081
3501
|
def linux_options(self) -> Sequence['outputs.GetGuestOsCustomizationSpecLinuxOptionResult']:
|
|
3082
3502
|
"""
|
|
@@ -3084,7 +3504,7 @@ class GetGuestOsCustomizationSpecResult(dict):
|
|
|
3084
3504
|
"""
|
|
3085
3505
|
return pulumi.get(self, "linux_options")
|
|
3086
3506
|
|
|
3087
|
-
@property
|
|
3507
|
+
@_builtins.property
|
|
3088
3508
|
@pulumi.getter(name="networkInterfaces")
|
|
3089
3509
|
def network_interfaces(self) -> Sequence['outputs.GetGuestOsCustomizationSpecNetworkInterfaceResult']:
|
|
3090
3510
|
"""
|
|
@@ -3092,7 +3512,7 @@ class GetGuestOsCustomizationSpecResult(dict):
|
|
|
3092
3512
|
"""
|
|
3093
3513
|
return pulumi.get(self, "network_interfaces")
|
|
3094
3514
|
|
|
3095
|
-
@property
|
|
3515
|
+
@_builtins.property
|
|
3096
3516
|
@pulumi.getter(name="windowsOptions")
|
|
3097
3517
|
def windows_options(self) -> Sequence['outputs.GetGuestOsCustomizationSpecWindowsOptionResult']:
|
|
3098
3518
|
"""
|
|
@@ -3100,9 +3520,9 @@ class GetGuestOsCustomizationSpecResult(dict):
|
|
|
3100
3520
|
"""
|
|
3101
3521
|
return pulumi.get(self, "windows_options")
|
|
3102
3522
|
|
|
3103
|
-
@property
|
|
3523
|
+
@_builtins.property
|
|
3104
3524
|
@pulumi.getter(name="windowsSysprepText")
|
|
3105
|
-
def windows_sysprep_text(self) -> str:
|
|
3525
|
+
def windows_sysprep_text(self) -> _builtins.str:
|
|
3106
3526
|
"""
|
|
3107
3527
|
Use this option to specify use of a Windows Sysprep file.
|
|
3108
3528
|
"""
|
|
@@ -3112,17 +3532,17 @@ class GetGuestOsCustomizationSpecResult(dict):
|
|
|
3112
3532
|
@pulumi.output_type
|
|
3113
3533
|
class GetGuestOsCustomizationSpecLinuxOptionResult(dict):
|
|
3114
3534
|
def __init__(__self__, *,
|
|
3115
|
-
domain: str,
|
|
3116
|
-
host_name: str,
|
|
3117
|
-
hw_clock_utc: bool,
|
|
3118
|
-
script_text: str,
|
|
3119
|
-
time_zone: str):
|
|
3120
|
-
"""
|
|
3121
|
-
:param str domain: The domain name for this virtual machine.
|
|
3122
|
-
:param str host_name: The hostname for this virtual machine.
|
|
3123
|
-
:param bool hw_clock_utc: Specifies whether or not the hardware clock should be in UTC or not.
|
|
3124
|
-
:param str script_text: The customization script to run before and or after guest customization.
|
|
3125
|
-
:param str time_zone: Set the time zone on the guest operating system. For a list of the acceptable values for Linux customization specifications, see [List of Time Zone Database Zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) on Wikipedia.
|
|
3535
|
+
domain: _builtins.str,
|
|
3536
|
+
host_name: _builtins.str,
|
|
3537
|
+
hw_clock_utc: _builtins.bool,
|
|
3538
|
+
script_text: _builtins.str,
|
|
3539
|
+
time_zone: _builtins.str):
|
|
3540
|
+
"""
|
|
3541
|
+
:param _builtins.str domain: The domain name for this virtual machine.
|
|
3542
|
+
:param _builtins.str host_name: The hostname for this virtual machine.
|
|
3543
|
+
:param _builtins.bool hw_clock_utc: Specifies whether or not the hardware clock should be in UTC or not.
|
|
3544
|
+
:param _builtins.str script_text: The customization script to run before and or after guest customization.
|
|
3545
|
+
:param _builtins.str time_zone: Set the time zone on the guest operating system. For a list of the acceptable values for Linux customization specifications, see [List of Time Zone Database Zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) on Wikipedia.
|
|
3126
3546
|
"""
|
|
3127
3547
|
pulumi.set(__self__, "domain", domain)
|
|
3128
3548
|
pulumi.set(__self__, "host_name", host_name)
|
|
@@ -3130,41 +3550,41 @@ class GetGuestOsCustomizationSpecLinuxOptionResult(dict):
|
|
|
3130
3550
|
pulumi.set(__self__, "script_text", script_text)
|
|
3131
3551
|
pulumi.set(__self__, "time_zone", time_zone)
|
|
3132
3552
|
|
|
3133
|
-
@property
|
|
3553
|
+
@_builtins.property
|
|
3134
3554
|
@pulumi.getter
|
|
3135
|
-
def domain(self) -> str:
|
|
3555
|
+
def domain(self) -> _builtins.str:
|
|
3136
3556
|
"""
|
|
3137
3557
|
The domain name for this virtual machine.
|
|
3138
3558
|
"""
|
|
3139
3559
|
return pulumi.get(self, "domain")
|
|
3140
3560
|
|
|
3141
|
-
@property
|
|
3561
|
+
@_builtins.property
|
|
3142
3562
|
@pulumi.getter(name="hostName")
|
|
3143
|
-
def host_name(self) -> str:
|
|
3563
|
+
def host_name(self) -> _builtins.str:
|
|
3144
3564
|
"""
|
|
3145
3565
|
The hostname for this virtual machine.
|
|
3146
3566
|
"""
|
|
3147
3567
|
return pulumi.get(self, "host_name")
|
|
3148
3568
|
|
|
3149
|
-
@property
|
|
3569
|
+
@_builtins.property
|
|
3150
3570
|
@pulumi.getter(name="hwClockUtc")
|
|
3151
|
-
def hw_clock_utc(self) -> bool:
|
|
3571
|
+
def hw_clock_utc(self) -> _builtins.bool:
|
|
3152
3572
|
"""
|
|
3153
3573
|
Specifies whether or not the hardware clock should be in UTC or not.
|
|
3154
3574
|
"""
|
|
3155
3575
|
return pulumi.get(self, "hw_clock_utc")
|
|
3156
3576
|
|
|
3157
|
-
@property
|
|
3577
|
+
@_builtins.property
|
|
3158
3578
|
@pulumi.getter(name="scriptText")
|
|
3159
|
-
def script_text(self) -> str:
|
|
3579
|
+
def script_text(self) -> _builtins.str:
|
|
3160
3580
|
"""
|
|
3161
3581
|
The customization script to run before and or after guest customization.
|
|
3162
3582
|
"""
|
|
3163
3583
|
return pulumi.get(self, "script_text")
|
|
3164
3584
|
|
|
3165
|
-
@property
|
|
3585
|
+
@_builtins.property
|
|
3166
3586
|
@pulumi.getter(name="timeZone")
|
|
3167
|
-
def time_zone(self) -> str:
|
|
3587
|
+
def time_zone(self) -> _builtins.str:
|
|
3168
3588
|
"""
|
|
3169
3589
|
Set the time zone on the guest operating system. For a list of the acceptable values for Linux customization specifications, see [List of Time Zone Database Zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) on Wikipedia.
|
|
3170
3590
|
"""
|
|
@@ -3174,19 +3594,19 @@ class GetGuestOsCustomizationSpecLinuxOptionResult(dict):
|
|
|
3174
3594
|
@pulumi.output_type
|
|
3175
3595
|
class GetGuestOsCustomizationSpecNetworkInterfaceResult(dict):
|
|
3176
3596
|
def __init__(__self__, *,
|
|
3177
|
-
dns_domain: str,
|
|
3178
|
-
dns_server_lists: Sequence[str],
|
|
3179
|
-
ipv4_address: str,
|
|
3180
|
-
ipv4_netmask: int,
|
|
3181
|
-
ipv6_address: str,
|
|
3182
|
-
ipv6_netmask: int):
|
|
3183
|
-
"""
|
|
3184
|
-
:param str dns_domain: A DNS search domain to add to the DNS configuration on the virtual machine.
|
|
3185
|
-
:param Sequence[str] dns_server_lists: Network-interface specific DNS settings for Windows operating systems. Ignored on Linux.
|
|
3186
|
-
:param str ipv4_address: The IPv4 address assigned to this network adapter. If left blank, DHCP is used.
|
|
3187
|
-
:param int ipv4_netmask: The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected.
|
|
3188
|
-
:param str ipv6_address: The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used.
|
|
3189
|
-
:param int ipv6_netmask: The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected.
|
|
3597
|
+
dns_domain: _builtins.str,
|
|
3598
|
+
dns_server_lists: Sequence[_builtins.str],
|
|
3599
|
+
ipv4_address: _builtins.str,
|
|
3600
|
+
ipv4_netmask: _builtins.int,
|
|
3601
|
+
ipv6_address: _builtins.str,
|
|
3602
|
+
ipv6_netmask: _builtins.int):
|
|
3603
|
+
"""
|
|
3604
|
+
:param _builtins.str dns_domain: A DNS search domain to add to the DNS configuration on the virtual machine.
|
|
3605
|
+
:param Sequence[_builtins.str] dns_server_lists: Network-interface specific DNS settings for Windows operating systems. Ignored on Linux.
|
|
3606
|
+
:param _builtins.str ipv4_address: The IPv4 address assigned to this network adapter. If left blank, DHCP is used.
|
|
3607
|
+
:param _builtins.int ipv4_netmask: The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected.
|
|
3608
|
+
:param _builtins.str ipv6_address: The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used.
|
|
3609
|
+
:param _builtins.int ipv6_netmask: The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected.
|
|
3190
3610
|
"""
|
|
3191
3611
|
pulumi.set(__self__, "dns_domain", dns_domain)
|
|
3192
3612
|
pulumi.set(__self__, "dns_server_lists", dns_server_lists)
|
|
@@ -3195,49 +3615,49 @@ class GetGuestOsCustomizationSpecNetworkInterfaceResult(dict):
|
|
|
3195
3615
|
pulumi.set(__self__, "ipv6_address", ipv6_address)
|
|
3196
3616
|
pulumi.set(__self__, "ipv6_netmask", ipv6_netmask)
|
|
3197
3617
|
|
|
3198
|
-
@property
|
|
3618
|
+
@_builtins.property
|
|
3199
3619
|
@pulumi.getter(name="dnsDomain")
|
|
3200
|
-
def dns_domain(self) -> str:
|
|
3620
|
+
def dns_domain(self) -> _builtins.str:
|
|
3201
3621
|
"""
|
|
3202
3622
|
A DNS search domain to add to the DNS configuration on the virtual machine.
|
|
3203
3623
|
"""
|
|
3204
3624
|
return pulumi.get(self, "dns_domain")
|
|
3205
3625
|
|
|
3206
|
-
@property
|
|
3626
|
+
@_builtins.property
|
|
3207
3627
|
@pulumi.getter(name="dnsServerLists")
|
|
3208
|
-
def dns_server_lists(self) -> Sequence[str]:
|
|
3628
|
+
def dns_server_lists(self) -> Sequence[_builtins.str]:
|
|
3209
3629
|
"""
|
|
3210
3630
|
Network-interface specific DNS settings for Windows operating systems. Ignored on Linux.
|
|
3211
3631
|
"""
|
|
3212
3632
|
return pulumi.get(self, "dns_server_lists")
|
|
3213
3633
|
|
|
3214
|
-
@property
|
|
3634
|
+
@_builtins.property
|
|
3215
3635
|
@pulumi.getter(name="ipv4Address")
|
|
3216
|
-
def ipv4_address(self) -> str:
|
|
3636
|
+
def ipv4_address(self) -> _builtins.str:
|
|
3217
3637
|
"""
|
|
3218
3638
|
The IPv4 address assigned to this network adapter. If left blank, DHCP is used.
|
|
3219
3639
|
"""
|
|
3220
3640
|
return pulumi.get(self, "ipv4_address")
|
|
3221
3641
|
|
|
3222
|
-
@property
|
|
3642
|
+
@_builtins.property
|
|
3223
3643
|
@pulumi.getter(name="ipv4Netmask")
|
|
3224
|
-
def ipv4_netmask(self) -> int:
|
|
3644
|
+
def ipv4_netmask(self) -> _builtins.int:
|
|
3225
3645
|
"""
|
|
3226
3646
|
The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected.
|
|
3227
3647
|
"""
|
|
3228
3648
|
return pulumi.get(self, "ipv4_netmask")
|
|
3229
3649
|
|
|
3230
|
-
@property
|
|
3650
|
+
@_builtins.property
|
|
3231
3651
|
@pulumi.getter(name="ipv6Address")
|
|
3232
|
-
def ipv6_address(self) -> str:
|
|
3652
|
+
def ipv6_address(self) -> _builtins.str:
|
|
3233
3653
|
"""
|
|
3234
3654
|
The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used.
|
|
3235
3655
|
"""
|
|
3236
3656
|
return pulumi.get(self, "ipv6_address")
|
|
3237
3657
|
|
|
3238
|
-
@property
|
|
3658
|
+
@_builtins.property
|
|
3239
3659
|
@pulumi.getter(name="ipv6Netmask")
|
|
3240
|
-
def ipv6_netmask(self) -> int:
|
|
3660
|
+
def ipv6_netmask(self) -> _builtins.int:
|
|
3241
3661
|
"""
|
|
3242
3662
|
The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected.
|
|
3243
3663
|
"""
|
|
@@ -3247,135 +3667,270 @@ class GetGuestOsCustomizationSpecNetworkInterfaceResult(dict):
|
|
|
3247
3667
|
@pulumi.output_type
|
|
3248
3668
|
class GetGuestOsCustomizationSpecWindowsOptionResult(dict):
|
|
3249
3669
|
def __init__(__self__, *,
|
|
3250
|
-
admin_password: str,
|
|
3251
|
-
auto_logon: bool,
|
|
3252
|
-
auto_logon_count: int,
|
|
3253
|
-
computer_name: str,
|
|
3254
|
-
domain_admin_user: str,
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
:param str
|
|
3266
|
-
:param
|
|
3267
|
-
:param
|
|
3268
|
-
:param
|
|
3269
|
-
:param str
|
|
3270
|
-
:param str
|
|
3670
|
+
admin_password: _builtins.str,
|
|
3671
|
+
auto_logon: _builtins.bool,
|
|
3672
|
+
auto_logon_count: _builtins.int,
|
|
3673
|
+
computer_name: _builtins.str,
|
|
3674
|
+
domain_admin_user: _builtins.str,
|
|
3675
|
+
domain_ou: _builtins.str,
|
|
3676
|
+
full_name: _builtins.str,
|
|
3677
|
+
join_domain: _builtins.str,
|
|
3678
|
+
organization_name: _builtins.str,
|
|
3679
|
+
product_key: _builtins.str,
|
|
3680
|
+
run_once_command_lists: Sequence[_builtins.str],
|
|
3681
|
+
time_zone: _builtins.int,
|
|
3682
|
+
workgroup: _builtins.str,
|
|
3683
|
+
domain_admin_password: Optional[_builtins.str] = None):
|
|
3684
|
+
"""
|
|
3685
|
+
:param _builtins.str admin_password: The new administrator password for this virtual machine.
|
|
3686
|
+
:param _builtins.bool auto_logon: Specifies whether or not the guest operating system automatically logs on as Administrator.
|
|
3687
|
+
:param _builtins.int auto_logon_count: Specifies how many times the guest operating system should auto-logon the Administrator account when `auto_logon` is `true`.
|
|
3688
|
+
:param _builtins.str computer_name: The hostname for this virtual machine.
|
|
3689
|
+
:param _builtins.str domain_admin_user: The user account of the domain administrator used to join this virtual machine to the domain.
|
|
3690
|
+
:param _builtins.str domain_ou: The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
3691
|
+
:param _builtins.str full_name: The full name of the user of this virtual machine.
|
|
3692
|
+
:param _builtins.str join_domain: The Active Directory domain for the virtual machine to join.
|
|
3693
|
+
:param _builtins.str organization_name: The organization name this virtual machine is being installed for.
|
|
3694
|
+
:param _builtins.str product_key: The product key for this virtual machine.
|
|
3695
|
+
:param Sequence[_builtins.str] run_once_command_lists: A list of commands to run at first user logon, after guest customization.
|
|
3696
|
+
:param _builtins.int time_zone: The new time zone for the virtual machine. This is a sysprep-dictated timezone code.
|
|
3697
|
+
:param _builtins.str workgroup: The workgroup for this virtual machine if not joining an Active Directory domain.
|
|
3698
|
+
:param _builtins.str domain_admin_password: The user account used to join this virtual machine to the Active Directory domain.
|
|
3271
3699
|
"""
|
|
3272
3700
|
pulumi.set(__self__, "admin_password", admin_password)
|
|
3273
3701
|
pulumi.set(__self__, "auto_logon", auto_logon)
|
|
3274
3702
|
pulumi.set(__self__, "auto_logon_count", auto_logon_count)
|
|
3275
3703
|
pulumi.set(__self__, "computer_name", computer_name)
|
|
3276
3704
|
pulumi.set(__self__, "domain_admin_user", domain_admin_user)
|
|
3705
|
+
pulumi.set(__self__, "domain_ou", domain_ou)
|
|
3706
|
+
pulumi.set(__self__, "full_name", full_name)
|
|
3277
3707
|
pulumi.set(__self__, "join_domain", join_domain)
|
|
3708
|
+
pulumi.set(__self__, "organization_name", organization_name)
|
|
3709
|
+
pulumi.set(__self__, "product_key", product_key)
|
|
3278
3710
|
pulumi.set(__self__, "run_once_command_lists", run_once_command_lists)
|
|
3279
3711
|
pulumi.set(__self__, "time_zone", time_zone)
|
|
3280
3712
|
pulumi.set(__self__, "workgroup", workgroup)
|
|
3281
3713
|
if domain_admin_password is not None:
|
|
3282
3714
|
pulumi.set(__self__, "domain_admin_password", domain_admin_password)
|
|
3283
3715
|
|
|
3284
|
-
@property
|
|
3716
|
+
@_builtins.property
|
|
3285
3717
|
@pulumi.getter(name="adminPassword")
|
|
3286
|
-
def admin_password(self) -> str:
|
|
3718
|
+
def admin_password(self) -> _builtins.str:
|
|
3287
3719
|
"""
|
|
3288
3720
|
The new administrator password for this virtual machine.
|
|
3289
3721
|
"""
|
|
3290
3722
|
return pulumi.get(self, "admin_password")
|
|
3291
3723
|
|
|
3292
|
-
@property
|
|
3724
|
+
@_builtins.property
|
|
3293
3725
|
@pulumi.getter(name="autoLogon")
|
|
3294
|
-
def auto_logon(self) -> bool:
|
|
3726
|
+
def auto_logon(self) -> _builtins.bool:
|
|
3295
3727
|
"""
|
|
3296
3728
|
Specifies whether or not the guest operating system automatically logs on as Administrator.
|
|
3297
3729
|
"""
|
|
3298
3730
|
return pulumi.get(self, "auto_logon")
|
|
3299
3731
|
|
|
3300
|
-
@property
|
|
3732
|
+
@_builtins.property
|
|
3301
3733
|
@pulumi.getter(name="autoLogonCount")
|
|
3302
|
-
def auto_logon_count(self) -> int:
|
|
3734
|
+
def auto_logon_count(self) -> _builtins.int:
|
|
3303
3735
|
"""
|
|
3304
3736
|
Specifies how many times the guest operating system should auto-logon the Administrator account when `auto_logon` is `true`.
|
|
3305
3737
|
"""
|
|
3306
3738
|
return pulumi.get(self, "auto_logon_count")
|
|
3307
3739
|
|
|
3308
|
-
@property
|
|
3740
|
+
@_builtins.property
|
|
3309
3741
|
@pulumi.getter(name="computerName")
|
|
3310
|
-
def computer_name(self) -> str:
|
|
3742
|
+
def computer_name(self) -> _builtins.str:
|
|
3311
3743
|
"""
|
|
3312
3744
|
The hostname for this virtual machine.
|
|
3313
3745
|
"""
|
|
3314
3746
|
return pulumi.get(self, "computer_name")
|
|
3315
3747
|
|
|
3316
|
-
@property
|
|
3748
|
+
@_builtins.property
|
|
3317
3749
|
@pulumi.getter(name="domainAdminUser")
|
|
3318
|
-
def domain_admin_user(self) -> str:
|
|
3750
|
+
def domain_admin_user(self) -> _builtins.str:
|
|
3319
3751
|
"""
|
|
3320
3752
|
The user account of the domain administrator used to join this virtual machine to the domain.
|
|
3321
3753
|
"""
|
|
3322
3754
|
return pulumi.get(self, "domain_admin_user")
|
|
3323
3755
|
|
|
3324
|
-
@property
|
|
3756
|
+
@_builtins.property
|
|
3757
|
+
@pulumi.getter(name="domainOu")
|
|
3758
|
+
def domain_ou(self) -> _builtins.str:
|
|
3759
|
+
"""
|
|
3760
|
+
The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
3761
|
+
"""
|
|
3762
|
+
return pulumi.get(self, "domain_ou")
|
|
3763
|
+
|
|
3764
|
+
@_builtins.property
|
|
3765
|
+
@pulumi.getter(name="fullName")
|
|
3766
|
+
def full_name(self) -> _builtins.str:
|
|
3767
|
+
"""
|
|
3768
|
+
The full name of the user of this virtual machine.
|
|
3769
|
+
"""
|
|
3770
|
+
return pulumi.get(self, "full_name")
|
|
3771
|
+
|
|
3772
|
+
@_builtins.property
|
|
3325
3773
|
@pulumi.getter(name="joinDomain")
|
|
3326
|
-
def join_domain(self) -> str:
|
|
3774
|
+
def join_domain(self) -> _builtins.str:
|
|
3327
3775
|
"""
|
|
3328
3776
|
The Active Directory domain for the virtual machine to join.
|
|
3329
3777
|
"""
|
|
3330
3778
|
return pulumi.get(self, "join_domain")
|
|
3331
3779
|
|
|
3332
|
-
@property
|
|
3780
|
+
@_builtins.property
|
|
3781
|
+
@pulumi.getter(name="organizationName")
|
|
3782
|
+
def organization_name(self) -> _builtins.str:
|
|
3783
|
+
"""
|
|
3784
|
+
The organization name this virtual machine is being installed for.
|
|
3785
|
+
"""
|
|
3786
|
+
return pulumi.get(self, "organization_name")
|
|
3787
|
+
|
|
3788
|
+
@_builtins.property
|
|
3789
|
+
@pulumi.getter(name="productKey")
|
|
3790
|
+
def product_key(self) -> _builtins.str:
|
|
3791
|
+
"""
|
|
3792
|
+
The product key for this virtual machine.
|
|
3793
|
+
"""
|
|
3794
|
+
return pulumi.get(self, "product_key")
|
|
3795
|
+
|
|
3796
|
+
@_builtins.property
|
|
3333
3797
|
@pulumi.getter(name="runOnceCommandLists")
|
|
3334
|
-
def run_once_command_lists(self) -> Sequence[str]:
|
|
3798
|
+
def run_once_command_lists(self) -> Sequence[_builtins.str]:
|
|
3335
3799
|
"""
|
|
3336
3800
|
A list of commands to run at first user logon, after guest customization.
|
|
3337
3801
|
"""
|
|
3338
3802
|
return pulumi.get(self, "run_once_command_lists")
|
|
3339
3803
|
|
|
3340
|
-
@property
|
|
3804
|
+
@_builtins.property
|
|
3341
3805
|
@pulumi.getter(name="timeZone")
|
|
3342
|
-
def time_zone(self) -> int:
|
|
3806
|
+
def time_zone(self) -> _builtins.int:
|
|
3343
3807
|
"""
|
|
3344
3808
|
The new time zone for the virtual machine. This is a sysprep-dictated timezone code.
|
|
3345
3809
|
"""
|
|
3346
3810
|
return pulumi.get(self, "time_zone")
|
|
3347
3811
|
|
|
3348
|
-
@property
|
|
3812
|
+
@_builtins.property
|
|
3349
3813
|
@pulumi.getter
|
|
3350
|
-
def workgroup(self) -> str:
|
|
3814
|
+
def workgroup(self) -> _builtins.str:
|
|
3351
3815
|
"""
|
|
3352
3816
|
The workgroup for this virtual machine if not joining an Active Directory domain.
|
|
3353
3817
|
"""
|
|
3354
3818
|
return pulumi.get(self, "workgroup")
|
|
3355
3819
|
|
|
3356
|
-
@property
|
|
3820
|
+
@_builtins.property
|
|
3357
3821
|
@pulumi.getter(name="domainAdminPassword")
|
|
3358
|
-
def domain_admin_password(self) -> Optional[str]:
|
|
3822
|
+
def domain_admin_password(self) -> Optional[_builtins.str]:
|
|
3359
3823
|
"""
|
|
3360
3824
|
The user account used to join this virtual machine to the Active Directory domain.
|
|
3361
3825
|
"""
|
|
3362
3826
|
return pulumi.get(self, "domain_admin_password")
|
|
3363
3827
|
|
|
3364
3828
|
|
|
3829
|
+
@pulumi.output_type
|
|
3830
|
+
class GetHostVgpuProfileVgpuProfileResult(dict):
|
|
3831
|
+
def __init__(__self__, *,
|
|
3832
|
+
disk_snapshot_supported: _builtins.bool,
|
|
3833
|
+
memory_snapshot_supported: _builtins.bool,
|
|
3834
|
+
migrate_supported: _builtins.bool,
|
|
3835
|
+
suspend_supported: _builtins.bool,
|
|
3836
|
+
vgpu: _builtins.str):
|
|
3837
|
+
"""
|
|
3838
|
+
:param _builtins.bool disk_snapshot_supported: Indicates whether the GPU plugin on this host is
|
|
3839
|
+
capable of disk-only snapshots when VM is not powered off.
|
|
3840
|
+
:param _builtins.bool memory_snapshot_supported: Indicates whether the GPU plugin on this host
|
|
3841
|
+
is capable of memory snapshots.
|
|
3842
|
+
:param _builtins.bool migrate_supported: Indicates whether the GPU plugin on this host is
|
|
3843
|
+
capable of migration.
|
|
3844
|
+
:param _builtins.bool suspend_supported: Indicates whether the GPU plugin on this host is
|
|
3845
|
+
capable of suspend-resume.
|
|
3846
|
+
:param _builtins.str vgpu: Name of a particular vGPU available as a shared GPU device (vGPU
|
|
3847
|
+
profile).
|
|
3848
|
+
"""
|
|
3849
|
+
pulumi.set(__self__, "disk_snapshot_supported", disk_snapshot_supported)
|
|
3850
|
+
pulumi.set(__self__, "memory_snapshot_supported", memory_snapshot_supported)
|
|
3851
|
+
pulumi.set(__self__, "migrate_supported", migrate_supported)
|
|
3852
|
+
pulumi.set(__self__, "suspend_supported", suspend_supported)
|
|
3853
|
+
pulumi.set(__self__, "vgpu", vgpu)
|
|
3854
|
+
|
|
3855
|
+
@_builtins.property
|
|
3856
|
+
@pulumi.getter(name="diskSnapshotSupported")
|
|
3857
|
+
def disk_snapshot_supported(self) -> _builtins.bool:
|
|
3858
|
+
"""
|
|
3859
|
+
Indicates whether the GPU plugin on this host is
|
|
3860
|
+
capable of disk-only snapshots when VM is not powered off.
|
|
3861
|
+
"""
|
|
3862
|
+
return pulumi.get(self, "disk_snapshot_supported")
|
|
3863
|
+
|
|
3864
|
+
@_builtins.property
|
|
3865
|
+
@pulumi.getter(name="memorySnapshotSupported")
|
|
3866
|
+
def memory_snapshot_supported(self) -> _builtins.bool:
|
|
3867
|
+
"""
|
|
3868
|
+
Indicates whether the GPU plugin on this host
|
|
3869
|
+
is capable of memory snapshots.
|
|
3870
|
+
"""
|
|
3871
|
+
return pulumi.get(self, "memory_snapshot_supported")
|
|
3872
|
+
|
|
3873
|
+
@_builtins.property
|
|
3874
|
+
@pulumi.getter(name="migrateSupported")
|
|
3875
|
+
def migrate_supported(self) -> _builtins.bool:
|
|
3876
|
+
"""
|
|
3877
|
+
Indicates whether the GPU plugin on this host is
|
|
3878
|
+
capable of migration.
|
|
3879
|
+
"""
|
|
3880
|
+
return pulumi.get(self, "migrate_supported")
|
|
3881
|
+
|
|
3882
|
+
@_builtins.property
|
|
3883
|
+
@pulumi.getter(name="suspendSupported")
|
|
3884
|
+
def suspend_supported(self) -> _builtins.bool:
|
|
3885
|
+
"""
|
|
3886
|
+
Indicates whether the GPU plugin on this host is
|
|
3887
|
+
capable of suspend-resume.
|
|
3888
|
+
"""
|
|
3889
|
+
return pulumi.get(self, "suspend_supported")
|
|
3890
|
+
|
|
3891
|
+
@_builtins.property
|
|
3892
|
+
@pulumi.getter
|
|
3893
|
+
def vgpu(self) -> _builtins.str:
|
|
3894
|
+
"""
|
|
3895
|
+
Name of a particular vGPU available as a shared GPU device (vGPU
|
|
3896
|
+
profile).
|
|
3897
|
+
"""
|
|
3898
|
+
return pulumi.get(self, "vgpu")
|
|
3899
|
+
|
|
3900
|
+
|
|
3901
|
+
@pulumi.output_type
|
|
3902
|
+
class GetNetworkFilterResult(dict):
|
|
3903
|
+
def __init__(__self__, *,
|
|
3904
|
+
network_type: Optional[_builtins.str] = None):
|
|
3905
|
+
"""
|
|
3906
|
+
:param _builtins.str network_type: This is required if you have multiple port groups with the same name. This will be one of `DistributedVirtualPortgroup` for distributed port groups, `Network` for standard (host-based) port groups, or `OpaqueNetwork` for networks managed externally, such as those managed by NSX.
|
|
3907
|
+
"""
|
|
3908
|
+
if network_type is not None:
|
|
3909
|
+
pulumi.set(__self__, "network_type", network_type)
|
|
3910
|
+
|
|
3911
|
+
@_builtins.property
|
|
3912
|
+
@pulumi.getter(name="networkType")
|
|
3913
|
+
def network_type(self) -> Optional[_builtins.str]:
|
|
3914
|
+
"""
|
|
3915
|
+
This is required if you have multiple port groups with the same name. This will be one of `DistributedVirtualPortgroup` for distributed port groups, `Network` for standard (host-based) port groups, or `OpaqueNetwork` for networks managed externally, such as those managed by NSX.
|
|
3916
|
+
"""
|
|
3917
|
+
return pulumi.get(self, "network_type")
|
|
3918
|
+
|
|
3919
|
+
|
|
3365
3920
|
@pulumi.output_type
|
|
3366
3921
|
class GetVirtualMachineDiskResult(dict):
|
|
3367
3922
|
def __init__(__self__, *,
|
|
3368
|
-
eagerly_scrub: bool,
|
|
3369
|
-
label: str,
|
|
3370
|
-
size: int,
|
|
3371
|
-
thin_provisioned: bool,
|
|
3372
|
-
unit_number: int):
|
|
3373
|
-
"""
|
|
3374
|
-
:param bool eagerly_scrub: Set to `true` if the disk has been eager zeroed.
|
|
3375
|
-
:param str label: The label for the disk.
|
|
3376
|
-
:param int size: The size of the disk, in GIB.
|
|
3377
|
-
:param bool thin_provisioned: Set to `true` if the disk has been thin provisioned.
|
|
3378
|
-
:param int unit_number: The disk number on the storage bus.
|
|
3923
|
+
eagerly_scrub: _builtins.bool,
|
|
3924
|
+
label: _builtins.str,
|
|
3925
|
+
size: _builtins.int,
|
|
3926
|
+
thin_provisioned: _builtins.bool,
|
|
3927
|
+
unit_number: _builtins.int):
|
|
3928
|
+
"""
|
|
3929
|
+
:param _builtins.bool eagerly_scrub: Set to `true` if the disk has been eager zeroed.
|
|
3930
|
+
:param _builtins.str label: The label for the disk.
|
|
3931
|
+
:param _builtins.int size: The size of the disk, in GIB.
|
|
3932
|
+
:param _builtins.bool thin_provisioned: Set to `true` if the disk has been thin provisioned.
|
|
3933
|
+
:param _builtins.int unit_number: The disk number on the storage bus.
|
|
3379
3934
|
"""
|
|
3380
3935
|
pulumi.set(__self__, "eagerly_scrub", eagerly_scrub)
|
|
3381
3936
|
pulumi.set(__self__, "label", label)
|
|
@@ -3383,41 +3938,41 @@ class GetVirtualMachineDiskResult(dict):
|
|
|
3383
3938
|
pulumi.set(__self__, "thin_provisioned", thin_provisioned)
|
|
3384
3939
|
pulumi.set(__self__, "unit_number", unit_number)
|
|
3385
3940
|
|
|
3386
|
-
@property
|
|
3941
|
+
@_builtins.property
|
|
3387
3942
|
@pulumi.getter(name="eagerlyScrub")
|
|
3388
|
-
def eagerly_scrub(self) -> bool:
|
|
3943
|
+
def eagerly_scrub(self) -> _builtins.bool:
|
|
3389
3944
|
"""
|
|
3390
3945
|
Set to `true` if the disk has been eager zeroed.
|
|
3391
3946
|
"""
|
|
3392
3947
|
return pulumi.get(self, "eagerly_scrub")
|
|
3393
3948
|
|
|
3394
|
-
@property
|
|
3949
|
+
@_builtins.property
|
|
3395
3950
|
@pulumi.getter
|
|
3396
|
-
def label(self) -> str:
|
|
3951
|
+
def label(self) -> _builtins.str:
|
|
3397
3952
|
"""
|
|
3398
3953
|
The label for the disk.
|
|
3399
3954
|
"""
|
|
3400
3955
|
return pulumi.get(self, "label")
|
|
3401
3956
|
|
|
3402
|
-
@property
|
|
3957
|
+
@_builtins.property
|
|
3403
3958
|
@pulumi.getter
|
|
3404
|
-
def size(self) -> int:
|
|
3959
|
+
def size(self) -> _builtins.int:
|
|
3405
3960
|
"""
|
|
3406
3961
|
The size of the disk, in GIB.
|
|
3407
3962
|
"""
|
|
3408
3963
|
return pulumi.get(self, "size")
|
|
3409
3964
|
|
|
3410
|
-
@property
|
|
3965
|
+
@_builtins.property
|
|
3411
3966
|
@pulumi.getter(name="thinProvisioned")
|
|
3412
|
-
def thin_provisioned(self) -> bool:
|
|
3967
|
+
def thin_provisioned(self) -> _builtins.bool:
|
|
3413
3968
|
"""
|
|
3414
3969
|
Set to `true` if the disk has been thin provisioned.
|
|
3415
3970
|
"""
|
|
3416
3971
|
return pulumi.get(self, "thin_provisioned")
|
|
3417
3972
|
|
|
3418
|
-
@property
|
|
3973
|
+
@_builtins.property
|
|
3419
3974
|
@pulumi.getter(name="unitNumber")
|
|
3420
|
-
def unit_number(self) -> int:
|
|
3975
|
+
def unit_number(self) -> _builtins.int:
|
|
3421
3976
|
"""
|
|
3422
3977
|
The disk number on the storage bus.
|
|
3423
3978
|
"""
|
|
@@ -3427,30 +3982,30 @@ class GetVirtualMachineDiskResult(dict):
|
|
|
3427
3982
|
@pulumi.output_type
|
|
3428
3983
|
class GetVirtualMachineNetworkInterfaceResult(dict):
|
|
3429
3984
|
def __init__(__self__, *,
|
|
3430
|
-
adapter_type: str,
|
|
3431
|
-
bandwidth_share_count: int,
|
|
3432
|
-
mac_address: str,
|
|
3433
|
-
network_id: str,
|
|
3434
|
-
physical_function: str,
|
|
3435
|
-
bandwidth_limit: Optional[int] = None,
|
|
3436
|
-
bandwidth_reservation: Optional[int] = None,
|
|
3437
|
-
bandwidth_share_level: Optional[str] = None):
|
|
3438
|
-
"""
|
|
3439
|
-
:param str adapter_type: The network interface types for each network interface found
|
|
3440
|
-
on the virtual machine, in device bus order. Will be one of `e1000`,
|
|
3441
|
-
`vmxnet3vrdma`, or `vmxnet3`.
|
|
3442
|
-
:param int bandwidth_share_count: The share count for this network interface when the
|
|
3985
|
+
adapter_type: _builtins.str,
|
|
3986
|
+
bandwidth_share_count: _builtins.int,
|
|
3987
|
+
mac_address: _builtins.str,
|
|
3988
|
+
network_id: _builtins.str,
|
|
3989
|
+
physical_function: _builtins.str,
|
|
3990
|
+
bandwidth_limit: Optional[_builtins.int] = None,
|
|
3991
|
+
bandwidth_reservation: Optional[_builtins.int] = None,
|
|
3992
|
+
bandwidth_share_level: Optional[_builtins.str] = None):
|
|
3993
|
+
"""
|
|
3994
|
+
:param _builtins.str adapter_type: The network interface types for each network interface found
|
|
3995
|
+
on the virtual machine, in device bus order. Will be one of `e1000`,
|
|
3996
|
+
`e1000e`, `vmxnet3vrdma`, or `vmxnet3`.
|
|
3997
|
+
:param _builtins.int bandwidth_share_count: The share count for this network interface when the
|
|
3443
3998
|
share level is custom.
|
|
3444
|
-
:param str mac_address: The MAC address of this network interface.
|
|
3445
|
-
:param str network_id: The managed object reference ID of the network this interface
|
|
3446
|
-
connected to.
|
|
3447
|
-
:param str physical_function: The ID of the Physical SR-IOV NIC to attach to, e.g. '0000:d8:00.0'
|
|
3448
|
-
:param int bandwidth_limit: The upper bandwidth limit of this network interface,
|
|
3999
|
+
:param _builtins.str mac_address: The MAC address of this network interface.
|
|
4000
|
+
:param _builtins.str network_id: The managed object reference ID of the network this interface
|
|
4001
|
+
is connected to.
|
|
4002
|
+
:param _builtins.str physical_function: The ID of the Physical SR-IOV NIC to attach to, e.g. '0000:d8:00.0'
|
|
4003
|
+
:param _builtins.int bandwidth_limit: The upper bandwidth limit of this network interface,
|
|
3449
4004
|
in Mbits/sec.
|
|
3450
|
-
:param int bandwidth_reservation: The bandwidth reservation of this network
|
|
3451
|
-
in Mbits/sec.
|
|
3452
|
-
:param str bandwidth_share_level: The bandwidth share allocation level for this
|
|
3453
|
-
Can be one of `low`, `normal`, `high`, or `custom`.
|
|
4005
|
+
:param _builtins.int bandwidth_reservation: The bandwidth reservation of this network
|
|
4006
|
+
interface, in Mbits/sec.
|
|
4007
|
+
:param _builtins.str bandwidth_share_level: The bandwidth share allocation level for this
|
|
4008
|
+
interface. Can be one of `low`, `normal`, `high`, or `custom`.
|
|
3454
4009
|
"""
|
|
3455
4010
|
pulumi.set(__self__, "adapter_type", adapter_type)
|
|
3456
4011
|
pulumi.set(__self__, "bandwidth_share_count", bandwidth_share_count)
|
|
@@ -3464,74 +4019,74 @@ class GetVirtualMachineNetworkInterfaceResult(dict):
|
|
|
3464
4019
|
if bandwidth_share_level is not None:
|
|
3465
4020
|
pulumi.set(__self__, "bandwidth_share_level", bandwidth_share_level)
|
|
3466
4021
|
|
|
3467
|
-
@property
|
|
4022
|
+
@_builtins.property
|
|
3468
4023
|
@pulumi.getter(name="adapterType")
|
|
3469
|
-
def adapter_type(self) -> str:
|
|
4024
|
+
def adapter_type(self) -> _builtins.str:
|
|
3470
4025
|
"""
|
|
3471
|
-
The network interface types for each network interface found
|
|
3472
|
-
on the virtual machine, in device bus order. Will be one of `e1000`,
|
|
3473
|
-
`vmxnet3vrdma`, or `vmxnet3`.
|
|
4026
|
+
The network interface types for each network interface found
|
|
4027
|
+
on the virtual machine, in device bus order. Will be one of `e1000`,
|
|
4028
|
+
`e1000e`, `vmxnet3vrdma`, or `vmxnet3`.
|
|
3474
4029
|
"""
|
|
3475
4030
|
return pulumi.get(self, "adapter_type")
|
|
3476
4031
|
|
|
3477
|
-
@property
|
|
4032
|
+
@_builtins.property
|
|
3478
4033
|
@pulumi.getter(name="bandwidthShareCount")
|
|
3479
|
-
def bandwidth_share_count(self) -> int:
|
|
4034
|
+
def bandwidth_share_count(self) -> _builtins.int:
|
|
3480
4035
|
"""
|
|
3481
4036
|
The share count for this network interface when the
|
|
3482
4037
|
share level is custom.
|
|
3483
4038
|
"""
|
|
3484
4039
|
return pulumi.get(self, "bandwidth_share_count")
|
|
3485
4040
|
|
|
3486
|
-
@property
|
|
4041
|
+
@_builtins.property
|
|
3487
4042
|
@pulumi.getter(name="macAddress")
|
|
3488
|
-
def mac_address(self) -> str:
|
|
4043
|
+
def mac_address(self) -> _builtins.str:
|
|
3489
4044
|
"""
|
|
3490
4045
|
The MAC address of this network interface.
|
|
3491
4046
|
"""
|
|
3492
4047
|
return pulumi.get(self, "mac_address")
|
|
3493
4048
|
|
|
3494
|
-
@property
|
|
4049
|
+
@_builtins.property
|
|
3495
4050
|
@pulumi.getter(name="networkId")
|
|
3496
|
-
def network_id(self) -> str:
|
|
4051
|
+
def network_id(self) -> _builtins.str:
|
|
3497
4052
|
"""
|
|
3498
|
-
The managed object reference ID of the network this interface
|
|
3499
|
-
connected to.
|
|
4053
|
+
The managed object reference ID of the network this interface
|
|
4054
|
+
is connected to.
|
|
3500
4055
|
"""
|
|
3501
4056
|
return pulumi.get(self, "network_id")
|
|
3502
4057
|
|
|
3503
|
-
@property
|
|
4058
|
+
@_builtins.property
|
|
3504
4059
|
@pulumi.getter(name="physicalFunction")
|
|
3505
|
-
def physical_function(self) -> str:
|
|
4060
|
+
def physical_function(self) -> _builtins.str:
|
|
3506
4061
|
"""
|
|
3507
4062
|
The ID of the Physical SR-IOV NIC to attach to, e.g. '0000:d8:00.0'
|
|
3508
4063
|
"""
|
|
3509
4064
|
return pulumi.get(self, "physical_function")
|
|
3510
4065
|
|
|
3511
|
-
@property
|
|
4066
|
+
@_builtins.property
|
|
3512
4067
|
@pulumi.getter(name="bandwidthLimit")
|
|
3513
|
-
def bandwidth_limit(self) -> Optional[int]:
|
|
4068
|
+
def bandwidth_limit(self) -> Optional[_builtins.int]:
|
|
3514
4069
|
"""
|
|
3515
|
-
The upper bandwidth limit of this network interface,
|
|
4070
|
+
The upper bandwidth limit of this network interface,
|
|
3516
4071
|
in Mbits/sec.
|
|
3517
4072
|
"""
|
|
3518
4073
|
return pulumi.get(self, "bandwidth_limit")
|
|
3519
4074
|
|
|
3520
|
-
@property
|
|
4075
|
+
@_builtins.property
|
|
3521
4076
|
@pulumi.getter(name="bandwidthReservation")
|
|
3522
|
-
def bandwidth_reservation(self) -> Optional[int]:
|
|
4077
|
+
def bandwidth_reservation(self) -> Optional[_builtins.int]:
|
|
3523
4078
|
"""
|
|
3524
|
-
The bandwidth reservation of this network
|
|
3525
|
-
in Mbits/sec.
|
|
4079
|
+
The bandwidth reservation of this network
|
|
4080
|
+
interface, in Mbits/sec.
|
|
3526
4081
|
"""
|
|
3527
4082
|
return pulumi.get(self, "bandwidth_reservation")
|
|
3528
4083
|
|
|
3529
|
-
@property
|
|
4084
|
+
@_builtins.property
|
|
3530
4085
|
@pulumi.getter(name="bandwidthShareLevel")
|
|
3531
|
-
def bandwidth_share_level(self) -> Optional[str]:
|
|
4086
|
+
def bandwidth_share_level(self) -> Optional[_builtins.str]:
|
|
3532
4087
|
"""
|
|
3533
|
-
The bandwidth share allocation level for this
|
|
3534
|
-
Can be one of `low`, `normal`, `high`, or `custom`.
|
|
4088
|
+
The bandwidth share allocation level for this
|
|
4089
|
+
interface. Can be one of `low`, `normal`, `high`, or `custom`.
|
|
3535
4090
|
"""
|
|
3536
4091
|
return pulumi.get(self, "bandwidth_share_level")
|
|
3537
4092
|
|
|
@@ -3539,16 +4094,16 @@ class GetVirtualMachineNetworkInterfaceResult(dict):
|
|
|
3539
4094
|
@pulumi.output_type
|
|
3540
4095
|
class GetVirtualMachineVappResult(dict):
|
|
3541
4096
|
def __init__(__self__, *,
|
|
3542
|
-
properties: Optional[Mapping[str, str]] = None):
|
|
4097
|
+
properties: Optional[Mapping[str, _builtins.str]] = None):
|
|
3543
4098
|
"""
|
|
3544
|
-
:param Mapping[str, str] properties: A map of customizable vApp properties and their values. Allows customization of VMs cloned from OVF templates which have customizable vApp properties.
|
|
4099
|
+
:param Mapping[str, _builtins.str] properties: A map of customizable vApp properties and their values. Allows customization of VMs cloned from OVF templates which have customizable vApp properties.
|
|
3545
4100
|
"""
|
|
3546
4101
|
if properties is not None:
|
|
3547
4102
|
pulumi.set(__self__, "properties", properties)
|
|
3548
4103
|
|
|
3549
|
-
@property
|
|
4104
|
+
@_builtins.property
|
|
3550
4105
|
@pulumi.getter
|
|
3551
|
-
def properties(self) -> Optional[Mapping[str, str]]:
|
|
4106
|
+
def properties(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
3552
4107
|
"""
|
|
3553
4108
|
A map of customizable vApp properties and their values. Allows customization of VMs cloned from OVF templates which have customizable vApp properties.
|
|
3554
4109
|
"""
|