pulumi-vsphere 4.10.1__py3-none-any.whl → 4.10.2a1720054582__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 +28 -0
- pulumi_vsphere/_inputs.py +470 -6
- pulumi_vsphere/_utilities.py +35 -0
- pulumi_vsphere/compute_cluster.py +47 -0
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +0 -4
- pulumi_vsphere/datacenter.py +7 -28
- pulumi_vsphere/datastore_cluster.py +0 -14
- pulumi_vsphere/distributed_port_group.py +56 -7
- pulumi_vsphere/distributed_virtual_switch.py +7 -28
- pulumi_vsphere/entity_permissions.py +56 -35
- pulumi_vsphere/folder.py +7 -28
- pulumi_vsphere/get_compute_cluster_host_group.py +18 -16
- pulumi_vsphere/get_content_library.py +10 -6
- pulumi_vsphere/get_content_library_item.py +12 -8
- pulumi_vsphere/get_datastore.py +9 -9
- pulumi_vsphere/get_datastore_stats.py +34 -32
- pulumi_vsphere/get_dynamic.py +14 -12
- pulumi_vsphere/get_folder.py +10 -2
- pulumi_vsphere/get_guest_os_customization.py +8 -43
- pulumi_vsphere/get_host_base_images.py +97 -0
- pulumi_vsphere/get_host_pci_device.py +4 -2
- pulumi_vsphere/get_host_thumbprint.py +12 -12
- pulumi_vsphere/get_host_vgpu_profile.py +4 -2
- pulumi_vsphere/get_license.py +2 -1
- pulumi_vsphere/get_network.py +14 -14
- pulumi_vsphere/get_resource_pool.py +12 -8
- pulumi_vsphere/get_role.py +4 -4
- pulumi_vsphere/get_virtual_machine.py +58 -33
- pulumi_vsphere/guest_os_customization.py +4 -4
- pulumi_vsphere/nas_datastore.py +7 -7
- pulumi_vsphere/offline_software_depot.py +180 -0
- pulumi_vsphere/outputs.py +495 -40
- pulumi_vsphere/provider.py +2 -6
- pulumi_vsphere/pulumi-plugin.json +2 -1
- pulumi_vsphere/resource_pool.py +2 -2
- pulumi_vsphere/supervisor.py +962 -0
- pulumi_vsphere/virtual_disk.py +10 -16
- pulumi_vsphere/virtual_machine.py +2 -2
- pulumi_vsphere/virtual_machine_class.py +442 -0
- pulumi_vsphere/virtual_machine_snapshot.py +2 -2
- pulumi_vsphere/vm_storage_policy.py +2 -2
- pulumi_vsphere/vnic.py +61 -65
- {pulumi_vsphere-4.10.1.dist-info → pulumi_vsphere-4.10.2a1720054582.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.10.2a1720054582.dist-info/RECORD +86 -0
- {pulumi_vsphere-4.10.1.dist-info → pulumi_vsphere-4.10.2a1720054582.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.10.1.dist-info/RECORD +0 -82
- {pulumi_vsphere-4.10.1.dist-info → pulumi_vsphere-4.10.2a1720054582.dist-info}/top_level.txt +0 -0
pulumi_vsphere/outputs.py
CHANGED
|
@@ -11,6 +11,8 @@ from . import _utilities
|
|
|
11
11
|
from . import outputs
|
|
12
12
|
|
|
13
13
|
__all__ = [
|
|
14
|
+
'ComputeClusterHostImage',
|
|
15
|
+
'ComputeClusterHostImageComponent',
|
|
14
16
|
'ComputeClusterVsanDiskGroup',
|
|
15
17
|
'ComputeClusterVsanFaultDomain',
|
|
16
18
|
'ComputeClusterVsanFaultDomainFaultDomain',
|
|
@@ -27,6 +29,13 @@ __all__ = [
|
|
|
27
29
|
'GuestOsCustomizationSpecNetworkInterface',
|
|
28
30
|
'GuestOsCustomizationSpecWindowsOptions',
|
|
29
31
|
'HostPortGroupPort',
|
|
32
|
+
'OfflineSoftwareDepotComponent',
|
|
33
|
+
'SupervisorEgressCidr',
|
|
34
|
+
'SupervisorIngressCidr',
|
|
35
|
+
'SupervisorManagementNetwork',
|
|
36
|
+
'SupervisorNamespace',
|
|
37
|
+
'SupervisorPodCidr',
|
|
38
|
+
'SupervisorServiceCidr',
|
|
30
39
|
'VirtualMachineCdrom',
|
|
31
40
|
'VirtualMachineClone',
|
|
32
41
|
'VirtualMachineCloneCustomizationSpec',
|
|
@@ -51,6 +60,85 @@ __all__ = [
|
|
|
51
60
|
'GetVirtualMachineVappResult',
|
|
52
61
|
]
|
|
53
62
|
|
|
63
|
+
@pulumi.output_type
|
|
64
|
+
class ComputeClusterHostImage(dict):
|
|
65
|
+
@staticmethod
|
|
66
|
+
def __key_warning(key: str):
|
|
67
|
+
suggest = None
|
|
68
|
+
if key == "esxVersion":
|
|
69
|
+
suggest = "esx_version"
|
|
70
|
+
|
|
71
|
+
if suggest:
|
|
72
|
+
pulumi.log.warn(f"Key '{key}' not found in ComputeClusterHostImage. Access the value via the '{suggest}' property getter instead.")
|
|
73
|
+
|
|
74
|
+
def __getitem__(self, key: str) -> Any:
|
|
75
|
+
ComputeClusterHostImage.__key_warning(key)
|
|
76
|
+
return super().__getitem__(key)
|
|
77
|
+
|
|
78
|
+
def get(self, key: str, default = None) -> Any:
|
|
79
|
+
ComputeClusterHostImage.__key_warning(key)
|
|
80
|
+
return super().get(key, default)
|
|
81
|
+
|
|
82
|
+
def __init__(__self__, *,
|
|
83
|
+
components: Optional[Sequence['outputs.ComputeClusterHostImageComponent']] = None,
|
|
84
|
+
esx_version: Optional[str] = None):
|
|
85
|
+
"""
|
|
86
|
+
:param Sequence['ComputeClusterHostImageComponentArgs'] components: List of custom components.
|
|
87
|
+
:param str esx_version: The ESXi version which the image is based on.
|
|
88
|
+
"""
|
|
89
|
+
if components is not None:
|
|
90
|
+
pulumi.set(__self__, "components", components)
|
|
91
|
+
if esx_version is not None:
|
|
92
|
+
pulumi.set(__self__, "esx_version", esx_version)
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
@pulumi.getter
|
|
96
|
+
def components(self) -> Optional[Sequence['outputs.ComputeClusterHostImageComponent']]:
|
|
97
|
+
"""
|
|
98
|
+
List of custom components.
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "components")
|
|
101
|
+
|
|
102
|
+
@property
|
|
103
|
+
@pulumi.getter(name="esxVersion")
|
|
104
|
+
def esx_version(self) -> Optional[str]:
|
|
105
|
+
"""
|
|
106
|
+
The ESXi version which the image is based on.
|
|
107
|
+
"""
|
|
108
|
+
return pulumi.get(self, "esx_version")
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
@pulumi.output_type
|
|
112
|
+
class ComputeClusterHostImageComponent(dict):
|
|
113
|
+
def __init__(__self__, *,
|
|
114
|
+
key: Optional[str] = None,
|
|
115
|
+
version: Optional[str] = None):
|
|
116
|
+
"""
|
|
117
|
+
:param str key: The identifier for the component.
|
|
118
|
+
:param str version: The version to use.
|
|
119
|
+
"""
|
|
120
|
+
if key is not None:
|
|
121
|
+
pulumi.set(__self__, "key", key)
|
|
122
|
+
if version is not None:
|
|
123
|
+
pulumi.set(__self__, "version", version)
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
@pulumi.getter
|
|
127
|
+
def key(self) -> Optional[str]:
|
|
128
|
+
"""
|
|
129
|
+
The identifier for the component.
|
|
130
|
+
"""
|
|
131
|
+
return pulumi.get(self, "key")
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
@pulumi.getter
|
|
135
|
+
def version(self) -> Optional[str]:
|
|
136
|
+
"""
|
|
137
|
+
The version to use.
|
|
138
|
+
"""
|
|
139
|
+
return pulumi.get(self, "version")
|
|
140
|
+
|
|
141
|
+
|
|
54
142
|
@pulumi.output_type
|
|
55
143
|
class ComputeClusterVsanDiskGroup(dict):
|
|
56
144
|
def __init__(__self__, *,
|
|
@@ -674,9 +762,12 @@ class EntityPermissionsPermission(dict):
|
|
|
674
762
|
role_id: str,
|
|
675
763
|
user_or_group: str):
|
|
676
764
|
"""
|
|
677
|
-
:param bool is_group: Whether user_or_group field refers to a user or a
|
|
678
|
-
|
|
679
|
-
:param
|
|
765
|
+
:param bool is_group: Whether `user_or_group` field refers to a user or a
|
|
766
|
+
group. True for a group and false for a user.
|
|
767
|
+
:param bool propagate: Whether or not this permission propagates down the
|
|
768
|
+
hierarchy to sub-entities.
|
|
769
|
+
:param str role_id: The role id of the role to be given to the user on
|
|
770
|
+
the specified entity.
|
|
680
771
|
:param str user_or_group: The user/group getting the permission.
|
|
681
772
|
"""
|
|
682
773
|
pulumi.set(__self__, "is_group", is_group)
|
|
@@ -688,7 +779,8 @@ class EntityPermissionsPermission(dict):
|
|
|
688
779
|
@pulumi.getter(name="isGroup")
|
|
689
780
|
def is_group(self) -> bool:
|
|
690
781
|
"""
|
|
691
|
-
Whether user_or_group field refers to a user or a
|
|
782
|
+
Whether `user_or_group` field refers to a user or a
|
|
783
|
+
group. True for a group and false for a user.
|
|
692
784
|
"""
|
|
693
785
|
return pulumi.get(self, "is_group")
|
|
694
786
|
|
|
@@ -696,7 +788,8 @@ class EntityPermissionsPermission(dict):
|
|
|
696
788
|
@pulumi.getter
|
|
697
789
|
def propagate(self) -> bool:
|
|
698
790
|
"""
|
|
699
|
-
Whether or not this permission propagates down the
|
|
791
|
+
Whether or not this permission propagates down the
|
|
792
|
+
hierarchy to sub-entities.
|
|
700
793
|
"""
|
|
701
794
|
return pulumi.get(self, "propagate")
|
|
702
795
|
|
|
@@ -704,7 +797,8 @@ class EntityPermissionsPermission(dict):
|
|
|
704
797
|
@pulumi.getter(name="roleId")
|
|
705
798
|
def role_id(self) -> str:
|
|
706
799
|
"""
|
|
707
|
-
The role id of the role to be given to the user on
|
|
800
|
+
The role id of the role to be given to the user on
|
|
801
|
+
the specified entity.
|
|
708
802
|
"""
|
|
709
803
|
return pulumi.get(self, "role_id")
|
|
710
804
|
|
|
@@ -1062,6 +1156,8 @@ class GuestOsCustomizationSpecWindowsOptions(dict):
|
|
|
1062
1156
|
suggest = "domain_admin_password"
|
|
1063
1157
|
elif key == "domainAdminUser":
|
|
1064
1158
|
suggest = "domain_admin_user"
|
|
1159
|
+
elif key == "domainOu":
|
|
1160
|
+
suggest = "domain_ou"
|
|
1065
1161
|
elif key == "fullName":
|
|
1066
1162
|
suggest = "full_name"
|
|
1067
1163
|
elif key == "joinDomain":
|
|
@@ -1093,6 +1189,7 @@ class GuestOsCustomizationSpecWindowsOptions(dict):
|
|
|
1093
1189
|
auto_logon_count: Optional[int] = None,
|
|
1094
1190
|
domain_admin_password: Optional[str] = None,
|
|
1095
1191
|
domain_admin_user: Optional[str] = None,
|
|
1192
|
+
domain_ou: Optional[str] = None,
|
|
1096
1193
|
full_name: Optional[str] = None,
|
|
1097
1194
|
join_domain: Optional[str] = None,
|
|
1098
1195
|
organization_name: Optional[str] = None,
|
|
@@ -1107,6 +1204,7 @@ class GuestOsCustomizationSpecWindowsOptions(dict):
|
|
|
1107
1204
|
:param int auto_logon_count: Specifies how many times the VM should auto-logon the Administrator account when auto_logon is true.
|
|
1108
1205
|
:param str domain_admin_password: The password of the domain administrator used to join this virtual machine to the domain.
|
|
1109
1206
|
:param str domain_admin_user: The user account of the domain administrator used to join this virtual machine to the domain.
|
|
1207
|
+
:param str domain_ou: The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
1110
1208
|
:param str full_name: The full name of the user of this virtual machine.
|
|
1111
1209
|
:param str join_domain: The domain that the virtual machine should join.
|
|
1112
1210
|
:param str organization_name: The organization name this virtual machine is being installed for.
|
|
@@ -1126,6 +1224,8 @@ class GuestOsCustomizationSpecWindowsOptions(dict):
|
|
|
1126
1224
|
pulumi.set(__self__, "domain_admin_password", domain_admin_password)
|
|
1127
1225
|
if domain_admin_user is not None:
|
|
1128
1226
|
pulumi.set(__self__, "domain_admin_user", domain_admin_user)
|
|
1227
|
+
if domain_ou is not None:
|
|
1228
|
+
pulumi.set(__self__, "domain_ou", domain_ou)
|
|
1129
1229
|
if full_name is not None:
|
|
1130
1230
|
pulumi.set(__self__, "full_name", full_name)
|
|
1131
1231
|
if join_domain is not None:
|
|
@@ -1189,6 +1289,14 @@ class GuestOsCustomizationSpecWindowsOptions(dict):
|
|
|
1189
1289
|
"""
|
|
1190
1290
|
return pulumi.get(self, "domain_admin_user")
|
|
1191
1291
|
|
|
1292
|
+
@property
|
|
1293
|
+
@pulumi.getter(name="domainOu")
|
|
1294
|
+
def domain_ou(self) -> Optional[str]:
|
|
1295
|
+
"""
|
|
1296
|
+
The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
1297
|
+
"""
|
|
1298
|
+
return pulumi.get(self, "domain_ou")
|
|
1299
|
+
|
|
1192
1300
|
@property
|
|
1193
1301
|
@pulumi.getter(name="fullName")
|
|
1194
1302
|
def full_name(self) -> Optional[str]:
|
|
@@ -1306,6 +1414,326 @@ class HostPortGroupPort(dict):
|
|
|
1306
1414
|
return pulumi.get(self, "type")
|
|
1307
1415
|
|
|
1308
1416
|
|
|
1417
|
+
@pulumi.output_type
|
|
1418
|
+
class OfflineSoftwareDepotComponent(dict):
|
|
1419
|
+
@staticmethod
|
|
1420
|
+
def __key_warning(key: str):
|
|
1421
|
+
suggest = None
|
|
1422
|
+
if key == "displayName":
|
|
1423
|
+
suggest = "display_name"
|
|
1424
|
+
|
|
1425
|
+
if suggest:
|
|
1426
|
+
pulumi.log.warn(f"Key '{key}' not found in OfflineSoftwareDepotComponent. Access the value via the '{suggest}' property getter instead.")
|
|
1427
|
+
|
|
1428
|
+
def __getitem__(self, key: str) -> Any:
|
|
1429
|
+
OfflineSoftwareDepotComponent.__key_warning(key)
|
|
1430
|
+
return super().__getitem__(key)
|
|
1431
|
+
|
|
1432
|
+
def get(self, key: str, default = None) -> Any:
|
|
1433
|
+
OfflineSoftwareDepotComponent.__key_warning(key)
|
|
1434
|
+
return super().get(key, default)
|
|
1435
|
+
|
|
1436
|
+
def __init__(__self__, *,
|
|
1437
|
+
display_name: Optional[str] = None,
|
|
1438
|
+
key: Optional[str] = None,
|
|
1439
|
+
versions: Optional[Sequence[str]] = None):
|
|
1440
|
+
"""
|
|
1441
|
+
:param str display_name: The name of the component. Useful for easier identification.
|
|
1442
|
+
:param str key: The identifier of the component.
|
|
1443
|
+
:param Sequence[str] versions: The list of available versions of the component.
|
|
1444
|
+
"""
|
|
1445
|
+
if display_name is not None:
|
|
1446
|
+
pulumi.set(__self__, "display_name", display_name)
|
|
1447
|
+
if key is not None:
|
|
1448
|
+
pulumi.set(__self__, "key", key)
|
|
1449
|
+
if versions is not None:
|
|
1450
|
+
pulumi.set(__self__, "versions", versions)
|
|
1451
|
+
|
|
1452
|
+
@property
|
|
1453
|
+
@pulumi.getter(name="displayName")
|
|
1454
|
+
def display_name(self) -> Optional[str]:
|
|
1455
|
+
"""
|
|
1456
|
+
The name of the component. Useful for easier identification.
|
|
1457
|
+
"""
|
|
1458
|
+
return pulumi.get(self, "display_name")
|
|
1459
|
+
|
|
1460
|
+
@property
|
|
1461
|
+
@pulumi.getter
|
|
1462
|
+
def key(self) -> Optional[str]:
|
|
1463
|
+
"""
|
|
1464
|
+
The identifier of the component.
|
|
1465
|
+
"""
|
|
1466
|
+
return pulumi.get(self, "key")
|
|
1467
|
+
|
|
1468
|
+
@property
|
|
1469
|
+
@pulumi.getter
|
|
1470
|
+
def versions(self) -> Optional[Sequence[str]]:
|
|
1471
|
+
"""
|
|
1472
|
+
The list of available versions of the component.
|
|
1473
|
+
"""
|
|
1474
|
+
return pulumi.get(self, "versions")
|
|
1475
|
+
|
|
1476
|
+
|
|
1477
|
+
@pulumi.output_type
|
|
1478
|
+
class SupervisorEgressCidr(dict):
|
|
1479
|
+
def __init__(__self__, *,
|
|
1480
|
+
address: str,
|
|
1481
|
+
prefix: int):
|
|
1482
|
+
"""
|
|
1483
|
+
:param str address: Network address.
|
|
1484
|
+
:param int prefix: Subnet prefix.
|
|
1485
|
+
"""
|
|
1486
|
+
pulumi.set(__self__, "address", address)
|
|
1487
|
+
pulumi.set(__self__, "prefix", prefix)
|
|
1488
|
+
|
|
1489
|
+
@property
|
|
1490
|
+
@pulumi.getter
|
|
1491
|
+
def address(self) -> str:
|
|
1492
|
+
"""
|
|
1493
|
+
Network address.
|
|
1494
|
+
"""
|
|
1495
|
+
return pulumi.get(self, "address")
|
|
1496
|
+
|
|
1497
|
+
@property
|
|
1498
|
+
@pulumi.getter
|
|
1499
|
+
def prefix(self) -> int:
|
|
1500
|
+
"""
|
|
1501
|
+
Subnet prefix.
|
|
1502
|
+
"""
|
|
1503
|
+
return pulumi.get(self, "prefix")
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
@pulumi.output_type
|
|
1507
|
+
class SupervisorIngressCidr(dict):
|
|
1508
|
+
def __init__(__self__, *,
|
|
1509
|
+
address: str,
|
|
1510
|
+
prefix: int):
|
|
1511
|
+
"""
|
|
1512
|
+
:param str address: Network address.
|
|
1513
|
+
:param int prefix: Subnet prefix.
|
|
1514
|
+
"""
|
|
1515
|
+
pulumi.set(__self__, "address", address)
|
|
1516
|
+
pulumi.set(__self__, "prefix", prefix)
|
|
1517
|
+
|
|
1518
|
+
@property
|
|
1519
|
+
@pulumi.getter
|
|
1520
|
+
def address(self) -> str:
|
|
1521
|
+
"""
|
|
1522
|
+
Network address.
|
|
1523
|
+
"""
|
|
1524
|
+
return pulumi.get(self, "address")
|
|
1525
|
+
|
|
1526
|
+
@property
|
|
1527
|
+
@pulumi.getter
|
|
1528
|
+
def prefix(self) -> int:
|
|
1529
|
+
"""
|
|
1530
|
+
Subnet prefix.
|
|
1531
|
+
"""
|
|
1532
|
+
return pulumi.get(self, "prefix")
|
|
1533
|
+
|
|
1534
|
+
|
|
1535
|
+
@pulumi.output_type
|
|
1536
|
+
class SupervisorManagementNetwork(dict):
|
|
1537
|
+
@staticmethod
|
|
1538
|
+
def __key_warning(key: str):
|
|
1539
|
+
suggest = None
|
|
1540
|
+
if key == "addressCount":
|
|
1541
|
+
suggest = "address_count"
|
|
1542
|
+
elif key == "startingAddress":
|
|
1543
|
+
suggest = "starting_address"
|
|
1544
|
+
elif key == "subnetMask":
|
|
1545
|
+
suggest = "subnet_mask"
|
|
1546
|
+
|
|
1547
|
+
if suggest:
|
|
1548
|
+
pulumi.log.warn(f"Key '{key}' not found in SupervisorManagementNetwork. Access the value via the '{suggest}' property getter instead.")
|
|
1549
|
+
|
|
1550
|
+
def __getitem__(self, key: str) -> Any:
|
|
1551
|
+
SupervisorManagementNetwork.__key_warning(key)
|
|
1552
|
+
return super().__getitem__(key)
|
|
1553
|
+
|
|
1554
|
+
def get(self, key: str, default = None) -> Any:
|
|
1555
|
+
SupervisorManagementNetwork.__key_warning(key)
|
|
1556
|
+
return super().get(key, default)
|
|
1557
|
+
|
|
1558
|
+
def __init__(__self__, *,
|
|
1559
|
+
address_count: int,
|
|
1560
|
+
gateway: str,
|
|
1561
|
+
network: str,
|
|
1562
|
+
starting_address: str,
|
|
1563
|
+
subnet_mask: str):
|
|
1564
|
+
"""
|
|
1565
|
+
:param int address_count: Number of addresses to allocate. Starts from 'starting_address'
|
|
1566
|
+
:param str gateway: Gateway IP address.
|
|
1567
|
+
:param str network: ID of the network. (e.g. a distributed port group).
|
|
1568
|
+
:param str starting_address: Starting address of the management network range.
|
|
1569
|
+
:param str subnet_mask: Subnet mask.
|
|
1570
|
+
"""
|
|
1571
|
+
pulumi.set(__self__, "address_count", address_count)
|
|
1572
|
+
pulumi.set(__self__, "gateway", gateway)
|
|
1573
|
+
pulumi.set(__self__, "network", network)
|
|
1574
|
+
pulumi.set(__self__, "starting_address", starting_address)
|
|
1575
|
+
pulumi.set(__self__, "subnet_mask", subnet_mask)
|
|
1576
|
+
|
|
1577
|
+
@property
|
|
1578
|
+
@pulumi.getter(name="addressCount")
|
|
1579
|
+
def address_count(self) -> int:
|
|
1580
|
+
"""
|
|
1581
|
+
Number of addresses to allocate. Starts from 'starting_address'
|
|
1582
|
+
"""
|
|
1583
|
+
return pulumi.get(self, "address_count")
|
|
1584
|
+
|
|
1585
|
+
@property
|
|
1586
|
+
@pulumi.getter
|
|
1587
|
+
def gateway(self) -> str:
|
|
1588
|
+
"""
|
|
1589
|
+
Gateway IP address.
|
|
1590
|
+
"""
|
|
1591
|
+
return pulumi.get(self, "gateway")
|
|
1592
|
+
|
|
1593
|
+
@property
|
|
1594
|
+
@pulumi.getter
|
|
1595
|
+
def network(self) -> str:
|
|
1596
|
+
"""
|
|
1597
|
+
ID of the network. (e.g. a distributed port group).
|
|
1598
|
+
"""
|
|
1599
|
+
return pulumi.get(self, "network")
|
|
1600
|
+
|
|
1601
|
+
@property
|
|
1602
|
+
@pulumi.getter(name="startingAddress")
|
|
1603
|
+
def starting_address(self) -> str:
|
|
1604
|
+
"""
|
|
1605
|
+
Starting address of the management network range.
|
|
1606
|
+
"""
|
|
1607
|
+
return pulumi.get(self, "starting_address")
|
|
1608
|
+
|
|
1609
|
+
@property
|
|
1610
|
+
@pulumi.getter(name="subnetMask")
|
|
1611
|
+
def subnet_mask(self) -> str:
|
|
1612
|
+
"""
|
|
1613
|
+
Subnet mask.
|
|
1614
|
+
"""
|
|
1615
|
+
return pulumi.get(self, "subnet_mask")
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
@pulumi.output_type
|
|
1619
|
+
class SupervisorNamespace(dict):
|
|
1620
|
+
@staticmethod
|
|
1621
|
+
def __key_warning(key: str):
|
|
1622
|
+
suggest = None
|
|
1623
|
+
if key == "contentLibraries":
|
|
1624
|
+
suggest = "content_libraries"
|
|
1625
|
+
elif key == "vmClasses":
|
|
1626
|
+
suggest = "vm_classes"
|
|
1627
|
+
|
|
1628
|
+
if suggest:
|
|
1629
|
+
pulumi.log.warn(f"Key '{key}' not found in SupervisorNamespace. Access the value via the '{suggest}' property getter instead.")
|
|
1630
|
+
|
|
1631
|
+
def __getitem__(self, key: str) -> Any:
|
|
1632
|
+
SupervisorNamespace.__key_warning(key)
|
|
1633
|
+
return super().__getitem__(key)
|
|
1634
|
+
|
|
1635
|
+
def get(self, key: str, default = None) -> Any:
|
|
1636
|
+
SupervisorNamespace.__key_warning(key)
|
|
1637
|
+
return super().get(key, default)
|
|
1638
|
+
|
|
1639
|
+
def __init__(__self__, *,
|
|
1640
|
+
name: str,
|
|
1641
|
+
content_libraries: Optional[Sequence[str]] = None,
|
|
1642
|
+
vm_classes: Optional[Sequence[str]] = None):
|
|
1643
|
+
"""
|
|
1644
|
+
:param str name: The name of the namespace.
|
|
1645
|
+
:param Sequence[str] content_libraries: A list of content libraries.
|
|
1646
|
+
:param Sequence[str] vm_classes: A list of virtual machine classes.
|
|
1647
|
+
"""
|
|
1648
|
+
pulumi.set(__self__, "name", name)
|
|
1649
|
+
if content_libraries is not None:
|
|
1650
|
+
pulumi.set(__self__, "content_libraries", content_libraries)
|
|
1651
|
+
if vm_classes is not None:
|
|
1652
|
+
pulumi.set(__self__, "vm_classes", vm_classes)
|
|
1653
|
+
|
|
1654
|
+
@property
|
|
1655
|
+
@pulumi.getter
|
|
1656
|
+
def name(self) -> str:
|
|
1657
|
+
"""
|
|
1658
|
+
The name of the namespace.
|
|
1659
|
+
"""
|
|
1660
|
+
return pulumi.get(self, "name")
|
|
1661
|
+
|
|
1662
|
+
@property
|
|
1663
|
+
@pulumi.getter(name="contentLibraries")
|
|
1664
|
+
def content_libraries(self) -> Optional[Sequence[str]]:
|
|
1665
|
+
"""
|
|
1666
|
+
A list of content libraries.
|
|
1667
|
+
"""
|
|
1668
|
+
return pulumi.get(self, "content_libraries")
|
|
1669
|
+
|
|
1670
|
+
@property
|
|
1671
|
+
@pulumi.getter(name="vmClasses")
|
|
1672
|
+
def vm_classes(self) -> Optional[Sequence[str]]:
|
|
1673
|
+
"""
|
|
1674
|
+
A list of virtual machine classes.
|
|
1675
|
+
"""
|
|
1676
|
+
return pulumi.get(self, "vm_classes")
|
|
1677
|
+
|
|
1678
|
+
|
|
1679
|
+
@pulumi.output_type
|
|
1680
|
+
class SupervisorPodCidr(dict):
|
|
1681
|
+
def __init__(__self__, *,
|
|
1682
|
+
address: str,
|
|
1683
|
+
prefix: int):
|
|
1684
|
+
"""
|
|
1685
|
+
:param str address: Network address.
|
|
1686
|
+
:param int prefix: Subnet prefix.
|
|
1687
|
+
"""
|
|
1688
|
+
pulumi.set(__self__, "address", address)
|
|
1689
|
+
pulumi.set(__self__, "prefix", prefix)
|
|
1690
|
+
|
|
1691
|
+
@property
|
|
1692
|
+
@pulumi.getter
|
|
1693
|
+
def address(self) -> str:
|
|
1694
|
+
"""
|
|
1695
|
+
Network address.
|
|
1696
|
+
"""
|
|
1697
|
+
return pulumi.get(self, "address")
|
|
1698
|
+
|
|
1699
|
+
@property
|
|
1700
|
+
@pulumi.getter
|
|
1701
|
+
def prefix(self) -> int:
|
|
1702
|
+
"""
|
|
1703
|
+
Subnet prefix.
|
|
1704
|
+
"""
|
|
1705
|
+
return pulumi.get(self, "prefix")
|
|
1706
|
+
|
|
1707
|
+
|
|
1708
|
+
@pulumi.output_type
|
|
1709
|
+
class SupervisorServiceCidr(dict):
|
|
1710
|
+
def __init__(__self__, *,
|
|
1711
|
+
address: str,
|
|
1712
|
+
prefix: int):
|
|
1713
|
+
"""
|
|
1714
|
+
:param str address: Network address.
|
|
1715
|
+
:param int prefix: Subnet prefix.
|
|
1716
|
+
"""
|
|
1717
|
+
pulumi.set(__self__, "address", address)
|
|
1718
|
+
pulumi.set(__self__, "prefix", prefix)
|
|
1719
|
+
|
|
1720
|
+
@property
|
|
1721
|
+
@pulumi.getter
|
|
1722
|
+
def address(self) -> str:
|
|
1723
|
+
"""
|
|
1724
|
+
Network address.
|
|
1725
|
+
"""
|
|
1726
|
+
return pulumi.get(self, "address")
|
|
1727
|
+
|
|
1728
|
+
@property
|
|
1729
|
+
@pulumi.getter
|
|
1730
|
+
def prefix(self) -> int:
|
|
1731
|
+
"""
|
|
1732
|
+
Subnet prefix.
|
|
1733
|
+
"""
|
|
1734
|
+
return pulumi.get(self, "prefix")
|
|
1735
|
+
|
|
1736
|
+
|
|
1309
1737
|
@pulumi.output_type
|
|
1310
1738
|
class VirtualMachineCdrom(dict):
|
|
1311
1739
|
@staticmethod
|
|
@@ -1896,6 +2324,8 @@ class VirtualMachineCloneCustomizeWindowsOptions(dict):
|
|
|
1896
2324
|
suggest = "domain_admin_password"
|
|
1897
2325
|
elif key == "domainAdminUser":
|
|
1898
2326
|
suggest = "domain_admin_user"
|
|
2327
|
+
elif key == "domainOu":
|
|
2328
|
+
suggest = "domain_ou"
|
|
1899
2329
|
elif key == "fullName":
|
|
1900
2330
|
suggest = "full_name"
|
|
1901
2331
|
elif key == "joinDomain":
|
|
@@ -1927,6 +2357,7 @@ class VirtualMachineCloneCustomizeWindowsOptions(dict):
|
|
|
1927
2357
|
auto_logon_count: Optional[int] = None,
|
|
1928
2358
|
domain_admin_password: Optional[str] = None,
|
|
1929
2359
|
domain_admin_user: Optional[str] = None,
|
|
2360
|
+
domain_ou: Optional[str] = None,
|
|
1930
2361
|
full_name: Optional[str] = None,
|
|
1931
2362
|
join_domain: Optional[str] = None,
|
|
1932
2363
|
organization_name: Optional[str] = None,
|
|
@@ -1941,6 +2372,7 @@ class VirtualMachineCloneCustomizeWindowsOptions(dict):
|
|
|
1941
2372
|
:param int auto_logon_count: Specifies how many times the VM should auto-logon the Administrator account when auto_logon is true.
|
|
1942
2373
|
:param str domain_admin_password: The password of the domain administrator used to join this virtual machine to the domain.
|
|
1943
2374
|
:param str domain_admin_user: The user account of the domain administrator used to join this virtual machine to the domain.
|
|
2375
|
+
:param str domain_ou: The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
1944
2376
|
:param str full_name: The full name of the user of this virtual machine.
|
|
1945
2377
|
:param str join_domain: The domain that the virtual machine should join.
|
|
1946
2378
|
:param str organization_name: The organization name this virtual machine is being installed for.
|
|
@@ -1960,6 +2392,8 @@ class VirtualMachineCloneCustomizeWindowsOptions(dict):
|
|
|
1960
2392
|
pulumi.set(__self__, "domain_admin_password", domain_admin_password)
|
|
1961
2393
|
if domain_admin_user is not None:
|
|
1962
2394
|
pulumi.set(__self__, "domain_admin_user", domain_admin_user)
|
|
2395
|
+
if domain_ou is not None:
|
|
2396
|
+
pulumi.set(__self__, "domain_ou", domain_ou)
|
|
1963
2397
|
if full_name is not None:
|
|
1964
2398
|
pulumi.set(__self__, "full_name", full_name)
|
|
1965
2399
|
if join_domain is not None:
|
|
@@ -2023,6 +2457,14 @@ class VirtualMachineCloneCustomizeWindowsOptions(dict):
|
|
|
2023
2457
|
"""
|
|
2024
2458
|
return pulumi.get(self, "domain_admin_user")
|
|
2025
2459
|
|
|
2460
|
+
@property
|
|
2461
|
+
@pulumi.getter(name="domainOu")
|
|
2462
|
+
def domain_ou(self) -> Optional[str]:
|
|
2463
|
+
"""
|
|
2464
|
+
The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
2465
|
+
"""
|
|
2466
|
+
return pulumi.get(self, "domain_ou")
|
|
2467
|
+
|
|
2026
2468
|
@property
|
|
2027
2469
|
@pulumi.getter(name="fullName")
|
|
2028
2470
|
def full_name(self) -> Optional[str]:
|
|
@@ -3123,6 +3565,7 @@ class GetGuestOsCustomizationSpecWindowsOptionResult(dict):
|
|
|
3123
3565
|
auto_logon_count: int,
|
|
3124
3566
|
computer_name: str,
|
|
3125
3567
|
domain_admin_user: str,
|
|
3568
|
+
domain_ou: str,
|
|
3126
3569
|
join_domain: str,
|
|
3127
3570
|
run_once_command_lists: Sequence[str],
|
|
3128
3571
|
time_zone: int,
|
|
@@ -3134,6 +3577,7 @@ class GetGuestOsCustomizationSpecWindowsOptionResult(dict):
|
|
|
3134
3577
|
:param int auto_logon_count: Specifies how many times the guest operating system should auto-logon the Administrator account when `auto_logon` is `true`.
|
|
3135
3578
|
:param str computer_name: The hostname for this virtual machine.
|
|
3136
3579
|
:param str domain_admin_user: The user account of the domain administrator used to join this virtual machine to the domain.
|
|
3580
|
+
:param str domain_ou: The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
3137
3581
|
:param str join_domain: The Active Directory domain for the virtual machine to join.
|
|
3138
3582
|
:param Sequence[str] run_once_command_lists: A list of commands to run at first user logon, after guest customization.
|
|
3139
3583
|
:param int time_zone: The new time zone for the virtual machine. This is a sysprep-dictated timezone code.
|
|
@@ -3145,6 +3589,7 @@ class GetGuestOsCustomizationSpecWindowsOptionResult(dict):
|
|
|
3145
3589
|
pulumi.set(__self__, "auto_logon_count", auto_logon_count)
|
|
3146
3590
|
pulumi.set(__self__, "computer_name", computer_name)
|
|
3147
3591
|
pulumi.set(__self__, "domain_admin_user", domain_admin_user)
|
|
3592
|
+
pulumi.set(__self__, "domain_ou", domain_ou)
|
|
3148
3593
|
pulumi.set(__self__, "join_domain", join_domain)
|
|
3149
3594
|
pulumi.set(__self__, "run_once_command_lists", run_once_command_lists)
|
|
3150
3595
|
pulumi.set(__self__, "time_zone", time_zone)
|
|
@@ -3192,6 +3637,14 @@ class GetGuestOsCustomizationSpecWindowsOptionResult(dict):
|
|
|
3192
3637
|
"""
|
|
3193
3638
|
return pulumi.get(self, "domain_admin_user")
|
|
3194
3639
|
|
|
3640
|
+
@property
|
|
3641
|
+
@pulumi.getter(name="domainOu")
|
|
3642
|
+
def domain_ou(self) -> str:
|
|
3643
|
+
"""
|
|
3644
|
+
The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
3645
|
+
"""
|
|
3646
|
+
return pulumi.get(self, "domain_ou")
|
|
3647
|
+
|
|
3195
3648
|
@property
|
|
3196
3649
|
@pulumi.getter(name="joinDomain")
|
|
3197
3650
|
def join_domain(self) -> str:
|
|
@@ -3244,13 +3697,14 @@ class GetHostVgpuProfileVgpuProfileResult(dict):
|
|
|
3244
3697
|
"""
|
|
3245
3698
|
:param bool disk_snapshot_supported: Indicates whether the GPU plugin on this host is
|
|
3246
3699
|
capable of disk-only snapshots when VM is not powered off.
|
|
3247
|
-
:param bool memory_snapshot_supported: Indicates whether the GPU plugin on this host
|
|
3248
|
-
capable of memory snapshots.
|
|
3249
|
-
:param bool migrate_supported: Indicates whether the GPU plugin on this host is
|
|
3250
|
-
of migration.
|
|
3251
|
-
:param bool suspend_supported: Indicates whether the GPU plugin on this host is
|
|
3252
|
-
of suspend-resume.
|
|
3253
|
-
:param str vgpu: Name of a particular vGPU available as a shared GPU device (vGPU
|
|
3700
|
+
:param bool memory_snapshot_supported: Indicates whether the GPU plugin on this host
|
|
3701
|
+
is capable of memory snapshots.
|
|
3702
|
+
:param bool migrate_supported: Indicates whether the GPU plugin on this host is
|
|
3703
|
+
capable of migration.
|
|
3704
|
+
:param bool suspend_supported: Indicates whether the GPU plugin on this host is
|
|
3705
|
+
capable of suspend-resume.
|
|
3706
|
+
:param str vgpu: Name of a particular vGPU available as a shared GPU device (vGPU
|
|
3707
|
+
profile).
|
|
3254
3708
|
"""
|
|
3255
3709
|
pulumi.set(__self__, "disk_snapshot_supported", disk_snapshot_supported)
|
|
3256
3710
|
pulumi.set(__self__, "memory_snapshot_supported", memory_snapshot_supported)
|
|
@@ -3271,8 +3725,8 @@ class GetHostVgpuProfileVgpuProfileResult(dict):
|
|
|
3271
3725
|
@pulumi.getter(name="memorySnapshotSupported")
|
|
3272
3726
|
def memory_snapshot_supported(self) -> bool:
|
|
3273
3727
|
"""
|
|
3274
|
-
Indicates whether the GPU plugin on this host
|
|
3275
|
-
capable of memory snapshots.
|
|
3728
|
+
Indicates whether the GPU plugin on this host
|
|
3729
|
+
is capable of memory snapshots.
|
|
3276
3730
|
"""
|
|
3277
3731
|
return pulumi.get(self, "memory_snapshot_supported")
|
|
3278
3732
|
|
|
@@ -3280,8 +3734,8 @@ class GetHostVgpuProfileVgpuProfileResult(dict):
|
|
|
3280
3734
|
@pulumi.getter(name="migrateSupported")
|
|
3281
3735
|
def migrate_supported(self) -> bool:
|
|
3282
3736
|
"""
|
|
3283
|
-
Indicates whether the GPU plugin on this host is
|
|
3284
|
-
of migration.
|
|
3737
|
+
Indicates whether the GPU plugin on this host is
|
|
3738
|
+
capable of migration.
|
|
3285
3739
|
"""
|
|
3286
3740
|
return pulumi.get(self, "migrate_supported")
|
|
3287
3741
|
|
|
@@ -3289,8 +3743,8 @@ class GetHostVgpuProfileVgpuProfileResult(dict):
|
|
|
3289
3743
|
@pulumi.getter(name="suspendSupported")
|
|
3290
3744
|
def suspend_supported(self) -> bool:
|
|
3291
3745
|
"""
|
|
3292
|
-
Indicates whether the GPU plugin on this host is
|
|
3293
|
-
of suspend-resume.
|
|
3746
|
+
Indicates whether the GPU plugin on this host is
|
|
3747
|
+
capable of suspend-resume.
|
|
3294
3748
|
"""
|
|
3295
3749
|
return pulumi.get(self, "suspend_supported")
|
|
3296
3750
|
|
|
@@ -3298,7 +3752,8 @@ class GetHostVgpuProfileVgpuProfileResult(dict):
|
|
|
3298
3752
|
@pulumi.getter
|
|
3299
3753
|
def vgpu(self) -> str:
|
|
3300
3754
|
"""
|
|
3301
|
-
Name of a particular vGPU available as a shared GPU device (vGPU
|
|
3755
|
+
Name of a particular vGPU available as a shared GPU device (vGPU
|
|
3756
|
+
profile).
|
|
3302
3757
|
"""
|
|
3303
3758
|
return pulumi.get(self, "vgpu")
|
|
3304
3759
|
|
|
@@ -3377,21 +3832,21 @@ class GetVirtualMachineNetworkInterfaceResult(dict):
|
|
|
3377
3832
|
bandwidth_reservation: Optional[int] = None,
|
|
3378
3833
|
bandwidth_share_level: Optional[str] = None):
|
|
3379
3834
|
"""
|
|
3380
|
-
:param str adapter_type: The network interface types for each network interface found
|
|
3381
|
-
on the virtual machine, in device bus order. Will be one of `e1000`,
|
|
3382
|
-
`vmxnet3vrdma`, or `vmxnet3`.
|
|
3835
|
+
:param str adapter_type: The network interface types for each network interface found
|
|
3836
|
+
on the virtual machine, in device bus order. Will be one of `e1000`,
|
|
3837
|
+
`e1000e`, `vmxnet3vrdma`, or `vmxnet3`.
|
|
3383
3838
|
:param int bandwidth_share_count: The share count for this network interface when the
|
|
3384
3839
|
share level is custom.
|
|
3385
3840
|
:param str mac_address: The MAC address of this network interface.
|
|
3386
|
-
:param str network_id: The managed object reference ID of the network this interface
|
|
3387
|
-
connected to.
|
|
3841
|
+
:param str network_id: The managed object reference ID of the network this interface
|
|
3842
|
+
is connected to.
|
|
3388
3843
|
:param str physical_function: The ID of the Physical SR-IOV NIC to attach to, e.g. '0000:d8:00.0'
|
|
3389
|
-
:param int bandwidth_limit: The upper bandwidth limit of this network interface,
|
|
3390
|
-
in Mbits/sec.
|
|
3391
|
-
:param int bandwidth_reservation: The bandwidth reservation of this network interface,
|
|
3844
|
+
:param int bandwidth_limit: The upper bandwidth limit of this network interface,
|
|
3392
3845
|
in Mbits/sec.
|
|
3393
|
-
:param
|
|
3394
|
-
|
|
3846
|
+
:param int bandwidth_reservation: The bandwidth reservation of this network
|
|
3847
|
+
interface, in Mbits/sec.
|
|
3848
|
+
:param str bandwidth_share_level: The bandwidth share allocation level for this
|
|
3849
|
+
interface. Can be one of `low`, `normal`, `high`, or `custom`.
|
|
3395
3850
|
"""
|
|
3396
3851
|
pulumi.set(__self__, "adapter_type", adapter_type)
|
|
3397
3852
|
pulumi.set(__self__, "bandwidth_share_count", bandwidth_share_count)
|
|
@@ -3409,9 +3864,9 @@ class GetVirtualMachineNetworkInterfaceResult(dict):
|
|
|
3409
3864
|
@pulumi.getter(name="adapterType")
|
|
3410
3865
|
def adapter_type(self) -> str:
|
|
3411
3866
|
"""
|
|
3412
|
-
The network interface types for each network interface found
|
|
3413
|
-
on the virtual machine, in device bus order. Will be one of `e1000`,
|
|
3414
|
-
`vmxnet3vrdma`, or `vmxnet3`.
|
|
3867
|
+
The network interface types for each network interface found
|
|
3868
|
+
on the virtual machine, in device bus order. Will be one of `e1000`,
|
|
3869
|
+
`e1000e`, `vmxnet3vrdma`, or `vmxnet3`.
|
|
3415
3870
|
"""
|
|
3416
3871
|
return pulumi.get(self, "adapter_type")
|
|
3417
3872
|
|
|
@@ -3436,8 +3891,8 @@ class GetVirtualMachineNetworkInterfaceResult(dict):
|
|
|
3436
3891
|
@pulumi.getter(name="networkId")
|
|
3437
3892
|
def network_id(self) -> str:
|
|
3438
3893
|
"""
|
|
3439
|
-
The managed object reference ID of the network this interface
|
|
3440
|
-
connected to.
|
|
3894
|
+
The managed object reference ID of the network this interface
|
|
3895
|
+
is connected to.
|
|
3441
3896
|
"""
|
|
3442
3897
|
return pulumi.get(self, "network_id")
|
|
3443
3898
|
|
|
@@ -3453,7 +3908,7 @@ class GetVirtualMachineNetworkInterfaceResult(dict):
|
|
|
3453
3908
|
@pulumi.getter(name="bandwidthLimit")
|
|
3454
3909
|
def bandwidth_limit(self) -> Optional[int]:
|
|
3455
3910
|
"""
|
|
3456
|
-
The upper bandwidth limit of this network interface,
|
|
3911
|
+
The upper bandwidth limit of this network interface,
|
|
3457
3912
|
in Mbits/sec.
|
|
3458
3913
|
"""
|
|
3459
3914
|
return pulumi.get(self, "bandwidth_limit")
|
|
@@ -3462,8 +3917,8 @@ class GetVirtualMachineNetworkInterfaceResult(dict):
|
|
|
3462
3917
|
@pulumi.getter(name="bandwidthReservation")
|
|
3463
3918
|
def bandwidth_reservation(self) -> Optional[int]:
|
|
3464
3919
|
"""
|
|
3465
|
-
The bandwidth reservation of this network
|
|
3466
|
-
in Mbits/sec.
|
|
3920
|
+
The bandwidth reservation of this network
|
|
3921
|
+
interface, in Mbits/sec.
|
|
3467
3922
|
"""
|
|
3468
3923
|
return pulumi.get(self, "bandwidth_reservation")
|
|
3469
3924
|
|
|
@@ -3471,8 +3926,8 @@ class GetVirtualMachineNetworkInterfaceResult(dict):
|
|
|
3471
3926
|
@pulumi.getter(name="bandwidthShareLevel")
|
|
3472
3927
|
def bandwidth_share_level(self) -> Optional[str]:
|
|
3473
3928
|
"""
|
|
3474
|
-
The bandwidth share allocation level for this
|
|
3475
|
-
Can be one of `low`, `normal`, `high`, or `custom`.
|
|
3929
|
+
The bandwidth share allocation level for this
|
|
3930
|
+
interface. Can be one of `low`, `normal`, `high`, or `custom`.
|
|
3476
3931
|
"""
|
|
3477
3932
|
return pulumi.get(self, "bandwidth_share_level")
|
|
3478
3933
|
|