pulumi-vsphere 4.11.0__py3-none-any.whl → 4.11.0a1__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 +6 -92
- pulumi_vsphere/_utilities.py +4 -40
- pulumi_vsphere/compute_cluster.py +20 -20
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +18 -14
- pulumi_vsphere/content_library.py +10 -10
- pulumi_vsphere/datacenter.py +28 -7
- pulumi_vsphere/datastore_cluster.py +14 -0
- pulumi_vsphere/distributed_port_group.py +12 -61
- pulumi_vsphere/distributed_virtual_switch.py +43 -22
- pulumi_vsphere/entity_permissions.py +38 -59
- pulumi_vsphere/folder.py +21 -0
- pulumi_vsphere/get_compute_cluster_host_group.py +16 -18
- pulumi_vsphere/get_content_library.py +6 -10
- pulumi_vsphere/get_content_library_item.py +8 -12
- pulumi_vsphere/get_datastore.py +12 -12
- pulumi_vsphere/get_datastore_stats.py +40 -42
- pulumi_vsphere/get_dynamic.py +12 -14
- pulumi_vsphere/get_guest_os_customization.py +43 -8
- pulumi_vsphere/get_host_base_images.py +6 -6
- pulumi_vsphere/get_host_pci_device.py +2 -4
- pulumi_vsphere/get_host_thumbprint.py +12 -12
- pulumi_vsphere/get_host_vgpu_profile.py +2 -4
- pulumi_vsphere/get_license.py +1 -2
- pulumi_vsphere/get_network.py +14 -14
- pulumi_vsphere/get_resource_pool.py +8 -12
- pulumi_vsphere/get_role.py +4 -4
- pulumi_vsphere/get_virtual_machine.py +35 -60
- pulumi_vsphere/guest_os_customization.py +31 -31
- pulumi_vsphere/host.py +40 -49
- pulumi_vsphere/host_port_group.py +2 -2
- pulumi_vsphere/nas_datastore.py +7 -7
- pulumi_vsphere/offline_software_depot.py +2 -2
- pulumi_vsphere/outputs.py +40 -129
- pulumi_vsphere/provider.py +6 -2
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +2 -2
- pulumi_vsphere/supervisor.py +30 -134
- pulumi_vsphere/virtual_disk.py +30 -38
- pulumi_vsphere/virtual_machine.py +32 -32
- pulumi_vsphere/virtual_machine_class.py +0 -2
- pulumi_vsphere/virtual_machine_snapshot.py +2 -2
- pulumi_vsphere/vm_storage_policy.py +67 -67
- pulumi_vsphere/vnic.py +93 -89
- {pulumi_vsphere-4.11.0.dist-info → pulumi_vsphere-4.11.0a1.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.11.0a1.dist-info/RECORD +86 -0
- {pulumi_vsphere-4.11.0.dist-info → pulumi_vsphere-4.11.0a1.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.11.0.dist-info/RECORD +0 -86
- {pulumi_vsphere-4.11.0.dist-info → pulumi_vsphere-4.11.0a1.dist-info}/top_level.txt +0 -0
pulumi_vsphere/nas_datastore.py
CHANGED
|
@@ -30,7 +30,7 @@ class NasDatastoreArgs:
|
|
|
30
30
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of
|
|
31
31
|
the hosts to mount the datastore on.
|
|
32
32
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] remote_hosts: The hostnames or IP addresses of the remote
|
|
33
|
-
servers. Only one element should be present for NFS v3 but multiple
|
|
33
|
+
server or servers. Only one element should be present for NFS v3 but multiple
|
|
34
34
|
can be present for NFS v4.1. Forces a new resource if changed.
|
|
35
35
|
:param pulumi.Input[str] remote_path: The remote path of the mount point. Forces a new
|
|
36
36
|
resource if changed.
|
|
@@ -104,7 +104,7 @@ class NasDatastoreArgs:
|
|
|
104
104
|
def remote_hosts(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
105
105
|
"""
|
|
106
106
|
The hostnames or IP addresses of the remote
|
|
107
|
-
servers. Only one element should be present for NFS v3 but multiple
|
|
107
|
+
server or servers. Only one element should be present for NFS v3 but multiple
|
|
108
108
|
can be present for NFS v4.1. Forces a new resource if changed.
|
|
109
109
|
"""
|
|
110
110
|
return pulumi.get(self, "remote_hosts")
|
|
@@ -303,7 +303,7 @@ class _NasDatastoreState:
|
|
|
303
303
|
:param pulumi.Input[bool] protocol_endpoint: Indicates that this NAS volume is a protocol endpoint.
|
|
304
304
|
This field is only populated if the host supports virtual datastores.
|
|
305
305
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] remote_hosts: The hostnames or IP addresses of the remote
|
|
306
|
-
servers. Only one element should be present for NFS v3 but multiple
|
|
306
|
+
server or servers. Only one element should be present for NFS v3 but multiple
|
|
307
307
|
can be present for NFS v4.1. Forces a new resource if changed.
|
|
308
308
|
:param pulumi.Input[str] remote_path: The remote path of the mount point. Forces a new
|
|
309
309
|
resource if changed.
|
|
@@ -529,7 +529,7 @@ class _NasDatastoreState:
|
|
|
529
529
|
def remote_hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
530
530
|
"""
|
|
531
531
|
The hostnames or IP addresses of the remote
|
|
532
|
-
servers. Only one element should be present for NFS v3 but multiple
|
|
532
|
+
server or servers. Only one element should be present for NFS v3 but multiple
|
|
533
533
|
can be present for NFS v4.1. Forces a new resource if changed.
|
|
534
534
|
"""
|
|
535
535
|
return pulumi.get(self, "remote_hosts")
|
|
@@ -665,7 +665,7 @@ class NasDatastore(pulumi.CustomResource):
|
|
|
665
665
|
:param pulumi.Input[str] name: The name of the datastore. Forces a new resource if
|
|
666
666
|
changed.
|
|
667
667
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] remote_hosts: The hostnames or IP addresses of the remote
|
|
668
|
-
servers. Only one element should be present for NFS v3 but multiple
|
|
668
|
+
server or servers. Only one element should be present for NFS v3 but multiple
|
|
669
669
|
can be present for NFS v4.1. Forces a new resource if changed.
|
|
670
670
|
:param pulumi.Input[str] remote_path: The remote path of the mount point. Forces a new
|
|
671
671
|
resource if changed.
|
|
@@ -817,7 +817,7 @@ class NasDatastore(pulumi.CustomResource):
|
|
|
817
817
|
:param pulumi.Input[bool] protocol_endpoint: Indicates that this NAS volume is a protocol endpoint.
|
|
818
818
|
This field is only populated if the host supports virtual datastores.
|
|
819
819
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] remote_hosts: The hostnames or IP addresses of the remote
|
|
820
|
-
servers. Only one element should be present for NFS v3 but multiple
|
|
820
|
+
server or servers. Only one element should be present for NFS v3 but multiple
|
|
821
821
|
can be present for NFS v4.1. Forces a new resource if changed.
|
|
822
822
|
:param pulumi.Input[str] remote_path: The remote path of the mount point. Forces a new
|
|
823
823
|
resource if changed.
|
|
@@ -981,7 +981,7 @@ class NasDatastore(pulumi.CustomResource):
|
|
|
981
981
|
def remote_hosts(self) -> pulumi.Output[Sequence[str]]:
|
|
982
982
|
"""
|
|
983
983
|
The hostnames or IP addresses of the remote
|
|
984
|
-
servers. Only one element should be present for NFS v3 but multiple
|
|
984
|
+
server or servers. Only one element should be present for NFS v3 but multiple
|
|
985
985
|
can be present for NFS v4.1. Forces a new resource if changed.
|
|
986
986
|
"""
|
|
987
987
|
return pulumi.get(self, "remote_hosts")
|
|
@@ -142,7 +142,7 @@ class OfflineSoftwareDepot(pulumi.CustomResource):
|
|
|
142
142
|
def get(resource_name: str,
|
|
143
143
|
id: pulumi.Input[str],
|
|
144
144
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
145
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
145
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OfflineSoftwareDepotComponentArgs']]]]] = None,
|
|
146
146
|
location: Optional[pulumi.Input[str]] = None) -> 'OfflineSoftwareDepot':
|
|
147
147
|
"""
|
|
148
148
|
Get an existing OfflineSoftwareDepot resource's state with the given name, id, and optional extra
|
|
@@ -151,7 +151,7 @@ class OfflineSoftwareDepot(pulumi.CustomResource):
|
|
|
151
151
|
:param str resource_name: The unique name of the resulting resource.
|
|
152
152
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
153
153
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
154
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
154
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OfflineSoftwareDepotComponentArgs']]]] components: The list of custom components in the depot.
|
|
155
155
|
:param pulumi.Input[str] location: The URL where the depot source is hosted.
|
|
156
156
|
"""
|
|
157
157
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
pulumi_vsphere/outputs.py
CHANGED
|
@@ -29,8 +29,6 @@ __all__ = [
|
|
|
29
29
|
'GuestOsCustomizationSpecNetworkInterface',
|
|
30
30
|
'GuestOsCustomizationSpecWindowsOptions',
|
|
31
31
|
'HostPortGroupPort',
|
|
32
|
-
'HostService',
|
|
33
|
-
'HostServiceNtpd',
|
|
34
32
|
'OfflineSoftwareDepotComponent',
|
|
35
33
|
'SupervisorEgressCidr',
|
|
36
34
|
'SupervisorIngressCidr',
|
|
@@ -764,12 +762,9 @@ class EntityPermissionsPermission(dict):
|
|
|
764
762
|
role_id: str,
|
|
765
763
|
user_or_group: str):
|
|
766
764
|
"""
|
|
767
|
-
:param bool is_group: Whether
|
|
768
|
-
|
|
769
|
-
:param
|
|
770
|
-
hierarchy to sub-entities.
|
|
771
|
-
:param str role_id: The role id of the role to be given to the user on
|
|
772
|
-
the specified entity.
|
|
765
|
+
:param bool is_group: Whether user_or_group field refers to a user or a group. True for a group and false for a user.
|
|
766
|
+
:param bool propagate: Whether or not this permission propagates down the hierarchy to sub-entities.
|
|
767
|
+
:param str role_id: The role id of the role to be given to the user on the specified entity.
|
|
773
768
|
:param str user_or_group: The user/group getting the permission.
|
|
774
769
|
"""
|
|
775
770
|
pulumi.set(__self__, "is_group", is_group)
|
|
@@ -781,8 +776,7 @@ class EntityPermissionsPermission(dict):
|
|
|
781
776
|
@pulumi.getter(name="isGroup")
|
|
782
777
|
def is_group(self) -> bool:
|
|
783
778
|
"""
|
|
784
|
-
Whether
|
|
785
|
-
group. True for a group and false for a user.
|
|
779
|
+
Whether user_or_group field refers to a user or a group. True for a group and false for a user.
|
|
786
780
|
"""
|
|
787
781
|
return pulumi.get(self, "is_group")
|
|
788
782
|
|
|
@@ -790,8 +784,7 @@ class EntityPermissionsPermission(dict):
|
|
|
790
784
|
@pulumi.getter
|
|
791
785
|
def propagate(self) -> bool:
|
|
792
786
|
"""
|
|
793
|
-
Whether or not this permission propagates down the
|
|
794
|
-
hierarchy to sub-entities.
|
|
787
|
+
Whether or not this permission propagates down the hierarchy to sub-entities.
|
|
795
788
|
"""
|
|
796
789
|
return pulumi.get(self, "propagate")
|
|
797
790
|
|
|
@@ -799,8 +792,7 @@ class EntityPermissionsPermission(dict):
|
|
|
799
792
|
@pulumi.getter(name="roleId")
|
|
800
793
|
def role_id(self) -> str:
|
|
801
794
|
"""
|
|
802
|
-
The role id of the role to be given to the user on
|
|
803
|
-
the specified entity.
|
|
795
|
+
The role id of the role to be given to the user on the specified entity.
|
|
804
796
|
"""
|
|
805
797
|
return pulumi.get(self, "role_id")
|
|
806
798
|
|
|
@@ -1416,85 +1408,6 @@ class HostPortGroupPort(dict):
|
|
|
1416
1408
|
return pulumi.get(self, "type")
|
|
1417
1409
|
|
|
1418
1410
|
|
|
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
|
-
|
|
1498
1411
|
@pulumi.output_type
|
|
1499
1412
|
class OfflineSoftwareDepotComponent(dict):
|
|
1500
1413
|
@staticmethod
|
|
@@ -3778,14 +3691,13 @@ class GetHostVgpuProfileVgpuProfileResult(dict):
|
|
|
3778
3691
|
"""
|
|
3779
3692
|
:param bool disk_snapshot_supported: Indicates whether the GPU plugin on this host is
|
|
3780
3693
|
capable of disk-only snapshots when VM is not powered off.
|
|
3781
|
-
:param bool memory_snapshot_supported: Indicates whether the GPU plugin on this host
|
|
3782
|
-
|
|
3783
|
-
:param bool migrate_supported: Indicates whether the GPU plugin on this host is
|
|
3784
|
-
|
|
3785
|
-
:param bool suspend_supported: Indicates whether the GPU plugin on this host is
|
|
3786
|
-
|
|
3787
|
-
:param str vgpu: Name of a particular vGPU available as a shared GPU device (vGPU
|
|
3788
|
-
profile).
|
|
3694
|
+
:param bool memory_snapshot_supported: Indicates whether the GPU plugin on this host is
|
|
3695
|
+
capable of memory snapshots.
|
|
3696
|
+
:param bool migrate_supported: Indicates whether the GPU plugin on this host is capable
|
|
3697
|
+
of migration.
|
|
3698
|
+
:param bool suspend_supported: Indicates whether the GPU plugin on this host is capable
|
|
3699
|
+
of suspend-resume.
|
|
3700
|
+
:param str vgpu: Name of a particular vGPU available as a shared GPU device (vGPU profile).
|
|
3789
3701
|
"""
|
|
3790
3702
|
pulumi.set(__self__, "disk_snapshot_supported", disk_snapshot_supported)
|
|
3791
3703
|
pulumi.set(__self__, "memory_snapshot_supported", memory_snapshot_supported)
|
|
@@ -3806,8 +3718,8 @@ class GetHostVgpuProfileVgpuProfileResult(dict):
|
|
|
3806
3718
|
@pulumi.getter(name="memorySnapshotSupported")
|
|
3807
3719
|
def memory_snapshot_supported(self) -> bool:
|
|
3808
3720
|
"""
|
|
3809
|
-
Indicates whether the GPU plugin on this host
|
|
3810
|
-
|
|
3721
|
+
Indicates whether the GPU plugin on this host is
|
|
3722
|
+
capable of memory snapshots.
|
|
3811
3723
|
"""
|
|
3812
3724
|
return pulumi.get(self, "memory_snapshot_supported")
|
|
3813
3725
|
|
|
@@ -3815,8 +3727,8 @@ class GetHostVgpuProfileVgpuProfileResult(dict):
|
|
|
3815
3727
|
@pulumi.getter(name="migrateSupported")
|
|
3816
3728
|
def migrate_supported(self) -> bool:
|
|
3817
3729
|
"""
|
|
3818
|
-
Indicates whether the GPU plugin on this host is
|
|
3819
|
-
|
|
3730
|
+
Indicates whether the GPU plugin on this host is capable
|
|
3731
|
+
of migration.
|
|
3820
3732
|
"""
|
|
3821
3733
|
return pulumi.get(self, "migrate_supported")
|
|
3822
3734
|
|
|
@@ -3824,8 +3736,8 @@ class GetHostVgpuProfileVgpuProfileResult(dict):
|
|
|
3824
3736
|
@pulumi.getter(name="suspendSupported")
|
|
3825
3737
|
def suspend_supported(self) -> bool:
|
|
3826
3738
|
"""
|
|
3827
|
-
Indicates whether the GPU plugin on this host is
|
|
3828
|
-
|
|
3739
|
+
Indicates whether the GPU plugin on this host is capable
|
|
3740
|
+
of suspend-resume.
|
|
3829
3741
|
"""
|
|
3830
3742
|
return pulumi.get(self, "suspend_supported")
|
|
3831
3743
|
|
|
@@ -3833,8 +3745,7 @@ class GetHostVgpuProfileVgpuProfileResult(dict):
|
|
|
3833
3745
|
@pulumi.getter
|
|
3834
3746
|
def vgpu(self) -> str:
|
|
3835
3747
|
"""
|
|
3836
|
-
Name of a particular vGPU available as a shared GPU device (vGPU
|
|
3837
|
-
profile).
|
|
3748
|
+
Name of a particular vGPU available as a shared GPU device (vGPU profile).
|
|
3838
3749
|
"""
|
|
3839
3750
|
return pulumi.get(self, "vgpu")
|
|
3840
3751
|
|
|
@@ -3913,21 +3824,21 @@ class GetVirtualMachineNetworkInterfaceResult(dict):
|
|
|
3913
3824
|
bandwidth_reservation: Optional[int] = None,
|
|
3914
3825
|
bandwidth_share_level: Optional[str] = None):
|
|
3915
3826
|
"""
|
|
3916
|
-
:param str adapter_type: The network interface types for each network interface found
|
|
3917
|
-
on the virtual machine, in device bus order. Will be one of `e1000`,
|
|
3918
|
-
`
|
|
3827
|
+
:param str adapter_type: The network interface types for each network interface found
|
|
3828
|
+
on the virtual machine, in device bus order. Will be one of `e1000`, `e1000e`,
|
|
3829
|
+
`vmxnet3vrdma`, or `vmxnet3`.
|
|
3919
3830
|
:param int bandwidth_share_count: The share count for this network interface when the
|
|
3920
3831
|
share level is custom.
|
|
3921
3832
|
:param str mac_address: The MAC address of this network interface.
|
|
3922
|
-
:param str network_id: The managed object reference ID of the network this interface
|
|
3923
|
-
|
|
3833
|
+
:param str network_id: The managed object reference ID of the network this interface is
|
|
3834
|
+
connected to.
|
|
3924
3835
|
:param str physical_function: The ID of the Physical SR-IOV NIC to attach to, e.g. '0000:d8:00.0'
|
|
3925
|
-
:param int bandwidth_limit: The upper bandwidth limit of this network interface,
|
|
3836
|
+
:param int bandwidth_limit: The upper bandwidth limit of this network interface,
|
|
3926
3837
|
in Mbits/sec.
|
|
3927
|
-
:param int bandwidth_reservation: The bandwidth reservation of this network
|
|
3928
|
-
|
|
3929
|
-
:param str bandwidth_share_level: The bandwidth share allocation level for this
|
|
3930
|
-
|
|
3838
|
+
:param int bandwidth_reservation: The bandwidth reservation of this network interface,
|
|
3839
|
+
in Mbits/sec.
|
|
3840
|
+
:param str bandwidth_share_level: The bandwidth share allocation level for this interface.
|
|
3841
|
+
Can be one of `low`, `normal`, `high`, or `custom`.
|
|
3931
3842
|
"""
|
|
3932
3843
|
pulumi.set(__self__, "adapter_type", adapter_type)
|
|
3933
3844
|
pulumi.set(__self__, "bandwidth_share_count", bandwidth_share_count)
|
|
@@ -3945,9 +3856,9 @@ class GetVirtualMachineNetworkInterfaceResult(dict):
|
|
|
3945
3856
|
@pulumi.getter(name="adapterType")
|
|
3946
3857
|
def adapter_type(self) -> str:
|
|
3947
3858
|
"""
|
|
3948
|
-
The network interface types for each network interface found
|
|
3949
|
-
on the virtual machine, in device bus order. Will be one of `e1000`,
|
|
3950
|
-
`
|
|
3859
|
+
The network interface types for each network interface found
|
|
3860
|
+
on the virtual machine, in device bus order. Will be one of `e1000`, `e1000e`,
|
|
3861
|
+
`vmxnet3vrdma`, or `vmxnet3`.
|
|
3951
3862
|
"""
|
|
3952
3863
|
return pulumi.get(self, "adapter_type")
|
|
3953
3864
|
|
|
@@ -3972,8 +3883,8 @@ class GetVirtualMachineNetworkInterfaceResult(dict):
|
|
|
3972
3883
|
@pulumi.getter(name="networkId")
|
|
3973
3884
|
def network_id(self) -> str:
|
|
3974
3885
|
"""
|
|
3975
|
-
The managed object reference ID of the network this interface
|
|
3976
|
-
|
|
3886
|
+
The managed object reference ID of the network this interface is
|
|
3887
|
+
connected to.
|
|
3977
3888
|
"""
|
|
3978
3889
|
return pulumi.get(self, "network_id")
|
|
3979
3890
|
|
|
@@ -3989,7 +3900,7 @@ class GetVirtualMachineNetworkInterfaceResult(dict):
|
|
|
3989
3900
|
@pulumi.getter(name="bandwidthLimit")
|
|
3990
3901
|
def bandwidth_limit(self) -> Optional[int]:
|
|
3991
3902
|
"""
|
|
3992
|
-
The upper bandwidth limit of this network interface,
|
|
3903
|
+
The upper bandwidth limit of this network interface,
|
|
3993
3904
|
in Mbits/sec.
|
|
3994
3905
|
"""
|
|
3995
3906
|
return pulumi.get(self, "bandwidth_limit")
|
|
@@ -3998,8 +3909,8 @@ class GetVirtualMachineNetworkInterfaceResult(dict):
|
|
|
3998
3909
|
@pulumi.getter(name="bandwidthReservation")
|
|
3999
3910
|
def bandwidth_reservation(self) -> Optional[int]:
|
|
4000
3911
|
"""
|
|
4001
|
-
The bandwidth reservation of this network
|
|
4002
|
-
|
|
3912
|
+
The bandwidth reservation of this network interface,
|
|
3913
|
+
in Mbits/sec.
|
|
4003
3914
|
"""
|
|
4004
3915
|
return pulumi.get(self, "bandwidth_reservation")
|
|
4005
3916
|
|
|
@@ -4007,8 +3918,8 @@ class GetVirtualMachineNetworkInterfaceResult(dict):
|
|
|
4007
3918
|
@pulumi.getter(name="bandwidthShareLevel")
|
|
4008
3919
|
def bandwidth_share_level(self) -> Optional[str]:
|
|
4009
3920
|
"""
|
|
4010
|
-
The bandwidth share allocation level for this
|
|
4011
|
-
|
|
3921
|
+
The bandwidth share allocation level for this interface.
|
|
3922
|
+
Can be one of `low`, `normal`, `high`, or `custom`.
|
|
4012
3923
|
"""
|
|
4013
3924
|
return pulumi.get(self, "bandwidth_share_level")
|
|
4014
3925
|
|
pulumi_vsphere/provider.py
CHANGED
|
@@ -196,8 +196,10 @@ class ProviderArgs:
|
|
|
196
196
|
|
|
197
197
|
@property
|
|
198
198
|
@pulumi.getter(name="vcenterServer")
|
|
199
|
-
@_utilities.deprecated("""This field has been renamed to vsphere_server.""")
|
|
200
199
|
def vcenter_server(self) -> Optional[pulumi.Input[str]]:
|
|
200
|
+
warnings.warn("""This field has been renamed to vsphere_server.""", DeprecationWarning)
|
|
201
|
+
pulumi.log.warn("""vcenter_server is deprecated: This field has been renamed to vsphere_server.""")
|
|
202
|
+
|
|
201
203
|
return pulumi.get(self, "vcenter_server")
|
|
202
204
|
|
|
203
205
|
@vcenter_server.setter
|
|
@@ -411,8 +413,10 @@ class Provider(pulumi.ProviderResource):
|
|
|
411
413
|
|
|
412
414
|
@property
|
|
413
415
|
@pulumi.getter(name="vcenterServer")
|
|
414
|
-
@_utilities.deprecated("""This field has been renamed to vsphere_server.""")
|
|
415
416
|
def vcenter_server(self) -> pulumi.Output[Optional[str]]:
|
|
417
|
+
warnings.warn("""This field has been renamed to vsphere_server.""", DeprecationWarning)
|
|
418
|
+
pulumi.log.warn("""vcenter_server is deprecated: This field has been renamed to vsphere_server.""")
|
|
419
|
+
|
|
416
420
|
return pulumi.get(self, "vcenter_server")
|
|
417
421
|
|
|
418
422
|
@property
|
pulumi_vsphere/resource_pool.py
CHANGED
|
@@ -650,7 +650,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
650
650
|
For more information on vSphere resource pools, please refer to the
|
|
651
651
|
[product documentation][ref-vsphere-resource_pools].
|
|
652
652
|
|
|
653
|
-
[ref-vsphere-resource_pools]: https://docs.vmware.com/en/VMware-vSphere/
|
|
653
|
+
[ref-vsphere-resource_pools]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-60077B40-66FF-4625-934A-641703ED7601.html
|
|
654
654
|
|
|
655
655
|
## Example Usage
|
|
656
656
|
|
|
@@ -772,7 +772,7 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
772
772
|
For more information on vSphere resource pools, please refer to the
|
|
773
773
|
[product documentation][ref-vsphere-resource_pools].
|
|
774
774
|
|
|
775
|
-
[ref-vsphere-resource_pools]: https://docs.vmware.com/en/VMware-vSphere/
|
|
775
|
+
[ref-vsphere-resource_pools]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-60077B40-66FF-4625-934A-641703ED7601.html
|
|
776
776
|
|
|
777
777
|
## Example Usage
|
|
778
778
|
|