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
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,7 +275,7 @@ 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
|
|
|
@@ -283,11 +284,11 @@ class Folder(pulumi.CustomResource):
|
|
|
283
284
|
def __init__(__self__,
|
|
284
285
|
resource_name: str,
|
|
285
286
|
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,
|
|
287
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
288
|
+
datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
289
|
+
path: Optional[pulumi.Input[builtins.str]] = None,
|
|
290
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
291
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
291
292
|
__props__=None):
|
|
292
293
|
"""
|
|
293
294
|
The `Folder` resource can be used to manage vSphere inventory folders.
|
|
@@ -360,7 +361,7 @@ class Folder(pulumi.CustomResource):
|
|
|
360
361
|
|
|
361
362
|
:param str resource_name: The name of the resource.
|
|
362
363
|
: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
|
|
364
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
364
365
|
value strings to set for folder. See [here][docs-setting-custom-attributes]
|
|
365
366
|
for a reference on how to set values for custom attributes.
|
|
366
367
|
|
|
@@ -368,10 +369,10 @@ class Folder(pulumi.CustomResource):
|
|
|
368
369
|
|
|
369
370
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
370
371
|
and require vCenter.
|
|
371
|
-
:param pulumi.Input[str] datacenter_id: The ID of the datacenter the folder will be created in.
|
|
372
|
+
:param pulumi.Input[builtins.str] datacenter_id: The ID of the datacenter the folder will be created in.
|
|
372
373
|
Required for all folder types except for datacenter folders. Forces a new
|
|
373
374
|
resource if changed.
|
|
374
|
-
:param pulumi.Input[str] path: The path of the folder to be created. This is relative to
|
|
375
|
+
:param pulumi.Input[builtins.str] path: The path of the folder to be created. This is relative to
|
|
375
376
|
the root of the type of folder you are creating, and the supplied datacenter.
|
|
376
377
|
For example, given a default datacenter of `default-dc`, a folder of type
|
|
377
378
|
`vm` (denoting a virtual machine folder), and a supplied folder of
|
|
@@ -382,8 +383,8 @@ class Folder(pulumi.CustomResource):
|
|
|
382
383
|
what section of `path` you are modifying. If you are modifying the parent (so
|
|
383
384
|
any part before the last `/`), your folder will be moved to that new parent. If
|
|
384
385
|
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
|
|
386
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
387
|
+
:param pulumi.Input[builtins.str] type: The type of folder to create. Allowed options are
|
|
387
388
|
`datacenter` for datacenter folders, `host` for host and cluster folders,
|
|
388
389
|
`vm` for virtual machine folders, `datastore` for datastore folders, and
|
|
389
390
|
`network` for network folders. Forces a new resource if changed.
|
|
@@ -478,11 +479,11 @@ class Folder(pulumi.CustomResource):
|
|
|
478
479
|
def _internal_init(__self__,
|
|
479
480
|
resource_name: str,
|
|
480
481
|
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,
|
|
482
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
483
|
+
datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
484
|
+
path: Optional[pulumi.Input[builtins.str]] = None,
|
|
485
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
486
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
486
487
|
__props__=None):
|
|
487
488
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
488
489
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -511,11 +512,11 @@ class Folder(pulumi.CustomResource):
|
|
|
511
512
|
def get(resource_name: str,
|
|
512
513
|
id: pulumi.Input[str],
|
|
513
514
|
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':
|
|
515
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
516
|
+
datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
517
|
+
path: Optional[pulumi.Input[builtins.str]] = None,
|
|
518
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
519
|
+
type: Optional[pulumi.Input[builtins.str]] = None) -> 'Folder':
|
|
519
520
|
"""
|
|
520
521
|
Get an existing Folder resource's state with the given name, id, and optional extra
|
|
521
522
|
properties used to qualify the lookup.
|
|
@@ -523,7 +524,7 @@ class Folder(pulumi.CustomResource):
|
|
|
523
524
|
:param str resource_name: The unique name of the resulting resource.
|
|
524
525
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
525
526
|
: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
|
|
527
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
527
528
|
value strings to set for folder. See [here][docs-setting-custom-attributes]
|
|
528
529
|
for a reference on how to set values for custom attributes.
|
|
529
530
|
|
|
@@ -531,10 +532,10 @@ class Folder(pulumi.CustomResource):
|
|
|
531
532
|
|
|
532
533
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
533
534
|
and require vCenter.
|
|
534
|
-
:param pulumi.Input[str] datacenter_id: The ID of the datacenter the folder will be created in.
|
|
535
|
+
:param pulumi.Input[builtins.str] datacenter_id: The ID of the datacenter the folder will be created in.
|
|
535
536
|
Required for all folder types except for datacenter folders. Forces a new
|
|
536
537
|
resource if changed.
|
|
537
|
-
:param pulumi.Input[str] path: The path of the folder to be created. This is relative to
|
|
538
|
+
:param pulumi.Input[builtins.str] path: The path of the folder to be created. This is relative to
|
|
538
539
|
the root of the type of folder you are creating, and the supplied datacenter.
|
|
539
540
|
For example, given a default datacenter of `default-dc`, a folder of type
|
|
540
541
|
`vm` (denoting a virtual machine folder), and a supplied folder of
|
|
@@ -545,8 +546,8 @@ class Folder(pulumi.CustomResource):
|
|
|
545
546
|
what section of `path` you are modifying. If you are modifying the parent (so
|
|
546
547
|
any part before the last `/`), your folder will be moved to that new parent. If
|
|
547
548
|
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
|
|
549
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
550
|
+
:param pulumi.Input[builtins.str] type: The type of folder to create. Allowed options are
|
|
550
551
|
`datacenter` for datacenter folders, `host` for host and cluster folders,
|
|
551
552
|
`vm` for virtual machine folders, `datastore` for datastore folders, and
|
|
552
553
|
`network` for network folders. Forces a new resource if changed.
|
|
@@ -564,7 +565,7 @@ class Folder(pulumi.CustomResource):
|
|
|
564
565
|
|
|
565
566
|
@property
|
|
566
567
|
@pulumi.getter(name="customAttributes")
|
|
567
|
-
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
568
|
+
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
568
569
|
"""
|
|
569
570
|
Map of custom attribute ids to attribute
|
|
570
571
|
value strings to set for folder. See [here][docs-setting-custom-attributes]
|
|
@@ -579,7 +580,7 @@ class Folder(pulumi.CustomResource):
|
|
|
579
580
|
|
|
580
581
|
@property
|
|
581
582
|
@pulumi.getter(name="datacenterId")
|
|
582
|
-
def datacenter_id(self) -> pulumi.Output[Optional[str]]:
|
|
583
|
+
def datacenter_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
583
584
|
"""
|
|
584
585
|
The ID of the datacenter the folder will be created in.
|
|
585
586
|
Required for all folder types except for datacenter folders. Forces a new
|
|
@@ -589,7 +590,7 @@ class Folder(pulumi.CustomResource):
|
|
|
589
590
|
|
|
590
591
|
@property
|
|
591
592
|
@pulumi.getter
|
|
592
|
-
def path(self) -> pulumi.Output[str]:
|
|
593
|
+
def path(self) -> pulumi.Output[builtins.str]:
|
|
593
594
|
"""
|
|
594
595
|
The path of the folder to be created. This is relative to
|
|
595
596
|
the root of the type of folder you are creating, and the supplied datacenter.
|
|
@@ -607,7 +608,7 @@ class Folder(pulumi.CustomResource):
|
|
|
607
608
|
|
|
608
609
|
@property
|
|
609
610
|
@pulumi.getter
|
|
610
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
611
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
611
612
|
"""
|
|
612
613
|
The IDs of any tags to attach to this resource.
|
|
613
614
|
"""
|
|
@@ -615,7 +616,7 @@ class Folder(pulumi.CustomResource):
|
|
|
615
616
|
|
|
616
617
|
@property
|
|
617
618
|
@pulumi.getter
|
|
618
|
-
def type(self) -> pulumi.Output[str]:
|
|
619
|
+
def type(self) -> pulumi.Output[builtins.str]:
|
|
619
620
|
"""
|
|
620
621
|
The type of folder to create. Allowed options are
|
|
621
622
|
`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
|