pulumi-vsphere 4.14.0a1741243116__py3-none-any.whl → 4.14.0a1745952392__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +1 -0
- pulumi_vsphere/_inputs.py +969 -968
- pulumi_vsphere/compute_cluster.py +921 -917
- pulumi_vsphere/compute_cluster_host_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +88 -84
- pulumi_vsphere/compute_cluster_vm_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +102 -98
- pulumi_vsphere/config/__init__.py +1 -0
- pulumi_vsphere/config/__init__.pyi +1 -0
- pulumi_vsphere/config/vars.py +1 -0
- pulumi_vsphere/content_library.py +46 -42
- pulumi_vsphere/content_library_item.py +88 -84
- pulumi_vsphere/custom_attribute.py +32 -28
- pulumi_vsphere/datacenter.py +67 -63
- pulumi_vsphere/datastore_cluster.py +354 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/distributed_port_group.py +648 -644
- pulumi_vsphere/distributed_virtual_switch.py +1285 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +60 -56
- pulumi_vsphere/dpm_host_override.py +60 -56
- pulumi_vsphere/drs_vm_override.py +60 -56
- pulumi_vsphere/entity_permissions.py +32 -28
- pulumi_vsphere/file.py +98 -94
- pulumi_vsphere/folder.py +74 -70
- pulumi_vsphere/get_compute_cluster.py +13 -12
- pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
- pulumi_vsphere/get_content_library.py +7 -6
- pulumi_vsphere/get_content_library_item.py +17 -16
- pulumi_vsphere/get_custom_attribute.py +8 -7
- pulumi_vsphere/get_datacenter.py +8 -7
- pulumi_vsphere/get_datastore.py +17 -16
- pulumi_vsphere/get_datastore_cluster.py +13 -12
- pulumi_vsphere/get_datastore_stats.py +17 -16
- pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
- pulumi_vsphere/get_dynamic.py +17 -16
- pulumi_vsphere/get_folder.py +7 -6
- pulumi_vsphere/get_guest_os_customization.py +11 -10
- pulumi_vsphere/get_host.py +13 -12
- pulumi_vsphere/get_host_base_images.py +3 -2
- pulumi_vsphere/get_host_pci_device.py +23 -22
- pulumi_vsphere/get_host_thumbprint.py +17 -16
- pulumi_vsphere/get_host_vgpu_profile.py +12 -11
- pulumi_vsphere/get_license.py +12 -11
- pulumi_vsphere/get_network.py +18 -17
- pulumi_vsphere/get_ovf_vm_template.py +89 -88
- pulumi_vsphere/get_policy.py +7 -6
- pulumi_vsphere/get_resource_pool.py +12 -11
- pulumi_vsphere/get_role.py +20 -19
- pulumi_vsphere/get_tag.py +13 -12
- pulumi_vsphere/get_tag_category.py +10 -9
- pulumi_vsphere/get_vapp_container.py +12 -11
- pulumi_vsphere/get_virtual_machine.py +204 -203
- pulumi_vsphere/get_vmfs_disks.py +18 -17
- pulumi_vsphere/guest_os_customization.py +60 -56
- pulumi_vsphere/ha_vm_override.py +214 -210
- pulumi_vsphere/host.py +200 -196
- pulumi_vsphere/host_port_group.py +256 -252
- pulumi_vsphere/host_virtual_switch.py +298 -294
- pulumi_vsphere/license.py +60 -56
- pulumi_vsphere/nas_datastore.py +214 -210
- pulumi_vsphere/offline_software_depot.py +18 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +101 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +214 -210
- pulumi_vsphere/role.py +39 -35
- pulumi_vsphere/storage_drs_vm_override.py +74 -70
- pulumi_vsphere/supervisor.py +158 -154
- pulumi_vsphere/tag.py +46 -42
- pulumi_vsphere/tag_category.py +60 -56
- pulumi_vsphere/vapp_container.py +214 -210
- pulumi_vsphere/vapp_entity.py +144 -140
- pulumi_vsphere/virtual_disk.py +102 -98
- pulumi_vsphere/virtual_machine.py +1043 -1039
- pulumi_vsphere/virtual_machine_class.py +88 -84
- pulumi_vsphere/virtual_machine_snapshot.py +102 -98
- pulumi_vsphere/vm_storage_policy.py +32 -28
- pulumi_vsphere/vmfs_datastore.py +151 -147
- pulumi_vsphere/vnic.py +116 -112
- {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1741243116.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/top_level.txt +0 -0
pulumi_vsphere/get_license.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -51,7 +52,7 @@ class GetLicenseResult:
|
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter(name="editionKey")
|
|
54
|
-
def edition_key(self) -> str:
|
|
55
|
+
def edition_key(self) -> builtins.str:
|
|
55
56
|
"""
|
|
56
57
|
The product edition of the license key.
|
|
57
58
|
"""
|
|
@@ -59,12 +60,12 @@ class GetLicenseResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter
|
|
62
|
-
def id(self) -> str:
|
|
63
|
+
def id(self) -> builtins.str:
|
|
63
64
|
return pulumi.get(self, "id")
|
|
64
65
|
|
|
65
66
|
@property
|
|
66
67
|
@pulumi.getter
|
|
67
|
-
def labels(self) -> Mapping[str, str]:
|
|
68
|
+
def labels(self) -> Mapping[str, builtins.str]:
|
|
68
69
|
"""
|
|
69
70
|
A map of key/value pairs attached as labels (tags) to the license
|
|
70
71
|
key.
|
|
@@ -73,12 +74,12 @@ class GetLicenseResult:
|
|
|
73
74
|
|
|
74
75
|
@property
|
|
75
76
|
@pulumi.getter(name="licenseKey")
|
|
76
|
-
def license_key(self) -> str:
|
|
77
|
+
def license_key(self) -> builtins.str:
|
|
77
78
|
return pulumi.get(self, "license_key")
|
|
78
79
|
|
|
79
80
|
@property
|
|
80
81
|
@pulumi.getter
|
|
81
|
-
def name(self) -> str:
|
|
82
|
+
def name(self) -> builtins.str:
|
|
82
83
|
"""
|
|
83
84
|
The display name for the license.
|
|
84
85
|
"""
|
|
@@ -86,7 +87,7 @@ class GetLicenseResult:
|
|
|
86
87
|
|
|
87
88
|
@property
|
|
88
89
|
@pulumi.getter
|
|
89
|
-
def total(self) -> int:
|
|
90
|
+
def total(self) -> builtins.int:
|
|
90
91
|
"""
|
|
91
92
|
Total number of units (example: CPUs) contained in the license.
|
|
92
93
|
"""
|
|
@@ -94,7 +95,7 @@ class GetLicenseResult:
|
|
|
94
95
|
|
|
95
96
|
@property
|
|
96
97
|
@pulumi.getter
|
|
97
|
-
def used(self) -> int:
|
|
98
|
+
def used(self) -> builtins.int:
|
|
98
99
|
"""
|
|
99
100
|
The number of units (example: CPUs) assigned to this license.
|
|
100
101
|
"""
|
|
@@ -116,7 +117,7 @@ class AwaitableGetLicenseResult(GetLicenseResult):
|
|
|
116
117
|
used=self.used)
|
|
117
118
|
|
|
118
119
|
|
|
119
|
-
def get_license(license_key: Optional[str] = None,
|
|
120
|
+
def get_license(license_key: Optional[builtins.str] = None,
|
|
120
121
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLicenseResult:
|
|
121
122
|
"""
|
|
122
123
|
The `License` data source can be used to get the general attributes of
|
|
@@ -132,7 +133,7 @@ def get_license(license_key: Optional[str] = None,
|
|
|
132
133
|
```
|
|
133
134
|
|
|
134
135
|
|
|
135
|
-
:param str license_key: The license key.
|
|
136
|
+
:param builtins.str license_key: The license key.
|
|
136
137
|
"""
|
|
137
138
|
__args__ = dict()
|
|
138
139
|
__args__['licenseKey'] = license_key
|
|
@@ -147,7 +148,7 @@ def get_license(license_key: Optional[str] = None,
|
|
|
147
148
|
name=pulumi.get(__ret__, 'name'),
|
|
148
149
|
total=pulumi.get(__ret__, 'total'),
|
|
149
150
|
used=pulumi.get(__ret__, 'used'))
|
|
150
|
-
def get_license_output(license_key: Optional[pulumi.Input[str]] = None,
|
|
151
|
+
def get_license_output(license_key: Optional[pulumi.Input[builtins.str]] = None,
|
|
151
152
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLicenseResult]:
|
|
152
153
|
"""
|
|
153
154
|
The `License` data source can be used to get the general attributes of
|
|
@@ -163,7 +164,7 @@ def get_license_output(license_key: Optional[pulumi.Input[str]] = None,
|
|
|
163
164
|
```
|
|
164
165
|
|
|
165
166
|
|
|
166
|
-
:param str license_key: The license key.
|
|
167
|
+
:param builtins.str license_key: The license key.
|
|
167
168
|
"""
|
|
168
169
|
__args__ = dict()
|
|
169
170
|
__args__['licenseKey'] = license_key
|
pulumi_vsphere/get_network.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -50,12 +51,12 @@ class GetNetworkResult:
|
|
|
50
51
|
|
|
51
52
|
@property
|
|
52
53
|
@pulumi.getter(name="datacenterId")
|
|
53
|
-
def datacenter_id(self) -> Optional[str]:
|
|
54
|
+
def datacenter_id(self) -> Optional[builtins.str]:
|
|
54
55
|
return pulumi.get(self, "datacenter_id")
|
|
55
56
|
|
|
56
57
|
@property
|
|
57
58
|
@pulumi.getter(name="distributedVirtualSwitchUuid")
|
|
58
|
-
def distributed_virtual_switch_uuid(self) -> Optional[str]:
|
|
59
|
+
def distributed_virtual_switch_uuid(self) -> Optional[builtins.str]:
|
|
59
60
|
return pulumi.get(self, "distributed_virtual_switch_uuid")
|
|
60
61
|
|
|
61
62
|
@property
|
|
@@ -65,7 +66,7 @@ class GetNetworkResult:
|
|
|
65
66
|
|
|
66
67
|
@property
|
|
67
68
|
@pulumi.getter
|
|
68
|
-
def id(self) -> str:
|
|
69
|
+
def id(self) -> builtins.str:
|
|
69
70
|
"""
|
|
70
71
|
The provider-assigned unique ID for this managed resource.
|
|
71
72
|
"""
|
|
@@ -73,12 +74,12 @@ class GetNetworkResult:
|
|
|
73
74
|
|
|
74
75
|
@property
|
|
75
76
|
@pulumi.getter
|
|
76
|
-
def name(self) -> str:
|
|
77
|
+
def name(self) -> builtins.str:
|
|
77
78
|
return pulumi.get(self, "name")
|
|
78
79
|
|
|
79
80
|
@property
|
|
80
81
|
@pulumi.getter
|
|
81
|
-
def type(self) -> str:
|
|
82
|
+
def type(self) -> builtins.str:
|
|
82
83
|
"""
|
|
83
84
|
The managed object type for the discovered network. This will be one
|
|
84
85
|
of `DistributedVirtualPortgroup` for distributed port groups, `Network` for
|
|
@@ -102,10 +103,10 @@ class AwaitableGetNetworkResult(GetNetworkResult):
|
|
|
102
103
|
type=self.type)
|
|
103
104
|
|
|
104
105
|
|
|
105
|
-
def get_network(datacenter_id: Optional[str] = None,
|
|
106
|
-
distributed_virtual_switch_uuid: Optional[str] = None,
|
|
106
|
+
def get_network(datacenter_id: Optional[builtins.str] = None,
|
|
107
|
+
distributed_virtual_switch_uuid: Optional[builtins.str] = None,
|
|
107
108
|
filters: Optional[Sequence[Union['GetNetworkFilterArgs', 'GetNetworkFilterArgsDict']]] = None,
|
|
108
|
-
name: Optional[str] = None,
|
|
109
|
+
name: Optional[builtins.str] = None,
|
|
109
110
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkResult:
|
|
110
111
|
"""
|
|
111
112
|
The `get_network` data source can be used to discover the ID of a network in
|
|
@@ -140,16 +141,16 @@ def get_network(datacenter_id: Optional[str] = None,
|
|
|
140
141
|
```
|
|
141
142
|
|
|
142
143
|
|
|
143
|
-
:param str datacenter_id: The managed object reference ID
|
|
144
|
+
:param builtins.str datacenter_id: The managed object reference ID
|
|
144
145
|
of the datacenter the network is located in. This can be omitted if the
|
|
145
146
|
search path used in `name` is an absolute path. For default datacenters,
|
|
146
147
|
use the `id` attribute from an empty `Datacenter` data source.
|
|
147
|
-
:param str distributed_virtual_switch_uuid: For distributed port group type
|
|
148
|
+
:param builtins.str distributed_virtual_switch_uuid: For distributed port group type
|
|
148
149
|
network objects, the ID of the distributed virtual switch for which the port
|
|
149
150
|
group belongs. It is useful to differentiate port groups with same name using
|
|
150
151
|
the distributed virtual switch ID.
|
|
151
152
|
:param Sequence[Union['GetNetworkFilterArgs', 'GetNetworkFilterArgsDict']] filters: Apply a filter for the discovered network.
|
|
152
|
-
:param str name: The name of the network. This can be a name or path.
|
|
153
|
+
:param builtins.str name: The name of the network. This can be a name or path.
|
|
153
154
|
"""
|
|
154
155
|
__args__ = dict()
|
|
155
156
|
__args__['datacenterId'] = datacenter_id
|
|
@@ -166,10 +167,10 @@ def get_network(datacenter_id: Optional[str] = None,
|
|
|
166
167
|
id=pulumi.get(__ret__, 'id'),
|
|
167
168
|
name=pulumi.get(__ret__, 'name'),
|
|
168
169
|
type=pulumi.get(__ret__, 'type'))
|
|
169
|
-
def get_network_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
170
|
-
distributed_virtual_switch_uuid: Optional[pulumi.Input[Optional[str]]] = None,
|
|
170
|
+
def get_network_output(datacenter_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
171
|
+
distributed_virtual_switch_uuid: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
171
172
|
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetNetworkFilterArgs', 'GetNetworkFilterArgsDict']]]]] = None,
|
|
172
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
173
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
173
174
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkResult]:
|
|
174
175
|
"""
|
|
175
176
|
The `get_network` data source can be used to discover the ID of a network in
|
|
@@ -204,16 +205,16 @@ def get_network_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = No
|
|
|
204
205
|
```
|
|
205
206
|
|
|
206
207
|
|
|
207
|
-
:param str datacenter_id: The managed object reference ID
|
|
208
|
+
:param builtins.str datacenter_id: The managed object reference ID
|
|
208
209
|
of the datacenter the network is located in. This can be omitted if the
|
|
209
210
|
search path used in `name` is an absolute path. For default datacenters,
|
|
210
211
|
use the `id` attribute from an empty `Datacenter` data source.
|
|
211
|
-
:param str distributed_virtual_switch_uuid: For distributed port group type
|
|
212
|
+
:param builtins.str distributed_virtual_switch_uuid: For distributed port group type
|
|
212
213
|
network objects, the ID of the distributed virtual switch for which the port
|
|
213
214
|
group belongs. It is useful to differentiate port groups with same name using
|
|
214
215
|
the distributed virtual switch ID.
|
|
215
216
|
:param Sequence[Union['GetNetworkFilterArgs', 'GetNetworkFilterArgsDict']] filters: Apply a filter for the discovered network.
|
|
216
|
-
:param str name: The name of the network. This can be a name or path.
|
|
217
|
+
:param builtins.str name: The name of the network. This can be a name or path.
|
|
217
218
|
"""
|
|
218
219
|
__args__ = dict()
|
|
219
220
|
__args__['datacenterId'] = datacenter_id
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -126,12 +127,12 @@ class GetOvfVmTemplateResult:
|
|
|
126
127
|
|
|
127
128
|
@property
|
|
128
129
|
@pulumi.getter(name="allowUnverifiedSslCert")
|
|
129
|
-
def allow_unverified_ssl_cert(self) -> Optional[bool]:
|
|
130
|
+
def allow_unverified_ssl_cert(self) -> Optional[builtins.bool]:
|
|
130
131
|
return pulumi.get(self, "allow_unverified_ssl_cert")
|
|
131
132
|
|
|
132
133
|
@property
|
|
133
134
|
@pulumi.getter(name="alternateGuestName")
|
|
134
|
-
def alternate_guest_name(self) -> str:
|
|
135
|
+
def alternate_guest_name(self) -> builtins.str:
|
|
135
136
|
"""
|
|
136
137
|
An alternate guest operating system name.
|
|
137
138
|
"""
|
|
@@ -139,7 +140,7 @@ class GetOvfVmTemplateResult:
|
|
|
139
140
|
|
|
140
141
|
@property
|
|
141
142
|
@pulumi.getter
|
|
142
|
-
def annotation(self) -> str:
|
|
143
|
+
def annotation(self) -> builtins.str:
|
|
143
144
|
"""
|
|
144
145
|
A description of the virtual machine.
|
|
145
146
|
"""
|
|
@@ -147,7 +148,7 @@ class GetOvfVmTemplateResult:
|
|
|
147
148
|
|
|
148
149
|
@property
|
|
149
150
|
@pulumi.getter(name="cpuHotAddEnabled")
|
|
150
|
-
def cpu_hot_add_enabled(self) -> bool:
|
|
151
|
+
def cpu_hot_add_enabled(self) -> builtins.bool:
|
|
151
152
|
"""
|
|
152
153
|
Allow CPUs to be added to the virtual machine while
|
|
153
154
|
powered on.
|
|
@@ -156,7 +157,7 @@ class GetOvfVmTemplateResult:
|
|
|
156
157
|
|
|
157
158
|
@property
|
|
158
159
|
@pulumi.getter(name="cpuHotRemoveEnabled")
|
|
159
|
-
def cpu_hot_remove_enabled(self) -> bool:
|
|
160
|
+
def cpu_hot_remove_enabled(self) -> builtins.bool:
|
|
160
161
|
"""
|
|
161
162
|
Allow CPUs to be removed from the virtual machine
|
|
162
163
|
while powered on.
|
|
@@ -165,32 +166,32 @@ class GetOvfVmTemplateResult:
|
|
|
165
166
|
|
|
166
167
|
@property
|
|
167
168
|
@pulumi.getter(name="cpuPerformanceCountersEnabled")
|
|
168
|
-
def cpu_performance_counters_enabled(self) -> bool:
|
|
169
|
+
def cpu_performance_counters_enabled(self) -> builtins.bool:
|
|
169
170
|
return pulumi.get(self, "cpu_performance_counters_enabled")
|
|
170
171
|
|
|
171
172
|
@property
|
|
172
173
|
@pulumi.getter(name="datastoreId")
|
|
173
|
-
def datastore_id(self) -> Optional[str]:
|
|
174
|
+
def datastore_id(self) -> Optional[builtins.str]:
|
|
174
175
|
return pulumi.get(self, "datastore_id")
|
|
175
176
|
|
|
176
177
|
@property
|
|
177
178
|
@pulumi.getter(name="deploymentOption")
|
|
178
|
-
def deployment_option(self) -> Optional[str]:
|
|
179
|
+
def deployment_option(self) -> Optional[builtins.str]:
|
|
179
180
|
return pulumi.get(self, "deployment_option")
|
|
180
181
|
|
|
181
182
|
@property
|
|
182
183
|
@pulumi.getter(name="diskProvisioning")
|
|
183
|
-
def disk_provisioning(self) -> Optional[str]:
|
|
184
|
+
def disk_provisioning(self) -> Optional[builtins.str]:
|
|
184
185
|
return pulumi.get(self, "disk_provisioning")
|
|
185
186
|
|
|
186
187
|
@property
|
|
187
188
|
@pulumi.getter(name="enableHiddenProperties")
|
|
188
|
-
def enable_hidden_properties(self) -> Optional[bool]:
|
|
189
|
+
def enable_hidden_properties(self) -> Optional[builtins.bool]:
|
|
189
190
|
return pulumi.get(self, "enable_hidden_properties")
|
|
190
191
|
|
|
191
192
|
@property
|
|
192
193
|
@pulumi.getter
|
|
193
|
-
def firmware(self) -> str:
|
|
194
|
+
def firmware(self) -> builtins.str:
|
|
194
195
|
"""
|
|
195
196
|
The firmware to use on the virtual machine.
|
|
196
197
|
"""
|
|
@@ -198,12 +199,12 @@ class GetOvfVmTemplateResult:
|
|
|
198
199
|
|
|
199
200
|
@property
|
|
200
201
|
@pulumi.getter
|
|
201
|
-
def folder(self) -> Optional[str]:
|
|
202
|
+
def folder(self) -> Optional[builtins.str]:
|
|
202
203
|
return pulumi.get(self, "folder")
|
|
203
204
|
|
|
204
205
|
@property
|
|
205
206
|
@pulumi.getter(name="guestId")
|
|
206
|
-
def guest_id(self) -> str:
|
|
207
|
+
def guest_id(self) -> builtins.str:
|
|
207
208
|
"""
|
|
208
209
|
The ID for the guest operating system
|
|
209
210
|
"""
|
|
@@ -211,12 +212,12 @@ class GetOvfVmTemplateResult:
|
|
|
211
212
|
|
|
212
213
|
@property
|
|
213
214
|
@pulumi.getter(name="hostSystemId")
|
|
214
|
-
def host_system_id(self) -> str:
|
|
215
|
+
def host_system_id(self) -> builtins.str:
|
|
215
216
|
return pulumi.get(self, "host_system_id")
|
|
216
217
|
|
|
217
218
|
@property
|
|
218
219
|
@pulumi.getter
|
|
219
|
-
def id(self) -> str:
|
|
220
|
+
def id(self) -> builtins.str:
|
|
220
221
|
"""
|
|
221
222
|
The provider-assigned unique ID for this managed resource.
|
|
222
223
|
"""
|
|
@@ -224,27 +225,27 @@ class GetOvfVmTemplateResult:
|
|
|
224
225
|
|
|
225
226
|
@property
|
|
226
227
|
@pulumi.getter(name="ideControllerCount")
|
|
227
|
-
def ide_controller_count(self) -> int:
|
|
228
|
+
def ide_controller_count(self) -> builtins.int:
|
|
228
229
|
return pulumi.get(self, "ide_controller_count")
|
|
229
230
|
|
|
230
231
|
@property
|
|
231
232
|
@pulumi.getter(name="ipAllocationPolicy")
|
|
232
|
-
def ip_allocation_policy(self) -> Optional[str]:
|
|
233
|
+
def ip_allocation_policy(self) -> Optional[builtins.str]:
|
|
233
234
|
return pulumi.get(self, "ip_allocation_policy")
|
|
234
235
|
|
|
235
236
|
@property
|
|
236
237
|
@pulumi.getter(name="ipProtocol")
|
|
237
|
-
def ip_protocol(self) -> Optional[str]:
|
|
238
|
+
def ip_protocol(self) -> Optional[builtins.str]:
|
|
238
239
|
return pulumi.get(self, "ip_protocol")
|
|
239
240
|
|
|
240
241
|
@property
|
|
241
242
|
@pulumi.getter(name="localOvfPath")
|
|
242
|
-
def local_ovf_path(self) -> Optional[str]:
|
|
243
|
+
def local_ovf_path(self) -> Optional[builtins.str]:
|
|
243
244
|
return pulumi.get(self, "local_ovf_path")
|
|
244
245
|
|
|
245
246
|
@property
|
|
246
247
|
@pulumi.getter
|
|
247
|
-
def memory(self) -> int:
|
|
248
|
+
def memory(self) -> builtins.int:
|
|
248
249
|
"""
|
|
249
250
|
The size of the virtual machine memory, in MB.
|
|
250
251
|
"""
|
|
@@ -252,7 +253,7 @@ class GetOvfVmTemplateResult:
|
|
|
252
253
|
|
|
253
254
|
@property
|
|
254
255
|
@pulumi.getter(name="memoryHotAddEnabled")
|
|
255
|
-
def memory_hot_add_enabled(self) -> bool:
|
|
256
|
+
def memory_hot_add_enabled(self) -> builtins.bool:
|
|
256
257
|
"""
|
|
257
258
|
Allow memory to be added to the virtual machine
|
|
258
259
|
while powered on.
|
|
@@ -261,12 +262,12 @@ class GetOvfVmTemplateResult:
|
|
|
261
262
|
|
|
262
263
|
@property
|
|
263
264
|
@pulumi.getter
|
|
264
|
-
def name(self) -> str:
|
|
265
|
+
def name(self) -> builtins.str:
|
|
265
266
|
return pulumi.get(self, "name")
|
|
266
267
|
|
|
267
268
|
@property
|
|
268
269
|
@pulumi.getter(name="nestedHvEnabled")
|
|
269
|
-
def nested_hv_enabled(self) -> bool:
|
|
270
|
+
def nested_hv_enabled(self) -> builtins.bool:
|
|
270
271
|
"""
|
|
271
272
|
Enable nested hardware virtualization on the virtual
|
|
272
273
|
machine, facilitating nested virtualization in the guest.
|
|
@@ -275,7 +276,7 @@ class GetOvfVmTemplateResult:
|
|
|
275
276
|
|
|
276
277
|
@property
|
|
277
278
|
@pulumi.getter(name="numCoresPerSocket")
|
|
278
|
-
def num_cores_per_socket(self) -> int:
|
|
279
|
+
def num_cores_per_socket(self) -> builtins.int:
|
|
279
280
|
"""
|
|
280
281
|
The number of cores per virtual CPU in the virtual
|
|
281
282
|
machine.
|
|
@@ -284,7 +285,7 @@ class GetOvfVmTemplateResult:
|
|
|
284
285
|
|
|
285
286
|
@property
|
|
286
287
|
@pulumi.getter(name="numCpus")
|
|
287
|
-
def num_cpus(self) -> int:
|
|
288
|
+
def num_cpus(self) -> builtins.int:
|
|
288
289
|
"""
|
|
289
290
|
The number of virtual CPUs to assign to the virtual machine.
|
|
290
291
|
"""
|
|
@@ -292,37 +293,37 @@ class GetOvfVmTemplateResult:
|
|
|
292
293
|
|
|
293
294
|
@property
|
|
294
295
|
@pulumi.getter(name="ovfNetworkMap")
|
|
295
|
-
def ovf_network_map(self) -> Optional[Mapping[str, str]]:
|
|
296
|
+
def ovf_network_map(self) -> Optional[Mapping[str, builtins.str]]:
|
|
296
297
|
return pulumi.get(self, "ovf_network_map")
|
|
297
298
|
|
|
298
299
|
@property
|
|
299
300
|
@pulumi.getter(name="remoteOvfUrl")
|
|
300
|
-
def remote_ovf_url(self) -> Optional[str]:
|
|
301
|
+
def remote_ovf_url(self) -> Optional[builtins.str]:
|
|
301
302
|
return pulumi.get(self, "remote_ovf_url")
|
|
302
303
|
|
|
303
304
|
@property
|
|
304
305
|
@pulumi.getter(name="resourcePoolId")
|
|
305
|
-
def resource_pool_id(self) -> str:
|
|
306
|
+
def resource_pool_id(self) -> builtins.str:
|
|
306
307
|
return pulumi.get(self, "resource_pool_id")
|
|
307
308
|
|
|
308
309
|
@property
|
|
309
310
|
@pulumi.getter(name="sataControllerCount")
|
|
310
|
-
def sata_controller_count(self) -> int:
|
|
311
|
+
def sata_controller_count(self) -> builtins.int:
|
|
311
312
|
return pulumi.get(self, "sata_controller_count")
|
|
312
313
|
|
|
313
314
|
@property
|
|
314
315
|
@pulumi.getter(name="scsiControllerCount")
|
|
315
|
-
def scsi_controller_count(self) -> int:
|
|
316
|
+
def scsi_controller_count(self) -> builtins.int:
|
|
316
317
|
return pulumi.get(self, "scsi_controller_count")
|
|
317
318
|
|
|
318
319
|
@property
|
|
319
320
|
@pulumi.getter(name="scsiType")
|
|
320
|
-
def scsi_type(self) -> str:
|
|
321
|
+
def scsi_type(self) -> builtins.str:
|
|
321
322
|
return pulumi.get(self, "scsi_type")
|
|
322
323
|
|
|
323
324
|
@property
|
|
324
325
|
@pulumi.getter(name="swapPlacementPolicy")
|
|
325
|
-
def swap_placement_policy(self) -> str:
|
|
326
|
+
def swap_placement_policy(self) -> builtins.str:
|
|
326
327
|
"""
|
|
327
328
|
The swap file placement policy for the virtual
|
|
328
329
|
machine.
|
|
@@ -370,20 +371,20 @@ class AwaitableGetOvfVmTemplateResult(GetOvfVmTemplateResult):
|
|
|
370
371
|
swap_placement_policy=self.swap_placement_policy)
|
|
371
372
|
|
|
372
373
|
|
|
373
|
-
def get_ovf_vm_template(allow_unverified_ssl_cert: Optional[bool] = None,
|
|
374
|
-
datastore_id: Optional[str] = None,
|
|
375
|
-
deployment_option: Optional[str] = None,
|
|
376
|
-
disk_provisioning: Optional[str] = None,
|
|
377
|
-
enable_hidden_properties: Optional[bool] = None,
|
|
378
|
-
folder: Optional[str] = None,
|
|
379
|
-
host_system_id: Optional[str] = None,
|
|
380
|
-
ip_allocation_policy: Optional[str] = None,
|
|
381
|
-
ip_protocol: Optional[str] = None,
|
|
382
|
-
local_ovf_path: Optional[str] = None,
|
|
383
|
-
name: Optional[str] = None,
|
|
384
|
-
ovf_network_map: Optional[Mapping[str, str]] = None,
|
|
385
|
-
remote_ovf_url: Optional[str] = None,
|
|
386
|
-
resource_pool_id: Optional[str] = None,
|
|
374
|
+
def get_ovf_vm_template(allow_unverified_ssl_cert: Optional[builtins.bool] = None,
|
|
375
|
+
datastore_id: Optional[builtins.str] = None,
|
|
376
|
+
deployment_option: Optional[builtins.str] = None,
|
|
377
|
+
disk_provisioning: Optional[builtins.str] = None,
|
|
378
|
+
enable_hidden_properties: Optional[builtins.bool] = None,
|
|
379
|
+
folder: Optional[builtins.str] = None,
|
|
380
|
+
host_system_id: Optional[builtins.str] = None,
|
|
381
|
+
ip_allocation_policy: Optional[builtins.str] = None,
|
|
382
|
+
ip_protocol: Optional[builtins.str] = None,
|
|
383
|
+
local_ovf_path: Optional[builtins.str] = None,
|
|
384
|
+
name: Optional[builtins.str] = None,
|
|
385
|
+
ovf_network_map: Optional[Mapping[str, builtins.str]] = None,
|
|
386
|
+
remote_ovf_url: Optional[builtins.str] = None,
|
|
387
|
+
resource_pool_id: Optional[builtins.str] = None,
|
|
387
388
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOvfVmTemplateResult:
|
|
388
389
|
"""
|
|
389
390
|
The `get_ovf_vm_template` data source can be used to submit an OVF to
|
|
@@ -391,35 +392,35 @@ def get_ovf_vm_template(allow_unverified_ssl_cert: Optional[bool] = None,
|
|
|
391
392
|
inputs for a `VirtualMachine` resource.
|
|
392
393
|
|
|
393
394
|
|
|
394
|
-
:param bool allow_unverified_ssl_cert: Allow unverified SSL certificates
|
|
395
|
+
:param builtins.bool allow_unverified_ssl_cert: Allow unverified SSL certificates
|
|
395
396
|
when deploying OVF/OVA from a URL.
|
|
396
|
-
:param str datastore_id: The ID of the virtual machine's datastore. The
|
|
397
|
+
:param builtins.str datastore_id: The ID of the virtual machine's datastore. The
|
|
397
398
|
virtual machine configuration is placed here, along with any virtual disks
|
|
398
399
|
that are created without datastores.
|
|
399
|
-
:param str deployment_option: The key of the chosen deployment option. If
|
|
400
|
+
:param builtins.str deployment_option: The key of the chosen deployment option. If
|
|
400
401
|
empty, the default option is chosen.
|
|
401
|
-
:param str disk_provisioning: The disk provisioning type. If set, all the
|
|
402
|
+
:param builtins.str disk_provisioning: The disk provisioning type. If set, all the
|
|
402
403
|
disks in the deployed OVA/OVF will have the same specified disk type. Can be
|
|
403
404
|
one of `thin`, `flat`, `thick` or `sameAsSource`.
|
|
404
|
-
:param bool enable_hidden_properties: Allow properties with
|
|
405
|
+
:param builtins.bool enable_hidden_properties: Allow properties with
|
|
405
406
|
`ovf:userConfigurable=false` to be set.
|
|
406
|
-
:param str folder: The name of the folder in which to place the virtual
|
|
407
|
+
:param builtins.str folder: The name of the folder in which to place the virtual
|
|
407
408
|
machine.
|
|
408
|
-
:param str host_system_id: The ID of the ESXi host system to deploy the
|
|
409
|
+
:param builtins.str host_system_id: The ID of the ESXi host system to deploy the
|
|
409
410
|
virtual machine.
|
|
410
|
-
:param str ip_allocation_policy: The IP allocation policy.
|
|
411
|
-
:param str ip_protocol: The IP protocol.
|
|
412
|
-
:param str local_ovf_path: The absolute path to the OVF/OVA file on the
|
|
411
|
+
:param builtins.str ip_allocation_policy: The IP allocation policy.
|
|
412
|
+
:param builtins.str ip_protocol: The IP protocol.
|
|
413
|
+
:param builtins.str local_ovf_path: The absolute path to the OVF/OVA file on the
|
|
413
414
|
local system. When deploying from an OVF, ensure all necessary files such as
|
|
414
415
|
the `.vmdk` files are present in the same directory as the OVF.
|
|
415
|
-
:param str name: Name of the virtual machine to create.
|
|
416
|
-
:param Mapping[str, str] ovf_network_map: The mapping of name of network identifiers
|
|
416
|
+
:param builtins.str name: Name of the virtual machine to create.
|
|
417
|
+
:param Mapping[str, builtins.str] ovf_network_map: The mapping of name of network identifiers
|
|
417
418
|
from the OVF descriptor to network UUID in the environment.
|
|
418
|
-
:param str remote_ovf_url: URL of the remote OVF/OVA file to be deployed.
|
|
419
|
+
:param builtins.str remote_ovf_url: URL of the remote OVF/OVA file to be deployed.
|
|
419
420
|
|
|
420
421
|
> **NOTE:** Either `local_ovf_path` or `remote_ovf_url` is required, both can
|
|
421
422
|
not be empty.
|
|
422
|
-
:param str resource_pool_id: The ID of a resource pool in which to place
|
|
423
|
+
:param builtins.str resource_pool_id: The ID of a resource pool in which to place
|
|
423
424
|
the virtual machine.
|
|
424
425
|
"""
|
|
425
426
|
__args__ = dict()
|
|
@@ -473,20 +474,20 @@ def get_ovf_vm_template(allow_unverified_ssl_cert: Optional[bool] = None,
|
|
|
473
474
|
scsi_controller_count=pulumi.get(__ret__, 'scsi_controller_count'),
|
|
474
475
|
scsi_type=pulumi.get(__ret__, 'scsi_type'),
|
|
475
476
|
swap_placement_policy=pulumi.get(__ret__, 'swap_placement_policy'))
|
|
476
|
-
def get_ovf_vm_template_output(allow_unverified_ssl_cert: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
477
|
-
datastore_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
478
|
-
deployment_option: Optional[pulumi.Input[Optional[str]]] = None,
|
|
479
|
-
disk_provisioning: Optional[pulumi.Input[Optional[str]]] = None,
|
|
480
|
-
enable_hidden_properties: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
481
|
-
folder: Optional[pulumi.Input[Optional[str]]] = None,
|
|
482
|
-
host_system_id: Optional[pulumi.Input[str]] = None,
|
|
483
|
-
ip_allocation_policy: Optional[pulumi.Input[Optional[str]]] = None,
|
|
484
|
-
ip_protocol: Optional[pulumi.Input[Optional[str]]] = None,
|
|
485
|
-
local_ovf_path: Optional[pulumi.Input[Optional[str]]] = None,
|
|
486
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
487
|
-
ovf_network_map: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
|
|
488
|
-
remote_ovf_url: Optional[pulumi.Input[Optional[str]]] = None,
|
|
489
|
-
resource_pool_id: Optional[pulumi.Input[str]] = None,
|
|
477
|
+
def get_ovf_vm_template_output(allow_unverified_ssl_cert: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
478
|
+
datastore_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
479
|
+
deployment_option: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
480
|
+
disk_provisioning: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
481
|
+
enable_hidden_properties: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
482
|
+
folder: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
483
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
484
|
+
ip_allocation_policy: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
485
|
+
ip_protocol: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
486
|
+
local_ovf_path: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
487
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
488
|
+
ovf_network_map: Optional[pulumi.Input[Optional[Mapping[str, builtins.str]]]] = None,
|
|
489
|
+
remote_ovf_url: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
490
|
+
resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
490
491
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOvfVmTemplateResult]:
|
|
491
492
|
"""
|
|
492
493
|
The `get_ovf_vm_template` data source can be used to submit an OVF to
|
|
@@ -494,35 +495,35 @@ def get_ovf_vm_template_output(allow_unverified_ssl_cert: Optional[pulumi.Input[
|
|
|
494
495
|
inputs for a `VirtualMachine` resource.
|
|
495
496
|
|
|
496
497
|
|
|
497
|
-
:param bool allow_unverified_ssl_cert: Allow unverified SSL certificates
|
|
498
|
+
:param builtins.bool allow_unverified_ssl_cert: Allow unverified SSL certificates
|
|
498
499
|
when deploying OVF/OVA from a URL.
|
|
499
|
-
:param str datastore_id: The ID of the virtual machine's datastore. The
|
|
500
|
+
:param builtins.str datastore_id: The ID of the virtual machine's datastore. The
|
|
500
501
|
virtual machine configuration is placed here, along with any virtual disks
|
|
501
502
|
that are created without datastores.
|
|
502
|
-
:param str deployment_option: The key of the chosen deployment option. If
|
|
503
|
+
:param builtins.str deployment_option: The key of the chosen deployment option. If
|
|
503
504
|
empty, the default option is chosen.
|
|
504
|
-
:param str disk_provisioning: The disk provisioning type. If set, all the
|
|
505
|
+
:param builtins.str disk_provisioning: The disk provisioning type. If set, all the
|
|
505
506
|
disks in the deployed OVA/OVF will have the same specified disk type. Can be
|
|
506
507
|
one of `thin`, `flat`, `thick` or `sameAsSource`.
|
|
507
|
-
:param bool enable_hidden_properties: Allow properties with
|
|
508
|
+
:param builtins.bool enable_hidden_properties: Allow properties with
|
|
508
509
|
`ovf:userConfigurable=false` to be set.
|
|
509
|
-
:param str folder: The name of the folder in which to place the virtual
|
|
510
|
+
:param builtins.str folder: The name of the folder in which to place the virtual
|
|
510
511
|
machine.
|
|
511
|
-
:param str host_system_id: The ID of the ESXi host system to deploy the
|
|
512
|
+
:param builtins.str host_system_id: The ID of the ESXi host system to deploy the
|
|
512
513
|
virtual machine.
|
|
513
|
-
:param str ip_allocation_policy: The IP allocation policy.
|
|
514
|
-
:param str ip_protocol: The IP protocol.
|
|
515
|
-
:param str local_ovf_path: The absolute path to the OVF/OVA file on the
|
|
514
|
+
:param builtins.str ip_allocation_policy: The IP allocation policy.
|
|
515
|
+
:param builtins.str ip_protocol: The IP protocol.
|
|
516
|
+
:param builtins.str local_ovf_path: The absolute path to the OVF/OVA file on the
|
|
516
517
|
local system. When deploying from an OVF, ensure all necessary files such as
|
|
517
518
|
the `.vmdk` files are present in the same directory as the OVF.
|
|
518
|
-
:param str name: Name of the virtual machine to create.
|
|
519
|
-
:param Mapping[str, str] ovf_network_map: The mapping of name of network identifiers
|
|
519
|
+
:param builtins.str name: Name of the virtual machine to create.
|
|
520
|
+
:param Mapping[str, builtins.str] ovf_network_map: The mapping of name of network identifiers
|
|
520
521
|
from the OVF descriptor to network UUID in the environment.
|
|
521
|
-
:param str remote_ovf_url: URL of the remote OVF/OVA file to be deployed.
|
|
522
|
+
:param builtins.str remote_ovf_url: URL of the remote OVF/OVA file to be deployed.
|
|
522
523
|
|
|
523
524
|
> **NOTE:** Either `local_ovf_path` or `remote_ovf_url` is required, both can
|
|
524
525
|
not be empty.
|
|
525
|
-
:param str resource_pool_id: The ID of a resource pool in which to place
|
|
526
|
+
:param builtins.str resource_pool_id: The ID of a resource pool in which to place
|
|
526
527
|
the virtual machine.
|
|
527
528
|
"""
|
|
528
529
|
__args__ = dict()
|