pulumi-vsphere 4.14.0a1739946909__py3-none-any.whl → 4.17.0a1763710194__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 +12 -1
- pulumi_vsphere/_inputs.py +1172 -1172
- pulumi_vsphere/_utilities.py +1 -1
- pulumi_vsphere/compute_cluster.py +1226 -1484
- pulumi_vsphere/compute_cluster_host_group.py +124 -53
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +88 -87
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +92 -87
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +109 -104
- pulumi_vsphere/compute_cluster_vm_group.py +58 -53
- pulumi_vsphere/compute_cluster_vm_host_rule.py +126 -121
- pulumi_vsphere/config/__init__.py +2 -1
- pulumi_vsphere/config/__init__.pyi +2 -2
- pulumi_vsphere/config/vars.py +15 -15
- pulumi_vsphere/configuration_profile.py +286 -0
- pulumi_vsphere/content_library.py +64 -59
- pulumi_vsphere/content_library_item.py +109 -104
- pulumi_vsphere/custom_attribute.py +41 -36
- pulumi_vsphere/datacenter.py +80 -79
- pulumi_vsphere/datastore_cluster.py +531 -477
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +92 -87
- pulumi_vsphere/distributed_port_group.py +802 -818
- pulumi_vsphere/distributed_virtual_switch.py +1590 -1620
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +71 -70
- pulumi_vsphere/dpm_host_override.py +159 -70
- pulumi_vsphere/drs_vm_override.py +75 -70
- pulumi_vsphere/entity_permissions.py +40 -39
- pulumi_vsphere/file.py +148 -162
- pulumi_vsphere/folder.py +104 -99
- pulumi_vsphere/get_compute_cluster.py +18 -18
- pulumi_vsphere/get_compute_cluster_host_group.py +18 -22
- pulumi_vsphere/get_configuration_profile.py +145 -0
- pulumi_vsphere/get_content_library.py +10 -10
- pulumi_vsphere/get_content_library_item.py +22 -22
- pulumi_vsphere/get_custom_attribute.py +12 -12
- pulumi_vsphere/get_datacenter.py +12 -12
- pulumi_vsphere/get_datastore.py +22 -22
- pulumi_vsphere/get_datastore_cluster.py +19 -19
- pulumi_vsphere/get_datastore_stats.py +22 -26
- pulumi_vsphere/get_distributed_virtual_switch.py +18 -18
- pulumi_vsphere/get_dynamic.py +22 -26
- pulumi_vsphere/get_folder.py +140 -18
- pulumi_vsphere/get_guest_os_customization.py +74 -21
- pulumi_vsphere/get_host.py +18 -18
- pulumi_vsphere/get_host_base_images.py +6 -6
- pulumi_vsphere/get_host_pci_device.py +30 -30
- pulumi_vsphere/get_host_thumbprint.py +22 -22
- pulumi_vsphere/get_host_vgpu_profile.py +17 -17
- pulumi_vsphere/get_license.py +26 -24
- pulumi_vsphere/get_network.py +80 -29
- pulumi_vsphere/get_ovf_vm_template.py +126 -126
- pulumi_vsphere/get_policy.py +10 -10
- pulumi_vsphere/get_resource_pool.py +77 -26
- pulumi_vsphere/get_role.py +26 -26
- pulumi_vsphere/get_tag.py +18 -18
- pulumi_vsphere/get_tag_category.py +16 -16
- pulumi_vsphere/get_vapp_container.py +16 -16
- pulumi_vsphere/get_virtual_machine.py +273 -273
- pulumi_vsphere/get_vmfs_disks.py +24 -24
- pulumi_vsphere/guest_os_customization.py +75 -74
- pulumi_vsphere/ha_vm_override.py +295 -374
- pulumi_vsphere/host.py +304 -249
- pulumi_vsphere/host_port_group.py +321 -341
- pulumi_vsphere/host_virtual_switch.py +373 -389
- pulumi_vsphere/license.py +125 -84
- pulumi_vsphere/nas_datastore.py +324 -261
- pulumi_vsphere/offline_software_depot.py +26 -21
- pulumi_vsphere/outputs.py +1003 -970
- pulumi_vsphere/provider.py +165 -146
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +691 -364
- pulumi_vsphere/role.py +46 -45
- pulumi_vsphere/storage_drs_vm_override.py +92 -87
- pulumi_vsphere/supervisor.py +210 -209
- pulumi_vsphere/tag.py +58 -53
- pulumi_vsphere/tag_category.py +75 -70
- pulumi_vsphere/vapp_container.py +262 -257
- pulumi_vsphere/vapp_entity.py +177 -172
- pulumi_vsphere/virtual_disk.py +130 -125
- pulumi_vsphere/virtual_machine.py +1339 -1443
- pulumi_vsphere/virtual_machine_class.py +109 -108
- pulumi_vsphere/virtual_machine_snapshot.py +122 -121
- pulumi_vsphere/vm_storage_policy.py +40 -39
- pulumi_vsphere/vmfs_datastore.py +189 -184
- pulumi_vsphere/vnic.py +145 -144
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA +4 -4
- pulumi_vsphere-4.17.0a1763710194.dist-info/RECORD +89 -0
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1739946909.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -22,13 +22,13 @@ __all__ = ['VmStoragePolicyArgs', 'VmStoragePolicy']
|
|
|
22
22
|
class VmStoragePolicyArgs:
|
|
23
23
|
def __init__(__self__, *,
|
|
24
24
|
tag_rules: pulumi.Input[Sequence[pulumi.Input['VmStoragePolicyTagRuleArgs']]],
|
|
25
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
25
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
27
27
|
"""
|
|
28
28
|
The set of arguments for constructing a VmStoragePolicy resource.
|
|
29
29
|
:param pulumi.Input[Sequence[pulumi.Input['VmStoragePolicyTagRuleArgs']]] tag_rules: List of tag rules. The tag category and tags to be associated to this storage policy.
|
|
30
|
-
:param pulumi.Input[str] description: Description of the storage policy.
|
|
31
|
-
:param pulumi.Input[str] name: The name of the storage policy.
|
|
30
|
+
:param pulumi.Input[_builtins.str] description: Description of the storage policy.
|
|
31
|
+
:param pulumi.Input[_builtins.str] name: The name of the storage policy.
|
|
32
32
|
"""
|
|
33
33
|
pulumi.set(__self__, "tag_rules", tag_rules)
|
|
34
34
|
if description is not None:
|
|
@@ -36,7 +36,7 @@ class VmStoragePolicyArgs:
|
|
|
36
36
|
if name is not None:
|
|
37
37
|
pulumi.set(__self__, "name", name)
|
|
38
38
|
|
|
39
|
-
@property
|
|
39
|
+
@_builtins.property
|
|
40
40
|
@pulumi.getter(name="tagRules")
|
|
41
41
|
def tag_rules(self) -> pulumi.Input[Sequence[pulumi.Input['VmStoragePolicyTagRuleArgs']]]:
|
|
42
42
|
"""
|
|
@@ -48,41 +48,41 @@ class VmStoragePolicyArgs:
|
|
|
48
48
|
def tag_rules(self, value: pulumi.Input[Sequence[pulumi.Input['VmStoragePolicyTagRuleArgs']]]):
|
|
49
49
|
pulumi.set(self, "tag_rules", value)
|
|
50
50
|
|
|
51
|
-
@property
|
|
51
|
+
@_builtins.property
|
|
52
52
|
@pulumi.getter
|
|
53
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
53
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
54
54
|
"""
|
|
55
55
|
Description of the storage policy.
|
|
56
56
|
"""
|
|
57
57
|
return pulumi.get(self, "description")
|
|
58
58
|
|
|
59
59
|
@description.setter
|
|
60
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
60
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
61
61
|
pulumi.set(self, "description", value)
|
|
62
62
|
|
|
63
|
-
@property
|
|
63
|
+
@_builtins.property
|
|
64
64
|
@pulumi.getter
|
|
65
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
65
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
66
66
|
"""
|
|
67
67
|
The name of the storage policy.
|
|
68
68
|
"""
|
|
69
69
|
return pulumi.get(self, "name")
|
|
70
70
|
|
|
71
71
|
@name.setter
|
|
72
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
72
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
73
73
|
pulumi.set(self, "name", value)
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
@pulumi.input_type
|
|
77
77
|
class _VmStoragePolicyState:
|
|
78
78
|
def __init__(__self__, *,
|
|
79
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
80
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
79
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
80
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
81
81
|
tag_rules: Optional[pulumi.Input[Sequence[pulumi.Input['VmStoragePolicyTagRuleArgs']]]] = None):
|
|
82
82
|
"""
|
|
83
83
|
Input properties used for looking up and filtering VmStoragePolicy resources.
|
|
84
|
-
:param pulumi.Input[str] description: Description of the storage policy.
|
|
85
|
-
:param pulumi.Input[str] name: The name of the storage policy.
|
|
84
|
+
:param pulumi.Input[_builtins.str] description: Description of the storage policy.
|
|
85
|
+
:param pulumi.Input[_builtins.str] name: The name of the storage policy.
|
|
86
86
|
:param pulumi.Input[Sequence[pulumi.Input['VmStoragePolicyTagRuleArgs']]] tag_rules: List of tag rules. The tag category and tags to be associated to this storage policy.
|
|
87
87
|
"""
|
|
88
88
|
if description is not None:
|
|
@@ -92,31 +92,31 @@ class _VmStoragePolicyState:
|
|
|
92
92
|
if tag_rules is not None:
|
|
93
93
|
pulumi.set(__self__, "tag_rules", tag_rules)
|
|
94
94
|
|
|
95
|
-
@property
|
|
95
|
+
@_builtins.property
|
|
96
96
|
@pulumi.getter
|
|
97
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
97
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
98
98
|
"""
|
|
99
99
|
Description of the storage policy.
|
|
100
100
|
"""
|
|
101
101
|
return pulumi.get(self, "description")
|
|
102
102
|
|
|
103
103
|
@description.setter
|
|
104
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
104
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
105
105
|
pulumi.set(self, "description", value)
|
|
106
106
|
|
|
107
|
-
@property
|
|
107
|
+
@_builtins.property
|
|
108
108
|
@pulumi.getter
|
|
109
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
109
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
110
110
|
"""
|
|
111
111
|
The name of the storage policy.
|
|
112
112
|
"""
|
|
113
113
|
return pulumi.get(self, "name")
|
|
114
114
|
|
|
115
115
|
@name.setter
|
|
116
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
116
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
117
117
|
pulumi.set(self, "name", value)
|
|
118
118
|
|
|
119
|
-
@property
|
|
119
|
+
@_builtins.property
|
|
120
120
|
@pulumi.getter(name="tagRules")
|
|
121
121
|
def tag_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmStoragePolicyTagRuleArgs']]]]:
|
|
122
122
|
"""
|
|
@@ -129,13 +129,14 @@ class _VmStoragePolicyState:
|
|
|
129
129
|
pulumi.set(self, "tag_rules", value)
|
|
130
130
|
|
|
131
131
|
|
|
132
|
+
@pulumi.type_token("vsphere:index/vmStoragePolicy:VmStoragePolicy")
|
|
132
133
|
class VmStoragePolicy(pulumi.CustomResource):
|
|
133
134
|
@overload
|
|
134
135
|
def __init__(__self__,
|
|
135
136
|
resource_name: str,
|
|
136
137
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
137
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
138
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
138
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
139
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
139
140
|
tag_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VmStoragePolicyTagRuleArgs', 'VmStoragePolicyTagRuleArgsDict']]]]] = None,
|
|
140
141
|
__props__=None):
|
|
141
142
|
"""
|
|
@@ -246,8 +247,8 @@ class VmStoragePolicy(pulumi.CustomResource):
|
|
|
246
247
|
|
|
247
248
|
:param str resource_name: The name of the resource.
|
|
248
249
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
249
|
-
:param pulumi.Input[str] description: Description of the storage policy.
|
|
250
|
-
:param pulumi.Input[str] name: The name of the storage policy.
|
|
250
|
+
:param pulumi.Input[_builtins.str] description: Description of the storage policy.
|
|
251
|
+
:param pulumi.Input[_builtins.str] name: The name of the storage policy.
|
|
251
252
|
: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.
|
|
252
253
|
"""
|
|
253
254
|
...
|
|
@@ -377,8 +378,8 @@ class VmStoragePolicy(pulumi.CustomResource):
|
|
|
377
378
|
def _internal_init(__self__,
|
|
378
379
|
resource_name: str,
|
|
379
380
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
380
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
381
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
381
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
382
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
382
383
|
tag_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VmStoragePolicyTagRuleArgs', 'VmStoragePolicyTagRuleArgsDict']]]]] = None,
|
|
383
384
|
__props__=None):
|
|
384
385
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -404,8 +405,8 @@ class VmStoragePolicy(pulumi.CustomResource):
|
|
|
404
405
|
def get(resource_name: str,
|
|
405
406
|
id: pulumi.Input[str],
|
|
406
407
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
407
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
408
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
408
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
409
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
409
410
|
tag_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VmStoragePolicyTagRuleArgs', 'VmStoragePolicyTagRuleArgsDict']]]]] = None) -> 'VmStoragePolicy':
|
|
410
411
|
"""
|
|
411
412
|
Get an existing VmStoragePolicy resource's state with the given name, id, and optional extra
|
|
@@ -414,8 +415,8 @@ class VmStoragePolicy(pulumi.CustomResource):
|
|
|
414
415
|
:param str resource_name: The unique name of the resulting resource.
|
|
415
416
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
416
417
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
417
|
-
:param pulumi.Input[str] description: Description of the storage policy.
|
|
418
|
-
:param pulumi.Input[str] name: The name of the storage policy.
|
|
418
|
+
:param pulumi.Input[_builtins.str] description: Description of the storage policy.
|
|
419
|
+
:param pulumi.Input[_builtins.str] name: The name of the storage policy.
|
|
419
420
|
: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.
|
|
420
421
|
"""
|
|
421
422
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -427,23 +428,23 @@ class VmStoragePolicy(pulumi.CustomResource):
|
|
|
427
428
|
__props__.__dict__["tag_rules"] = tag_rules
|
|
428
429
|
return VmStoragePolicy(resource_name, opts=opts, __props__=__props__)
|
|
429
430
|
|
|
430
|
-
@property
|
|
431
|
+
@_builtins.property
|
|
431
432
|
@pulumi.getter
|
|
432
|
-
def description(self) -> pulumi.Output[Optional[str]]:
|
|
433
|
+
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
433
434
|
"""
|
|
434
435
|
Description of the storage policy.
|
|
435
436
|
"""
|
|
436
437
|
return pulumi.get(self, "description")
|
|
437
438
|
|
|
438
|
-
@property
|
|
439
|
+
@_builtins.property
|
|
439
440
|
@pulumi.getter
|
|
440
|
-
def name(self) -> pulumi.Output[str]:
|
|
441
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
441
442
|
"""
|
|
442
443
|
The name of the storage policy.
|
|
443
444
|
"""
|
|
444
445
|
return pulumi.get(self, "name")
|
|
445
446
|
|
|
446
|
-
@property
|
|
447
|
+
@_builtins.property
|
|
447
448
|
@pulumi.getter(name="tagRules")
|
|
448
449
|
def tag_rules(self) -> pulumi.Output[Sequence['outputs.VmStoragePolicyTagRule']]:
|
|
449
450
|
"""
|