pulumi-vsphere 4.11.0a1722924648__py3-none-any.whl → 4.11.0a1723454511__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/compute_cluster.py +20 -20
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +14 -14
- pulumi_vsphere/content_library.py +10 -10
- pulumi_vsphere/distributed_port_group.py +5 -5
- pulumi_vsphere/distributed_virtual_switch.py +15 -15
- pulumi_vsphere/entity_permissions.py +5 -5
- pulumi_vsphere/get_virtual_machine.py +2 -2
- pulumi_vsphere/guest_os_customization.py +27 -27
- pulumi_vsphere/host_port_group.py +2 -2
- pulumi_vsphere/offline_software_depot.py +2 -2
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/supervisor.py +86 -86
- pulumi_vsphere/virtual_machine.py +30 -30
- pulumi_vsphere/vm_storage_policy.py +65 -65
- pulumi_vsphere/vnic.py +30 -30
- {pulumi_vsphere-4.11.0a1722924648.dist-info → pulumi_vsphere-4.11.0a1723454511.dist-info}/METADATA +1 -1
- {pulumi_vsphere-4.11.0a1722924648.dist-info → pulumi_vsphere-4.11.0a1723454511.dist-info}/RECORD +19 -19
- {pulumi_vsphere-4.11.0a1722924648.dist-info → pulumi_vsphere-4.11.0a1723454511.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.11.0a1722924648.dist-info → pulumi_vsphere-4.11.0a1723454511.dist-info}/top_level.txt +0 -0
|
@@ -2646,8 +2646,8 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
2646
2646
|
boot_delay: Optional[pulumi.Input[int]] = None,
|
|
2647
2647
|
boot_retry_delay: Optional[pulumi.Input[int]] = None,
|
|
2648
2648
|
boot_retry_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2649
|
-
cdroms: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2650
|
-
clone: Optional[pulumi.Input[
|
|
2649
|
+
cdroms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VirtualMachineCdromArgs', 'VirtualMachineCdromArgsDict']]]]] = None,
|
|
2650
|
+
clone: Optional[pulumi.Input[Union['VirtualMachineCloneArgs', 'VirtualMachineCloneArgsDict']]] = None,
|
|
2651
2651
|
cpu_hot_add_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2652
2652
|
cpu_hot_remove_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2653
2653
|
cpu_limit: Optional[pulumi.Input[int]] = None,
|
|
@@ -2659,7 +2659,7 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
2659
2659
|
datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
2660
2660
|
datastore_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
2661
2661
|
datastore_id: Optional[pulumi.Input[str]] = None,
|
|
2662
|
-
disks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2662
|
+
disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VirtualMachineDiskArgs', 'VirtualMachineDiskArgsDict']]]]] = None,
|
|
2663
2663
|
efi_secure_boot_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2664
2664
|
enable_disk_uuid: Optional[pulumi.Input[bool]] = None,
|
|
2665
2665
|
enable_logging: Optional[pulumi.Input[bool]] = None,
|
|
@@ -2686,10 +2686,10 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
2686
2686
|
migrate_wait_timeout: Optional[pulumi.Input[int]] = None,
|
|
2687
2687
|
name: Optional[pulumi.Input[str]] = None,
|
|
2688
2688
|
nested_hv_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2689
|
-
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2689
|
+
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VirtualMachineNetworkInterfaceArgs', 'VirtualMachineNetworkInterfaceArgsDict']]]]] = None,
|
|
2690
2690
|
num_cores_per_socket: Optional[pulumi.Input[int]] = None,
|
|
2691
2691
|
num_cpus: Optional[pulumi.Input[int]] = None,
|
|
2692
|
-
ovf_deploy: Optional[pulumi.Input[
|
|
2692
|
+
ovf_deploy: Optional[pulumi.Input[Union['VirtualMachineOvfDeployArgs', 'VirtualMachineOvfDeployArgsDict']]] = None,
|
|
2693
2693
|
pci_device_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2694
2694
|
poweron_timeout: Optional[pulumi.Input[int]] = None,
|
|
2695
2695
|
replace_trigger: Optional[pulumi.Input[str]] = None,
|
|
@@ -2710,7 +2710,7 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
2710
2710
|
sync_time_with_host_periodically: Optional[pulumi.Input[bool]] = None,
|
|
2711
2711
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2712
2712
|
tools_upgrade_policy: Optional[pulumi.Input[str]] = None,
|
|
2713
|
-
vapp: Optional[pulumi.Input[
|
|
2713
|
+
vapp: Optional[pulumi.Input[Union['VirtualMachineVappArgs', 'VirtualMachineVappArgsDict']]] = None,
|
|
2714
2714
|
vbs_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2715
2715
|
vvtd_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2716
2716
|
wait_for_guest_ip_timeout: Optional[pulumi.Input[int]] = None,
|
|
@@ -2726,8 +2726,8 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
2726
2726
|
:param pulumi.Input[int] boot_delay: The number of milliseconds to wait before starting the boot sequence.
|
|
2727
2727
|
:param pulumi.Input[int] boot_retry_delay: The number of milliseconds to wait before retrying the boot sequence. This only valid if boot_retry_enabled is true.
|
|
2728
2728
|
:param pulumi.Input[bool] boot_retry_enabled: If set to true, a virtual machine that fails to boot will try again after the delay defined in boot_retry_delay.
|
|
2729
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2730
|
-
:param pulumi.Input[
|
|
2729
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['VirtualMachineCdromArgs', 'VirtualMachineCdromArgsDict']]]] cdroms: A specification for a CDROM device on this virtual machine.
|
|
2730
|
+
:param pulumi.Input[Union['VirtualMachineCloneArgs', 'VirtualMachineCloneArgsDict']] clone: A specification for cloning a virtual machine from template.
|
|
2731
2731
|
:param pulumi.Input[bool] cpu_hot_add_enabled: Allow CPUs to be added to this virtual machine while it is running.
|
|
2732
2732
|
:param pulumi.Input[bool] cpu_hot_remove_enabled: Allow CPUs to be added to this virtual machine while it is running.
|
|
2733
2733
|
:param pulumi.Input[int] cpu_limit: The maximum amount of memory (in MB) or CPU (in MHz) that this virtual machine can consume, regardless of available
|
|
@@ -2741,7 +2741,7 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
2741
2741
|
:param pulumi.Input[str] datastore_cluster_id: The ID of a datastore cluster to put the virtual machine in.
|
|
2742
2742
|
:param pulumi.Input[str] datastore_id: The ID of the virtual machine's datastore. The virtual machine configuration is placed here, along with any virtual
|
|
2743
2743
|
disks that are created without datastores.
|
|
2744
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2744
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['VirtualMachineDiskArgs', 'VirtualMachineDiskArgsDict']]]] disks: A specification for a virtual disk device on this virtual machine.
|
|
2745
2745
|
:param pulumi.Input[bool] efi_secure_boot_enabled: When the boot type set in firmware is efi, this enables EFI secure boot.
|
|
2746
2746
|
:param pulumi.Input[bool] enable_disk_uuid: Expose the UUIDs of attached virtual disks to the virtual machine, allowing access to them in the guest.
|
|
2747
2747
|
:param pulumi.Input[bool] enable_logging: Enable logging on this virtual machine.
|
|
@@ -2773,11 +2773,11 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
2773
2773
|
:param pulumi.Input[int] migrate_wait_timeout: The amount of time, in minutes, to wait for a vMotion operation to complete before failing.
|
|
2774
2774
|
:param pulumi.Input[str] name: The name of this virtual machine.
|
|
2775
2775
|
:param pulumi.Input[bool] nested_hv_enabled: Enable nested hardware virtualization on this virtual machine, facilitating nested virtualization in the guest.
|
|
2776
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2776
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['VirtualMachineNetworkInterfaceArgs', 'VirtualMachineNetworkInterfaceArgsDict']]]] network_interfaces: A specification for a virtual NIC on this virtual machine.
|
|
2777
2777
|
:param pulumi.Input[int] num_cores_per_socket: The number of cores to distribute amongst the CPUs in this virtual machine. If specified, the value supplied to num_cpus
|
|
2778
2778
|
must be evenly divisible by this value.
|
|
2779
2779
|
:param pulumi.Input[int] num_cpus: The number of virtual processors to assign to this virtual machine.
|
|
2780
|
-
:param pulumi.Input[
|
|
2780
|
+
:param pulumi.Input[Union['VirtualMachineOvfDeployArgs', 'VirtualMachineOvfDeployArgsDict']] ovf_deploy: A specification for deploying a virtual machine from ovf/ova template.
|
|
2781
2781
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] pci_device_ids: A list of PCI passthrough devices
|
|
2782
2782
|
:param pulumi.Input[int] poweron_timeout: The amount of time, in seconds, that we will be trying to power on a VM
|
|
2783
2783
|
:param pulumi.Input[str] replace_trigger: Triggers replacement of resource whenever it changes.
|
|
@@ -2798,7 +2798,7 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
2798
2798
|
setting `sync_time_with_host` is enough for periodic synchronization. Requires VMware Tools to be installed.
|
|
2799
2799
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
|
|
2800
2800
|
:param pulumi.Input[str] tools_upgrade_policy: Set the upgrade policy for VMware Tools. Can be one of `manual` or `upgradeAtPowerCycle`.
|
|
2801
|
-
:param pulumi.Input[
|
|
2801
|
+
:param pulumi.Input[Union['VirtualMachineVappArgs', 'VirtualMachineVappArgsDict']] vapp: vApp configuration data for this virtual machine. Can be used to provide configuration data for OVF images.
|
|
2802
2802
|
:param pulumi.Input[bool] vbs_enabled: Flag to specify if Virtualization-based security is enabled for this virtual machine.
|
|
2803
2803
|
:param pulumi.Input[bool] vvtd_enabled: Flag to specify if I/O MMU virtualization, also called Intel Virtualization Technology for Directed I/O (VT-d) and AMD
|
|
2804
2804
|
I/O Virtualization (AMD-Vi or IOMMU), is enabled.
|
|
@@ -2837,8 +2837,8 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
2837
2837
|
boot_delay: Optional[pulumi.Input[int]] = None,
|
|
2838
2838
|
boot_retry_delay: Optional[pulumi.Input[int]] = None,
|
|
2839
2839
|
boot_retry_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2840
|
-
cdroms: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2841
|
-
clone: Optional[pulumi.Input[
|
|
2840
|
+
cdroms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VirtualMachineCdromArgs', 'VirtualMachineCdromArgsDict']]]]] = None,
|
|
2841
|
+
clone: Optional[pulumi.Input[Union['VirtualMachineCloneArgs', 'VirtualMachineCloneArgsDict']]] = None,
|
|
2842
2842
|
cpu_hot_add_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2843
2843
|
cpu_hot_remove_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2844
2844
|
cpu_limit: Optional[pulumi.Input[int]] = None,
|
|
@@ -2850,7 +2850,7 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
2850
2850
|
datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
2851
2851
|
datastore_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
2852
2852
|
datastore_id: Optional[pulumi.Input[str]] = None,
|
|
2853
|
-
disks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2853
|
+
disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VirtualMachineDiskArgs', 'VirtualMachineDiskArgsDict']]]]] = None,
|
|
2854
2854
|
efi_secure_boot_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2855
2855
|
enable_disk_uuid: Optional[pulumi.Input[bool]] = None,
|
|
2856
2856
|
enable_logging: Optional[pulumi.Input[bool]] = None,
|
|
@@ -2877,10 +2877,10 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
2877
2877
|
migrate_wait_timeout: Optional[pulumi.Input[int]] = None,
|
|
2878
2878
|
name: Optional[pulumi.Input[str]] = None,
|
|
2879
2879
|
nested_hv_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2880
|
-
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2880
|
+
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VirtualMachineNetworkInterfaceArgs', 'VirtualMachineNetworkInterfaceArgsDict']]]]] = None,
|
|
2881
2881
|
num_cores_per_socket: Optional[pulumi.Input[int]] = None,
|
|
2882
2882
|
num_cpus: Optional[pulumi.Input[int]] = None,
|
|
2883
|
-
ovf_deploy: Optional[pulumi.Input[
|
|
2883
|
+
ovf_deploy: Optional[pulumi.Input[Union['VirtualMachineOvfDeployArgs', 'VirtualMachineOvfDeployArgsDict']]] = None,
|
|
2884
2884
|
pci_device_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2885
2885
|
poweron_timeout: Optional[pulumi.Input[int]] = None,
|
|
2886
2886
|
replace_trigger: Optional[pulumi.Input[str]] = None,
|
|
@@ -2901,7 +2901,7 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
2901
2901
|
sync_time_with_host_periodically: Optional[pulumi.Input[bool]] = None,
|
|
2902
2902
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2903
2903
|
tools_upgrade_policy: Optional[pulumi.Input[str]] = None,
|
|
2904
|
-
vapp: Optional[pulumi.Input[
|
|
2904
|
+
vapp: Optional[pulumi.Input[Union['VirtualMachineVappArgs', 'VirtualMachineVappArgsDict']]] = None,
|
|
2905
2905
|
vbs_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2906
2906
|
vvtd_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2907
2907
|
wait_for_guest_ip_timeout: Optional[pulumi.Input[int]] = None,
|
|
@@ -3019,9 +3019,9 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
3019
3019
|
boot_delay: Optional[pulumi.Input[int]] = None,
|
|
3020
3020
|
boot_retry_delay: Optional[pulumi.Input[int]] = None,
|
|
3021
3021
|
boot_retry_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3022
|
-
cdroms: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3022
|
+
cdroms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VirtualMachineCdromArgs', 'VirtualMachineCdromArgsDict']]]]] = None,
|
|
3023
3023
|
change_version: Optional[pulumi.Input[str]] = None,
|
|
3024
|
-
clone: Optional[pulumi.Input[
|
|
3024
|
+
clone: Optional[pulumi.Input[Union['VirtualMachineCloneArgs', 'VirtualMachineCloneArgsDict']]] = None,
|
|
3025
3025
|
cpu_hot_add_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3026
3026
|
cpu_hot_remove_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3027
3027
|
cpu_limit: Optional[pulumi.Input[int]] = None,
|
|
@@ -3034,7 +3034,7 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
3034
3034
|
datastore_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
3035
3035
|
datastore_id: Optional[pulumi.Input[str]] = None,
|
|
3036
3036
|
default_ip_address: Optional[pulumi.Input[str]] = None,
|
|
3037
|
-
disks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3037
|
+
disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VirtualMachineDiskArgs', 'VirtualMachineDiskArgsDict']]]]] = None,
|
|
3038
3038
|
efi_secure_boot_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3039
3039
|
enable_disk_uuid: Optional[pulumi.Input[bool]] = None,
|
|
3040
3040
|
enable_logging: Optional[pulumi.Input[bool]] = None,
|
|
@@ -3064,10 +3064,10 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
3064
3064
|
moid: Optional[pulumi.Input[str]] = None,
|
|
3065
3065
|
name: Optional[pulumi.Input[str]] = None,
|
|
3066
3066
|
nested_hv_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3067
|
-
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3067
|
+
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VirtualMachineNetworkInterfaceArgs', 'VirtualMachineNetworkInterfaceArgsDict']]]]] = None,
|
|
3068
3068
|
num_cores_per_socket: Optional[pulumi.Input[int]] = None,
|
|
3069
3069
|
num_cpus: Optional[pulumi.Input[int]] = None,
|
|
3070
|
-
ovf_deploy: Optional[pulumi.Input[
|
|
3070
|
+
ovf_deploy: Optional[pulumi.Input[Union['VirtualMachineOvfDeployArgs', 'VirtualMachineOvfDeployArgsDict']]] = None,
|
|
3071
3071
|
pci_device_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
3072
3072
|
power_state: Optional[pulumi.Input[str]] = None,
|
|
3073
3073
|
poweron_timeout: Optional[pulumi.Input[int]] = None,
|
|
@@ -3091,7 +3091,7 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
3091
3091
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
3092
3092
|
tools_upgrade_policy: Optional[pulumi.Input[str]] = None,
|
|
3093
3093
|
uuid: Optional[pulumi.Input[str]] = None,
|
|
3094
|
-
vapp: Optional[pulumi.Input[
|
|
3094
|
+
vapp: Optional[pulumi.Input[Union['VirtualMachineVappArgs', 'VirtualMachineVappArgsDict']]] = None,
|
|
3095
3095
|
vapp_transports: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
3096
3096
|
vbs_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3097
3097
|
vmware_tools_status: Optional[pulumi.Input[str]] = None,
|
|
@@ -3112,9 +3112,9 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
3112
3112
|
:param pulumi.Input[int] boot_delay: The number of milliseconds to wait before starting the boot sequence.
|
|
3113
3113
|
:param pulumi.Input[int] boot_retry_delay: The number of milliseconds to wait before retrying the boot sequence. This only valid if boot_retry_enabled is true.
|
|
3114
3114
|
:param pulumi.Input[bool] boot_retry_enabled: If set to true, a virtual machine that fails to boot will try again after the delay defined in boot_retry_delay.
|
|
3115
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
3115
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['VirtualMachineCdromArgs', 'VirtualMachineCdromArgsDict']]]] cdroms: A specification for a CDROM device on this virtual machine.
|
|
3116
3116
|
:param pulumi.Input[str] change_version: A unique identifier for a given version of the last configuration was applied.
|
|
3117
|
-
:param pulumi.Input[
|
|
3117
|
+
:param pulumi.Input[Union['VirtualMachineCloneArgs', 'VirtualMachineCloneArgsDict']] clone: A specification for cloning a virtual machine from template.
|
|
3118
3118
|
:param pulumi.Input[bool] cpu_hot_add_enabled: Allow CPUs to be added to this virtual machine while it is running.
|
|
3119
3119
|
:param pulumi.Input[bool] cpu_hot_remove_enabled: Allow CPUs to be added to this virtual machine while it is running.
|
|
3120
3120
|
:param pulumi.Input[int] cpu_limit: The maximum amount of memory (in MB) or CPU (in MHz) that this virtual machine can consume, regardless of available
|
|
@@ -3129,7 +3129,7 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
3129
3129
|
:param pulumi.Input[str] datastore_id: The ID of the virtual machine's datastore. The virtual machine configuration is placed here, along with any virtual
|
|
3130
3130
|
disks that are created without datastores.
|
|
3131
3131
|
:param pulumi.Input[str] default_ip_address: The IP address selected by the provider to be used with any provisioners configured on this resource. When possible, this is the first IPv4 address that is reachable through the default gateway configured on the machine, then the first reachable IPv6 address, and then the first general discovered address if neither exists. If VMware Tools is not running on the virtual machine, or if the virtual machine is powered off, this value will be blank.
|
|
3132
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
3132
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['VirtualMachineDiskArgs', 'VirtualMachineDiskArgsDict']]]] disks: A specification for a virtual disk device on this virtual machine.
|
|
3133
3133
|
:param pulumi.Input[bool] efi_secure_boot_enabled: When the boot type set in firmware is efi, this enables EFI secure boot.
|
|
3134
3134
|
:param pulumi.Input[bool] enable_disk_uuid: Expose the UUIDs of attached virtual disks to the virtual machine, allowing access to them in the guest.
|
|
3135
3135
|
:param pulumi.Input[bool] enable_logging: Enable logging on this virtual machine.
|
|
@@ -3164,11 +3164,11 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
3164
3164
|
:param pulumi.Input[str] moid: The managed object reference ID of the created virtual machine.
|
|
3165
3165
|
:param pulumi.Input[str] name: The name of this virtual machine.
|
|
3166
3166
|
:param pulumi.Input[bool] nested_hv_enabled: Enable nested hardware virtualization on this virtual machine, facilitating nested virtualization in the guest.
|
|
3167
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
3167
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['VirtualMachineNetworkInterfaceArgs', 'VirtualMachineNetworkInterfaceArgsDict']]]] network_interfaces: A specification for a virtual NIC on this virtual machine.
|
|
3168
3168
|
:param pulumi.Input[int] num_cores_per_socket: The number of cores to distribute amongst the CPUs in this virtual machine. If specified, the value supplied to num_cpus
|
|
3169
3169
|
must be evenly divisible by this value.
|
|
3170
3170
|
:param pulumi.Input[int] num_cpus: The number of virtual processors to assign to this virtual machine.
|
|
3171
|
-
:param pulumi.Input[
|
|
3171
|
+
:param pulumi.Input[Union['VirtualMachineOvfDeployArgs', 'VirtualMachineOvfDeployArgsDict']] ovf_deploy: A specification for deploying a virtual machine from ovf/ova template.
|
|
3172
3172
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] pci_device_ids: A list of PCI passthrough devices
|
|
3173
3173
|
:param pulumi.Input[str] power_state: A computed value for the current power state of the virtual machine. One of `on`, `off`, or `suspended`.
|
|
3174
3174
|
:param pulumi.Input[int] poweron_timeout: The amount of time, in seconds, that we will be trying to power on a VM
|
|
@@ -3191,7 +3191,7 @@ class VirtualMachine(pulumi.CustomResource):
|
|
|
3191
3191
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
|
|
3192
3192
|
:param pulumi.Input[str] tools_upgrade_policy: Set the upgrade policy for VMware Tools. Can be one of `manual` or `upgradeAtPowerCycle`.
|
|
3193
3193
|
:param pulumi.Input[str] uuid: The UUID of the virtual machine. Also exposed as the `id` of the resource.
|
|
3194
|
-
:param pulumi.Input[
|
|
3194
|
+
:param pulumi.Input[Union['VirtualMachineVappArgs', 'VirtualMachineVappArgsDict']] vapp: vApp configuration data for this virtual machine. Can be used to provide configuration data for OVF images.
|
|
3195
3195
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] vapp_transports: Computed value which is only valid for cloned virtual machines. A list of vApp transport methods supported by the source virtual machine or template.
|
|
3196
3196
|
:param pulumi.Input[bool] vbs_enabled: Flag to specify if Virtualization-based security is enabled for this virtual machine.
|
|
3197
3197
|
:param pulumi.Input[str] vmware_tools_status: The state of VMware Tools in the guest. This will determine the proper course of action for some device operations.
|
|
@@ -131,7 +131,7 @@ class VmStoragePolicy(pulumi.CustomResource):
|
|
|
131
131
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
132
132
|
description: Optional[pulumi.Input[str]] = None,
|
|
133
133
|
name: Optional[pulumi.Input[str]] = None,
|
|
134
|
-
tag_rules: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
134
|
+
tag_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VmStoragePolicyTagRuleArgs', 'VmStoragePolicyTagRuleArgsDict']]]]] = None,
|
|
135
135
|
__props__=None):
|
|
136
136
|
"""
|
|
137
137
|
The `VmStoragePolicy` resource can be used to create and manage storage
|
|
@@ -189,41 +189,41 @@ class VmStoragePolicy(pulumi.CustomResource):
|
|
|
189
189
|
name="prod_platinum_replicated",
|
|
190
190
|
description="prod_platinum_replicated",
|
|
191
191
|
tag_rules=[
|
|
192
|
-
|
|
193
|
-
tag_category
|
|
194
|
-
tags
|
|
195
|
-
include_datastores_with_tags
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
tag_category
|
|
199
|
-
tags
|
|
200
|
-
include_datastores_with_tags
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
tag_category
|
|
204
|
-
tags
|
|
205
|
-
include_datastores_with_tags
|
|
206
|
-
|
|
192
|
+
{
|
|
193
|
+
"tag_category": environment["name"],
|
|
194
|
+
"tags": [production["name"]],
|
|
195
|
+
"include_datastores_with_tags": True,
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"tag_category": service_level["name"],
|
|
199
|
+
"tags": [platinum["name"]],
|
|
200
|
+
"include_datastores_with_tags": True,
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"tag_category": replication["name"],
|
|
204
|
+
"tags": [replicated["name"]],
|
|
205
|
+
"include_datastores_with_tags": True,
|
|
206
|
+
},
|
|
207
207
|
])
|
|
208
208
|
dev_silver_nonreplicated = vsphere.VmStoragePolicy("dev_silver_nonreplicated",
|
|
209
209
|
name="dev_silver_nonreplicated",
|
|
210
210
|
description="dev_silver_nonreplicated",
|
|
211
211
|
tag_rules=[
|
|
212
|
-
|
|
213
|
-
tag_category
|
|
214
|
-
tags
|
|
215
|
-
include_datastores_with_tags
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
tag_category
|
|
219
|
-
tags
|
|
220
|
-
include_datastores_with_tags
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
tag_category
|
|
224
|
-
tags
|
|
225
|
-
include_datastores_with_tags
|
|
226
|
-
|
|
212
|
+
{
|
|
213
|
+
"tag_category": environment["name"],
|
|
214
|
+
"tags": [development["name"]],
|
|
215
|
+
"include_datastores_with_tags": True,
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"tag_category": service_level["name"],
|
|
219
|
+
"tags": [silver["name"]],
|
|
220
|
+
"include_datastores_with_tags": True,
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"tag_category": replication["name"],
|
|
224
|
+
"tags": [non_replicated["name"]],
|
|
225
|
+
"include_datastores_with_tags": True,
|
|
226
|
+
},
|
|
227
227
|
])
|
|
228
228
|
```
|
|
229
229
|
|
|
@@ -243,7 +243,7 @@ class VmStoragePolicy(pulumi.CustomResource):
|
|
|
243
243
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
244
244
|
:param pulumi.Input[str] description: Description of the storage policy.
|
|
245
245
|
:param pulumi.Input[str] name: The name of the storage policy.
|
|
246
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
246
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['VmStoragePolicyTagRuleArgs', 'VmStoragePolicyTagRuleArgsDict']]]] tag_rules: List of tag rules. The tag category and tags to be associated to this storage policy.
|
|
247
247
|
"""
|
|
248
248
|
...
|
|
249
249
|
@overload
|
|
@@ -307,41 +307,41 @@ class VmStoragePolicy(pulumi.CustomResource):
|
|
|
307
307
|
name="prod_platinum_replicated",
|
|
308
308
|
description="prod_platinum_replicated",
|
|
309
309
|
tag_rules=[
|
|
310
|
-
|
|
311
|
-
tag_category
|
|
312
|
-
tags
|
|
313
|
-
include_datastores_with_tags
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
tag_category
|
|
317
|
-
tags
|
|
318
|
-
include_datastores_with_tags
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
tag_category
|
|
322
|
-
tags
|
|
323
|
-
include_datastores_with_tags
|
|
324
|
-
|
|
310
|
+
{
|
|
311
|
+
"tag_category": environment["name"],
|
|
312
|
+
"tags": [production["name"]],
|
|
313
|
+
"include_datastores_with_tags": True,
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"tag_category": service_level["name"],
|
|
317
|
+
"tags": [platinum["name"]],
|
|
318
|
+
"include_datastores_with_tags": True,
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"tag_category": replication["name"],
|
|
322
|
+
"tags": [replicated["name"]],
|
|
323
|
+
"include_datastores_with_tags": True,
|
|
324
|
+
},
|
|
325
325
|
])
|
|
326
326
|
dev_silver_nonreplicated = vsphere.VmStoragePolicy("dev_silver_nonreplicated",
|
|
327
327
|
name="dev_silver_nonreplicated",
|
|
328
328
|
description="dev_silver_nonreplicated",
|
|
329
329
|
tag_rules=[
|
|
330
|
-
|
|
331
|
-
tag_category
|
|
332
|
-
tags
|
|
333
|
-
include_datastores_with_tags
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
tag_category
|
|
337
|
-
tags
|
|
338
|
-
include_datastores_with_tags
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
tag_category
|
|
342
|
-
tags
|
|
343
|
-
include_datastores_with_tags
|
|
344
|
-
|
|
330
|
+
{
|
|
331
|
+
"tag_category": environment["name"],
|
|
332
|
+
"tags": [development["name"]],
|
|
333
|
+
"include_datastores_with_tags": True,
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"tag_category": service_level["name"],
|
|
337
|
+
"tags": [silver["name"]],
|
|
338
|
+
"include_datastores_with_tags": True,
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"tag_category": replication["name"],
|
|
342
|
+
"tags": [non_replicated["name"]],
|
|
343
|
+
"include_datastores_with_tags": True,
|
|
344
|
+
},
|
|
345
345
|
])
|
|
346
346
|
```
|
|
347
347
|
|
|
@@ -374,7 +374,7 @@ class VmStoragePolicy(pulumi.CustomResource):
|
|
|
374
374
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
375
375
|
description: Optional[pulumi.Input[str]] = None,
|
|
376
376
|
name: Optional[pulumi.Input[str]] = None,
|
|
377
|
-
tag_rules: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
377
|
+
tag_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VmStoragePolicyTagRuleArgs', 'VmStoragePolicyTagRuleArgsDict']]]]] = None,
|
|
378
378
|
__props__=None):
|
|
379
379
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
380
380
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -401,7 +401,7 @@ class VmStoragePolicy(pulumi.CustomResource):
|
|
|
401
401
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
402
402
|
description: Optional[pulumi.Input[str]] = None,
|
|
403
403
|
name: Optional[pulumi.Input[str]] = None,
|
|
404
|
-
tag_rules: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
404
|
+
tag_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VmStoragePolicyTagRuleArgs', 'VmStoragePolicyTagRuleArgsDict']]]]] = None) -> 'VmStoragePolicy':
|
|
405
405
|
"""
|
|
406
406
|
Get an existing VmStoragePolicy resource's state with the given name, id, and optional extra
|
|
407
407
|
properties used to qualify the lookup.
|
|
@@ -411,7 +411,7 @@ class VmStoragePolicy(pulumi.CustomResource):
|
|
|
411
411
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
412
412
|
:param pulumi.Input[str] description: Description of the storage policy.
|
|
413
413
|
:param pulumi.Input[str] name: The name of the storage policy.
|
|
414
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
414
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['VmStoragePolicyTagRuleArgs', 'VmStoragePolicyTagRuleArgsDict']]]] tag_rules: List of tag rules. The tag category and tags to be associated to this storage policy.
|
|
415
415
|
"""
|
|
416
416
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
417
417
|
|
pulumi_vsphere/vnic.py
CHANGED
|
@@ -356,8 +356,8 @@ class Vnic(pulumi.CustomResource):
|
|
|
356
356
|
distributed_port_group: Optional[pulumi.Input[str]] = None,
|
|
357
357
|
distributed_switch_port: Optional[pulumi.Input[str]] = None,
|
|
358
358
|
host: Optional[pulumi.Input[str]] = None,
|
|
359
|
-
ipv4: Optional[pulumi.Input[
|
|
360
|
-
ipv6: Optional[pulumi.Input[
|
|
359
|
+
ipv4: Optional[pulumi.Input[Union['VnicIpv4Args', 'VnicIpv4ArgsDict']]] = None,
|
|
360
|
+
ipv6: Optional[pulumi.Input[Union['VnicIpv6Args', 'VnicIpv6ArgsDict']]] = None,
|
|
361
361
|
mac: Optional[pulumi.Input[str]] = None,
|
|
362
362
|
mtu: Optional[pulumi.Input[int]] = None,
|
|
363
363
|
netstack: Optional[pulumi.Input[str]] = None,
|
|
@@ -381,10 +381,10 @@ class Vnic(pulumi.CustomResource):
|
|
|
381
381
|
vds = vsphere.DistributedVirtualSwitch("vds",
|
|
382
382
|
name="vds-01",
|
|
383
383
|
datacenter_id=datacenter.id,
|
|
384
|
-
hosts=[
|
|
385
|
-
host_system_id
|
|
386
|
-
devices
|
|
387
|
-
|
|
384
|
+
hosts=[{
|
|
385
|
+
"host_system_id": host.id,
|
|
386
|
+
"devices": ["vnic3"],
|
|
387
|
+
}])
|
|
388
388
|
pg = vsphere.DistributedPortGroup("pg",
|
|
389
389
|
name="pg-01",
|
|
390
390
|
vlan_id=1234,
|
|
@@ -393,9 +393,9 @@ class Vnic(pulumi.CustomResource):
|
|
|
393
393
|
host=host.id,
|
|
394
394
|
distributed_switch_port=vds.id,
|
|
395
395
|
distributed_port_group=pg.id,
|
|
396
|
-
ipv4=
|
|
397
|
-
dhcp
|
|
398
|
-
|
|
396
|
+
ipv4={
|
|
397
|
+
"dhcp": True,
|
|
398
|
+
},
|
|
399
399
|
netstack="vmotion")
|
|
400
400
|
```
|
|
401
401
|
|
|
@@ -424,9 +424,9 @@ class Vnic(pulumi.CustomResource):
|
|
|
424
424
|
vnic = vsphere.Vnic("vnic",
|
|
425
425
|
host=host.id,
|
|
426
426
|
portgroup=pg.name,
|
|
427
|
-
ipv4=
|
|
428
|
-
dhcp
|
|
429
|
-
|
|
427
|
+
ipv4={
|
|
428
|
+
"dhcp": True,
|
|
429
|
+
},
|
|
430
430
|
services=[
|
|
431
431
|
"vsan",
|
|
432
432
|
"management",
|
|
@@ -447,8 +447,8 @@ class Vnic(pulumi.CustomResource):
|
|
|
447
447
|
:param pulumi.Input[str] distributed_port_group: Key of the distributed portgroup the nic will connect to.
|
|
448
448
|
:param pulumi.Input[str] distributed_switch_port: UUID of the vdswitch the nic will be attached to. Do not set if you set portgroup.
|
|
449
449
|
:param pulumi.Input[str] host: ESX host the interface belongs to
|
|
450
|
-
:param pulumi.Input[
|
|
451
|
-
:param pulumi.Input[
|
|
450
|
+
:param pulumi.Input[Union['VnicIpv4Args', 'VnicIpv4ArgsDict']] ipv4: IPv4 settings. Either this or `ipv6` needs to be set. See IPv4 options below.
|
|
451
|
+
:param pulumi.Input[Union['VnicIpv6Args', 'VnicIpv6ArgsDict']] ipv6: IPv6 settings. Either this or `ipv6` needs to be set. See IPv6 options below.
|
|
452
452
|
:param pulumi.Input[str] mac: MAC address of the interface.
|
|
453
453
|
:param pulumi.Input[int] mtu: MTU of the interface.
|
|
454
454
|
:param pulumi.Input[str] netstack: TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
|
|
@@ -478,10 +478,10 @@ class Vnic(pulumi.CustomResource):
|
|
|
478
478
|
vds = vsphere.DistributedVirtualSwitch("vds",
|
|
479
479
|
name="vds-01",
|
|
480
480
|
datacenter_id=datacenter.id,
|
|
481
|
-
hosts=[
|
|
482
|
-
host_system_id
|
|
483
|
-
devices
|
|
484
|
-
|
|
481
|
+
hosts=[{
|
|
482
|
+
"host_system_id": host.id,
|
|
483
|
+
"devices": ["vnic3"],
|
|
484
|
+
}])
|
|
485
485
|
pg = vsphere.DistributedPortGroup("pg",
|
|
486
486
|
name="pg-01",
|
|
487
487
|
vlan_id=1234,
|
|
@@ -490,9 +490,9 @@ class Vnic(pulumi.CustomResource):
|
|
|
490
490
|
host=host.id,
|
|
491
491
|
distributed_switch_port=vds.id,
|
|
492
492
|
distributed_port_group=pg.id,
|
|
493
|
-
ipv4=
|
|
494
|
-
dhcp
|
|
495
|
-
|
|
493
|
+
ipv4={
|
|
494
|
+
"dhcp": True,
|
|
495
|
+
},
|
|
496
496
|
netstack="vmotion")
|
|
497
497
|
```
|
|
498
498
|
|
|
@@ -521,9 +521,9 @@ class Vnic(pulumi.CustomResource):
|
|
|
521
521
|
vnic = vsphere.Vnic("vnic",
|
|
522
522
|
host=host.id,
|
|
523
523
|
portgroup=pg.name,
|
|
524
|
-
ipv4=
|
|
525
|
-
dhcp
|
|
526
|
-
|
|
524
|
+
ipv4={
|
|
525
|
+
"dhcp": True,
|
|
526
|
+
},
|
|
527
527
|
services=[
|
|
528
528
|
"vsan",
|
|
529
529
|
"management",
|
|
@@ -557,8 +557,8 @@ class Vnic(pulumi.CustomResource):
|
|
|
557
557
|
distributed_port_group: Optional[pulumi.Input[str]] = None,
|
|
558
558
|
distributed_switch_port: Optional[pulumi.Input[str]] = None,
|
|
559
559
|
host: Optional[pulumi.Input[str]] = None,
|
|
560
|
-
ipv4: Optional[pulumi.Input[
|
|
561
|
-
ipv6: Optional[pulumi.Input[
|
|
560
|
+
ipv4: Optional[pulumi.Input[Union['VnicIpv4Args', 'VnicIpv4ArgsDict']]] = None,
|
|
561
|
+
ipv6: Optional[pulumi.Input[Union['VnicIpv6Args', 'VnicIpv6ArgsDict']]] = None,
|
|
562
562
|
mac: Optional[pulumi.Input[str]] = None,
|
|
563
563
|
mtu: Optional[pulumi.Input[int]] = None,
|
|
564
564
|
netstack: Optional[pulumi.Input[str]] = None,
|
|
@@ -598,8 +598,8 @@ class Vnic(pulumi.CustomResource):
|
|
|
598
598
|
distributed_port_group: Optional[pulumi.Input[str]] = None,
|
|
599
599
|
distributed_switch_port: Optional[pulumi.Input[str]] = None,
|
|
600
600
|
host: Optional[pulumi.Input[str]] = None,
|
|
601
|
-
ipv4: Optional[pulumi.Input[
|
|
602
|
-
ipv6: Optional[pulumi.Input[
|
|
601
|
+
ipv4: Optional[pulumi.Input[Union['VnicIpv4Args', 'VnicIpv4ArgsDict']]] = None,
|
|
602
|
+
ipv6: Optional[pulumi.Input[Union['VnicIpv6Args', 'VnicIpv6ArgsDict']]] = None,
|
|
603
603
|
mac: Optional[pulumi.Input[str]] = None,
|
|
604
604
|
mtu: Optional[pulumi.Input[int]] = None,
|
|
605
605
|
netstack: Optional[pulumi.Input[str]] = None,
|
|
@@ -615,8 +615,8 @@ class Vnic(pulumi.CustomResource):
|
|
|
615
615
|
:param pulumi.Input[str] distributed_port_group: Key of the distributed portgroup the nic will connect to.
|
|
616
616
|
:param pulumi.Input[str] distributed_switch_port: UUID of the vdswitch the nic will be attached to. Do not set if you set portgroup.
|
|
617
617
|
:param pulumi.Input[str] host: ESX host the interface belongs to
|
|
618
|
-
:param pulumi.Input[
|
|
619
|
-
:param pulumi.Input[
|
|
618
|
+
:param pulumi.Input[Union['VnicIpv4Args', 'VnicIpv4ArgsDict']] ipv4: IPv4 settings. Either this or `ipv6` needs to be set. See IPv4 options below.
|
|
619
|
+
:param pulumi.Input[Union['VnicIpv6Args', 'VnicIpv6ArgsDict']] ipv6: IPv6 settings. Either this or `ipv6` needs to be set. See IPv6 options below.
|
|
620
620
|
:param pulumi.Input[str] mac: MAC address of the interface.
|
|
621
621
|
:param pulumi.Input[int] mtu: MTU of the interface.
|
|
622
622
|
:param pulumi.Input[str] netstack: TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
|