pulumi-vsphere 4.14.0a1741243116__py3-none-any.whl → 4.14.0a1745952392__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +1 -0
- pulumi_vsphere/_inputs.py +969 -968
- pulumi_vsphere/compute_cluster.py +921 -917
- pulumi_vsphere/compute_cluster_host_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +88 -84
- pulumi_vsphere/compute_cluster_vm_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +102 -98
- pulumi_vsphere/config/__init__.py +1 -0
- pulumi_vsphere/config/__init__.pyi +1 -0
- pulumi_vsphere/config/vars.py +1 -0
- pulumi_vsphere/content_library.py +46 -42
- pulumi_vsphere/content_library_item.py +88 -84
- pulumi_vsphere/custom_attribute.py +32 -28
- pulumi_vsphere/datacenter.py +67 -63
- pulumi_vsphere/datastore_cluster.py +354 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/distributed_port_group.py +648 -644
- pulumi_vsphere/distributed_virtual_switch.py +1285 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +60 -56
- pulumi_vsphere/dpm_host_override.py +60 -56
- pulumi_vsphere/drs_vm_override.py +60 -56
- pulumi_vsphere/entity_permissions.py +32 -28
- pulumi_vsphere/file.py +98 -94
- pulumi_vsphere/folder.py +74 -70
- pulumi_vsphere/get_compute_cluster.py +13 -12
- pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
- pulumi_vsphere/get_content_library.py +7 -6
- pulumi_vsphere/get_content_library_item.py +17 -16
- pulumi_vsphere/get_custom_attribute.py +8 -7
- pulumi_vsphere/get_datacenter.py +8 -7
- pulumi_vsphere/get_datastore.py +17 -16
- pulumi_vsphere/get_datastore_cluster.py +13 -12
- pulumi_vsphere/get_datastore_stats.py +17 -16
- pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
- pulumi_vsphere/get_dynamic.py +17 -16
- pulumi_vsphere/get_folder.py +7 -6
- pulumi_vsphere/get_guest_os_customization.py +11 -10
- pulumi_vsphere/get_host.py +13 -12
- pulumi_vsphere/get_host_base_images.py +3 -2
- pulumi_vsphere/get_host_pci_device.py +23 -22
- pulumi_vsphere/get_host_thumbprint.py +17 -16
- pulumi_vsphere/get_host_vgpu_profile.py +12 -11
- pulumi_vsphere/get_license.py +12 -11
- pulumi_vsphere/get_network.py +18 -17
- pulumi_vsphere/get_ovf_vm_template.py +89 -88
- pulumi_vsphere/get_policy.py +7 -6
- pulumi_vsphere/get_resource_pool.py +12 -11
- pulumi_vsphere/get_role.py +20 -19
- pulumi_vsphere/get_tag.py +13 -12
- pulumi_vsphere/get_tag_category.py +10 -9
- pulumi_vsphere/get_vapp_container.py +12 -11
- pulumi_vsphere/get_virtual_machine.py +204 -203
- pulumi_vsphere/get_vmfs_disks.py +18 -17
- pulumi_vsphere/guest_os_customization.py +60 -56
- pulumi_vsphere/ha_vm_override.py +214 -210
- pulumi_vsphere/host.py +200 -196
- pulumi_vsphere/host_port_group.py +256 -252
- pulumi_vsphere/host_virtual_switch.py +298 -294
- pulumi_vsphere/license.py +60 -56
- pulumi_vsphere/nas_datastore.py +214 -210
- pulumi_vsphere/offline_software_depot.py +18 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +101 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +214 -210
- pulumi_vsphere/role.py +39 -35
- pulumi_vsphere/storage_drs_vm_override.py +74 -70
- pulumi_vsphere/supervisor.py +158 -154
- pulumi_vsphere/tag.py +46 -42
- pulumi_vsphere/tag_category.py +60 -56
- pulumi_vsphere/vapp_container.py +214 -210
- pulumi_vsphere/vapp_entity.py +144 -140
- pulumi_vsphere/virtual_disk.py +102 -98
- pulumi_vsphere/virtual_machine.py +1043 -1039
- pulumi_vsphere/virtual_machine_class.py +88 -84
- pulumi_vsphere/virtual_machine_snapshot.py +102 -98
- pulumi_vsphere/vm_storage_policy.py +32 -28
- pulumi_vsphere/vmfs_datastore.py +151 -147
- pulumi_vsphere/vnic.py +116 -112
- {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1741243116.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/top_level.txt +0 -0
pulumi_vsphere/folder.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,14 +20,14 @@ __all__ = ['FolderArgs', 'Folder']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class FolderArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
path: pulumi.Input[str],
|
|
23
|
-
type: pulumi.Input[str],
|
|
24
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
25
|
-
datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
23
|
+
path: pulumi.Input[builtins.str],
|
|
24
|
+
type: pulumi.Input[builtins.str],
|
|
25
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
26
|
+
datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
27
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
27
28
|
"""
|
|
28
29
|
The set of arguments for constructing a Folder resource.
|
|
29
|
-
:param pulumi.Input[str] path: The path of the folder to be created. This is relative to
|
|
30
|
+
:param pulumi.Input[builtins.str] path: The path of the folder to be created. This is relative to
|
|
30
31
|
the root of the type of folder you are creating, and the supplied datacenter.
|
|
31
32
|
For example, given a default datacenter of `default-dc`, a folder of type
|
|
32
33
|
`vm` (denoting a virtual machine folder), and a supplied folder of
|
|
@@ -37,11 +38,11 @@ class FolderArgs:
|
|
|
37
38
|
what section of `path` you are modifying. If you are modifying the parent (so
|
|
38
39
|
any part before the last `/`), your folder will be moved to that new parent. If
|
|
39
40
|
modifying the name (the part after the last `/`), your folder will be renamed.
|
|
40
|
-
:param pulumi.Input[str] type: The type of folder to create. Allowed options are
|
|
41
|
+
:param pulumi.Input[builtins.str] type: The type of folder to create. Allowed options are
|
|
41
42
|
`datacenter` for datacenter folders, `host` for host and cluster folders,
|
|
42
43
|
`vm` for virtual machine folders, `datastore` for datastore folders, and
|
|
43
44
|
`network` for network folders. Forces a new resource if changed.
|
|
44
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
45
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
45
46
|
value strings to set for folder. See [here][docs-setting-custom-attributes]
|
|
46
47
|
for a reference on how to set values for custom attributes.
|
|
47
48
|
|
|
@@ -49,10 +50,10 @@ class FolderArgs:
|
|
|
49
50
|
|
|
50
51
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
51
52
|
and require vCenter.
|
|
52
|
-
:param pulumi.Input[str] datacenter_id: The ID of the datacenter the folder will be created in.
|
|
53
|
+
:param pulumi.Input[builtins.str] datacenter_id: The ID of the datacenter the folder will be created in.
|
|
53
54
|
Required for all folder types except for datacenter folders. Forces a new
|
|
54
55
|
resource if changed.
|
|
55
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
56
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
56
57
|
"""
|
|
57
58
|
pulumi.set(__self__, "path", path)
|
|
58
59
|
pulumi.set(__self__, "type", type)
|
|
@@ -65,7 +66,7 @@ class FolderArgs:
|
|
|
65
66
|
|
|
66
67
|
@property
|
|
67
68
|
@pulumi.getter
|
|
68
|
-
def path(self) -> pulumi.Input[str]:
|
|
69
|
+
def path(self) -> pulumi.Input[builtins.str]:
|
|
69
70
|
"""
|
|
70
71
|
The path of the folder to be created. This is relative to
|
|
71
72
|
the root of the type of folder you are creating, and the supplied datacenter.
|
|
@@ -82,12 +83,12 @@ class FolderArgs:
|
|
|
82
83
|
return pulumi.get(self, "path")
|
|
83
84
|
|
|
84
85
|
@path.setter
|
|
85
|
-
def path(self, value: pulumi.Input[str]):
|
|
86
|
+
def path(self, value: pulumi.Input[builtins.str]):
|
|
86
87
|
pulumi.set(self, "path", value)
|
|
87
88
|
|
|
88
89
|
@property
|
|
89
90
|
@pulumi.getter
|
|
90
|
-
def type(self) -> pulumi.Input[str]:
|
|
91
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
91
92
|
"""
|
|
92
93
|
The type of folder to create. Allowed options are
|
|
93
94
|
`datacenter` for datacenter folders, `host` for host and cluster folders,
|
|
@@ -97,12 +98,12 @@ class FolderArgs:
|
|
|
97
98
|
return pulumi.get(self, "type")
|
|
98
99
|
|
|
99
100
|
@type.setter
|
|
100
|
-
def type(self, value: pulumi.Input[str]):
|
|
101
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
101
102
|
pulumi.set(self, "type", value)
|
|
102
103
|
|
|
103
104
|
@property
|
|
104
105
|
@pulumi.getter(name="customAttributes")
|
|
105
|
-
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
106
|
+
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
106
107
|
"""
|
|
107
108
|
Map of custom attribute ids to attribute
|
|
108
109
|
value strings to set for folder. See [here][docs-setting-custom-attributes]
|
|
@@ -116,12 +117,12 @@ class FolderArgs:
|
|
|
116
117
|
return pulumi.get(self, "custom_attributes")
|
|
117
118
|
|
|
118
119
|
@custom_attributes.setter
|
|
119
|
-
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
120
|
+
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
120
121
|
pulumi.set(self, "custom_attributes", value)
|
|
121
122
|
|
|
122
123
|
@property
|
|
123
124
|
@pulumi.getter(name="datacenterId")
|
|
124
|
-
def datacenter_id(self) -> Optional[pulumi.Input[str]]:
|
|
125
|
+
def datacenter_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
125
126
|
"""
|
|
126
127
|
The ID of the datacenter the folder will be created in.
|
|
127
128
|
Required for all folder types except for datacenter folders. Forces a new
|
|
@@ -130,33 +131,33 @@ class FolderArgs:
|
|
|
130
131
|
return pulumi.get(self, "datacenter_id")
|
|
131
132
|
|
|
132
133
|
@datacenter_id.setter
|
|
133
|
-
def datacenter_id(self, value: Optional[pulumi.Input[str]]):
|
|
134
|
+
def datacenter_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
134
135
|
pulumi.set(self, "datacenter_id", value)
|
|
135
136
|
|
|
136
137
|
@property
|
|
137
138
|
@pulumi.getter
|
|
138
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
139
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
139
140
|
"""
|
|
140
141
|
The IDs of any tags to attach to this resource.
|
|
141
142
|
"""
|
|
142
143
|
return pulumi.get(self, "tags")
|
|
143
144
|
|
|
144
145
|
@tags.setter
|
|
145
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
146
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
146
147
|
pulumi.set(self, "tags", value)
|
|
147
148
|
|
|
148
149
|
|
|
149
150
|
@pulumi.input_type
|
|
150
151
|
class _FolderState:
|
|
151
152
|
def __init__(__self__, *,
|
|
152
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
153
|
-
datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
154
|
-
path: Optional[pulumi.Input[str]] = None,
|
|
155
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
156
|
-
type: Optional[pulumi.Input[str]] = None):
|
|
153
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
154
|
+
datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
155
|
+
path: Optional[pulumi.Input[builtins.str]] = None,
|
|
156
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
157
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
|
157
158
|
"""
|
|
158
159
|
Input properties used for looking up and filtering Folder resources.
|
|
159
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
160
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
160
161
|
value strings to set for folder. See [here][docs-setting-custom-attributes]
|
|
161
162
|
for a reference on how to set values for custom attributes.
|
|
162
163
|
|
|
@@ -164,10 +165,10 @@ class _FolderState:
|
|
|
164
165
|
|
|
165
166
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
166
167
|
and require vCenter.
|
|
167
|
-
:param pulumi.Input[str] datacenter_id: The ID of the datacenter the folder will be created in.
|
|
168
|
+
:param pulumi.Input[builtins.str] datacenter_id: The ID of the datacenter the folder will be created in.
|
|
168
169
|
Required for all folder types except for datacenter folders. Forces a new
|
|
169
170
|
resource if changed.
|
|
170
|
-
:param pulumi.Input[str] path: The path of the folder to be created. This is relative to
|
|
171
|
+
:param pulumi.Input[builtins.str] path: The path of the folder to be created. This is relative to
|
|
171
172
|
the root of the type of folder you are creating, and the supplied datacenter.
|
|
172
173
|
For example, given a default datacenter of `default-dc`, a folder of type
|
|
173
174
|
`vm` (denoting a virtual machine folder), and a supplied folder of
|
|
@@ -178,8 +179,8 @@ class _FolderState:
|
|
|
178
179
|
what section of `path` you are modifying. If you are modifying the parent (so
|
|
179
180
|
any part before the last `/`), your folder will be moved to that new parent. If
|
|
180
181
|
modifying the name (the part after the last `/`), your folder will be renamed.
|
|
181
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
182
|
-
:param pulumi.Input[str] type: The type of folder to create. Allowed options are
|
|
182
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
183
|
+
:param pulumi.Input[builtins.str] type: The type of folder to create. Allowed options are
|
|
183
184
|
`datacenter` for datacenter folders, `host` for host and cluster folders,
|
|
184
185
|
`vm` for virtual machine folders, `datastore` for datastore folders, and
|
|
185
186
|
`network` for network folders. Forces a new resource if changed.
|
|
@@ -197,7 +198,7 @@ class _FolderState:
|
|
|
197
198
|
|
|
198
199
|
@property
|
|
199
200
|
@pulumi.getter(name="customAttributes")
|
|
200
|
-
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
201
|
+
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
201
202
|
"""
|
|
202
203
|
Map of custom attribute ids to attribute
|
|
203
204
|
value strings to set for folder. See [here][docs-setting-custom-attributes]
|
|
@@ -211,12 +212,12 @@ class _FolderState:
|
|
|
211
212
|
return pulumi.get(self, "custom_attributes")
|
|
212
213
|
|
|
213
214
|
@custom_attributes.setter
|
|
214
|
-
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
215
|
+
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
215
216
|
pulumi.set(self, "custom_attributes", value)
|
|
216
217
|
|
|
217
218
|
@property
|
|
218
219
|
@pulumi.getter(name="datacenterId")
|
|
219
|
-
def datacenter_id(self) -> Optional[pulumi.Input[str]]:
|
|
220
|
+
def datacenter_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
220
221
|
"""
|
|
221
222
|
The ID of the datacenter the folder will be created in.
|
|
222
223
|
Required for all folder types except for datacenter folders. Forces a new
|
|
@@ -225,12 +226,12 @@ class _FolderState:
|
|
|
225
226
|
return pulumi.get(self, "datacenter_id")
|
|
226
227
|
|
|
227
228
|
@datacenter_id.setter
|
|
228
|
-
def datacenter_id(self, value: Optional[pulumi.Input[str]]):
|
|
229
|
+
def datacenter_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
229
230
|
pulumi.set(self, "datacenter_id", value)
|
|
230
231
|
|
|
231
232
|
@property
|
|
232
233
|
@pulumi.getter
|
|
233
|
-
def path(self) -> Optional[pulumi.Input[str]]:
|
|
234
|
+
def path(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
234
235
|
"""
|
|
235
236
|
The path of the folder to be created. This is relative to
|
|
236
237
|
the root of the type of folder you are creating, and the supplied datacenter.
|
|
@@ -247,24 +248,24 @@ class _FolderState:
|
|
|
247
248
|
return pulumi.get(self, "path")
|
|
248
249
|
|
|
249
250
|
@path.setter
|
|
250
|
-
def path(self, value: Optional[pulumi.Input[str]]):
|
|
251
|
+
def path(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
251
252
|
pulumi.set(self, "path", value)
|
|
252
253
|
|
|
253
254
|
@property
|
|
254
255
|
@pulumi.getter
|
|
255
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
256
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
256
257
|
"""
|
|
257
258
|
The IDs of any tags to attach to this resource.
|
|
258
259
|
"""
|
|
259
260
|
return pulumi.get(self, "tags")
|
|
260
261
|
|
|
261
262
|
@tags.setter
|
|
262
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
263
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
263
264
|
pulumi.set(self, "tags", value)
|
|
264
265
|
|
|
265
266
|
@property
|
|
266
267
|
@pulumi.getter
|
|
267
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
268
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
268
269
|
"""
|
|
269
270
|
The type of folder to create. Allowed options are
|
|
270
271
|
`datacenter` for datacenter folders, `host` for host and cluster folders,
|
|
@@ -274,20 +275,23 @@ class _FolderState:
|
|
|
274
275
|
return pulumi.get(self, "type")
|
|
275
276
|
|
|
276
277
|
@type.setter
|
|
277
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
278
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
278
279
|
pulumi.set(self, "type", value)
|
|
279
280
|
|
|
280
281
|
|
|
281
282
|
class Folder(pulumi.CustomResource):
|
|
283
|
+
|
|
284
|
+
pulumi_type = "vsphere:index/folder:Folder"
|
|
285
|
+
|
|
282
286
|
@overload
|
|
283
287
|
def __init__(__self__,
|
|
284
288
|
resource_name: str,
|
|
285
289
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
286
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
287
|
-
datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
288
|
-
path: Optional[pulumi.Input[str]] = None,
|
|
289
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
290
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
290
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
291
|
+
datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
292
|
+
path: Optional[pulumi.Input[builtins.str]] = None,
|
|
293
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
294
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
291
295
|
__props__=None):
|
|
292
296
|
"""
|
|
293
297
|
The `Folder` resource can be used to manage vSphere inventory folders.
|
|
@@ -360,7 +364,7 @@ class Folder(pulumi.CustomResource):
|
|
|
360
364
|
|
|
361
365
|
:param str resource_name: The name of the resource.
|
|
362
366
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
363
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
367
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
364
368
|
value strings to set for folder. See [here][docs-setting-custom-attributes]
|
|
365
369
|
for a reference on how to set values for custom attributes.
|
|
366
370
|
|
|
@@ -368,10 +372,10 @@ class Folder(pulumi.CustomResource):
|
|
|
368
372
|
|
|
369
373
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
370
374
|
and require vCenter.
|
|
371
|
-
:param pulumi.Input[str] datacenter_id: The ID of the datacenter the folder will be created in.
|
|
375
|
+
:param pulumi.Input[builtins.str] datacenter_id: The ID of the datacenter the folder will be created in.
|
|
372
376
|
Required for all folder types except for datacenter folders. Forces a new
|
|
373
377
|
resource if changed.
|
|
374
|
-
:param pulumi.Input[str] path: The path of the folder to be created. This is relative to
|
|
378
|
+
:param pulumi.Input[builtins.str] path: The path of the folder to be created. This is relative to
|
|
375
379
|
the root of the type of folder you are creating, and the supplied datacenter.
|
|
376
380
|
For example, given a default datacenter of `default-dc`, a folder of type
|
|
377
381
|
`vm` (denoting a virtual machine folder), and a supplied folder of
|
|
@@ -382,8 +386,8 @@ class Folder(pulumi.CustomResource):
|
|
|
382
386
|
what section of `path` you are modifying. If you are modifying the parent (so
|
|
383
387
|
any part before the last `/`), your folder will be moved to that new parent. If
|
|
384
388
|
modifying the name (the part after the last `/`), your folder will be renamed.
|
|
385
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
386
|
-
:param pulumi.Input[str] type: The type of folder to create. Allowed options are
|
|
389
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
390
|
+
:param pulumi.Input[builtins.str] type: The type of folder to create. Allowed options are
|
|
387
391
|
`datacenter` for datacenter folders, `host` for host and cluster folders,
|
|
388
392
|
`vm` for virtual machine folders, `datastore` for datastore folders, and
|
|
389
393
|
`network` for network folders. Forces a new resource if changed.
|
|
@@ -478,11 +482,11 @@ class Folder(pulumi.CustomResource):
|
|
|
478
482
|
def _internal_init(__self__,
|
|
479
483
|
resource_name: str,
|
|
480
484
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
481
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
482
|
-
datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
483
|
-
path: Optional[pulumi.Input[str]] = None,
|
|
484
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
485
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
485
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
486
|
+
datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
487
|
+
path: Optional[pulumi.Input[builtins.str]] = None,
|
|
488
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
489
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
486
490
|
__props__=None):
|
|
487
491
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
488
492
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -511,11 +515,11 @@ class Folder(pulumi.CustomResource):
|
|
|
511
515
|
def get(resource_name: str,
|
|
512
516
|
id: pulumi.Input[str],
|
|
513
517
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
514
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
515
|
-
datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
516
|
-
path: Optional[pulumi.Input[str]] = None,
|
|
517
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
518
|
-
type: Optional[pulumi.Input[str]] = None) -> 'Folder':
|
|
518
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
519
|
+
datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
520
|
+
path: Optional[pulumi.Input[builtins.str]] = None,
|
|
521
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
522
|
+
type: Optional[pulumi.Input[builtins.str]] = None) -> 'Folder':
|
|
519
523
|
"""
|
|
520
524
|
Get an existing Folder resource's state with the given name, id, and optional extra
|
|
521
525
|
properties used to qualify the lookup.
|
|
@@ -523,7 +527,7 @@ class Folder(pulumi.CustomResource):
|
|
|
523
527
|
:param str resource_name: The unique name of the resulting resource.
|
|
524
528
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
525
529
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
526
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
530
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
527
531
|
value strings to set for folder. See [here][docs-setting-custom-attributes]
|
|
528
532
|
for a reference on how to set values for custom attributes.
|
|
529
533
|
|
|
@@ -531,10 +535,10 @@ class Folder(pulumi.CustomResource):
|
|
|
531
535
|
|
|
532
536
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
533
537
|
and require vCenter.
|
|
534
|
-
:param pulumi.Input[str] datacenter_id: The ID of the datacenter the folder will be created in.
|
|
538
|
+
:param pulumi.Input[builtins.str] datacenter_id: The ID of the datacenter the folder will be created in.
|
|
535
539
|
Required for all folder types except for datacenter folders. Forces a new
|
|
536
540
|
resource if changed.
|
|
537
|
-
:param pulumi.Input[str] path: The path of the folder to be created. This is relative to
|
|
541
|
+
:param pulumi.Input[builtins.str] path: The path of the folder to be created. This is relative to
|
|
538
542
|
the root of the type of folder you are creating, and the supplied datacenter.
|
|
539
543
|
For example, given a default datacenter of `default-dc`, a folder of type
|
|
540
544
|
`vm` (denoting a virtual machine folder), and a supplied folder of
|
|
@@ -545,8 +549,8 @@ class Folder(pulumi.CustomResource):
|
|
|
545
549
|
what section of `path` you are modifying. If you are modifying the parent (so
|
|
546
550
|
any part before the last `/`), your folder will be moved to that new parent. If
|
|
547
551
|
modifying the name (the part after the last `/`), your folder will be renamed.
|
|
548
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
549
|
-
:param pulumi.Input[str] type: The type of folder to create. Allowed options are
|
|
552
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
553
|
+
:param pulumi.Input[builtins.str] type: The type of folder to create. Allowed options are
|
|
550
554
|
`datacenter` for datacenter folders, `host` for host and cluster folders,
|
|
551
555
|
`vm` for virtual machine folders, `datastore` for datastore folders, and
|
|
552
556
|
`network` for network folders. Forces a new resource if changed.
|
|
@@ -564,7 +568,7 @@ class Folder(pulumi.CustomResource):
|
|
|
564
568
|
|
|
565
569
|
@property
|
|
566
570
|
@pulumi.getter(name="customAttributes")
|
|
567
|
-
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
571
|
+
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
568
572
|
"""
|
|
569
573
|
Map of custom attribute ids to attribute
|
|
570
574
|
value strings to set for folder. See [here][docs-setting-custom-attributes]
|
|
@@ -579,7 +583,7 @@ class Folder(pulumi.CustomResource):
|
|
|
579
583
|
|
|
580
584
|
@property
|
|
581
585
|
@pulumi.getter(name="datacenterId")
|
|
582
|
-
def datacenter_id(self) -> pulumi.Output[Optional[str]]:
|
|
586
|
+
def datacenter_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
583
587
|
"""
|
|
584
588
|
The ID of the datacenter the folder will be created in.
|
|
585
589
|
Required for all folder types except for datacenter folders. Forces a new
|
|
@@ -589,7 +593,7 @@ class Folder(pulumi.CustomResource):
|
|
|
589
593
|
|
|
590
594
|
@property
|
|
591
595
|
@pulumi.getter
|
|
592
|
-
def path(self) -> pulumi.Output[str]:
|
|
596
|
+
def path(self) -> pulumi.Output[builtins.str]:
|
|
593
597
|
"""
|
|
594
598
|
The path of the folder to be created. This is relative to
|
|
595
599
|
the root of the type of folder you are creating, and the supplied datacenter.
|
|
@@ -607,7 +611,7 @@ class Folder(pulumi.CustomResource):
|
|
|
607
611
|
|
|
608
612
|
@property
|
|
609
613
|
@pulumi.getter
|
|
610
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
614
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
611
615
|
"""
|
|
612
616
|
The IDs of any tags to attach to this resource.
|
|
613
617
|
"""
|
|
@@ -615,7 +619,7 @@ class Folder(pulumi.CustomResource):
|
|
|
615
619
|
|
|
616
620
|
@property
|
|
617
621
|
@pulumi.getter
|
|
618
|
-
def type(self) -> pulumi.Output[str]:
|
|
622
|
+
def type(self) -> pulumi.Output[builtins.str]:
|
|
619
623
|
"""
|
|
620
624
|
The type of folder to create. Allowed options are
|
|
621
625
|
`datacenter` for datacenter folders, `host` for host and cluster folders,
|
|
@@ -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
|
|
@@ -42,12 +43,12 @@ class GetComputeClusterResult:
|
|
|
42
43
|
|
|
43
44
|
@property
|
|
44
45
|
@pulumi.getter(name="datacenterId")
|
|
45
|
-
def datacenter_id(self) -> Optional[str]:
|
|
46
|
+
def datacenter_id(self) -> Optional[builtins.str]:
|
|
46
47
|
return pulumi.get(self, "datacenter_id")
|
|
47
48
|
|
|
48
49
|
@property
|
|
49
50
|
@pulumi.getter
|
|
50
|
-
def id(self) -> str:
|
|
51
|
+
def id(self) -> builtins.str:
|
|
51
52
|
"""
|
|
52
53
|
The provider-assigned unique ID for this managed resource.
|
|
53
54
|
"""
|
|
@@ -55,12 +56,12 @@ class GetComputeClusterResult:
|
|
|
55
56
|
|
|
56
57
|
@property
|
|
57
58
|
@pulumi.getter
|
|
58
|
-
def name(self) -> str:
|
|
59
|
+
def name(self) -> builtins.str:
|
|
59
60
|
return pulumi.get(self, "name")
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter(name="resourcePoolId")
|
|
63
|
-
def resource_pool_id(self) -> str:
|
|
64
|
+
def resource_pool_id(self) -> builtins.str:
|
|
64
65
|
"""
|
|
65
66
|
The managed object reference ID of
|
|
66
67
|
the root resource pool for the cluster.
|
|
@@ -80,8 +81,8 @@ class AwaitableGetComputeClusterResult(GetComputeClusterResult):
|
|
|
80
81
|
resource_pool_id=self.resource_pool_id)
|
|
81
82
|
|
|
82
83
|
|
|
83
|
-
def get_compute_cluster(datacenter_id: Optional[str] = None,
|
|
84
|
-
name: Optional[str] = None,
|
|
84
|
+
def get_compute_cluster(datacenter_id: Optional[builtins.str] = None,
|
|
85
|
+
name: Optional[builtins.str] = None,
|
|
85
86
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetComputeClusterResult:
|
|
86
87
|
"""
|
|
87
88
|
The `ComputeCluster` data source can be used to discover the ID of a
|
|
@@ -106,11 +107,11 @@ def get_compute_cluster(datacenter_id: Optional[str] = None,
|
|
|
106
107
|
```
|
|
107
108
|
|
|
108
109
|
|
|
109
|
-
:param str datacenter_id: The managed object reference ID
|
|
110
|
+
:param builtins.str datacenter_id: The managed object reference ID
|
|
110
111
|
of the datacenter the cluster is located in. This can be omitted if the
|
|
111
112
|
search path used in `name` is an absolute path. For default datacenters,
|
|
112
113
|
use the `id` attribute from an empty `Datacenter` data source.
|
|
113
|
-
:param str name: The name or absolute path to the cluster.
|
|
114
|
+
:param builtins.str name: The name or absolute path to the cluster.
|
|
114
115
|
"""
|
|
115
116
|
__args__ = dict()
|
|
116
117
|
__args__['datacenterId'] = datacenter_id
|
|
@@ -123,8 +124,8 @@ def get_compute_cluster(datacenter_id: Optional[str] = None,
|
|
|
123
124
|
id=pulumi.get(__ret__, 'id'),
|
|
124
125
|
name=pulumi.get(__ret__, 'name'),
|
|
125
126
|
resource_pool_id=pulumi.get(__ret__, 'resource_pool_id'))
|
|
126
|
-
def get_compute_cluster_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
127
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
127
|
+
def get_compute_cluster_output(datacenter_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
128
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
128
129
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetComputeClusterResult]:
|
|
129
130
|
"""
|
|
130
131
|
The `ComputeCluster` data source can be used to discover the ID of a
|
|
@@ -149,11 +150,11 @@ def get_compute_cluster_output(datacenter_id: Optional[pulumi.Input[Optional[str
|
|
|
149
150
|
```
|
|
150
151
|
|
|
151
152
|
|
|
152
|
-
:param str datacenter_id: The managed object reference ID
|
|
153
|
+
:param builtins.str datacenter_id: The managed object reference ID
|
|
153
154
|
of the datacenter the cluster is located in. This can be omitted if the
|
|
154
155
|
search path used in `name` is an absolute path. For default datacenters,
|
|
155
156
|
use the `id` attribute from an empty `Datacenter` data source.
|
|
156
|
-
:param str name: The name or absolute path to the cluster.
|
|
157
|
+
:param builtins.str name: The name or absolute path to the cluster.
|
|
157
158
|
"""
|
|
158
159
|
__args__ = dict()
|
|
159
160
|
__args__['datacenterId'] = datacenter_id
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -42,12 +43,12 @@ class GetComputeClusterHostGroupResult:
|
|
|
42
43
|
|
|
43
44
|
@property
|
|
44
45
|
@pulumi.getter(name="computeClusterId")
|
|
45
|
-
def compute_cluster_id(self) -> str:
|
|
46
|
+
def compute_cluster_id(self) -> builtins.str:
|
|
46
47
|
return pulumi.get(self, "compute_cluster_id")
|
|
47
48
|
|
|
48
49
|
@property
|
|
49
50
|
@pulumi.getter(name="hostSystemIds")
|
|
50
|
-
def host_system_ids(self) -> Sequence[str]:
|
|
51
|
+
def host_system_ids(self) -> Sequence[builtins.str]:
|
|
51
52
|
"""
|
|
52
53
|
The [managed object reference ID][docs-about-morefs] of
|
|
53
54
|
the ESXi hosts in the host group.
|
|
@@ -56,7 +57,7 @@ class GetComputeClusterHostGroupResult:
|
|
|
56
57
|
|
|
57
58
|
@property
|
|
58
59
|
@pulumi.getter
|
|
59
|
-
def id(self) -> str:
|
|
60
|
+
def id(self) -> builtins.str:
|
|
60
61
|
"""
|
|
61
62
|
The provider-assigned unique ID for this managed resource.
|
|
62
63
|
"""
|
|
@@ -64,7 +65,7 @@ class GetComputeClusterHostGroupResult:
|
|
|
64
65
|
|
|
65
66
|
@property
|
|
66
67
|
@pulumi.getter
|
|
67
|
-
def name(self) -> str:
|
|
68
|
+
def name(self) -> builtins.str:
|
|
68
69
|
return pulumi.get(self, "name")
|
|
69
70
|
|
|
70
71
|
|
|
@@ -80,8 +81,8 @@ class AwaitableGetComputeClusterHostGroupResult(GetComputeClusterHostGroupResult
|
|
|
80
81
|
name=self.name)
|
|
81
82
|
|
|
82
83
|
|
|
83
|
-
def get_compute_cluster_host_group(compute_cluster_id: Optional[str] = None,
|
|
84
|
-
name: Optional[str] = None,
|
|
84
|
+
def get_compute_cluster_host_group(compute_cluster_id: Optional[builtins.str] = None,
|
|
85
|
+
name: Optional[builtins.str] = None,
|
|
85
86
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetComputeClusterHostGroupResult:
|
|
86
87
|
"""
|
|
87
88
|
The `ComputeClusterHostGroup` data source can be used to discover
|
|
@@ -107,12 +108,12 @@ def get_compute_cluster_host_group(compute_cluster_id: Optional[str] = None,
|
|
|
107
108
|
```
|
|
108
109
|
|
|
109
110
|
|
|
110
|
-
:param str compute_cluster_id: The
|
|
111
|
+
:param builtins.str compute_cluster_id: The
|
|
111
112
|
[managed object reference ID][docs-about-morefs] of the compute cluster for
|
|
112
113
|
the host group.
|
|
113
114
|
|
|
114
115
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
115
|
-
:param str name: The name of the host group.
|
|
116
|
+
:param builtins.str name: The name of the host group.
|
|
116
117
|
"""
|
|
117
118
|
__args__ = dict()
|
|
118
119
|
__args__['computeClusterId'] = compute_cluster_id
|
|
@@ -125,8 +126,8 @@ def get_compute_cluster_host_group(compute_cluster_id: Optional[str] = None,
|
|
|
125
126
|
host_system_ids=pulumi.get(__ret__, 'host_system_ids'),
|
|
126
127
|
id=pulumi.get(__ret__, 'id'),
|
|
127
128
|
name=pulumi.get(__ret__, 'name'))
|
|
128
|
-
def get_compute_cluster_host_group_output(compute_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
129
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
129
|
+
def get_compute_cluster_host_group_output(compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
130
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
130
131
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetComputeClusterHostGroupResult]:
|
|
131
132
|
"""
|
|
132
133
|
The `ComputeClusterHostGroup` data source can be used to discover
|
|
@@ -152,12 +153,12 @@ def get_compute_cluster_host_group_output(compute_cluster_id: Optional[pulumi.In
|
|
|
152
153
|
```
|
|
153
154
|
|
|
154
155
|
|
|
155
|
-
:param str compute_cluster_id: The
|
|
156
|
+
:param builtins.str compute_cluster_id: The
|
|
156
157
|
[managed object reference ID][docs-about-morefs] of the compute cluster for
|
|
157
158
|
the host group.
|
|
158
159
|
|
|
159
160
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
160
|
-
:param str name: The name of the host group.
|
|
161
|
+
:param builtins.str name: The name of the host group.
|
|
161
162
|
"""
|
|
162
163
|
__args__ = dict()
|
|
163
164
|
__args__['computeClusterId'] = compute_cluster_id
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -36,7 +37,7 @@ class GetContentLibraryResult:
|
|
|
36
37
|
|
|
37
38
|
@property
|
|
38
39
|
@pulumi.getter
|
|
39
|
-
def id(self) -> str:
|
|
40
|
+
def id(self) -> builtins.str:
|
|
40
41
|
"""
|
|
41
42
|
The provider-assigned unique ID for this managed resource.
|
|
42
43
|
"""
|
|
@@ -44,7 +45,7 @@ class GetContentLibraryResult:
|
|
|
44
45
|
|
|
45
46
|
@property
|
|
46
47
|
@pulumi.getter
|
|
47
|
-
def name(self) -> str:
|
|
48
|
+
def name(self) -> builtins.str:
|
|
48
49
|
return pulumi.get(self, "name")
|
|
49
50
|
|
|
50
51
|
|
|
@@ -58,7 +59,7 @@ class AwaitableGetContentLibraryResult(GetContentLibraryResult):
|
|
|
58
59
|
name=self.name)
|
|
59
60
|
|
|
60
61
|
|
|
61
|
-
def get_content_library(name: Optional[str] = None,
|
|
62
|
+
def get_content_library(name: Optional[builtins.str] = None,
|
|
62
63
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetContentLibraryResult:
|
|
63
64
|
"""
|
|
64
65
|
The `ContentLibrary` data source can be used to discover the ID of a
|
|
@@ -77,7 +78,7 @@ def get_content_library(name: Optional[str] = None,
|
|
|
77
78
|
```
|
|
78
79
|
|
|
79
80
|
|
|
80
|
-
:param str name: The name of the content library.
|
|
81
|
+
:param builtins.str name: The name of the content library.
|
|
81
82
|
"""
|
|
82
83
|
__args__ = dict()
|
|
83
84
|
__args__['name'] = name
|
|
@@ -87,7 +88,7 @@ def get_content_library(name: Optional[str] = None,
|
|
|
87
88
|
return AwaitableGetContentLibraryResult(
|
|
88
89
|
id=pulumi.get(__ret__, 'id'),
|
|
89
90
|
name=pulumi.get(__ret__, 'name'))
|
|
90
|
-
def get_content_library_output(name: Optional[pulumi.Input[str]] = None,
|
|
91
|
+
def get_content_library_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
91
92
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetContentLibraryResult]:
|
|
92
93
|
"""
|
|
93
94
|
The `ContentLibrary` data source can be used to discover the ID of a
|
|
@@ -106,7 +107,7 @@ def get_content_library_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
106
107
|
```
|
|
107
108
|
|
|
108
109
|
|
|
109
|
-
:param str name: The name of the content library.
|
|
110
|
+
:param builtins.str name: The name of the content library.
|
|
110
111
|
"""
|
|
111
112
|
__args__ = dict()
|
|
112
113
|
__args__['name'] = name
|