pulumi-vsphere 4.11.0a1724998329__py3-none-any.whl → 4.11.1__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/_inputs.py +80 -0
- pulumi_vsphere/host.py +51 -104
- pulumi_vsphere/outputs.py +81 -0
- pulumi_vsphere/pulumi-plugin.json +1 -1
- {pulumi_vsphere-4.11.0a1724998329.dist-info → pulumi_vsphere-4.11.1.dist-info}/METADATA +1 -1
- {pulumi_vsphere-4.11.0a1724998329.dist-info → pulumi_vsphere-4.11.1.dist-info}/RECORD +8 -8
- {pulumi_vsphere-4.11.0a1724998329.dist-info → pulumi_vsphere-4.11.1.dist-info}/WHEEL +1 -1
- {pulumi_vsphere-4.11.0a1724998329.dist-info → pulumi_vsphere-4.11.1.dist-info}/top_level.txt +0 -0
pulumi_vsphere/_inputs.py
CHANGED
|
@@ -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/host.py
CHANGED
|
@@ -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,63 +638,13 @@ 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,
|
|
610
645
|
__props__=None):
|
|
611
646
|
"""
|
|
612
|
-
|
|
613
|
-
can be used either as a member of a cluster or as a standalone host.
|
|
614
|
-
|
|
615
|
-
## Example Usage
|
|
616
|
-
|
|
617
|
-
### Create a standalone host
|
|
618
|
-
|
|
619
|
-
```python
|
|
620
|
-
import pulumi
|
|
621
|
-
import pulumi_vsphere as vsphere
|
|
622
|
-
|
|
623
|
-
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
624
|
-
thumbprint = vsphere.get_host_thumbprint(address="esx-01.example.com",
|
|
625
|
-
insecure=True)
|
|
626
|
-
esx_01 = vsphere.Host("esx-01",
|
|
627
|
-
hostname="esx-01.example.com",
|
|
628
|
-
username="root",
|
|
629
|
-
password="password",
|
|
630
|
-
license="00000-00000-00000-00000-00000",
|
|
631
|
-
thumbprint=thumbprint.id,
|
|
632
|
-
datacenter=datacenter.id)
|
|
633
|
-
```
|
|
634
|
-
|
|
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
|
-
## Importing
|
|
656
|
-
|
|
657
|
-
An existing host can be [imported][docs-import] into this resource by supplying
|
|
658
|
-
the host's ID. An example is below:
|
|
659
|
-
|
|
660
|
-
[docs-import]: /docs/import/index.html
|
|
661
|
-
|
|
662
|
-
The above would import the host with ID `host-123`.
|
|
663
|
-
|
|
647
|
+
Create a Host resource with the given unique name, props, and options.
|
|
664
648
|
:param str resource_name: The name of the resource.
|
|
665
649
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
666
650
|
:param pulumi.Input[str] cluster: The ID of the Compute Cluster this host should
|
|
@@ -694,6 +678,7 @@ class Host(pulumi.CustomResource):
|
|
|
694
678
|
Default is `false`.
|
|
695
679
|
:param pulumi.Input[str] password: Password that will be used by vSphere to authenticate
|
|
696
680
|
to the host.
|
|
681
|
+
: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
682
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
698
683
|
refer to the `Tag` resource for more information on applying
|
|
699
684
|
tags to resources.
|
|
@@ -714,58 +699,7 @@ class Host(pulumi.CustomResource):
|
|
|
714
699
|
args: HostArgs,
|
|
715
700
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
716
701
|
"""
|
|
717
|
-
|
|
718
|
-
can be used either as a member of a cluster or as a standalone host.
|
|
719
|
-
|
|
720
|
-
## Example Usage
|
|
721
|
-
|
|
722
|
-
### Create a standalone host
|
|
723
|
-
|
|
724
|
-
```python
|
|
725
|
-
import pulumi
|
|
726
|
-
import pulumi_vsphere as vsphere
|
|
727
|
-
|
|
728
|
-
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
729
|
-
thumbprint = vsphere.get_host_thumbprint(address="esx-01.example.com",
|
|
730
|
-
insecure=True)
|
|
731
|
-
esx_01 = vsphere.Host("esx-01",
|
|
732
|
-
hostname="esx-01.example.com",
|
|
733
|
-
username="root",
|
|
734
|
-
password="password",
|
|
735
|
-
license="00000-00000-00000-00000-00000",
|
|
736
|
-
thumbprint=thumbprint.id,
|
|
737
|
-
datacenter=datacenter.id)
|
|
738
|
-
```
|
|
739
|
-
|
|
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
|
-
## Importing
|
|
761
|
-
|
|
762
|
-
An existing host can be [imported][docs-import] into this resource by supplying
|
|
763
|
-
the host's ID. An example is below:
|
|
764
|
-
|
|
765
|
-
[docs-import]: /docs/import/index.html
|
|
766
|
-
|
|
767
|
-
The above would import the host with ID `host-123`.
|
|
768
|
-
|
|
702
|
+
Create a Host resource with the given unique name, props, and options.
|
|
769
703
|
:param str resource_name: The name of the resource.
|
|
770
704
|
:param HostArgs args: The arguments to use to populate this resource's properties.
|
|
771
705
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -792,6 +726,7 @@ class Host(pulumi.CustomResource):
|
|
|
792
726
|
lockdown: Optional[pulumi.Input[str]] = None,
|
|
793
727
|
maintenance: Optional[pulumi.Input[bool]] = None,
|
|
794
728
|
password: Optional[pulumi.Input[str]] = None,
|
|
729
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HostServiceArgs', 'HostServiceArgsDict']]]]] = None,
|
|
795
730
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
796
731
|
thumbprint: Optional[pulumi.Input[str]] = None,
|
|
797
732
|
username: Optional[pulumi.Input[str]] = None,
|
|
@@ -819,6 +754,7 @@ class Host(pulumi.CustomResource):
|
|
|
819
754
|
if password is None and not opts.urn:
|
|
820
755
|
raise TypeError("Missing required property 'password'")
|
|
821
756
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
757
|
+
__props__.__dict__["services"] = services
|
|
822
758
|
__props__.__dict__["tags"] = tags
|
|
823
759
|
__props__.__dict__["thumbprint"] = thumbprint
|
|
824
760
|
if username is None and not opts.urn:
|
|
@@ -847,6 +783,7 @@ class Host(pulumi.CustomResource):
|
|
|
847
783
|
lockdown: Optional[pulumi.Input[str]] = None,
|
|
848
784
|
maintenance: Optional[pulumi.Input[bool]] = None,
|
|
849
785
|
password: Optional[pulumi.Input[str]] = None,
|
|
786
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HostServiceArgs', 'HostServiceArgsDict']]]]] = None,
|
|
850
787
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
851
788
|
thumbprint: Optional[pulumi.Input[str]] = None,
|
|
852
789
|
username: Optional[pulumi.Input[str]] = None) -> 'Host':
|
|
@@ -888,6 +825,7 @@ class Host(pulumi.CustomResource):
|
|
|
888
825
|
Default is `false`.
|
|
889
826
|
:param pulumi.Input[str] password: Password that will be used by vSphere to authenticate
|
|
890
827
|
to the host.
|
|
828
|
+
: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
829
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
892
830
|
refer to the `Tag` resource for more information on applying
|
|
893
831
|
tags to resources.
|
|
@@ -916,6 +854,7 @@ class Host(pulumi.CustomResource):
|
|
|
916
854
|
__props__.__dict__["lockdown"] = lockdown
|
|
917
855
|
__props__.__dict__["maintenance"] = maintenance
|
|
918
856
|
__props__.__dict__["password"] = password
|
|
857
|
+
__props__.__dict__["services"] = services
|
|
919
858
|
__props__.__dict__["tags"] = tags
|
|
920
859
|
__props__.__dict__["thumbprint"] = thumbprint
|
|
921
860
|
__props__.__dict__["username"] = username
|
|
@@ -1029,6 +968,14 @@ class Host(pulumi.CustomResource):
|
|
|
1029
968
|
"""
|
|
1030
969
|
return pulumi.get(self, "password")
|
|
1031
970
|
|
|
971
|
+
@property
|
|
972
|
+
@pulumi.getter
|
|
973
|
+
def services(self) -> pulumi.Output[Optional[Sequence['outputs.HostService']]]:
|
|
974
|
+
"""
|
|
975
|
+
Set Services on host, the settings to be set are based on service being set as part of import.
|
|
976
|
+
"""
|
|
977
|
+
return pulumi.get(self, "services")
|
|
978
|
+
|
|
1032
979
|
@property
|
|
1033
980
|
@pulumi.getter
|
|
1034
981
|
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
pulumi_vsphere/outputs.py
CHANGED
|
@@ -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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
pulumi_vsphere/__init__.py,sha256=7zI4b3F2NEW8hz7TIVEWb1MZI_HqHV4GUM2o9lJKez0,10798
|
|
2
|
-
pulumi_vsphere/_inputs.py,sha256=
|
|
2
|
+
pulumi_vsphere/_inputs.py,sha256=47uwlKCjl3fK0iCTYTup7EGLjtaR_TToxdHcMb4o2ew,143694
|
|
3
3
|
pulumi_vsphere/_utilities.py,sha256=aNnnaO6zRha3FhNHonuabR4fJLWGXANtK5dlh1Mz95k,10506
|
|
4
4
|
pulumi_vsphere/compute_cluster.py,sha256=Q40JsBcIcPjrE40Xv4FbHyxNqIzXXZ_PR0t4t8bUwDE,226996
|
|
5
5
|
pulumi_vsphere/compute_cluster_host_group.py,sha256=QUCBKwC2RaJI6ZuC_qBDZJl5gey-rs3iVsbPrFFK-1g,13437
|
|
@@ -52,15 +52,15 @@ pulumi_vsphere/get_virtual_machine.py,sha256=7cbdpbCgsLtWSkzmPdzOhlnILjAN5_cOb0U
|
|
|
52
52
|
pulumi_vsphere/get_vmfs_disks.py,sha256=KotPjKN7ncgdWzl6qSU1DuuxIxu8BoQ5CLDH1JAgShg,6717
|
|
53
53
|
pulumi_vsphere/guest_os_customization.py,sha256=McMmuw-0x6IDTkxshaESAMf9_MMuQ4n930zcrT4Nmfs,16953
|
|
54
54
|
pulumi_vsphere/ha_vm_override.py,sha256=Z2p_A1fowtS4_UGq-SHP_dfw2ruZuYVMTo5DizkeOEQ,52698
|
|
55
|
-
pulumi_vsphere/host.py,sha256=
|
|
55
|
+
pulumi_vsphere/host.py,sha256=EAUueb1ysPriKQ_6N9uXcvdOldofc2dkvqQWXBSV7xg,45463
|
|
56
56
|
pulumi_vsphere/host_port_group.py,sha256=b7VTsHfYZNw_6Fjdr7SJL6JKKtK7sU9Nc6DHRxsoKF0,56976
|
|
57
57
|
pulumi_vsphere/host_virtual_switch.py,sha256=WTZtqM4GDzLIcmviM_fQ47SHNXQrEHVqV0q3wEB0sFA,57317
|
|
58
58
|
pulumi_vsphere/license.py,sha256=4IhaSHnAjOFSlSKu4AYGcbraULzzTRASs29wB7nw7aU,12022
|
|
59
59
|
pulumi_vsphere/nas_datastore.py,sha256=aPmG1bbVD909T_v-xPDVLOTkh_HBuwStemqCLHNyFBc,48132
|
|
60
60
|
pulumi_vsphere/offline_software_depot.py,sha256=9NvticI3dlQeZZ-Z_TwT7Jo-qa2GwhfZG4reQM3Xl3U,7379
|
|
61
|
-
pulumi_vsphere/outputs.py,sha256=
|
|
61
|
+
pulumi_vsphere/outputs.py,sha256=tMsheiyMRU8KoTIz05uauvgdEJYmRxTownfIq6UsvCY,156594
|
|
62
62
|
pulumi_vsphere/provider.py,sha256=8H6ulcRQh7CAH67BvSthuiqAV0nAVjssl3aFk2xb2ME,20263
|
|
63
|
-
pulumi_vsphere/pulumi-plugin.json,sha256=
|
|
63
|
+
pulumi_vsphere/pulumi-plugin.json,sha256=z7qObzAz0mtJebh5Ujbn06ROmv_ptCgvVw73u6_ZJho,67
|
|
64
64
|
pulumi_vsphere/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
65
65
|
pulumi_vsphere/resource_pool.py,sha256=7ew08gNozV_P-oS0sh2cWIbmU1T8jHbsFPLJnUrxk5Q,54809
|
|
66
66
|
pulumi_vsphere/role.py,sha256=kO9DfdLWHq5bfwD0EBAsZuWQxrcX7amJBVUrfREHf3c,8528
|
|
@@ -80,7 +80,7 @@ pulumi_vsphere/vnic.py,sha256=tFuxn8kk9H3an7jgkUvNNCnY0xuGB8-y2twMlur6PfQ,30563
|
|
|
80
80
|
pulumi_vsphere/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
|
|
81
81
|
pulumi_vsphere/config/__init__.pyi,sha256=ZO6ktIIpO1bKQNe2__l8JqDti_ZKgnRvHTcXcRWzb0M,1351
|
|
82
82
|
pulumi_vsphere/config/vars.py,sha256=fcurb1Hwqp3evWnRD4s2t--MUjqR9R11nIm04F1UMW0,3210
|
|
83
|
-
pulumi_vsphere-4.11.
|
|
84
|
-
pulumi_vsphere-4.11.
|
|
85
|
-
pulumi_vsphere-4.11.
|
|
86
|
-
pulumi_vsphere-4.11.
|
|
83
|
+
pulumi_vsphere-4.11.1.dist-info/METADATA,sha256=qM5N-AMVSvNT6waBO4zCWfOpnk0htqvrrm08nrtbydw,4947
|
|
84
|
+
pulumi_vsphere-4.11.1.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
|
85
|
+
pulumi_vsphere-4.11.1.dist-info/top_level.txt,sha256=00BIE8zaYtdsw0_tBfXR8E5sTs3lRnwlcZ6lUdu4loI,15
|
|
86
|
+
pulumi_vsphere-4.11.1.dist-info/RECORD,,
|
{pulumi_vsphere-4.11.0a1724998329.dist-info → pulumi_vsphere-4.11.1.dist-info}/top_level.txt
RENAMED
|
File without changes
|