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
pulumi_vsphere/datacenter.py
CHANGED
|
@@ -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
|
|
@@ -19,13 +19,13 @@ __all__ = ['DatacenterArgs', 'Datacenter']
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class DatacenterArgs:
|
|
21
21
|
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):
|
|
22
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
23
|
+
folder: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
26
26
|
"""
|
|
27
27
|
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
|
|
28
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: Map of custom attribute ids to value
|
|
29
29
|
strings to set for datacenter resource. See
|
|
30
30
|
[here][docs-setting-custom-attributes] for a reference on how to set values
|
|
31
31
|
for custom attributes.
|
|
@@ -34,11 +34,11 @@ class DatacenterArgs:
|
|
|
34
34
|
|
|
35
35
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
36
36
|
and require vCenter.
|
|
37
|
-
:param pulumi.Input[str] folder: The folder where the datacenter should be created.
|
|
37
|
+
:param pulumi.Input[_builtins.str] folder: The folder where the datacenter should be created.
|
|
38
38
|
Forces a new resource if changed.
|
|
39
|
-
:param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
|
|
39
|
+
:param pulumi.Input[_builtins.str] name: The name of the datacenter. This name needs to be unique
|
|
40
40
|
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.
|
|
41
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
42
42
|
"""
|
|
43
43
|
if custom_attributes is not None:
|
|
44
44
|
pulumi.set(__self__, "custom_attributes", custom_attributes)
|
|
@@ -49,9 +49,9 @@ class DatacenterArgs:
|
|
|
49
49
|
if tags is not None:
|
|
50
50
|
pulumi.set(__self__, "tags", tags)
|
|
51
51
|
|
|
52
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
53
53
|
@pulumi.getter(name="customAttributes")
|
|
54
|
-
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
54
|
+
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
55
55
|
"""
|
|
56
56
|
Map of custom attribute ids to value
|
|
57
57
|
strings to set for datacenter resource. See
|
|
@@ -66,12 +66,12 @@ class DatacenterArgs:
|
|
|
66
66
|
return pulumi.get(self, "custom_attributes")
|
|
67
67
|
|
|
68
68
|
@custom_attributes.setter
|
|
69
|
-
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
69
|
+
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
70
70
|
pulumi.set(self, "custom_attributes", value)
|
|
71
71
|
|
|
72
|
-
@property
|
|
72
|
+
@_builtins.property
|
|
73
73
|
@pulumi.getter
|
|
74
|
-
def folder(self) -> Optional[pulumi.Input[str]]:
|
|
74
|
+
def folder(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
75
75
|
"""
|
|
76
76
|
The folder where the datacenter should be created.
|
|
77
77
|
Forces a new resource if changed.
|
|
@@ -79,12 +79,12 @@ class DatacenterArgs:
|
|
|
79
79
|
return pulumi.get(self, "folder")
|
|
80
80
|
|
|
81
81
|
@folder.setter
|
|
82
|
-
def folder(self, value: Optional[pulumi.Input[str]]):
|
|
82
|
+
def folder(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
83
83
|
pulumi.set(self, "folder", value)
|
|
84
84
|
|
|
85
|
-
@property
|
|
85
|
+
@_builtins.property
|
|
86
86
|
@pulumi.getter
|
|
87
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
87
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
88
88
|
"""
|
|
89
89
|
The name of the datacenter. This name needs to be unique
|
|
90
90
|
within the folder. Forces a new resource if changed.
|
|
@@ -92,33 +92,33 @@ class DatacenterArgs:
|
|
|
92
92
|
return pulumi.get(self, "name")
|
|
93
93
|
|
|
94
94
|
@name.setter
|
|
95
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
95
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
96
96
|
pulumi.set(self, "name", value)
|
|
97
97
|
|
|
98
|
-
@property
|
|
98
|
+
@_builtins.property
|
|
99
99
|
@pulumi.getter
|
|
100
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
100
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
101
101
|
"""
|
|
102
102
|
The IDs of any tags to attach to this resource.
|
|
103
103
|
"""
|
|
104
104
|
return pulumi.get(self, "tags")
|
|
105
105
|
|
|
106
106
|
@tags.setter
|
|
107
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
107
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
108
108
|
pulumi.set(self, "tags", value)
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
@pulumi.input_type
|
|
112
112
|
class _DatacenterState:
|
|
113
113
|
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):
|
|
114
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
115
|
+
folder: Optional[pulumi.Input[_builtins.str]] = None,
|
|
116
|
+
moid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
117
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
118
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
119
119
|
"""
|
|
120
120
|
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
|
|
121
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: Map of custom attribute ids to value
|
|
122
122
|
strings to set for datacenter resource. See
|
|
123
123
|
[here][docs-setting-custom-attributes] for a reference on how to set values
|
|
124
124
|
for custom attributes.
|
|
@@ -127,12 +127,12 @@ class _DatacenterState:
|
|
|
127
127
|
|
|
128
128
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
129
129
|
and require vCenter.
|
|
130
|
-
:param pulumi.Input[str] folder: The folder where the datacenter should be created.
|
|
130
|
+
:param pulumi.Input[_builtins.str] folder: The folder where the datacenter should be created.
|
|
131
131
|
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
|
|
132
|
+
:param pulumi.Input[_builtins.str] moid: Managed object ID of this datacenter.
|
|
133
|
+
:param pulumi.Input[_builtins.str] name: The name of the datacenter. This name needs to be unique
|
|
134
134
|
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.
|
|
135
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
136
136
|
"""
|
|
137
137
|
if custom_attributes is not None:
|
|
138
138
|
pulumi.set(__self__, "custom_attributes", custom_attributes)
|
|
@@ -145,9 +145,9 @@ class _DatacenterState:
|
|
|
145
145
|
if tags is not None:
|
|
146
146
|
pulumi.set(__self__, "tags", tags)
|
|
147
147
|
|
|
148
|
-
@property
|
|
148
|
+
@_builtins.property
|
|
149
149
|
@pulumi.getter(name="customAttributes")
|
|
150
|
-
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
150
|
+
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
151
151
|
"""
|
|
152
152
|
Map of custom attribute ids to value
|
|
153
153
|
strings to set for datacenter resource. See
|
|
@@ -162,12 +162,12 @@ class _DatacenterState:
|
|
|
162
162
|
return pulumi.get(self, "custom_attributes")
|
|
163
163
|
|
|
164
164
|
@custom_attributes.setter
|
|
165
|
-
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
165
|
+
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
166
166
|
pulumi.set(self, "custom_attributes", value)
|
|
167
167
|
|
|
168
|
-
@property
|
|
168
|
+
@_builtins.property
|
|
169
169
|
@pulumi.getter
|
|
170
|
-
def folder(self) -> Optional[pulumi.Input[str]]:
|
|
170
|
+
def folder(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
171
171
|
"""
|
|
172
172
|
The folder where the datacenter should be created.
|
|
173
173
|
Forces a new resource if changed.
|
|
@@ -175,24 +175,24 @@ class _DatacenterState:
|
|
|
175
175
|
return pulumi.get(self, "folder")
|
|
176
176
|
|
|
177
177
|
@folder.setter
|
|
178
|
-
def folder(self, value: Optional[pulumi.Input[str]]):
|
|
178
|
+
def folder(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
179
179
|
pulumi.set(self, "folder", value)
|
|
180
180
|
|
|
181
|
-
@property
|
|
181
|
+
@_builtins.property
|
|
182
182
|
@pulumi.getter
|
|
183
|
-
def moid(self) -> Optional[pulumi.Input[str]]:
|
|
183
|
+
def moid(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
184
184
|
"""
|
|
185
185
|
Managed object ID of this datacenter.
|
|
186
186
|
"""
|
|
187
187
|
return pulumi.get(self, "moid")
|
|
188
188
|
|
|
189
189
|
@moid.setter
|
|
190
|
-
def moid(self, value: Optional[pulumi.Input[str]]):
|
|
190
|
+
def moid(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
191
191
|
pulumi.set(self, "moid", value)
|
|
192
192
|
|
|
193
|
-
@property
|
|
193
|
+
@_builtins.property
|
|
194
194
|
@pulumi.getter
|
|
195
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
195
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
196
196
|
"""
|
|
197
197
|
The name of the datacenter. This name needs to be unique
|
|
198
198
|
within the folder. Forces a new resource if changed.
|
|
@@ -200,31 +200,32 @@ class _DatacenterState:
|
|
|
200
200
|
return pulumi.get(self, "name")
|
|
201
201
|
|
|
202
202
|
@name.setter
|
|
203
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
203
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
204
204
|
pulumi.set(self, "name", value)
|
|
205
205
|
|
|
206
|
-
@property
|
|
206
|
+
@_builtins.property
|
|
207
207
|
@pulumi.getter
|
|
208
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
208
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
209
209
|
"""
|
|
210
210
|
The IDs of any tags to attach to this resource.
|
|
211
211
|
"""
|
|
212
212
|
return pulumi.get(self, "tags")
|
|
213
213
|
|
|
214
214
|
@tags.setter
|
|
215
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
215
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
216
216
|
pulumi.set(self, "tags", value)
|
|
217
217
|
|
|
218
218
|
|
|
219
|
+
@pulumi.type_token("vsphere:index/datacenter:Datacenter")
|
|
219
220
|
class Datacenter(pulumi.CustomResource):
|
|
220
221
|
@overload
|
|
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
|
|
|
@@ -411,9 +412,9 @@ class Datacenter(pulumi.CustomResource):
|
|
|
411
412
|
__props__.__dict__["tags"] = tags
|
|
412
413
|
return Datacenter(resource_name, opts=opts, __props__=__props__)
|
|
413
414
|
|
|
414
|
-
@property
|
|
415
|
+
@_builtins.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
|
|
@@ -427,35 +428,35 @@ class Datacenter(pulumi.CustomResource):
|
|
|
427
428
|
"""
|
|
428
429
|
return pulumi.get(self, "custom_attributes")
|
|
429
430
|
|
|
430
|
-
@property
|
|
431
|
+
@_builtins.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.
|
|
436
437
|
"""
|
|
437
438
|
return pulumi.get(self, "folder")
|
|
438
439
|
|
|
439
|
-
@property
|
|
440
|
+
@_builtins.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
|
"""
|
|
445
446
|
return pulumi.get(self, "moid")
|
|
446
447
|
|
|
447
|
-
@property
|
|
448
|
+
@_builtins.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.
|
|
453
454
|
"""
|
|
454
455
|
return pulumi.get(self, "name")
|
|
455
456
|
|
|
456
|
-
@property
|
|
457
|
+
@_builtins.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
|
"""
|