pulumi-vsphere 4.11.0a1724911945__tar.gz → 4.11.0a1725549683__tar.gz
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-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/PKG-INFO +1 -1
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/_inputs.py +80 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/host.py +49 -40
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/outputs.py +81 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/pulumi-plugin.json +1 -1
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere.egg-info/PKG-INFO +1 -1
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pyproject.toml +1 -1
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/README.md +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/__init__.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/_utilities.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/compute_cluster.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/compute_cluster_host_group.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/compute_cluster_vm_affinity_rule.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/compute_cluster_vm_dependency_rule.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/compute_cluster_vm_group.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/compute_cluster_vm_host_rule.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/config/__init__.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/config/__init__.pyi +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/config/vars.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/content_library.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/content_library_item.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/custom_attribute.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/datacenter.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/datastore_cluster.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/distributed_port_group.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/distributed_virtual_switch.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/dpm_host_override.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/drs_vm_override.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/entity_permissions.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/file.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/folder.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_compute_cluster.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_compute_cluster_host_group.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_content_library.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_content_library_item.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_custom_attribute.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_datacenter.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_datastore.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_datastore_cluster.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_datastore_stats.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_distributed_virtual_switch.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_dynamic.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_folder.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_guest_os_customization.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_host.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_host_base_images.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_host_pci_device.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_host_thumbprint.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_host_vgpu_profile.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_license.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_network.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_ovf_vm_template.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_policy.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_resource_pool.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_role.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_tag.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_tag_category.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_vapp_container.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_virtual_machine.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_vmfs_disks.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/guest_os_customization.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/ha_vm_override.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/host_port_group.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/host_virtual_switch.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/license.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/nas_datastore.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/offline_software_depot.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/provider.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/py.typed +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/resource_pool.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/role.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/storage_drs_vm_override.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/supervisor.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/tag.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/tag_category.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/vapp_container.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/vapp_entity.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/virtual_disk.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/virtual_machine.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/virtual_machine_class.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/virtual_machine_snapshot.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/vm_storage_policy.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/vmfs_datastore.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/vnic.py +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere.egg-info/SOURCES.txt +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere.egg-info/dependency_links.txt +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere.egg-info/requires.txt +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere.egg-info/top_level.txt +0 -0
- {pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/setup.cfg +0 -0
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/_inputs.py
RENAMED
|
@@ -28,6 +28,8 @@ __all__ = [
|
|
|
28
28
|
'GuestOsCustomizationSpecNetworkInterfaceArgs',
|
|
29
29
|
'GuestOsCustomizationSpecWindowsOptionsArgs',
|
|
30
30
|
'HostPortGroupPortArgs',
|
|
31
|
+
'HostServiceArgs',
|
|
32
|
+
'HostServiceNtpdArgs',
|
|
31
33
|
'OfflineSoftwareDepotComponentArgs',
|
|
32
34
|
'SupervisorEgressCidrArgs',
|
|
33
35
|
'SupervisorIngressCidrArgs',
|
|
@@ -1348,6 +1350,84 @@ class HostPortGroupPortArgs:
|
|
|
1348
1350
|
pulumi.set(self, "type", value)
|
|
1349
1351
|
|
|
1350
1352
|
|
|
1353
|
+
@pulumi.input_type
|
|
1354
|
+
class HostServiceArgs:
|
|
1355
|
+
def __init__(__self__, *,
|
|
1356
|
+
ntpd: Optional[pulumi.Input['HostServiceNtpdArgs']] = None):
|
|
1357
|
+
"""
|
|
1358
|
+
:param pulumi.Input['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".
|
|
1359
|
+
|
|
1360
|
+
> **NOTE:** `services` only supports ntpd service today.
|
|
1361
|
+
"""
|
|
1362
|
+
if ntpd is not None:
|
|
1363
|
+
pulumi.set(__self__, "ntpd", ntpd)
|
|
1364
|
+
|
|
1365
|
+
@property
|
|
1366
|
+
@pulumi.getter
|
|
1367
|
+
def ntpd(self) -> Optional[pulumi.Input['HostServiceNtpdArgs']]:
|
|
1368
|
+
"""
|
|
1369
|
+
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".
|
|
1370
|
+
|
|
1371
|
+
> **NOTE:** `services` only supports ntpd service today.
|
|
1372
|
+
"""
|
|
1373
|
+
return pulumi.get(self, "ntpd")
|
|
1374
|
+
|
|
1375
|
+
@ntpd.setter
|
|
1376
|
+
def ntpd(self, value: Optional[pulumi.Input['HostServiceNtpdArgs']]):
|
|
1377
|
+
pulumi.set(self, "ntpd", value)
|
|
1378
|
+
|
|
1379
|
+
|
|
1380
|
+
@pulumi.input_type
|
|
1381
|
+
class HostServiceNtpdArgs:
|
|
1382
|
+
def __init__(__self__, *,
|
|
1383
|
+
enabled: Optional[pulumi.Input[bool]] = None,
|
|
1384
|
+
ntp_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1385
|
+
policy: Optional[pulumi.Input[str]] = None):
|
|
1386
|
+
"""
|
|
1387
|
+
:param pulumi.Input[bool] enabled: Whether the NTP service is enabled. Default is false.
|
|
1388
|
+
:param pulumi.Input[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'.
|
|
1389
|
+
"""
|
|
1390
|
+
if enabled is not None:
|
|
1391
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
1392
|
+
if ntp_servers is not None:
|
|
1393
|
+
pulumi.set(__self__, "ntp_servers", ntp_servers)
|
|
1394
|
+
if policy is not None:
|
|
1395
|
+
pulumi.set(__self__, "policy", policy)
|
|
1396
|
+
|
|
1397
|
+
@property
|
|
1398
|
+
@pulumi.getter
|
|
1399
|
+
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1400
|
+
"""
|
|
1401
|
+
Whether the NTP service is enabled. Default is false.
|
|
1402
|
+
"""
|
|
1403
|
+
return pulumi.get(self, "enabled")
|
|
1404
|
+
|
|
1405
|
+
@enabled.setter
|
|
1406
|
+
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1407
|
+
pulumi.set(self, "enabled", value)
|
|
1408
|
+
|
|
1409
|
+
@property
|
|
1410
|
+
@pulumi.getter(name="ntpServers")
|
|
1411
|
+
def ntp_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1412
|
+
return pulumi.get(self, "ntp_servers")
|
|
1413
|
+
|
|
1414
|
+
@ntp_servers.setter
|
|
1415
|
+
def ntp_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1416
|
+
pulumi.set(self, "ntp_servers", value)
|
|
1417
|
+
|
|
1418
|
+
@property
|
|
1419
|
+
@pulumi.getter
|
|
1420
|
+
def policy(self) -> Optional[pulumi.Input[str]]:
|
|
1421
|
+
"""
|
|
1422
|
+
The policy for the NTP service. Valid values are 'Start and stop with host', 'Start and stop manually', 'Start and stop with port usage'.
|
|
1423
|
+
"""
|
|
1424
|
+
return pulumi.get(self, "policy")
|
|
1425
|
+
|
|
1426
|
+
@policy.setter
|
|
1427
|
+
def policy(self, value: Optional[pulumi.Input[str]]):
|
|
1428
|
+
pulumi.set(self, "policy", value)
|
|
1429
|
+
|
|
1430
|
+
|
|
1351
1431
|
@pulumi.input_type
|
|
1352
1432
|
class OfflineSoftwareDepotComponentArgs:
|
|
1353
1433
|
def __init__(__self__, *,
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/host.py
RENAMED
|
@@ -8,6 +8,8 @@ import pulumi
|
|
|
8
8
|
import pulumi.runtime
|
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
from ._inputs import *
|
|
11
13
|
|
|
12
14
|
__all__ = ['HostArgs', 'Host']
|
|
13
15
|
|
|
@@ -26,6 +28,7 @@ class HostArgs:
|
|
|
26
28
|
license: Optional[pulumi.Input[str]] = None,
|
|
27
29
|
lockdown: Optional[pulumi.Input[str]] = None,
|
|
28
30
|
maintenance: Optional[pulumi.Input[bool]] = None,
|
|
31
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]]] = None,
|
|
29
32
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
30
33
|
thumbprint: Optional[pulumi.Input[str]] = None):
|
|
31
34
|
"""
|
|
@@ -63,6 +66,7 @@ class HostArgs:
|
|
|
63
66
|
`disabled`, `normal`, and `strict`. Default is `disabled`.
|
|
64
67
|
:param pulumi.Input[bool] maintenance: Set the management state of the host.
|
|
65
68
|
Default is `false`.
|
|
69
|
+
:param pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]] services: Set Services on host, the settings to be set are based on service being set as part of import.
|
|
66
70
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
67
71
|
refer to the `Tag` resource for more information on applying
|
|
68
72
|
tags to resources.
|
|
@@ -95,6 +99,8 @@ class HostArgs:
|
|
|
95
99
|
pulumi.set(__self__, "lockdown", lockdown)
|
|
96
100
|
if maintenance is not None:
|
|
97
101
|
pulumi.set(__self__, "maintenance", maintenance)
|
|
102
|
+
if services is not None:
|
|
103
|
+
pulumi.set(__self__, "services", services)
|
|
98
104
|
if tags is not None:
|
|
99
105
|
pulumi.set(__self__, "tags", tags)
|
|
100
106
|
if thumbprint is not None:
|
|
@@ -265,6 +271,18 @@ class HostArgs:
|
|
|
265
271
|
def maintenance(self, value: Optional[pulumi.Input[bool]]):
|
|
266
272
|
pulumi.set(self, "maintenance", value)
|
|
267
273
|
|
|
274
|
+
@property
|
|
275
|
+
@pulumi.getter
|
|
276
|
+
def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]]]:
|
|
277
|
+
"""
|
|
278
|
+
Set Services on host, the settings to be set are based on service being set as part of import.
|
|
279
|
+
"""
|
|
280
|
+
return pulumi.get(self, "services")
|
|
281
|
+
|
|
282
|
+
@services.setter
|
|
283
|
+
def services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]]]):
|
|
284
|
+
pulumi.set(self, "services", value)
|
|
285
|
+
|
|
268
286
|
@property
|
|
269
287
|
@pulumi.getter
|
|
270
288
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
@@ -312,6 +330,7 @@ class _HostState:
|
|
|
312
330
|
lockdown: Optional[pulumi.Input[str]] = None,
|
|
313
331
|
maintenance: Optional[pulumi.Input[bool]] = None,
|
|
314
332
|
password: Optional[pulumi.Input[str]] = None,
|
|
333
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]]] = None,
|
|
315
334
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
316
335
|
thumbprint: Optional[pulumi.Input[str]] = None,
|
|
317
336
|
username: Optional[pulumi.Input[str]] = None):
|
|
@@ -348,6 +367,7 @@ class _HostState:
|
|
|
348
367
|
Default is `false`.
|
|
349
368
|
:param pulumi.Input[str] password: Password that will be used by vSphere to authenticate
|
|
350
369
|
to the host.
|
|
370
|
+
:param pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]] services: Set Services on host, the settings to be set are based on service being set as part of import.
|
|
351
371
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
352
372
|
refer to the `Tag` resource for more information on applying
|
|
353
373
|
tags to resources.
|
|
@@ -383,6 +403,8 @@ class _HostState:
|
|
|
383
403
|
pulumi.set(__self__, "maintenance", maintenance)
|
|
384
404
|
if password is not None:
|
|
385
405
|
pulumi.set(__self__, "password", password)
|
|
406
|
+
if services is not None:
|
|
407
|
+
pulumi.set(__self__, "services", services)
|
|
386
408
|
if tags is not None:
|
|
387
409
|
pulumi.set(__self__, "tags", tags)
|
|
388
410
|
if thumbprint is not None:
|
|
@@ -542,6 +564,18 @@ class _HostState:
|
|
|
542
564
|
def password(self, value: Optional[pulumi.Input[str]]):
|
|
543
565
|
pulumi.set(self, "password", value)
|
|
544
566
|
|
|
567
|
+
@property
|
|
568
|
+
@pulumi.getter
|
|
569
|
+
def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]]]:
|
|
570
|
+
"""
|
|
571
|
+
Set Services on host, the settings to be set are based on service being set as part of import.
|
|
572
|
+
"""
|
|
573
|
+
return pulumi.get(self, "services")
|
|
574
|
+
|
|
575
|
+
@services.setter
|
|
576
|
+
def services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]]]):
|
|
577
|
+
pulumi.set(self, "services", value)
|
|
578
|
+
|
|
545
579
|
@property
|
|
546
580
|
@pulumi.getter
|
|
547
581
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
@@ -604,6 +638,7 @@ class Host(pulumi.CustomResource):
|
|
|
604
638
|
lockdown: Optional[pulumi.Input[str]] = None,
|
|
605
639
|
maintenance: Optional[pulumi.Input[bool]] = None,
|
|
606
640
|
password: Optional[pulumi.Input[str]] = None,
|
|
641
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HostServiceArgs', 'HostServiceArgsDict']]]]] = None,
|
|
607
642
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
608
643
|
thumbprint: Optional[pulumi.Input[str]] = None,
|
|
609
644
|
username: Optional[pulumi.Input[str]] = None,
|
|
@@ -632,26 +667,6 @@ class Host(pulumi.CustomResource):
|
|
|
632
667
|
datacenter=datacenter.id)
|
|
633
668
|
```
|
|
634
669
|
|
|
635
|
-
### Create host in a compute cluster
|
|
636
|
-
|
|
637
|
-
```python
|
|
638
|
-
import pulumi
|
|
639
|
-
import pulumi_vsphere as vsphere
|
|
640
|
-
|
|
641
|
-
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
642
|
-
cluster = vsphere.get_compute_cluster(name="cluster-01",
|
|
643
|
-
datacenter_id=datacenter.id)
|
|
644
|
-
thumbprint = vsphere.get_host_thumbprint(address="esx-01.example.com",
|
|
645
|
-
insecure=True)
|
|
646
|
-
esx_01 = vsphere.Host("esx-01",
|
|
647
|
-
hostname="esx-01.example.com",
|
|
648
|
-
username="root",
|
|
649
|
-
password="password",
|
|
650
|
-
license="00000-00000-00000-00000-00000",
|
|
651
|
-
thumbprint=thumbprint.id,
|
|
652
|
-
cluster=cluster.id)
|
|
653
|
-
```
|
|
654
|
-
|
|
655
670
|
## Importing
|
|
656
671
|
|
|
657
672
|
An existing host can be [imported][docs-import] into this resource by supplying
|
|
@@ -694,6 +709,7 @@ class Host(pulumi.CustomResource):
|
|
|
694
709
|
Default is `false`.
|
|
695
710
|
:param pulumi.Input[str] password: Password that will be used by vSphere to authenticate
|
|
696
711
|
to the host.
|
|
712
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['HostServiceArgs', 'HostServiceArgsDict']]]] services: Set Services on host, the settings to be set are based on service being set as part of import.
|
|
697
713
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
698
714
|
refer to the `Tag` resource for more information on applying
|
|
699
715
|
tags to resources.
|
|
@@ -737,26 +753,6 @@ class Host(pulumi.CustomResource):
|
|
|
737
753
|
datacenter=datacenter.id)
|
|
738
754
|
```
|
|
739
755
|
|
|
740
|
-
### Create host in a compute cluster
|
|
741
|
-
|
|
742
|
-
```python
|
|
743
|
-
import pulumi
|
|
744
|
-
import pulumi_vsphere as vsphere
|
|
745
|
-
|
|
746
|
-
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
747
|
-
cluster = vsphere.get_compute_cluster(name="cluster-01",
|
|
748
|
-
datacenter_id=datacenter.id)
|
|
749
|
-
thumbprint = vsphere.get_host_thumbprint(address="esx-01.example.com",
|
|
750
|
-
insecure=True)
|
|
751
|
-
esx_01 = vsphere.Host("esx-01",
|
|
752
|
-
hostname="esx-01.example.com",
|
|
753
|
-
username="root",
|
|
754
|
-
password="password",
|
|
755
|
-
license="00000-00000-00000-00000-00000",
|
|
756
|
-
thumbprint=thumbprint.id,
|
|
757
|
-
cluster=cluster.id)
|
|
758
|
-
```
|
|
759
|
-
|
|
760
756
|
## Importing
|
|
761
757
|
|
|
762
758
|
An existing host can be [imported][docs-import] into this resource by supplying
|
|
@@ -792,6 +788,7 @@ class Host(pulumi.CustomResource):
|
|
|
792
788
|
lockdown: Optional[pulumi.Input[str]] = None,
|
|
793
789
|
maintenance: Optional[pulumi.Input[bool]] = None,
|
|
794
790
|
password: Optional[pulumi.Input[str]] = None,
|
|
791
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HostServiceArgs', 'HostServiceArgsDict']]]]] = None,
|
|
795
792
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
796
793
|
thumbprint: Optional[pulumi.Input[str]] = None,
|
|
797
794
|
username: Optional[pulumi.Input[str]] = None,
|
|
@@ -819,6 +816,7 @@ class Host(pulumi.CustomResource):
|
|
|
819
816
|
if password is None and not opts.urn:
|
|
820
817
|
raise TypeError("Missing required property 'password'")
|
|
821
818
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
819
|
+
__props__.__dict__["services"] = services
|
|
822
820
|
__props__.__dict__["tags"] = tags
|
|
823
821
|
__props__.__dict__["thumbprint"] = thumbprint
|
|
824
822
|
if username is None and not opts.urn:
|
|
@@ -847,6 +845,7 @@ class Host(pulumi.CustomResource):
|
|
|
847
845
|
lockdown: Optional[pulumi.Input[str]] = None,
|
|
848
846
|
maintenance: Optional[pulumi.Input[bool]] = None,
|
|
849
847
|
password: Optional[pulumi.Input[str]] = None,
|
|
848
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HostServiceArgs', 'HostServiceArgsDict']]]]] = None,
|
|
850
849
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
851
850
|
thumbprint: Optional[pulumi.Input[str]] = None,
|
|
852
851
|
username: Optional[pulumi.Input[str]] = None) -> 'Host':
|
|
@@ -888,6 +887,7 @@ class Host(pulumi.CustomResource):
|
|
|
888
887
|
Default is `false`.
|
|
889
888
|
:param pulumi.Input[str] password: Password that will be used by vSphere to authenticate
|
|
890
889
|
to the host.
|
|
890
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['HostServiceArgs', 'HostServiceArgsDict']]]] services: Set Services on host, the settings to be set are based on service being set as part of import.
|
|
891
891
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
892
892
|
refer to the `Tag` resource for more information on applying
|
|
893
893
|
tags to resources.
|
|
@@ -916,6 +916,7 @@ class Host(pulumi.CustomResource):
|
|
|
916
916
|
__props__.__dict__["lockdown"] = lockdown
|
|
917
917
|
__props__.__dict__["maintenance"] = maintenance
|
|
918
918
|
__props__.__dict__["password"] = password
|
|
919
|
+
__props__.__dict__["services"] = services
|
|
919
920
|
__props__.__dict__["tags"] = tags
|
|
920
921
|
__props__.__dict__["thumbprint"] = thumbprint
|
|
921
922
|
__props__.__dict__["username"] = username
|
|
@@ -1029,6 +1030,14 @@ class Host(pulumi.CustomResource):
|
|
|
1029
1030
|
"""
|
|
1030
1031
|
return pulumi.get(self, "password")
|
|
1031
1032
|
|
|
1033
|
+
@property
|
|
1034
|
+
@pulumi.getter
|
|
1035
|
+
def services(self) -> pulumi.Output[Optional[Sequence['outputs.HostService']]]:
|
|
1036
|
+
"""
|
|
1037
|
+
Set Services on host, the settings to be set are based on service being set as part of import.
|
|
1038
|
+
"""
|
|
1039
|
+
return pulumi.get(self, "services")
|
|
1040
|
+
|
|
1032
1041
|
@property
|
|
1033
1042
|
@pulumi.getter
|
|
1034
1043
|
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/outputs.py
RENAMED
|
@@ -29,6 +29,8 @@ __all__ = [
|
|
|
29
29
|
'GuestOsCustomizationSpecNetworkInterface',
|
|
30
30
|
'GuestOsCustomizationSpecWindowsOptions',
|
|
31
31
|
'HostPortGroupPort',
|
|
32
|
+
'HostService',
|
|
33
|
+
'HostServiceNtpd',
|
|
32
34
|
'OfflineSoftwareDepotComponent',
|
|
33
35
|
'SupervisorEgressCidr',
|
|
34
36
|
'SupervisorIngressCidr',
|
|
@@ -1414,6 +1416,85 @@ class HostPortGroupPort(dict):
|
|
|
1414
1416
|
return pulumi.get(self, "type")
|
|
1415
1417
|
|
|
1416
1418
|
|
|
1419
|
+
@pulumi.output_type
|
|
1420
|
+
class HostService(dict):
|
|
1421
|
+
def __init__(__self__, *,
|
|
1422
|
+
ntpd: Optional['outputs.HostServiceNtpd'] = None):
|
|
1423
|
+
"""
|
|
1424
|
+
: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".
|
|
1425
|
+
|
|
1426
|
+
> **NOTE:** `services` only supports ntpd service today.
|
|
1427
|
+
"""
|
|
1428
|
+
if ntpd is not None:
|
|
1429
|
+
pulumi.set(__self__, "ntpd", ntpd)
|
|
1430
|
+
|
|
1431
|
+
@property
|
|
1432
|
+
@pulumi.getter
|
|
1433
|
+
def ntpd(self) -> Optional['outputs.HostServiceNtpd']:
|
|
1434
|
+
"""
|
|
1435
|
+
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".
|
|
1436
|
+
|
|
1437
|
+
> **NOTE:** `services` only supports ntpd service today.
|
|
1438
|
+
"""
|
|
1439
|
+
return pulumi.get(self, "ntpd")
|
|
1440
|
+
|
|
1441
|
+
|
|
1442
|
+
@pulumi.output_type
|
|
1443
|
+
class HostServiceNtpd(dict):
|
|
1444
|
+
@staticmethod
|
|
1445
|
+
def __key_warning(key: str):
|
|
1446
|
+
suggest = None
|
|
1447
|
+
if key == "ntpServers":
|
|
1448
|
+
suggest = "ntp_servers"
|
|
1449
|
+
|
|
1450
|
+
if suggest:
|
|
1451
|
+
pulumi.log.warn(f"Key '{key}' not found in HostServiceNtpd. Access the value via the '{suggest}' property getter instead.")
|
|
1452
|
+
|
|
1453
|
+
def __getitem__(self, key: str) -> Any:
|
|
1454
|
+
HostServiceNtpd.__key_warning(key)
|
|
1455
|
+
return super().__getitem__(key)
|
|
1456
|
+
|
|
1457
|
+
def get(self, key: str, default = None) -> Any:
|
|
1458
|
+
HostServiceNtpd.__key_warning(key)
|
|
1459
|
+
return super().get(key, default)
|
|
1460
|
+
|
|
1461
|
+
def __init__(__self__, *,
|
|
1462
|
+
enabled: Optional[bool] = None,
|
|
1463
|
+
ntp_servers: Optional[Sequence[str]] = None,
|
|
1464
|
+
policy: Optional[str] = None):
|
|
1465
|
+
"""
|
|
1466
|
+
:param bool enabled: Whether the NTP service is enabled. Default is false.
|
|
1467
|
+
:param 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'.
|
|
1468
|
+
"""
|
|
1469
|
+
if enabled is not None:
|
|
1470
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
1471
|
+
if ntp_servers is not None:
|
|
1472
|
+
pulumi.set(__self__, "ntp_servers", ntp_servers)
|
|
1473
|
+
if policy is not None:
|
|
1474
|
+
pulumi.set(__self__, "policy", policy)
|
|
1475
|
+
|
|
1476
|
+
@property
|
|
1477
|
+
@pulumi.getter
|
|
1478
|
+
def enabled(self) -> Optional[bool]:
|
|
1479
|
+
"""
|
|
1480
|
+
Whether the NTP service is enabled. Default is false.
|
|
1481
|
+
"""
|
|
1482
|
+
return pulumi.get(self, "enabled")
|
|
1483
|
+
|
|
1484
|
+
@property
|
|
1485
|
+
@pulumi.getter(name="ntpServers")
|
|
1486
|
+
def ntp_servers(self) -> Optional[Sequence[str]]:
|
|
1487
|
+
return pulumi.get(self, "ntp_servers")
|
|
1488
|
+
|
|
1489
|
+
@property
|
|
1490
|
+
@pulumi.getter
|
|
1491
|
+
def policy(self) -> Optional[str]:
|
|
1492
|
+
"""
|
|
1493
|
+
The policy for the NTP service. Valid values are 'Start and stop with host', 'Start and stop manually', 'Start and stop with port usage'.
|
|
1494
|
+
"""
|
|
1495
|
+
return pulumi.get(self, "policy")
|
|
1496
|
+
|
|
1497
|
+
|
|
1417
1498
|
@pulumi.output_type
|
|
1418
1499
|
class OfflineSoftwareDepotComponent(dict):
|
|
1419
1500
|
@staticmethod
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/__init__.py
RENAMED
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/_utilities.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/config/vars.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/datacenter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/file.py
RENAMED
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/folder.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_dynamic.py
RENAMED
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_folder.py
RENAMED
|
File without changes
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_host.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_license.py
RENAMED
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_network.py
RENAMED
|
File without changes
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_policy.py
RENAMED
|
File without changes
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_role.py
RENAMED
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/get_tag.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/license.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/provider.py
RENAMED
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/role.py
RENAMED
|
File without changes
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/supervisor.py
RENAMED
|
File without changes
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/tag_category.py
RENAMED
|
File without changes
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/vapp_entity.py
RENAMED
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/virtual_disk.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_vsphere-4.11.0a1724911945 → pulumi_vsphere-4.11.0a1725549683}/pulumi_vsphere/vnic.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|