pulumi-vsphere 4.13.1a1738773193__py3-none-any.whl → 4.13.2a1744198820__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/_utilities.py +8 -4
- pulumi_vsphere/compute_cluster.py +918 -917
- pulumi_vsphere/compute_cluster_host_group.py +43 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +71 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +71 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +85 -84
- pulumi_vsphere/compute_cluster_vm_group.py +43 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +99 -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 +43 -42
- pulumi_vsphere/content_library_item.py +85 -84
- pulumi_vsphere/custom_attribute.py +29 -28
- pulumi_vsphere/datacenter.py +64 -63
- pulumi_vsphere/datastore_cluster.py +351 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +71 -70
- pulumi_vsphere/distributed_port_group.py +645 -644
- pulumi_vsphere/distributed_virtual_switch.py +1282 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +57 -56
- pulumi_vsphere/dpm_host_override.py +57 -56
- pulumi_vsphere/drs_vm_override.py +57 -56
- pulumi_vsphere/entity_permissions.py +29 -28
- pulumi_vsphere/file.py +95 -94
- pulumi_vsphere/folder.py +71 -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 +57 -56
- pulumi_vsphere/ha_vm_override.py +211 -210
- pulumi_vsphere/host.py +197 -196
- pulumi_vsphere/host_port_group.py +253 -252
- pulumi_vsphere/host_virtual_switch.py +295 -294
- pulumi_vsphere/license.py +57 -56
- pulumi_vsphere/nas_datastore.py +211 -210
- pulumi_vsphere/offline_software_depot.py +15 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +98 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +211 -210
- pulumi_vsphere/role.py +36 -35
- pulumi_vsphere/storage_drs_vm_override.py +71 -70
- pulumi_vsphere/supervisor.py +155 -154
- pulumi_vsphere/tag.py +43 -42
- pulumi_vsphere/tag_category.py +57 -56
- pulumi_vsphere/vapp_container.py +211 -210
- pulumi_vsphere/vapp_entity.py +141 -140
- pulumi_vsphere/virtual_disk.py +99 -98
- pulumi_vsphere/virtual_machine.py +1040 -1039
- pulumi_vsphere/virtual_machine_class.py +85 -84
- pulumi_vsphere/virtual_machine_snapshot.py +99 -98
- pulumi_vsphere/vm_storage_policy.py +29 -28
- pulumi_vsphere/vmfs_datastore.py +148 -147
- pulumi_vsphere/vnic.py +113 -112
- {pulumi_vsphere-4.13.1a1738773193.dist-info → pulumi_vsphere-4.13.2a1744198820.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.13.2a1744198820.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.13.1a1738773193.dist-info → pulumi_vsphere-4.13.2a1744198820.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.13.1a1738773193.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.13.1a1738773193.dist-info → pulumi_vsphere-4.13.2a1744198820.dist-info}/top_level.txt +0 -0
|
@@ -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
|
|
@@ -19,14 +20,14 @@ __all__ = ['CustomAttributeArgs', 'CustomAttribute']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class CustomAttributeArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
managed_object_type: Optional[pulumi.Input[str]] = None,
|
|
23
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
23
|
+
managed_object_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
24
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
24
25
|
"""
|
|
25
26
|
The set of arguments for constructing a CustomAttribute resource.
|
|
26
|
-
:param pulumi.Input[str] managed_object_type: The object type that this attribute may be
|
|
27
|
+
:param pulumi.Input[builtins.str] managed_object_type: The object type that this attribute may be
|
|
27
28
|
applied to. If not set, the custom attribute may be applied to any object
|
|
28
29
|
type. For a full list, review the Managed Object Types. Forces a new resource if changed.
|
|
29
|
-
:param pulumi.Input[str] name: The name of the custom attribute.
|
|
30
|
+
:param pulumi.Input[builtins.str] name: The name of the custom attribute.
|
|
30
31
|
"""
|
|
31
32
|
if managed_object_type is not None:
|
|
32
33
|
pulumi.set(__self__, "managed_object_type", managed_object_type)
|
|
@@ -35,7 +36,7 @@ class CustomAttributeArgs:
|
|
|
35
36
|
|
|
36
37
|
@property
|
|
37
38
|
@pulumi.getter(name="managedObjectType")
|
|
38
|
-
def managed_object_type(self) -> Optional[pulumi.Input[str]]:
|
|
39
|
+
def managed_object_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
39
40
|
"""
|
|
40
41
|
The object type that this attribute may be
|
|
41
42
|
applied to. If not set, the custom attribute may be applied to any object
|
|
@@ -44,33 +45,33 @@ class CustomAttributeArgs:
|
|
|
44
45
|
return pulumi.get(self, "managed_object_type")
|
|
45
46
|
|
|
46
47
|
@managed_object_type.setter
|
|
47
|
-
def managed_object_type(self, value: Optional[pulumi.Input[str]]):
|
|
48
|
+
def managed_object_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
48
49
|
pulumi.set(self, "managed_object_type", value)
|
|
49
50
|
|
|
50
51
|
@property
|
|
51
52
|
@pulumi.getter
|
|
52
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
53
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
53
54
|
"""
|
|
54
55
|
The name of the custom attribute.
|
|
55
56
|
"""
|
|
56
57
|
return pulumi.get(self, "name")
|
|
57
58
|
|
|
58
59
|
@name.setter
|
|
59
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
60
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
60
61
|
pulumi.set(self, "name", value)
|
|
61
62
|
|
|
62
63
|
|
|
63
64
|
@pulumi.input_type
|
|
64
65
|
class _CustomAttributeState:
|
|
65
66
|
def __init__(__self__, *,
|
|
66
|
-
managed_object_type: Optional[pulumi.Input[str]] = None,
|
|
67
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
67
|
+
managed_object_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
68
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
68
69
|
"""
|
|
69
70
|
Input properties used for looking up and filtering CustomAttribute resources.
|
|
70
|
-
:param pulumi.Input[str] managed_object_type: The object type that this attribute may be
|
|
71
|
+
:param pulumi.Input[builtins.str] managed_object_type: The object type that this attribute may be
|
|
71
72
|
applied to. If not set, the custom attribute may be applied to any object
|
|
72
73
|
type. For a full list, review the Managed Object Types. Forces a new resource if changed.
|
|
73
|
-
:param pulumi.Input[str] name: The name of the custom attribute.
|
|
74
|
+
:param pulumi.Input[builtins.str] name: The name of the custom attribute.
|
|
74
75
|
"""
|
|
75
76
|
if managed_object_type is not None:
|
|
76
77
|
pulumi.set(__self__, "managed_object_type", managed_object_type)
|
|
@@ -79,7 +80,7 @@ class _CustomAttributeState:
|
|
|
79
80
|
|
|
80
81
|
@property
|
|
81
82
|
@pulumi.getter(name="managedObjectType")
|
|
82
|
-
def managed_object_type(self) -> Optional[pulumi.Input[str]]:
|
|
83
|
+
def managed_object_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
83
84
|
"""
|
|
84
85
|
The object type that this attribute may be
|
|
85
86
|
applied to. If not set, the custom attribute may be applied to any object
|
|
@@ -88,19 +89,19 @@ class _CustomAttributeState:
|
|
|
88
89
|
return pulumi.get(self, "managed_object_type")
|
|
89
90
|
|
|
90
91
|
@managed_object_type.setter
|
|
91
|
-
def managed_object_type(self, value: Optional[pulumi.Input[str]]):
|
|
92
|
+
def managed_object_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
92
93
|
pulumi.set(self, "managed_object_type", value)
|
|
93
94
|
|
|
94
95
|
@property
|
|
95
96
|
@pulumi.getter
|
|
96
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
97
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
97
98
|
"""
|
|
98
99
|
The name of the custom attribute.
|
|
99
100
|
"""
|
|
100
101
|
return pulumi.get(self, "name")
|
|
101
102
|
|
|
102
103
|
@name.setter
|
|
103
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
104
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
104
105
|
pulumi.set(self, "name", value)
|
|
105
106
|
|
|
106
107
|
|
|
@@ -109,8 +110,8 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
109
110
|
def __init__(__self__,
|
|
110
111
|
resource_name: str,
|
|
111
112
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
112
|
-
managed_object_type: Optional[pulumi.Input[str]] = None,
|
|
113
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
113
|
+
managed_object_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
114
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
114
115
|
__props__=None):
|
|
115
116
|
"""
|
|
116
117
|
The `CustomAttribute` resource can be used to create and manage custom
|
|
@@ -151,10 +152,10 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
151
152
|
|
|
152
153
|
:param str resource_name: The name of the resource.
|
|
153
154
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
154
|
-
:param pulumi.Input[str] managed_object_type: The object type that this attribute may be
|
|
155
|
+
:param pulumi.Input[builtins.str] managed_object_type: The object type that this attribute may be
|
|
155
156
|
applied to. If not set, the custom attribute may be applied to any object
|
|
156
157
|
type. For a full list, review the Managed Object Types. Forces a new resource if changed.
|
|
157
|
-
:param pulumi.Input[str] name: The name of the custom attribute.
|
|
158
|
+
:param pulumi.Input[builtins.str] name: The name of the custom attribute.
|
|
158
159
|
"""
|
|
159
160
|
...
|
|
160
161
|
@overload
|
|
@@ -214,8 +215,8 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
214
215
|
def _internal_init(__self__,
|
|
215
216
|
resource_name: str,
|
|
216
217
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
217
|
-
managed_object_type: Optional[pulumi.Input[str]] = None,
|
|
218
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
218
|
+
managed_object_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
219
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
219
220
|
__props__=None):
|
|
220
221
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
221
222
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -237,8 +238,8 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
237
238
|
def get(resource_name: str,
|
|
238
239
|
id: pulumi.Input[str],
|
|
239
240
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
240
|
-
managed_object_type: Optional[pulumi.Input[str]] = None,
|
|
241
|
-
name: Optional[pulumi.Input[str]] = None) -> 'CustomAttribute':
|
|
241
|
+
managed_object_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
242
|
+
name: Optional[pulumi.Input[builtins.str]] = None) -> 'CustomAttribute':
|
|
242
243
|
"""
|
|
243
244
|
Get an existing CustomAttribute resource's state with the given name, id, and optional extra
|
|
244
245
|
properties used to qualify the lookup.
|
|
@@ -246,10 +247,10 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
246
247
|
:param str resource_name: The unique name of the resulting resource.
|
|
247
248
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
248
249
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
249
|
-
:param pulumi.Input[str] managed_object_type: The object type that this attribute may be
|
|
250
|
+
:param pulumi.Input[builtins.str] managed_object_type: The object type that this attribute may be
|
|
250
251
|
applied to. If not set, the custom attribute may be applied to any object
|
|
251
252
|
type. For a full list, review the Managed Object Types. Forces a new resource if changed.
|
|
252
|
-
:param pulumi.Input[str] name: The name of the custom attribute.
|
|
253
|
+
:param pulumi.Input[builtins.str] name: The name of the custom attribute.
|
|
253
254
|
"""
|
|
254
255
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
255
256
|
|
|
@@ -261,7 +262,7 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
261
262
|
|
|
262
263
|
@property
|
|
263
264
|
@pulumi.getter(name="managedObjectType")
|
|
264
|
-
def managed_object_type(self) -> pulumi.Output[Optional[str]]:
|
|
265
|
+
def managed_object_type(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
265
266
|
"""
|
|
266
267
|
The object type that this attribute may be
|
|
267
268
|
applied to. If not set, the custom attribute may be applied to any object
|
|
@@ -271,7 +272,7 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
271
272
|
|
|
272
273
|
@property
|
|
273
274
|
@pulumi.getter
|
|
274
|
-
def name(self) -> pulumi.Output[str]:
|
|
275
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
275
276
|
"""
|
|
276
277
|
The name of the custom attribute.
|
|
277
278
|
"""
|
pulumi_vsphere/datacenter.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
|
|
@@ -19,13 +20,13 @@ __all__ = ['DatacenterArgs', 'Datacenter']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class DatacenterArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
23
|
-
folder: Optional[pulumi.Input[str]] = None,
|
|
24
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
25
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
23
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
24
|
+
folder: Optional[pulumi.Input[builtins.str]] = None,
|
|
25
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
26
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
26
27
|
"""
|
|
27
28
|
The set of arguments for constructing a Datacenter resource.
|
|
28
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
|
|
29
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to value
|
|
29
30
|
strings to set for datacenter resource. See
|
|
30
31
|
[here][docs-setting-custom-attributes] for a reference on how to set values
|
|
31
32
|
for custom attributes.
|
|
@@ -34,11 +35,11 @@ class DatacenterArgs:
|
|
|
34
35
|
|
|
35
36
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
36
37
|
and require vCenter.
|
|
37
|
-
:param pulumi.Input[str] folder: The folder where the datacenter should be created.
|
|
38
|
+
:param pulumi.Input[builtins.str] folder: The folder where the datacenter should be created.
|
|
38
39
|
Forces a new resource if changed.
|
|
39
|
-
:param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
|
|
40
|
+
:param pulumi.Input[builtins.str] name: The name of the datacenter. This name needs to be unique
|
|
40
41
|
within the folder. Forces a new resource if changed.
|
|
41
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
42
43
|
"""
|
|
43
44
|
if custom_attributes is not None:
|
|
44
45
|
pulumi.set(__self__, "custom_attributes", custom_attributes)
|
|
@@ -51,7 +52,7 @@ class DatacenterArgs:
|
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter(name="customAttributes")
|
|
54
|
-
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
55
|
+
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
55
56
|
"""
|
|
56
57
|
Map of custom attribute ids to value
|
|
57
58
|
strings to set for datacenter resource. See
|
|
@@ -66,12 +67,12 @@ class DatacenterArgs:
|
|
|
66
67
|
return pulumi.get(self, "custom_attributes")
|
|
67
68
|
|
|
68
69
|
@custom_attributes.setter
|
|
69
|
-
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
70
|
+
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
70
71
|
pulumi.set(self, "custom_attributes", value)
|
|
71
72
|
|
|
72
73
|
@property
|
|
73
74
|
@pulumi.getter
|
|
74
|
-
def folder(self) -> Optional[pulumi.Input[str]]:
|
|
75
|
+
def folder(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
75
76
|
"""
|
|
76
77
|
The folder where the datacenter should be created.
|
|
77
78
|
Forces a new resource if changed.
|
|
@@ -79,12 +80,12 @@ class DatacenterArgs:
|
|
|
79
80
|
return pulumi.get(self, "folder")
|
|
80
81
|
|
|
81
82
|
@folder.setter
|
|
82
|
-
def folder(self, value: Optional[pulumi.Input[str]]):
|
|
83
|
+
def folder(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
83
84
|
pulumi.set(self, "folder", value)
|
|
84
85
|
|
|
85
86
|
@property
|
|
86
87
|
@pulumi.getter
|
|
87
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
88
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
88
89
|
"""
|
|
89
90
|
The name of the datacenter. This name needs to be unique
|
|
90
91
|
within the folder. Forces a new resource if changed.
|
|
@@ -92,33 +93,33 @@ class DatacenterArgs:
|
|
|
92
93
|
return pulumi.get(self, "name")
|
|
93
94
|
|
|
94
95
|
@name.setter
|
|
95
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
96
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
96
97
|
pulumi.set(self, "name", value)
|
|
97
98
|
|
|
98
99
|
@property
|
|
99
100
|
@pulumi.getter
|
|
100
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
101
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
101
102
|
"""
|
|
102
103
|
The IDs of any tags to attach to this resource.
|
|
103
104
|
"""
|
|
104
105
|
return pulumi.get(self, "tags")
|
|
105
106
|
|
|
106
107
|
@tags.setter
|
|
107
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
108
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
108
109
|
pulumi.set(self, "tags", value)
|
|
109
110
|
|
|
110
111
|
|
|
111
112
|
@pulumi.input_type
|
|
112
113
|
class _DatacenterState:
|
|
113
114
|
def __init__(__self__, *,
|
|
114
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
115
|
-
folder: Optional[pulumi.Input[str]] = None,
|
|
116
|
-
moid: Optional[pulumi.Input[str]] = None,
|
|
117
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
118
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
115
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
116
|
+
folder: Optional[pulumi.Input[builtins.str]] = None,
|
|
117
|
+
moid: Optional[pulumi.Input[builtins.str]] = None,
|
|
118
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
119
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
119
120
|
"""
|
|
120
121
|
Input properties used for looking up and filtering Datacenter resources.
|
|
121
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
|
|
122
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to value
|
|
122
123
|
strings to set for datacenter resource. See
|
|
123
124
|
[here][docs-setting-custom-attributes] for a reference on how to set values
|
|
124
125
|
for custom attributes.
|
|
@@ -127,12 +128,12 @@ class _DatacenterState:
|
|
|
127
128
|
|
|
128
129
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
129
130
|
and require vCenter.
|
|
130
|
-
:param pulumi.Input[str] folder: The folder where the datacenter should be created.
|
|
131
|
+
:param pulumi.Input[builtins.str] folder: The folder where the datacenter should be created.
|
|
131
132
|
Forces a new resource if changed.
|
|
132
|
-
:param pulumi.Input[str] moid: Managed object ID of this datacenter.
|
|
133
|
-
:param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
|
|
133
|
+
:param pulumi.Input[builtins.str] moid: Managed object ID of this datacenter.
|
|
134
|
+
:param pulumi.Input[builtins.str] name: The name of the datacenter. This name needs to be unique
|
|
134
135
|
within the folder. Forces a new resource if changed.
|
|
135
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
136
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
136
137
|
"""
|
|
137
138
|
if custom_attributes is not None:
|
|
138
139
|
pulumi.set(__self__, "custom_attributes", custom_attributes)
|
|
@@ -147,7 +148,7 @@ class _DatacenterState:
|
|
|
147
148
|
|
|
148
149
|
@property
|
|
149
150
|
@pulumi.getter(name="customAttributes")
|
|
150
|
-
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
151
|
+
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
151
152
|
"""
|
|
152
153
|
Map of custom attribute ids to value
|
|
153
154
|
strings to set for datacenter resource. See
|
|
@@ -162,12 +163,12 @@ class _DatacenterState:
|
|
|
162
163
|
return pulumi.get(self, "custom_attributes")
|
|
163
164
|
|
|
164
165
|
@custom_attributes.setter
|
|
165
|
-
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
166
|
+
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
166
167
|
pulumi.set(self, "custom_attributes", value)
|
|
167
168
|
|
|
168
169
|
@property
|
|
169
170
|
@pulumi.getter
|
|
170
|
-
def folder(self) -> Optional[pulumi.Input[str]]:
|
|
171
|
+
def folder(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
171
172
|
"""
|
|
172
173
|
The folder where the datacenter should be created.
|
|
173
174
|
Forces a new resource if changed.
|
|
@@ -175,24 +176,24 @@ class _DatacenterState:
|
|
|
175
176
|
return pulumi.get(self, "folder")
|
|
176
177
|
|
|
177
178
|
@folder.setter
|
|
178
|
-
def folder(self, value: Optional[pulumi.Input[str]]):
|
|
179
|
+
def folder(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
179
180
|
pulumi.set(self, "folder", value)
|
|
180
181
|
|
|
181
182
|
@property
|
|
182
183
|
@pulumi.getter
|
|
183
|
-
def moid(self) -> Optional[pulumi.Input[str]]:
|
|
184
|
+
def moid(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
184
185
|
"""
|
|
185
186
|
Managed object ID of this datacenter.
|
|
186
187
|
"""
|
|
187
188
|
return pulumi.get(self, "moid")
|
|
188
189
|
|
|
189
190
|
@moid.setter
|
|
190
|
-
def moid(self, value: Optional[pulumi.Input[str]]):
|
|
191
|
+
def moid(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
191
192
|
pulumi.set(self, "moid", value)
|
|
192
193
|
|
|
193
194
|
@property
|
|
194
195
|
@pulumi.getter
|
|
195
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
196
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
196
197
|
"""
|
|
197
198
|
The name of the datacenter. This name needs to be unique
|
|
198
199
|
within the folder. Forces a new resource if changed.
|
|
@@ -200,19 +201,19 @@ class _DatacenterState:
|
|
|
200
201
|
return pulumi.get(self, "name")
|
|
201
202
|
|
|
202
203
|
@name.setter
|
|
203
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
204
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
204
205
|
pulumi.set(self, "name", value)
|
|
205
206
|
|
|
206
207
|
@property
|
|
207
208
|
@pulumi.getter
|
|
208
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
209
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
209
210
|
"""
|
|
210
211
|
The IDs of any tags to attach to this resource.
|
|
211
212
|
"""
|
|
212
213
|
return pulumi.get(self, "tags")
|
|
213
214
|
|
|
214
215
|
@tags.setter
|
|
215
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
216
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
216
217
|
pulumi.set(self, "tags", value)
|
|
217
218
|
|
|
218
219
|
|
|
@@ -221,10 +222,10 @@ class Datacenter(pulumi.CustomResource):
|
|
|
221
222
|
def __init__(__self__,
|
|
222
223
|
resource_name: str,
|
|
223
224
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
224
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
225
|
-
folder: Optional[pulumi.Input[str]] = None,
|
|
226
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
227
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
225
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
226
|
+
folder: Optional[pulumi.Input[builtins.str]] = None,
|
|
227
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
228
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
228
229
|
__props__=None):
|
|
229
230
|
"""
|
|
230
231
|
Provides a VMware vSphere datacenter resource. This can be used as the primary
|
|
@@ -268,7 +269,7 @@ class Datacenter(pulumi.CustomResource):
|
|
|
268
269
|
|
|
269
270
|
:param str resource_name: The name of the resource.
|
|
270
271
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
271
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
|
|
272
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to value
|
|
272
273
|
strings to set for datacenter resource. See
|
|
273
274
|
[here][docs-setting-custom-attributes] for a reference on how to set values
|
|
274
275
|
for custom attributes.
|
|
@@ -277,11 +278,11 @@ class Datacenter(pulumi.CustomResource):
|
|
|
277
278
|
|
|
278
279
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
279
280
|
and require vCenter.
|
|
280
|
-
:param pulumi.Input[str] folder: The folder where the datacenter should be created.
|
|
281
|
+
:param pulumi.Input[builtins.str] folder: The folder where the datacenter should be created.
|
|
281
282
|
Forces a new resource if changed.
|
|
282
|
-
:param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
|
|
283
|
+
:param pulumi.Input[builtins.str] name: The name of the datacenter. This name needs to be unique
|
|
283
284
|
within the folder. Forces a new resource if changed.
|
|
284
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
285
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
285
286
|
"""
|
|
286
287
|
...
|
|
287
288
|
@overload
|
|
@@ -344,10 +345,10 @@ class Datacenter(pulumi.CustomResource):
|
|
|
344
345
|
def _internal_init(__self__,
|
|
345
346
|
resource_name: str,
|
|
346
347
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
347
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
348
|
-
folder: Optional[pulumi.Input[str]] = None,
|
|
349
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
350
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
348
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
349
|
+
folder: Optional[pulumi.Input[builtins.str]] = None,
|
|
350
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
351
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
351
352
|
__props__=None):
|
|
352
353
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
353
354
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -372,11 +373,11 @@ class Datacenter(pulumi.CustomResource):
|
|
|
372
373
|
def get(resource_name: str,
|
|
373
374
|
id: pulumi.Input[str],
|
|
374
375
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
375
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
376
|
-
folder: Optional[pulumi.Input[str]] = None,
|
|
377
|
-
moid: Optional[pulumi.Input[str]] = None,
|
|
378
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
379
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'Datacenter':
|
|
376
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
377
|
+
folder: Optional[pulumi.Input[builtins.str]] = None,
|
|
378
|
+
moid: Optional[pulumi.Input[builtins.str]] = None,
|
|
379
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
380
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'Datacenter':
|
|
380
381
|
"""
|
|
381
382
|
Get an existing Datacenter resource's state with the given name, id, and optional extra
|
|
382
383
|
properties used to qualify the lookup.
|
|
@@ -384,7 +385,7 @@ class Datacenter(pulumi.CustomResource):
|
|
|
384
385
|
:param str resource_name: The unique name of the resulting resource.
|
|
385
386
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
386
387
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
387
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
|
|
388
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to value
|
|
388
389
|
strings to set for datacenter resource. See
|
|
389
390
|
[here][docs-setting-custom-attributes] for a reference on how to set values
|
|
390
391
|
for custom attributes.
|
|
@@ -393,12 +394,12 @@ class Datacenter(pulumi.CustomResource):
|
|
|
393
394
|
|
|
394
395
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
395
396
|
and require vCenter.
|
|
396
|
-
:param pulumi.Input[str] folder: The folder where the datacenter should be created.
|
|
397
|
+
:param pulumi.Input[builtins.str] folder: The folder where the datacenter should be created.
|
|
397
398
|
Forces a new resource if changed.
|
|
398
|
-
:param pulumi.Input[str] moid: Managed object ID of this datacenter.
|
|
399
|
-
:param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
|
|
399
|
+
:param pulumi.Input[builtins.str] moid: Managed object ID of this datacenter.
|
|
400
|
+
:param pulumi.Input[builtins.str] name: The name of the datacenter. This name needs to be unique
|
|
400
401
|
within the folder. Forces a new resource if changed.
|
|
401
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
402
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
402
403
|
"""
|
|
403
404
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
404
405
|
|
|
@@ -413,7 +414,7 @@ class Datacenter(pulumi.CustomResource):
|
|
|
413
414
|
|
|
414
415
|
@property
|
|
415
416
|
@pulumi.getter(name="customAttributes")
|
|
416
|
-
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
417
|
+
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
417
418
|
"""
|
|
418
419
|
Map of custom attribute ids to value
|
|
419
420
|
strings to set for datacenter resource. See
|
|
@@ -429,7 +430,7 @@ class Datacenter(pulumi.CustomResource):
|
|
|
429
430
|
|
|
430
431
|
@property
|
|
431
432
|
@pulumi.getter
|
|
432
|
-
def folder(self) -> pulumi.Output[Optional[str]]:
|
|
433
|
+
def folder(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
433
434
|
"""
|
|
434
435
|
The folder where the datacenter should be created.
|
|
435
436
|
Forces a new resource if changed.
|
|
@@ -438,7 +439,7 @@ class Datacenter(pulumi.CustomResource):
|
|
|
438
439
|
|
|
439
440
|
@property
|
|
440
441
|
@pulumi.getter
|
|
441
|
-
def moid(self) -> pulumi.Output[str]:
|
|
442
|
+
def moid(self) -> pulumi.Output[builtins.str]:
|
|
442
443
|
"""
|
|
443
444
|
Managed object ID of this datacenter.
|
|
444
445
|
"""
|
|
@@ -446,7 +447,7 @@ class Datacenter(pulumi.CustomResource):
|
|
|
446
447
|
|
|
447
448
|
@property
|
|
448
449
|
@pulumi.getter
|
|
449
|
-
def name(self) -> pulumi.Output[str]:
|
|
450
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
450
451
|
"""
|
|
451
452
|
The name of the datacenter. This name needs to be unique
|
|
452
453
|
within the folder. Forces a new resource if changed.
|
|
@@ -455,7 +456,7 @@ class Datacenter(pulumi.CustomResource):
|
|
|
455
456
|
|
|
456
457
|
@property
|
|
457
458
|
@pulumi.getter
|
|
458
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
459
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
459
460
|
"""
|
|
460
461
|
The IDs of any tags to attach to this resource.
|
|
461
462
|
"""
|