pulumi-vsphere 4.8.0a1697162932__py3-none-any.whl → 4.8.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/_inputs.py +128 -543
- pulumi_vsphere/compute_cluster.py +132 -412
- pulumi_vsphere/compute_cluster_host_group.py +7 -37
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +11 -49
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +11 -49
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +13 -55
- pulumi_vsphere/compute_cluster_vm_group.py +7 -37
- pulumi_vsphere/compute_cluster_vm_host_rule.py +15 -61
- pulumi_vsphere/config/vars.py +1 -1
- pulumi_vsphere/content_library.py +11 -59
- pulumi_vsphere/content_library_item.py +13 -55
- pulumi_vsphere/custom_attribute.py +5 -31
- pulumi_vsphere/datacenter.py +10 -46
- pulumi_vsphere/datastore_cluster.py +51 -169
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +11 -49
- pulumi_vsphere/distributed_port_group.py +95 -301
- pulumi_vsphere/distributed_virtual_switch.py +190 -586
- pulumi_vsphere/dpm_host_override.py +9 -43
- pulumi_vsphere/drs_vm_override.py +9 -43
- pulumi_vsphere/entity_permissions.py +7 -37
- pulumi_vsphere/file.py +15 -61
- pulumi_vsphere/folder.py +11 -49
- pulumi_vsphere/get_compute_cluster.py +1 -1
- pulumi_vsphere/get_compute_cluster_host_group.py +1 -1
- pulumi_vsphere/get_content_library.py +1 -1
- pulumi_vsphere/get_content_library_item.py +1 -1
- pulumi_vsphere/get_custom_attribute.py +1 -1
- pulumi_vsphere/get_datacenter.py +1 -1
- pulumi_vsphere/get_datastore.py +1 -1
- pulumi_vsphere/get_datastore_cluster.py +1 -1
- pulumi_vsphere/get_distributed_virtual_switch.py +1 -1
- pulumi_vsphere/get_dynamic.py +1 -1
- pulumi_vsphere/get_folder.py +1 -1
- pulumi_vsphere/get_host.py +1 -1
- pulumi_vsphere/get_host_pci_device.py +1 -1
- pulumi_vsphere/get_host_thumbprint.py +1 -1
- pulumi_vsphere/get_license.py +1 -1
- pulumi_vsphere/get_network.py +1 -1
- pulumi_vsphere/get_ovf_vm_template.py +1 -1
- pulumi_vsphere/get_policy.py +1 -1
- pulumi_vsphere/get_resource_pool.py +1 -1
- pulumi_vsphere/get_role.py +1 -1
- pulumi_vsphere/get_tag.py +1 -1
- pulumi_vsphere/get_tag_category.py +1 -1
- pulumi_vsphere/get_vapp_container.py +1 -1
- pulumi_vsphere/get_virtual_machine.py +1 -1
- pulumi_vsphere/get_vmfs_disks.py +1 -1
- pulumi_vsphere/ha_vm_override.py +31 -109
- pulumi_vsphere/host.py +29 -103
- pulumi_vsphere/host_port_group.py +38 -130
- pulumi_vsphere/host_virtual_switch.py +43 -145
- pulumi_vsphere/license.py +9 -43
- pulumi_vsphere/nas_datastore.py +31 -109
- pulumi_vsphere/outputs.py +140 -593
- pulumi_vsphere/provider.py +14 -51
- pulumi_vsphere/resource_pool.py +31 -109
- pulumi_vsphere/role.py +6 -34
- pulumi_vsphere/storage_drs_vm_override.py +11 -49
- pulumi_vsphere/tag.py +7 -37
- pulumi_vsphere/tag_category.py +9 -43
- pulumi_vsphere/vapp_container.py +31 -109
- pulumi_vsphere/vapp_entity.py +21 -79
- pulumi_vsphere/virtual_disk.py +15 -61
- pulumi_vsphere/virtual_machine.py +160 -511
- pulumi_vsphere/virtual_machine_snapshot.py +15 -61
- pulumi_vsphere/vm_storage_policy.py +7 -37
- pulumi_vsphere/vmfs_datastore.py +22 -82
- pulumi_vsphere/vnic.py +21 -89
- {pulumi_vsphere-4.8.0a1697162932.dist-info → pulumi_vsphere-4.8.1.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.8.1.dist-info/RECORD +77 -0
- {pulumi_vsphere-4.8.0a1697162932.dist-info → pulumi_vsphere-4.8.1.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.8.0a1697162932.dist-info/RECORD +0 -77
- {pulumi_vsphere-4.8.0a1697162932.dist-info → pulumi_vsphere-4.8.1.dist-info}/top_level.txt +0 -0
pulumi_vsphere/_inputs.py
CHANGED
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any,
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = [
|
|
@@ -72,21 +72,10 @@ class ComputeClusterVsanDiskGroupArgs:
|
|
|
72
72
|
)])
|
|
73
73
|
```
|
|
74
74
|
"""
|
|
75
|
-
ComputeClusterVsanDiskGroupArgs._configure(
|
|
76
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
77
|
-
cache=cache,
|
|
78
|
-
storages=storages,
|
|
79
|
-
)
|
|
80
|
-
@staticmethod
|
|
81
|
-
def _configure(
|
|
82
|
-
_setter: Callable[[Any, Any], None],
|
|
83
|
-
cache: Optional[pulumi.Input[str]] = None,
|
|
84
|
-
storages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
85
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
86
75
|
if cache is not None:
|
|
87
|
-
|
|
76
|
+
pulumi.set(__self__, "cache", cache)
|
|
88
77
|
if storages is not None:
|
|
89
|
-
|
|
78
|
+
pulumi.set(__self__, "storages", storages)
|
|
90
79
|
|
|
91
80
|
@property
|
|
92
81
|
@pulumi.getter
|
|
@@ -156,33 +145,16 @@ class ContentLibraryPublicationArgs:
|
|
|
156
145
|
:param pulumi.Input[bool] published: Publish the content library. Default `false`.
|
|
157
146
|
:param pulumi.Input[str] username: Username used for authentication.
|
|
158
147
|
"""
|
|
159
|
-
ContentLibraryPublicationArgs._configure(
|
|
160
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
161
|
-
authentication_method=authentication_method,
|
|
162
|
-
password=password,
|
|
163
|
-
publish_url=publish_url,
|
|
164
|
-
published=published,
|
|
165
|
-
username=username,
|
|
166
|
-
)
|
|
167
|
-
@staticmethod
|
|
168
|
-
def _configure(
|
|
169
|
-
_setter: Callable[[Any, Any], None],
|
|
170
|
-
authentication_method: Optional[pulumi.Input[str]] = None,
|
|
171
|
-
password: Optional[pulumi.Input[str]] = None,
|
|
172
|
-
publish_url: Optional[pulumi.Input[str]] = None,
|
|
173
|
-
published: Optional[pulumi.Input[bool]] = None,
|
|
174
|
-
username: Optional[pulumi.Input[str]] = None,
|
|
175
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
176
148
|
if authentication_method is not None:
|
|
177
|
-
|
|
149
|
+
pulumi.set(__self__, "authentication_method", authentication_method)
|
|
178
150
|
if password is not None:
|
|
179
|
-
|
|
151
|
+
pulumi.set(__self__, "password", password)
|
|
180
152
|
if publish_url is not None:
|
|
181
|
-
|
|
153
|
+
pulumi.set(__self__, "publish_url", publish_url)
|
|
182
154
|
if published is not None:
|
|
183
|
-
|
|
155
|
+
pulumi.set(__self__, "published", published)
|
|
184
156
|
if username is not None:
|
|
185
|
-
|
|
157
|
+
pulumi.set(__self__, "username", username)
|
|
186
158
|
|
|
187
159
|
@property
|
|
188
160
|
@pulumi.getter(name="authenticationMethod")
|
|
@@ -262,37 +234,18 @@ class ContentLibrarySubscriptionArgs:
|
|
|
262
234
|
:param pulumi.Input[str] subscription_url: URL of the published content library.
|
|
263
235
|
:param pulumi.Input[str] username: Username used for authentication.
|
|
264
236
|
"""
|
|
265
|
-
ContentLibrarySubscriptionArgs._configure(
|
|
266
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
267
|
-
authentication_method=authentication_method,
|
|
268
|
-
automatic_sync=automatic_sync,
|
|
269
|
-
on_demand=on_demand,
|
|
270
|
-
password=password,
|
|
271
|
-
subscription_url=subscription_url,
|
|
272
|
-
username=username,
|
|
273
|
-
)
|
|
274
|
-
@staticmethod
|
|
275
|
-
def _configure(
|
|
276
|
-
_setter: Callable[[Any, Any], None],
|
|
277
|
-
authentication_method: Optional[pulumi.Input[str]] = None,
|
|
278
|
-
automatic_sync: Optional[pulumi.Input[bool]] = None,
|
|
279
|
-
on_demand: Optional[pulumi.Input[bool]] = None,
|
|
280
|
-
password: Optional[pulumi.Input[str]] = None,
|
|
281
|
-
subscription_url: Optional[pulumi.Input[str]] = None,
|
|
282
|
-
username: Optional[pulumi.Input[str]] = None,
|
|
283
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
284
237
|
if authentication_method is not None:
|
|
285
|
-
|
|
238
|
+
pulumi.set(__self__, "authentication_method", authentication_method)
|
|
286
239
|
if automatic_sync is not None:
|
|
287
|
-
|
|
240
|
+
pulumi.set(__self__, "automatic_sync", automatic_sync)
|
|
288
241
|
if on_demand is not None:
|
|
289
|
-
|
|
242
|
+
pulumi.set(__self__, "on_demand", on_demand)
|
|
290
243
|
if password is not None:
|
|
291
|
-
|
|
244
|
+
pulumi.set(__self__, "password", password)
|
|
292
245
|
if subscription_url is not None:
|
|
293
|
-
|
|
246
|
+
pulumi.set(__self__, "subscription_url", subscription_url)
|
|
294
247
|
if username is not None:
|
|
295
|
-
|
|
248
|
+
pulumi.set(__self__, "username", username)
|
|
296
249
|
|
|
297
250
|
@property
|
|
298
251
|
@pulumi.getter(name="authenticationMethod")
|
|
@@ -372,19 +325,8 @@ class DistributedPortGroupVlanRangeArgs:
|
|
|
372
325
|
def __init__(__self__, *,
|
|
373
326
|
max_vlan: pulumi.Input[int],
|
|
374
327
|
min_vlan: pulumi.Input[int]):
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
max_vlan=max_vlan,
|
|
378
|
-
min_vlan=min_vlan,
|
|
379
|
-
)
|
|
380
|
-
@staticmethod
|
|
381
|
-
def _configure(
|
|
382
|
-
_setter: Callable[[Any, Any], None],
|
|
383
|
-
max_vlan: pulumi.Input[int],
|
|
384
|
-
min_vlan: pulumi.Input[int],
|
|
385
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
386
|
-
_setter("max_vlan", max_vlan)
|
|
387
|
-
_setter("min_vlan", min_vlan)
|
|
328
|
+
pulumi.set(__self__, "max_vlan", max_vlan)
|
|
329
|
+
pulumi.set(__self__, "min_vlan", min_vlan)
|
|
388
330
|
|
|
389
331
|
@property
|
|
390
332
|
@pulumi.getter(name="maxVlan")
|
|
@@ -416,20 +358,9 @@ class DistributedVirtualSwitchHostArgs:
|
|
|
416
358
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The list of NIC devices to map to uplinks on the VDS,
|
|
417
359
|
added in order they are specified.
|
|
418
360
|
"""
|
|
419
|
-
|
|
420
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
421
|
-
host_system_id=host_system_id,
|
|
422
|
-
devices=devices,
|
|
423
|
-
)
|
|
424
|
-
@staticmethod
|
|
425
|
-
def _configure(
|
|
426
|
-
_setter: Callable[[Any, Any], None],
|
|
427
|
-
host_system_id: pulumi.Input[str],
|
|
428
|
-
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
429
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
430
|
-
_setter("host_system_id", host_system_id)
|
|
361
|
+
pulumi.set(__self__, "host_system_id", host_system_id)
|
|
431
362
|
if devices is not None:
|
|
432
|
-
|
|
363
|
+
pulumi.set(__self__, "devices", devices)
|
|
433
364
|
|
|
434
365
|
@property
|
|
435
366
|
@pulumi.getter(name="hostSystemId")
|
|
@@ -472,22 +403,9 @@ class DistributedVirtualSwitchPvlanMappingArgs:
|
|
|
472
403
|
:param pulumi.Input[int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0
|
|
473
404
|
and 4095 are reserved and cannot be used in this property.
|
|
474
405
|
"""
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
pvlan_type=pvlan_type,
|
|
479
|
-
secondary_vlan_id=secondary_vlan_id,
|
|
480
|
-
)
|
|
481
|
-
@staticmethod
|
|
482
|
-
def _configure(
|
|
483
|
-
_setter: Callable[[Any, Any], None],
|
|
484
|
-
primary_vlan_id: pulumi.Input[int],
|
|
485
|
-
pvlan_type: pulumi.Input[str],
|
|
486
|
-
secondary_vlan_id: pulumi.Input[int],
|
|
487
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
488
|
-
_setter("primary_vlan_id", primary_vlan_id)
|
|
489
|
-
_setter("pvlan_type", pvlan_type)
|
|
490
|
-
_setter("secondary_vlan_id", secondary_vlan_id)
|
|
406
|
+
pulumi.set(__self__, "primary_vlan_id", primary_vlan_id)
|
|
407
|
+
pulumi.set(__self__, "pvlan_type", pvlan_type)
|
|
408
|
+
pulumi.set(__self__, "secondary_vlan_id", secondary_vlan_id)
|
|
491
409
|
|
|
492
410
|
@property
|
|
493
411
|
@pulumi.getter(name="primaryVlanId")
|
|
@@ -534,19 +452,8 @@ class DistributedVirtualSwitchVlanRangeArgs:
|
|
|
534
452
|
def __init__(__self__, *,
|
|
535
453
|
max_vlan: pulumi.Input[int],
|
|
536
454
|
min_vlan: pulumi.Input[int]):
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
max_vlan=max_vlan,
|
|
540
|
-
min_vlan=min_vlan,
|
|
541
|
-
)
|
|
542
|
-
@staticmethod
|
|
543
|
-
def _configure(
|
|
544
|
-
_setter: Callable[[Any, Any], None],
|
|
545
|
-
max_vlan: pulumi.Input[int],
|
|
546
|
-
min_vlan: pulumi.Input[int],
|
|
547
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
548
|
-
_setter("max_vlan", max_vlan)
|
|
549
|
-
_setter("min_vlan", min_vlan)
|
|
455
|
+
pulumi.set(__self__, "max_vlan", max_vlan)
|
|
456
|
+
pulumi.set(__self__, "min_vlan", min_vlan)
|
|
550
457
|
|
|
551
458
|
@property
|
|
552
459
|
@pulumi.getter(name="maxVlan")
|
|
@@ -580,25 +487,10 @@ class EntityPermissionsPermissionArgs:
|
|
|
580
487
|
:param pulumi.Input[str] role_id: The role id of the role to be given to the user on the specified entity.
|
|
581
488
|
:param pulumi.Input[str] user_or_group: The user/group getting the permission.
|
|
582
489
|
"""
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
role_id=role_id,
|
|
588
|
-
user_or_group=user_or_group,
|
|
589
|
-
)
|
|
590
|
-
@staticmethod
|
|
591
|
-
def _configure(
|
|
592
|
-
_setter: Callable[[Any, Any], None],
|
|
593
|
-
is_group: pulumi.Input[bool],
|
|
594
|
-
propagate: pulumi.Input[bool],
|
|
595
|
-
role_id: pulumi.Input[str],
|
|
596
|
-
user_or_group: pulumi.Input[str],
|
|
597
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
598
|
-
_setter("is_group", is_group)
|
|
599
|
-
_setter("propagate", propagate)
|
|
600
|
-
_setter("role_id", role_id)
|
|
601
|
-
_setter("user_or_group", user_or_group)
|
|
490
|
+
pulumi.set(__self__, "is_group", is_group)
|
|
491
|
+
pulumi.set(__self__, "propagate", propagate)
|
|
492
|
+
pulumi.set(__self__, "role_id", role_id)
|
|
493
|
+
pulumi.set(__self__, "user_or_group", user_or_group)
|
|
602
494
|
|
|
603
495
|
@property
|
|
604
496
|
@pulumi.getter(name="isGroup")
|
|
@@ -658,25 +550,12 @@ class HostPortGroupPortArgs:
|
|
|
658
550
|
"""
|
|
659
551
|
:param pulumi.Input[str] key: The key for this port group as returned from the vSphere API.
|
|
660
552
|
"""
|
|
661
|
-
HostPortGroupPortArgs._configure(
|
|
662
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
663
|
-
key=key,
|
|
664
|
-
mac_addresses=mac_addresses,
|
|
665
|
-
type=type,
|
|
666
|
-
)
|
|
667
|
-
@staticmethod
|
|
668
|
-
def _configure(
|
|
669
|
-
_setter: Callable[[Any, Any], None],
|
|
670
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
671
|
-
mac_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
672
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
673
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
674
553
|
if key is not None:
|
|
675
|
-
|
|
554
|
+
pulumi.set(__self__, "key", key)
|
|
676
555
|
if mac_addresses is not None:
|
|
677
|
-
|
|
556
|
+
pulumi.set(__self__, "mac_addresses", mac_addresses)
|
|
678
557
|
if type is not None:
|
|
679
|
-
|
|
558
|
+
pulumi.set(__self__, "type", type)
|
|
680
559
|
|
|
681
560
|
@property
|
|
682
561
|
@pulumi.getter
|
|
@@ -727,33 +606,16 @@ class VirtualMachineCdromArgs:
|
|
|
727
606
|
|
|
728
607
|
> **NOTE:** Some CD-ROM drive types are not supported by this resource, such as pass-through devices. If these drives are present in a cloned template, or added outside of the provider, the desired state will be corrected to the defined device, or removed if no `cdrom` block is present.
|
|
729
608
|
"""
|
|
730
|
-
VirtualMachineCdromArgs._configure(
|
|
731
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
732
|
-
client_device=client_device,
|
|
733
|
-
datastore_id=datastore_id,
|
|
734
|
-
device_address=device_address,
|
|
735
|
-
key=key,
|
|
736
|
-
path=path,
|
|
737
|
-
)
|
|
738
|
-
@staticmethod
|
|
739
|
-
def _configure(
|
|
740
|
-
_setter: Callable[[Any, Any], None],
|
|
741
|
-
client_device: Optional[pulumi.Input[bool]] = None,
|
|
742
|
-
datastore_id: Optional[pulumi.Input[str]] = None,
|
|
743
|
-
device_address: Optional[pulumi.Input[str]] = None,
|
|
744
|
-
key: Optional[pulumi.Input[int]] = None,
|
|
745
|
-
path: Optional[pulumi.Input[str]] = None,
|
|
746
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
747
609
|
if client_device is not None:
|
|
748
|
-
|
|
610
|
+
pulumi.set(__self__, "client_device", client_device)
|
|
749
611
|
if datastore_id is not None:
|
|
750
|
-
|
|
612
|
+
pulumi.set(__self__, "datastore_id", datastore_id)
|
|
751
613
|
if device_address is not None:
|
|
752
|
-
|
|
614
|
+
pulumi.set(__self__, "device_address", device_address)
|
|
753
615
|
if key is not None:
|
|
754
|
-
|
|
616
|
+
pulumi.set(__self__, "key", key)
|
|
755
617
|
if path is not None:
|
|
756
|
-
|
|
618
|
+
pulumi.set(__self__, "path", path)
|
|
757
619
|
|
|
758
620
|
@property
|
|
759
621
|
@pulumi.getter(name="clientDevice")
|
|
@@ -826,36 +688,17 @@ class VirtualMachineCloneArgs:
|
|
|
826
688
|
ovf_network_map: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
827
689
|
ovf_storage_map: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
828
690
|
timeout: Optional[pulumi.Input[int]] = None):
|
|
829
|
-
|
|
830
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
831
|
-
template_uuid=template_uuid,
|
|
832
|
-
customize=customize,
|
|
833
|
-
linked_clone=linked_clone,
|
|
834
|
-
ovf_network_map=ovf_network_map,
|
|
835
|
-
ovf_storage_map=ovf_storage_map,
|
|
836
|
-
timeout=timeout,
|
|
837
|
-
)
|
|
838
|
-
@staticmethod
|
|
839
|
-
def _configure(
|
|
840
|
-
_setter: Callable[[Any, Any], None],
|
|
841
|
-
template_uuid: pulumi.Input[str],
|
|
842
|
-
customize: Optional[pulumi.Input['VirtualMachineCloneCustomizeArgs']] = None,
|
|
843
|
-
linked_clone: Optional[pulumi.Input[bool]] = None,
|
|
844
|
-
ovf_network_map: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
845
|
-
ovf_storage_map: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
846
|
-
timeout: Optional[pulumi.Input[int]] = None,
|
|
847
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
848
|
-
_setter("template_uuid", template_uuid)
|
|
691
|
+
pulumi.set(__self__, "template_uuid", template_uuid)
|
|
849
692
|
if customize is not None:
|
|
850
|
-
|
|
693
|
+
pulumi.set(__self__, "customize", customize)
|
|
851
694
|
if linked_clone is not None:
|
|
852
|
-
|
|
695
|
+
pulumi.set(__self__, "linked_clone", linked_clone)
|
|
853
696
|
if ovf_network_map is not None:
|
|
854
|
-
|
|
697
|
+
pulumi.set(__self__, "ovf_network_map", ovf_network_map)
|
|
855
698
|
if ovf_storage_map is not None:
|
|
856
|
-
|
|
699
|
+
pulumi.set(__self__, "ovf_storage_map", ovf_storage_map)
|
|
857
700
|
if timeout is not None:
|
|
858
|
-
|
|
701
|
+
pulumi.set(__self__, "timeout", timeout)
|
|
859
702
|
|
|
860
703
|
@property
|
|
861
704
|
@pulumi.getter(name="templateUuid")
|
|
@@ -927,49 +770,24 @@ class VirtualMachineCloneCustomizeArgs:
|
|
|
927
770
|
"""
|
|
928
771
|
:param pulumi.Input[Sequence[pulumi.Input['VirtualMachineCloneCustomizeNetworkInterfaceArgs']]] network_interfaces: A specification for a virtual NIC on the virtual machine. See network interface options for more information.
|
|
929
772
|
"""
|
|
930
|
-
VirtualMachineCloneCustomizeArgs._configure(
|
|
931
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
932
|
-
dns_server_lists=dns_server_lists,
|
|
933
|
-
dns_suffix_lists=dns_suffix_lists,
|
|
934
|
-
ipv4_gateway=ipv4_gateway,
|
|
935
|
-
ipv6_gateway=ipv6_gateway,
|
|
936
|
-
linux_options=linux_options,
|
|
937
|
-
network_interfaces=network_interfaces,
|
|
938
|
-
timeout=timeout,
|
|
939
|
-
windows_options=windows_options,
|
|
940
|
-
windows_sysprep_text=windows_sysprep_text,
|
|
941
|
-
)
|
|
942
|
-
@staticmethod
|
|
943
|
-
def _configure(
|
|
944
|
-
_setter: Callable[[Any, Any], None],
|
|
945
|
-
dns_server_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
946
|
-
dns_suffix_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
947
|
-
ipv4_gateway: Optional[pulumi.Input[str]] = None,
|
|
948
|
-
ipv6_gateway: Optional[pulumi.Input[str]] = None,
|
|
949
|
-
linux_options: Optional[pulumi.Input['VirtualMachineCloneCustomizeLinuxOptionsArgs']] = None,
|
|
950
|
-
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualMachineCloneCustomizeNetworkInterfaceArgs']]]] = None,
|
|
951
|
-
timeout: Optional[pulumi.Input[int]] = None,
|
|
952
|
-
windows_options: Optional[pulumi.Input['VirtualMachineCloneCustomizeWindowsOptionsArgs']] = None,
|
|
953
|
-
windows_sysprep_text: Optional[pulumi.Input[str]] = None,
|
|
954
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
955
773
|
if dns_server_lists is not None:
|
|
956
|
-
|
|
774
|
+
pulumi.set(__self__, "dns_server_lists", dns_server_lists)
|
|
957
775
|
if dns_suffix_lists is not None:
|
|
958
|
-
|
|
776
|
+
pulumi.set(__self__, "dns_suffix_lists", dns_suffix_lists)
|
|
959
777
|
if ipv4_gateway is not None:
|
|
960
|
-
|
|
778
|
+
pulumi.set(__self__, "ipv4_gateway", ipv4_gateway)
|
|
961
779
|
if ipv6_gateway is not None:
|
|
962
|
-
|
|
780
|
+
pulumi.set(__self__, "ipv6_gateway", ipv6_gateway)
|
|
963
781
|
if linux_options is not None:
|
|
964
|
-
|
|
782
|
+
pulumi.set(__self__, "linux_options", linux_options)
|
|
965
783
|
if network_interfaces is not None:
|
|
966
|
-
|
|
784
|
+
pulumi.set(__self__, "network_interfaces", network_interfaces)
|
|
967
785
|
if timeout is not None:
|
|
968
|
-
|
|
786
|
+
pulumi.set(__self__, "timeout", timeout)
|
|
969
787
|
if windows_options is not None:
|
|
970
|
-
|
|
788
|
+
pulumi.set(__self__, "windows_options", windows_options)
|
|
971
789
|
if windows_sysprep_text is not None:
|
|
972
|
-
|
|
790
|
+
pulumi.set(__self__, "windows_sysprep_text", windows_sysprep_text)
|
|
973
791
|
|
|
974
792
|
@property
|
|
975
793
|
@pulumi.getter(name="dnsServerLists")
|
|
@@ -1064,31 +882,14 @@ class VirtualMachineCloneCustomizeLinuxOptionsArgs:
|
|
|
1064
882
|
hw_clock_utc: Optional[pulumi.Input[bool]] = None,
|
|
1065
883
|
script_text: Optional[pulumi.Input[str]] = None,
|
|
1066
884
|
time_zone: Optional[pulumi.Input[str]] = None):
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
domain=domain,
|
|
1070
|
-
host_name=host_name,
|
|
1071
|
-
hw_clock_utc=hw_clock_utc,
|
|
1072
|
-
script_text=script_text,
|
|
1073
|
-
time_zone=time_zone,
|
|
1074
|
-
)
|
|
1075
|
-
@staticmethod
|
|
1076
|
-
def _configure(
|
|
1077
|
-
_setter: Callable[[Any, Any], None],
|
|
1078
|
-
domain: pulumi.Input[str],
|
|
1079
|
-
host_name: pulumi.Input[str],
|
|
1080
|
-
hw_clock_utc: Optional[pulumi.Input[bool]] = None,
|
|
1081
|
-
script_text: Optional[pulumi.Input[str]] = None,
|
|
1082
|
-
time_zone: Optional[pulumi.Input[str]] = None,
|
|
1083
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
1084
|
-
_setter("domain", domain)
|
|
1085
|
-
_setter("host_name", host_name)
|
|
885
|
+
pulumi.set(__self__, "domain", domain)
|
|
886
|
+
pulumi.set(__self__, "host_name", host_name)
|
|
1086
887
|
if hw_clock_utc is not None:
|
|
1087
|
-
|
|
888
|
+
pulumi.set(__self__, "hw_clock_utc", hw_clock_utc)
|
|
1088
889
|
if script_text is not None:
|
|
1089
|
-
|
|
890
|
+
pulumi.set(__self__, "script_text", script_text)
|
|
1090
891
|
if time_zone is not None:
|
|
1091
|
-
|
|
892
|
+
pulumi.set(__self__, "time_zone", time_zone)
|
|
1092
893
|
|
|
1093
894
|
@property
|
|
1094
895
|
@pulumi.getter
|
|
@@ -1145,37 +946,18 @@ class VirtualMachineCloneCustomizeNetworkInterfaceArgs:
|
|
|
1145
946
|
ipv4_netmask: Optional[pulumi.Input[int]] = None,
|
|
1146
947
|
ipv6_address: Optional[pulumi.Input[str]] = None,
|
|
1147
948
|
ipv6_netmask: Optional[pulumi.Input[int]] = None):
|
|
1148
|
-
VirtualMachineCloneCustomizeNetworkInterfaceArgs._configure(
|
|
1149
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
1150
|
-
dns_domain=dns_domain,
|
|
1151
|
-
dns_server_lists=dns_server_lists,
|
|
1152
|
-
ipv4_address=ipv4_address,
|
|
1153
|
-
ipv4_netmask=ipv4_netmask,
|
|
1154
|
-
ipv6_address=ipv6_address,
|
|
1155
|
-
ipv6_netmask=ipv6_netmask,
|
|
1156
|
-
)
|
|
1157
|
-
@staticmethod
|
|
1158
|
-
def _configure(
|
|
1159
|
-
_setter: Callable[[Any, Any], None],
|
|
1160
|
-
dns_domain: Optional[pulumi.Input[str]] = None,
|
|
1161
|
-
dns_server_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1162
|
-
ipv4_address: Optional[pulumi.Input[str]] = None,
|
|
1163
|
-
ipv4_netmask: Optional[pulumi.Input[int]] = None,
|
|
1164
|
-
ipv6_address: Optional[pulumi.Input[str]] = None,
|
|
1165
|
-
ipv6_netmask: Optional[pulumi.Input[int]] = None,
|
|
1166
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
1167
949
|
if dns_domain is not None:
|
|
1168
|
-
|
|
950
|
+
pulumi.set(__self__, "dns_domain", dns_domain)
|
|
1169
951
|
if dns_server_lists is not None:
|
|
1170
|
-
|
|
952
|
+
pulumi.set(__self__, "dns_server_lists", dns_server_lists)
|
|
1171
953
|
if ipv4_address is not None:
|
|
1172
|
-
|
|
954
|
+
pulumi.set(__self__, "ipv4_address", ipv4_address)
|
|
1173
955
|
if ipv4_netmask is not None:
|
|
1174
|
-
|
|
956
|
+
pulumi.set(__self__, "ipv4_netmask", ipv4_netmask)
|
|
1175
957
|
if ipv6_address is not None:
|
|
1176
|
-
|
|
958
|
+
pulumi.set(__self__, "ipv6_address", ipv6_address)
|
|
1177
959
|
if ipv6_netmask is not None:
|
|
1178
|
-
|
|
960
|
+
pulumi.set(__self__, "ipv6_netmask", ipv6_netmask)
|
|
1179
961
|
|
|
1180
962
|
@property
|
|
1181
963
|
@pulumi.getter(name="dnsDomain")
|
|
@@ -1248,64 +1030,31 @@ class VirtualMachineCloneCustomizeWindowsOptionsArgs:
|
|
|
1248
1030
|
run_once_command_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1249
1031
|
time_zone: Optional[pulumi.Input[int]] = None,
|
|
1250
1032
|
workgroup: Optional[pulumi.Input[str]] = None):
|
|
1251
|
-
|
|
1252
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
1253
|
-
computer_name=computer_name,
|
|
1254
|
-
admin_password=admin_password,
|
|
1255
|
-
auto_logon=auto_logon,
|
|
1256
|
-
auto_logon_count=auto_logon_count,
|
|
1257
|
-
domain_admin_password=domain_admin_password,
|
|
1258
|
-
domain_admin_user=domain_admin_user,
|
|
1259
|
-
full_name=full_name,
|
|
1260
|
-
join_domain=join_domain,
|
|
1261
|
-
organization_name=organization_name,
|
|
1262
|
-
product_key=product_key,
|
|
1263
|
-
run_once_command_lists=run_once_command_lists,
|
|
1264
|
-
time_zone=time_zone,
|
|
1265
|
-
workgroup=workgroup,
|
|
1266
|
-
)
|
|
1267
|
-
@staticmethod
|
|
1268
|
-
def _configure(
|
|
1269
|
-
_setter: Callable[[Any, Any], None],
|
|
1270
|
-
computer_name: pulumi.Input[str],
|
|
1271
|
-
admin_password: Optional[pulumi.Input[str]] = None,
|
|
1272
|
-
auto_logon: Optional[pulumi.Input[bool]] = None,
|
|
1273
|
-
auto_logon_count: Optional[pulumi.Input[int]] = None,
|
|
1274
|
-
domain_admin_password: Optional[pulumi.Input[str]] = None,
|
|
1275
|
-
domain_admin_user: Optional[pulumi.Input[str]] = None,
|
|
1276
|
-
full_name: Optional[pulumi.Input[str]] = None,
|
|
1277
|
-
join_domain: Optional[pulumi.Input[str]] = None,
|
|
1278
|
-
organization_name: Optional[pulumi.Input[str]] = None,
|
|
1279
|
-
product_key: Optional[pulumi.Input[str]] = None,
|
|
1280
|
-
run_once_command_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1281
|
-
time_zone: Optional[pulumi.Input[int]] = None,
|
|
1282
|
-
workgroup: Optional[pulumi.Input[str]] = None,
|
|
1283
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
1284
|
-
_setter("computer_name", computer_name)
|
|
1033
|
+
pulumi.set(__self__, "computer_name", computer_name)
|
|
1285
1034
|
if admin_password is not None:
|
|
1286
|
-
|
|
1035
|
+
pulumi.set(__self__, "admin_password", admin_password)
|
|
1287
1036
|
if auto_logon is not None:
|
|
1288
|
-
|
|
1037
|
+
pulumi.set(__self__, "auto_logon", auto_logon)
|
|
1289
1038
|
if auto_logon_count is not None:
|
|
1290
|
-
|
|
1039
|
+
pulumi.set(__self__, "auto_logon_count", auto_logon_count)
|
|
1291
1040
|
if domain_admin_password is not None:
|
|
1292
|
-
|
|
1041
|
+
pulumi.set(__self__, "domain_admin_password", domain_admin_password)
|
|
1293
1042
|
if domain_admin_user is not None:
|
|
1294
|
-
|
|
1043
|
+
pulumi.set(__self__, "domain_admin_user", domain_admin_user)
|
|
1295
1044
|
if full_name is not None:
|
|
1296
|
-
|
|
1045
|
+
pulumi.set(__self__, "full_name", full_name)
|
|
1297
1046
|
if join_domain is not None:
|
|
1298
|
-
|
|
1047
|
+
pulumi.set(__self__, "join_domain", join_domain)
|
|
1299
1048
|
if organization_name is not None:
|
|
1300
|
-
|
|
1049
|
+
pulumi.set(__self__, "organization_name", organization_name)
|
|
1301
1050
|
if product_key is not None:
|
|
1302
|
-
|
|
1051
|
+
pulumi.set(__self__, "product_key", product_key)
|
|
1303
1052
|
if run_once_command_lists is not None:
|
|
1304
|
-
|
|
1053
|
+
pulumi.set(__self__, "run_once_command_lists", run_once_command_lists)
|
|
1305
1054
|
if time_zone is not None:
|
|
1306
|
-
|
|
1055
|
+
pulumi.set(__self__, "time_zone", time_zone)
|
|
1307
1056
|
if workgroup is not None:
|
|
1308
|
-
|
|
1057
|
+
pulumi.set(__self__, "workgroup", workgroup)
|
|
1309
1058
|
|
|
1310
1059
|
@property
|
|
1311
1060
|
@pulumi.getter(name="computerName")
|
|
@@ -1480,96 +1229,47 @@ class VirtualMachineDiskArgs:
|
|
|
1480
1229
|
:param pulumi.Input[str] uuid: The UUID of the virtual disk VMDK file. This is used to track the virtual disk on the virtual machine.
|
|
1481
1230
|
:param pulumi.Input[bool] write_through: If `true`, writes for this disk are sent directly to the filesystem immediately instead of being buffered. Default: `false`.
|
|
1482
1231
|
"""
|
|
1483
|
-
|
|
1484
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
1485
|
-
label=label,
|
|
1486
|
-
attach=attach,
|
|
1487
|
-
controller_type=controller_type,
|
|
1488
|
-
datastore_id=datastore_id,
|
|
1489
|
-
device_address=device_address,
|
|
1490
|
-
disk_mode=disk_mode,
|
|
1491
|
-
disk_sharing=disk_sharing,
|
|
1492
|
-
eagerly_scrub=eagerly_scrub,
|
|
1493
|
-
io_limit=io_limit,
|
|
1494
|
-
io_reservation=io_reservation,
|
|
1495
|
-
io_share_count=io_share_count,
|
|
1496
|
-
io_share_level=io_share_level,
|
|
1497
|
-
keep_on_remove=keep_on_remove,
|
|
1498
|
-
key=key,
|
|
1499
|
-
path=path,
|
|
1500
|
-
size=size,
|
|
1501
|
-
storage_policy_id=storage_policy_id,
|
|
1502
|
-
thin_provisioned=thin_provisioned,
|
|
1503
|
-
unit_number=unit_number,
|
|
1504
|
-
uuid=uuid,
|
|
1505
|
-
write_through=write_through,
|
|
1506
|
-
)
|
|
1507
|
-
@staticmethod
|
|
1508
|
-
def _configure(
|
|
1509
|
-
_setter: Callable[[Any, Any], None],
|
|
1510
|
-
label: pulumi.Input[str],
|
|
1511
|
-
attach: Optional[pulumi.Input[bool]] = None,
|
|
1512
|
-
controller_type: Optional[pulumi.Input[str]] = None,
|
|
1513
|
-
datastore_id: Optional[pulumi.Input[str]] = None,
|
|
1514
|
-
device_address: Optional[pulumi.Input[str]] = None,
|
|
1515
|
-
disk_mode: Optional[pulumi.Input[str]] = None,
|
|
1516
|
-
disk_sharing: Optional[pulumi.Input[str]] = None,
|
|
1517
|
-
eagerly_scrub: Optional[pulumi.Input[bool]] = None,
|
|
1518
|
-
io_limit: Optional[pulumi.Input[int]] = None,
|
|
1519
|
-
io_reservation: Optional[pulumi.Input[int]] = None,
|
|
1520
|
-
io_share_count: Optional[pulumi.Input[int]] = None,
|
|
1521
|
-
io_share_level: Optional[pulumi.Input[str]] = None,
|
|
1522
|
-
keep_on_remove: Optional[pulumi.Input[bool]] = None,
|
|
1523
|
-
key: Optional[pulumi.Input[int]] = None,
|
|
1524
|
-
path: Optional[pulumi.Input[str]] = None,
|
|
1525
|
-
size: Optional[pulumi.Input[int]] = None,
|
|
1526
|
-
storage_policy_id: Optional[pulumi.Input[str]] = None,
|
|
1527
|
-
thin_provisioned: Optional[pulumi.Input[bool]] = None,
|
|
1528
|
-
unit_number: Optional[pulumi.Input[int]] = None,
|
|
1529
|
-
uuid: Optional[pulumi.Input[str]] = None,
|
|
1530
|
-
write_through: Optional[pulumi.Input[bool]] = None,
|
|
1531
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
1532
|
-
_setter("label", label)
|
|
1232
|
+
pulumi.set(__self__, "label", label)
|
|
1533
1233
|
if attach is not None:
|
|
1534
|
-
|
|
1234
|
+
pulumi.set(__self__, "attach", attach)
|
|
1535
1235
|
if controller_type is not None:
|
|
1536
|
-
|
|
1236
|
+
pulumi.set(__self__, "controller_type", controller_type)
|
|
1537
1237
|
if datastore_id is not None:
|
|
1538
|
-
|
|
1238
|
+
pulumi.set(__self__, "datastore_id", datastore_id)
|
|
1539
1239
|
if device_address is not None:
|
|
1540
|
-
|
|
1240
|
+
pulumi.set(__self__, "device_address", device_address)
|
|
1541
1241
|
if disk_mode is not None:
|
|
1542
|
-
|
|
1242
|
+
pulumi.set(__self__, "disk_mode", disk_mode)
|
|
1543
1243
|
if disk_sharing is not None:
|
|
1544
|
-
|
|
1244
|
+
pulumi.set(__self__, "disk_sharing", disk_sharing)
|
|
1545
1245
|
if eagerly_scrub is not None:
|
|
1546
|
-
|
|
1246
|
+
pulumi.set(__self__, "eagerly_scrub", eagerly_scrub)
|
|
1547
1247
|
if io_limit is not None:
|
|
1548
|
-
|
|
1248
|
+
pulumi.set(__self__, "io_limit", io_limit)
|
|
1549
1249
|
if io_reservation is not None:
|
|
1550
|
-
|
|
1250
|
+
pulumi.set(__self__, "io_reservation", io_reservation)
|
|
1551
1251
|
if io_share_count is not None:
|
|
1552
|
-
|
|
1252
|
+
pulumi.set(__self__, "io_share_count", io_share_count)
|
|
1553
1253
|
if io_share_level is not None:
|
|
1554
|
-
|
|
1254
|
+
pulumi.set(__self__, "io_share_level", io_share_level)
|
|
1555
1255
|
if keep_on_remove is not None:
|
|
1556
|
-
|
|
1256
|
+
pulumi.set(__self__, "keep_on_remove", keep_on_remove)
|
|
1557
1257
|
if key is not None:
|
|
1558
|
-
|
|
1258
|
+
pulumi.set(__self__, "key", key)
|
|
1559
1259
|
if path is not None:
|
|
1560
|
-
|
|
1260
|
+
pulumi.set(__self__, "path", path)
|
|
1561
1261
|
if size is not None:
|
|
1562
|
-
|
|
1262
|
+
pulumi.set(__self__, "size", size)
|
|
1563
1263
|
if storage_policy_id is not None:
|
|
1564
|
-
|
|
1264
|
+
pulumi.set(__self__, "storage_policy_id", storage_policy_id)
|
|
1565
1265
|
if thin_provisioned is not None:
|
|
1566
|
-
|
|
1266
|
+
pulumi.set(__self__, "thin_provisioned", thin_provisioned)
|
|
1567
1267
|
if unit_number is not None:
|
|
1568
|
-
|
|
1268
|
+
pulumi.set(__self__, "unit_number", unit_number)
|
|
1569
1269
|
if uuid is not None:
|
|
1570
|
-
|
|
1270
|
+
pulumi.set(__self__, "uuid", uuid)
|
|
1571
1271
|
if write_through is not None:
|
|
1572
|
-
|
|
1272
|
+
pulumi.set(__self__, "write_through", write_through)
|
|
1573
1273
|
|
|
1574
1274
|
@property
|
|
1575
1275
|
@pulumi.getter
|
|
@@ -1854,56 +1554,27 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
1854
1554
|
:param pulumi.Input[str] ovf_mapping: Specifies which NIC in an OVF/OVA the `network_interface` should be associated. Only applies at creation when deploying from an OVF/OVA.
|
|
1855
1555
|
:param pulumi.Input[bool] use_static_mac: If true, the `mac_address` field is treated as a static MAC address and set accordingly. Setting this to `true` requires `mac_address` to be set. Default: `false`.
|
|
1856
1556
|
"""
|
|
1857
|
-
|
|
1858
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
1859
|
-
network_id=network_id,
|
|
1860
|
-
adapter_type=adapter_type,
|
|
1861
|
-
bandwidth_limit=bandwidth_limit,
|
|
1862
|
-
bandwidth_reservation=bandwidth_reservation,
|
|
1863
|
-
bandwidth_share_count=bandwidth_share_count,
|
|
1864
|
-
bandwidth_share_level=bandwidth_share_level,
|
|
1865
|
-
device_address=device_address,
|
|
1866
|
-
key=key,
|
|
1867
|
-
mac_address=mac_address,
|
|
1868
|
-
ovf_mapping=ovf_mapping,
|
|
1869
|
-
use_static_mac=use_static_mac,
|
|
1870
|
-
)
|
|
1871
|
-
@staticmethod
|
|
1872
|
-
def _configure(
|
|
1873
|
-
_setter: Callable[[Any, Any], None],
|
|
1874
|
-
network_id: pulumi.Input[str],
|
|
1875
|
-
adapter_type: Optional[pulumi.Input[str]] = None,
|
|
1876
|
-
bandwidth_limit: Optional[pulumi.Input[int]] = None,
|
|
1877
|
-
bandwidth_reservation: Optional[pulumi.Input[int]] = None,
|
|
1878
|
-
bandwidth_share_count: Optional[pulumi.Input[int]] = None,
|
|
1879
|
-
bandwidth_share_level: Optional[pulumi.Input[str]] = None,
|
|
1880
|
-
device_address: Optional[pulumi.Input[str]] = None,
|
|
1881
|
-
key: Optional[pulumi.Input[int]] = None,
|
|
1882
|
-
mac_address: Optional[pulumi.Input[str]] = None,
|
|
1883
|
-
ovf_mapping: Optional[pulumi.Input[str]] = None,
|
|
1884
|
-
use_static_mac: Optional[pulumi.Input[bool]] = None,
|
|
1885
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
1886
|
-
_setter("network_id", network_id)
|
|
1557
|
+
pulumi.set(__self__, "network_id", network_id)
|
|
1887
1558
|
if adapter_type is not None:
|
|
1888
|
-
|
|
1559
|
+
pulumi.set(__self__, "adapter_type", adapter_type)
|
|
1889
1560
|
if bandwidth_limit is not None:
|
|
1890
|
-
|
|
1561
|
+
pulumi.set(__self__, "bandwidth_limit", bandwidth_limit)
|
|
1891
1562
|
if bandwidth_reservation is not None:
|
|
1892
|
-
|
|
1563
|
+
pulumi.set(__self__, "bandwidth_reservation", bandwidth_reservation)
|
|
1893
1564
|
if bandwidth_share_count is not None:
|
|
1894
|
-
|
|
1565
|
+
pulumi.set(__self__, "bandwidth_share_count", bandwidth_share_count)
|
|
1895
1566
|
if bandwidth_share_level is not None:
|
|
1896
|
-
|
|
1567
|
+
pulumi.set(__self__, "bandwidth_share_level", bandwidth_share_level)
|
|
1897
1568
|
if device_address is not None:
|
|
1898
|
-
|
|
1569
|
+
pulumi.set(__self__, "device_address", device_address)
|
|
1899
1570
|
if key is not None:
|
|
1900
|
-
|
|
1571
|
+
pulumi.set(__self__, "key", key)
|
|
1901
1572
|
if mac_address is not None:
|
|
1902
|
-
|
|
1573
|
+
pulumi.set(__self__, "mac_address", mac_address)
|
|
1903
1574
|
if ovf_mapping is not None:
|
|
1904
|
-
|
|
1575
|
+
pulumi.set(__self__, "ovf_mapping", ovf_mapping)
|
|
1905
1576
|
if use_static_mac is not None:
|
|
1906
|
-
|
|
1577
|
+
pulumi.set(__self__, "use_static_mac", use_static_mac)
|
|
1907
1578
|
|
|
1908
1579
|
@property
|
|
1909
1580
|
@pulumi.getter(name="networkId")
|
|
@@ -2047,49 +1718,24 @@ class VirtualMachineOvfDeployArgs:
|
|
|
2047
1718
|
local_ovf_path: Optional[pulumi.Input[str]] = None,
|
|
2048
1719
|
ovf_network_map: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2049
1720
|
remote_ovf_url: Optional[pulumi.Input[str]] = None):
|
|
2050
|
-
VirtualMachineOvfDeployArgs._configure(
|
|
2051
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
2052
|
-
allow_unverified_ssl_cert=allow_unverified_ssl_cert,
|
|
2053
|
-
deployment_option=deployment_option,
|
|
2054
|
-
disk_provisioning=disk_provisioning,
|
|
2055
|
-
enable_hidden_properties=enable_hidden_properties,
|
|
2056
|
-
ip_allocation_policy=ip_allocation_policy,
|
|
2057
|
-
ip_protocol=ip_protocol,
|
|
2058
|
-
local_ovf_path=local_ovf_path,
|
|
2059
|
-
ovf_network_map=ovf_network_map,
|
|
2060
|
-
remote_ovf_url=remote_ovf_url,
|
|
2061
|
-
)
|
|
2062
|
-
@staticmethod
|
|
2063
|
-
def _configure(
|
|
2064
|
-
_setter: Callable[[Any, Any], None],
|
|
2065
|
-
allow_unverified_ssl_cert: Optional[pulumi.Input[bool]] = None,
|
|
2066
|
-
deployment_option: Optional[pulumi.Input[str]] = None,
|
|
2067
|
-
disk_provisioning: Optional[pulumi.Input[str]] = None,
|
|
2068
|
-
enable_hidden_properties: Optional[pulumi.Input[bool]] = None,
|
|
2069
|
-
ip_allocation_policy: Optional[pulumi.Input[str]] = None,
|
|
2070
|
-
ip_protocol: Optional[pulumi.Input[str]] = None,
|
|
2071
|
-
local_ovf_path: Optional[pulumi.Input[str]] = None,
|
|
2072
|
-
ovf_network_map: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2073
|
-
remote_ovf_url: Optional[pulumi.Input[str]] = None,
|
|
2074
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
2075
1721
|
if allow_unverified_ssl_cert is not None:
|
|
2076
|
-
|
|
1722
|
+
pulumi.set(__self__, "allow_unverified_ssl_cert", allow_unverified_ssl_cert)
|
|
2077
1723
|
if deployment_option is not None:
|
|
2078
|
-
|
|
1724
|
+
pulumi.set(__self__, "deployment_option", deployment_option)
|
|
2079
1725
|
if disk_provisioning is not None:
|
|
2080
|
-
|
|
1726
|
+
pulumi.set(__self__, "disk_provisioning", disk_provisioning)
|
|
2081
1727
|
if enable_hidden_properties is not None:
|
|
2082
|
-
|
|
1728
|
+
pulumi.set(__self__, "enable_hidden_properties", enable_hidden_properties)
|
|
2083
1729
|
if ip_allocation_policy is not None:
|
|
2084
|
-
|
|
1730
|
+
pulumi.set(__self__, "ip_allocation_policy", ip_allocation_policy)
|
|
2085
1731
|
if ip_protocol is not None:
|
|
2086
|
-
|
|
1732
|
+
pulumi.set(__self__, "ip_protocol", ip_protocol)
|
|
2087
1733
|
if local_ovf_path is not None:
|
|
2088
|
-
|
|
1734
|
+
pulumi.set(__self__, "local_ovf_path", local_ovf_path)
|
|
2089
1735
|
if ovf_network_map is not None:
|
|
2090
|
-
|
|
1736
|
+
pulumi.set(__self__, "ovf_network_map", ovf_network_map)
|
|
2091
1737
|
if remote_ovf_url is not None:
|
|
2092
|
-
|
|
1738
|
+
pulumi.set(__self__, "remote_ovf_url", remote_ovf_url)
|
|
2093
1739
|
|
|
2094
1740
|
@property
|
|
2095
1741
|
@pulumi.getter(name="allowUnverifiedSslCert")
|
|
@@ -2177,17 +1823,8 @@ class VirtualMachineOvfDeployArgs:
|
|
|
2177
1823
|
class VirtualMachineVappArgs:
|
|
2178
1824
|
def __init__(__self__, *,
|
|
2179
1825
|
properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
2180
|
-
VirtualMachineVappArgs._configure(
|
|
2181
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
2182
|
-
properties=properties,
|
|
2183
|
-
)
|
|
2184
|
-
@staticmethod
|
|
2185
|
-
def _configure(
|
|
2186
|
-
_setter: Callable[[Any, Any], None],
|
|
2187
|
-
properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2188
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
2189
1826
|
if properties is not None:
|
|
2190
|
-
|
|
1827
|
+
pulumi.set(__self__, "properties", properties)
|
|
2191
1828
|
|
|
2192
1829
|
@property
|
|
2193
1830
|
@pulumi.getter
|
|
@@ -2210,23 +1847,10 @@ class VmStoragePolicyTagRuleArgs:
|
|
|
2210
1847
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: List of Name of tags to select from the given category.
|
|
2211
1848
|
:param pulumi.Input[bool] include_datastores_with_tags: Include datastores with the given tags or exclude. Default `true`.
|
|
2212
1849
|
"""
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
tag_category=tag_category,
|
|
2216
|
-
tags=tags,
|
|
2217
|
-
include_datastores_with_tags=include_datastores_with_tags,
|
|
2218
|
-
)
|
|
2219
|
-
@staticmethod
|
|
2220
|
-
def _configure(
|
|
2221
|
-
_setter: Callable[[Any, Any], None],
|
|
2222
|
-
tag_category: pulumi.Input[str],
|
|
2223
|
-
tags: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
2224
|
-
include_datastores_with_tags: Optional[pulumi.Input[bool]] = None,
|
|
2225
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
2226
|
-
_setter("tag_category", tag_category)
|
|
2227
|
-
_setter("tags", tags)
|
|
1850
|
+
pulumi.set(__self__, "tag_category", tag_category)
|
|
1851
|
+
pulumi.set(__self__, "tags", tags)
|
|
2228
1852
|
if include_datastores_with_tags is not None:
|
|
2229
|
-
|
|
1853
|
+
pulumi.set(__self__, "include_datastores_with_tags", include_datastores_with_tags)
|
|
2230
1854
|
|
|
2231
1855
|
@property
|
|
2232
1856
|
@pulumi.getter(name="tagCategory")
|
|
@@ -2278,29 +1902,14 @@ class VnicIpv4Args:
|
|
|
2278
1902
|
:param pulumi.Input[str] ip: Address of the interface, if DHCP is not set.
|
|
2279
1903
|
:param pulumi.Input[str] netmask: Netmask of the interface, if DHCP is not set.
|
|
2280
1904
|
"""
|
|
2281
|
-
VnicIpv4Args._configure(
|
|
2282
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
2283
|
-
dhcp=dhcp,
|
|
2284
|
-
gw=gw,
|
|
2285
|
-
ip=ip,
|
|
2286
|
-
netmask=netmask,
|
|
2287
|
-
)
|
|
2288
|
-
@staticmethod
|
|
2289
|
-
def _configure(
|
|
2290
|
-
_setter: Callable[[Any, Any], None],
|
|
2291
|
-
dhcp: Optional[pulumi.Input[bool]] = None,
|
|
2292
|
-
gw: Optional[pulumi.Input[str]] = None,
|
|
2293
|
-
ip: Optional[pulumi.Input[str]] = None,
|
|
2294
|
-
netmask: Optional[pulumi.Input[str]] = None,
|
|
2295
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
2296
1905
|
if dhcp is not None:
|
|
2297
|
-
|
|
1906
|
+
pulumi.set(__self__, "dhcp", dhcp)
|
|
2298
1907
|
if gw is not None:
|
|
2299
|
-
|
|
1908
|
+
pulumi.set(__self__, "gw", gw)
|
|
2300
1909
|
if ip is not None:
|
|
2301
|
-
|
|
1910
|
+
pulumi.set(__self__, "ip", ip)
|
|
2302
1911
|
if netmask is not None:
|
|
2303
|
-
|
|
1912
|
+
pulumi.set(__self__, "netmask", netmask)
|
|
2304
1913
|
|
|
2305
1914
|
@property
|
|
2306
1915
|
@pulumi.getter
|
|
@@ -2364,29 +1973,14 @@ class VnicIpv6Args:
|
|
|
2364
1973
|
:param pulumi.Input[bool] dhcp: Use DHCP to configure the interface's IPv6 stack.
|
|
2365
1974
|
:param pulumi.Input[str] gw: IP address of the default gateway, if DHCP or autoconfig is not set.
|
|
2366
1975
|
"""
|
|
2367
|
-
VnicIpv6Args._configure(
|
|
2368
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
2369
|
-
addresses=addresses,
|
|
2370
|
-
autoconfig=autoconfig,
|
|
2371
|
-
dhcp=dhcp,
|
|
2372
|
-
gw=gw,
|
|
2373
|
-
)
|
|
2374
|
-
@staticmethod
|
|
2375
|
-
def _configure(
|
|
2376
|
-
_setter: Callable[[Any, Any], None],
|
|
2377
|
-
addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2378
|
-
autoconfig: Optional[pulumi.Input[bool]] = None,
|
|
2379
|
-
dhcp: Optional[pulumi.Input[bool]] = None,
|
|
2380
|
-
gw: Optional[pulumi.Input[str]] = None,
|
|
2381
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
2382
1976
|
if addresses is not None:
|
|
2383
|
-
|
|
1977
|
+
pulumi.set(__self__, "addresses", addresses)
|
|
2384
1978
|
if autoconfig is not None:
|
|
2385
|
-
|
|
1979
|
+
pulumi.set(__self__, "autoconfig", autoconfig)
|
|
2386
1980
|
if dhcp is not None:
|
|
2387
|
-
|
|
1981
|
+
pulumi.set(__self__, "dhcp", dhcp)
|
|
2388
1982
|
if gw is not None:
|
|
2389
|
-
|
|
1983
|
+
pulumi.set(__self__, "gw", gw)
|
|
2390
1984
|
|
|
2391
1985
|
@property
|
|
2392
1986
|
@pulumi.getter
|
|
@@ -2441,17 +2035,8 @@ class VnicIpv6Args:
|
|
|
2441
2035
|
class GetVirtualMachineVappArgs:
|
|
2442
2036
|
def __init__(__self__, *,
|
|
2443
2037
|
properties: Optional[Mapping[str, str]] = None):
|
|
2444
|
-
GetVirtualMachineVappArgs._configure(
|
|
2445
|
-
lambda key, value: pulumi.set(__self__, key, value),
|
|
2446
|
-
properties=properties,
|
|
2447
|
-
)
|
|
2448
|
-
@staticmethod
|
|
2449
|
-
def _configure(
|
|
2450
|
-
_setter: Callable[[Any, Any], None],
|
|
2451
|
-
properties: Optional[Mapping[str, str]] = None,
|
|
2452
|
-
opts: Optional[pulumi.ResourceOptions]=None):
|
|
2453
2038
|
if properties is not None:
|
|
2454
|
-
|
|
2039
|
+
pulumi.set(__self__, "properties", properties)
|
|
2455
2040
|
|
|
2456
2041
|
@property
|
|
2457
2042
|
@pulumi.getter
|