pulumi-vsphere 4.14.0a1741997722__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.0a1741997722.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.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1741997722.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -21,16 +22,16 @@ __all__ = ['ContentLibraryArgs', 'ContentLibrary']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class ContentLibraryArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
storage_backings: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
25
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
storage_backings: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
26
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
27
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
27
28
|
publication: Optional[pulumi.Input['ContentLibraryPublicationArgs']] = None,
|
|
28
29
|
subscription: Optional[pulumi.Input['ContentLibrarySubscriptionArgs']] = None):
|
|
29
30
|
"""
|
|
30
31
|
The set of arguments for constructing a ContentLibrary resource.
|
|
31
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] storage_backings: The managed object reference ID of the datastore on which to store the content library items.
|
|
32
|
-
:param pulumi.Input[str] description: A description for the content library.
|
|
33
|
-
:param pulumi.Input[str] name: The name of the content library.
|
|
32
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] storage_backings: The managed object reference ID of the datastore on which to store the content library items.
|
|
33
|
+
:param pulumi.Input[builtins.str] description: A description for the content library.
|
|
34
|
+
:param pulumi.Input[builtins.str] name: The name of the content library.
|
|
34
35
|
:param pulumi.Input['ContentLibraryPublicationArgs'] publication: Options to publish a local content library.
|
|
35
36
|
:param pulumi.Input['ContentLibrarySubscriptionArgs'] subscription: Options subscribe to a published content library.
|
|
36
37
|
"""
|
|
@@ -46,38 +47,38 @@ class ContentLibraryArgs:
|
|
|
46
47
|
|
|
47
48
|
@property
|
|
48
49
|
@pulumi.getter(name="storageBackings")
|
|
49
|
-
def storage_backings(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
50
|
+
def storage_backings(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
50
51
|
"""
|
|
51
52
|
The managed object reference ID of the datastore on which to store the content library items.
|
|
52
53
|
"""
|
|
53
54
|
return pulumi.get(self, "storage_backings")
|
|
54
55
|
|
|
55
56
|
@storage_backings.setter
|
|
56
|
-
def storage_backings(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
57
|
+
def storage_backings(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
57
58
|
pulumi.set(self, "storage_backings", value)
|
|
58
59
|
|
|
59
60
|
@property
|
|
60
61
|
@pulumi.getter
|
|
61
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
62
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
62
63
|
"""
|
|
63
64
|
A description for the content library.
|
|
64
65
|
"""
|
|
65
66
|
return pulumi.get(self, "description")
|
|
66
67
|
|
|
67
68
|
@description.setter
|
|
68
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
69
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
69
70
|
pulumi.set(self, "description", value)
|
|
70
71
|
|
|
71
72
|
@property
|
|
72
73
|
@pulumi.getter
|
|
73
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
74
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
74
75
|
"""
|
|
75
76
|
The name of the content library.
|
|
76
77
|
"""
|
|
77
78
|
return pulumi.get(self, "name")
|
|
78
79
|
|
|
79
80
|
@name.setter
|
|
80
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
81
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
81
82
|
pulumi.set(self, "name", value)
|
|
82
83
|
|
|
83
84
|
@property
|
|
@@ -108,17 +109,17 @@ class ContentLibraryArgs:
|
|
|
108
109
|
@pulumi.input_type
|
|
109
110
|
class _ContentLibraryState:
|
|
110
111
|
def __init__(__self__, *,
|
|
111
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
112
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
112
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
113
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
113
114
|
publication: Optional[pulumi.Input['ContentLibraryPublicationArgs']] = None,
|
|
114
|
-
storage_backings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
115
|
+
storage_backings: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
115
116
|
subscription: Optional[pulumi.Input['ContentLibrarySubscriptionArgs']] = None):
|
|
116
117
|
"""
|
|
117
118
|
Input properties used for looking up and filtering ContentLibrary resources.
|
|
118
|
-
:param pulumi.Input[str] description: A description for the content library.
|
|
119
|
-
:param pulumi.Input[str] name: The name of the content library.
|
|
119
|
+
:param pulumi.Input[builtins.str] description: A description for the content library.
|
|
120
|
+
:param pulumi.Input[builtins.str] name: The name of the content library.
|
|
120
121
|
:param pulumi.Input['ContentLibraryPublicationArgs'] publication: Options to publish a local content library.
|
|
121
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] storage_backings: The managed object reference ID of the datastore on which to store the content library items.
|
|
122
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] storage_backings: The managed object reference ID of the datastore on which to store the content library items.
|
|
122
123
|
:param pulumi.Input['ContentLibrarySubscriptionArgs'] subscription: Options subscribe to a published content library.
|
|
123
124
|
"""
|
|
124
125
|
if description is not None:
|
|
@@ -134,26 +135,26 @@ class _ContentLibraryState:
|
|
|
134
135
|
|
|
135
136
|
@property
|
|
136
137
|
@pulumi.getter
|
|
137
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
138
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
138
139
|
"""
|
|
139
140
|
A description for the content library.
|
|
140
141
|
"""
|
|
141
142
|
return pulumi.get(self, "description")
|
|
142
143
|
|
|
143
144
|
@description.setter
|
|
144
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
145
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
145
146
|
pulumi.set(self, "description", value)
|
|
146
147
|
|
|
147
148
|
@property
|
|
148
149
|
@pulumi.getter
|
|
149
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
150
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
150
151
|
"""
|
|
151
152
|
The name of the content library.
|
|
152
153
|
"""
|
|
153
154
|
return pulumi.get(self, "name")
|
|
154
155
|
|
|
155
156
|
@name.setter
|
|
156
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
157
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
157
158
|
pulumi.set(self, "name", value)
|
|
158
159
|
|
|
159
160
|
@property
|
|
@@ -170,14 +171,14 @@ class _ContentLibraryState:
|
|
|
170
171
|
|
|
171
172
|
@property
|
|
172
173
|
@pulumi.getter(name="storageBackings")
|
|
173
|
-
def storage_backings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
174
|
+
def storage_backings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
174
175
|
"""
|
|
175
176
|
The managed object reference ID of the datastore on which to store the content library items.
|
|
176
177
|
"""
|
|
177
178
|
return pulumi.get(self, "storage_backings")
|
|
178
179
|
|
|
179
180
|
@storage_backings.setter
|
|
180
|
-
def storage_backings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
181
|
+
def storage_backings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
181
182
|
pulumi.set(self, "storage_backings", value)
|
|
182
183
|
|
|
183
184
|
@property
|
|
@@ -194,14 +195,17 @@ class _ContentLibraryState:
|
|
|
194
195
|
|
|
195
196
|
|
|
196
197
|
class ContentLibrary(pulumi.CustomResource):
|
|
198
|
+
|
|
199
|
+
pulumi_type = "vsphere:index/contentLibrary:ContentLibrary"
|
|
200
|
+
|
|
197
201
|
@overload
|
|
198
202
|
def __init__(__self__,
|
|
199
203
|
resource_name: str,
|
|
200
204
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
201
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
202
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
205
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
206
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
203
207
|
publication: Optional[pulumi.Input[Union['ContentLibraryPublicationArgs', 'ContentLibraryPublicationArgsDict']]] = None,
|
|
204
|
-
storage_backings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
208
|
+
storage_backings: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
205
209
|
subscription: Optional[pulumi.Input[Union['ContentLibrarySubscriptionArgs', 'ContentLibrarySubscriptionArgsDict']]] = None,
|
|
206
210
|
__props__=None):
|
|
207
211
|
"""
|
|
@@ -256,10 +260,10 @@ class ContentLibrary(pulumi.CustomResource):
|
|
|
256
260
|
|
|
257
261
|
:param str resource_name: The name of the resource.
|
|
258
262
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
259
|
-
:param pulumi.Input[str] description: A description for the content library.
|
|
260
|
-
:param pulumi.Input[str] name: The name of the content library.
|
|
263
|
+
:param pulumi.Input[builtins.str] description: A description for the content library.
|
|
264
|
+
:param pulumi.Input[builtins.str] name: The name of the content library.
|
|
261
265
|
:param pulumi.Input[Union['ContentLibraryPublicationArgs', 'ContentLibraryPublicationArgsDict']] publication: Options to publish a local content library.
|
|
262
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] storage_backings: The managed object reference ID of the datastore on which to store the content library items.
|
|
266
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] storage_backings: The managed object reference ID of the datastore on which to store the content library items.
|
|
263
267
|
:param pulumi.Input[Union['ContentLibrarySubscriptionArgs', 'ContentLibrarySubscriptionArgsDict']] subscription: Options subscribe to a published content library.
|
|
264
268
|
"""
|
|
265
269
|
...
|
|
@@ -333,10 +337,10 @@ class ContentLibrary(pulumi.CustomResource):
|
|
|
333
337
|
def _internal_init(__self__,
|
|
334
338
|
resource_name: str,
|
|
335
339
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
336
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
337
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
340
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
341
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
338
342
|
publication: Optional[pulumi.Input[Union['ContentLibraryPublicationArgs', 'ContentLibraryPublicationArgsDict']]] = None,
|
|
339
|
-
storage_backings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
343
|
+
storage_backings: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
340
344
|
subscription: Optional[pulumi.Input[Union['ContentLibrarySubscriptionArgs', 'ContentLibrarySubscriptionArgsDict']]] = None,
|
|
341
345
|
__props__=None):
|
|
342
346
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -364,10 +368,10 @@ class ContentLibrary(pulumi.CustomResource):
|
|
|
364
368
|
def get(resource_name: str,
|
|
365
369
|
id: pulumi.Input[str],
|
|
366
370
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
367
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
368
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
371
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
372
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
369
373
|
publication: Optional[pulumi.Input[Union['ContentLibraryPublicationArgs', 'ContentLibraryPublicationArgsDict']]] = None,
|
|
370
|
-
storage_backings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
374
|
+
storage_backings: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
371
375
|
subscription: Optional[pulumi.Input[Union['ContentLibrarySubscriptionArgs', 'ContentLibrarySubscriptionArgsDict']]] = None) -> 'ContentLibrary':
|
|
372
376
|
"""
|
|
373
377
|
Get an existing ContentLibrary resource's state with the given name, id, and optional extra
|
|
@@ -376,10 +380,10 @@ class ContentLibrary(pulumi.CustomResource):
|
|
|
376
380
|
:param str resource_name: The unique name of the resulting resource.
|
|
377
381
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
378
382
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
379
|
-
:param pulumi.Input[str] description: A description for the content library.
|
|
380
|
-
:param pulumi.Input[str] name: The name of the content library.
|
|
383
|
+
:param pulumi.Input[builtins.str] description: A description for the content library.
|
|
384
|
+
:param pulumi.Input[builtins.str] name: The name of the content library.
|
|
381
385
|
:param pulumi.Input[Union['ContentLibraryPublicationArgs', 'ContentLibraryPublicationArgsDict']] publication: Options to publish a local content library.
|
|
382
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] storage_backings: The managed object reference ID of the datastore on which to store the content library items.
|
|
386
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] storage_backings: The managed object reference ID of the datastore on which to store the content library items.
|
|
383
387
|
:param pulumi.Input[Union['ContentLibrarySubscriptionArgs', 'ContentLibrarySubscriptionArgsDict']] subscription: Options subscribe to a published content library.
|
|
384
388
|
"""
|
|
385
389
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -395,7 +399,7 @@ class ContentLibrary(pulumi.CustomResource):
|
|
|
395
399
|
|
|
396
400
|
@property
|
|
397
401
|
@pulumi.getter
|
|
398
|
-
def description(self) -> pulumi.Output[Optional[str]]:
|
|
402
|
+
def description(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
399
403
|
"""
|
|
400
404
|
A description for the content library.
|
|
401
405
|
"""
|
|
@@ -403,7 +407,7 @@ class ContentLibrary(pulumi.CustomResource):
|
|
|
403
407
|
|
|
404
408
|
@property
|
|
405
409
|
@pulumi.getter
|
|
406
|
-
def name(self) -> pulumi.Output[str]:
|
|
410
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
407
411
|
"""
|
|
408
412
|
The name of the content library.
|
|
409
413
|
"""
|
|
@@ -419,7 +423,7 @@ class ContentLibrary(pulumi.CustomResource):
|
|
|
419
423
|
|
|
420
424
|
@property
|
|
421
425
|
@pulumi.getter(name="storageBackings")
|
|
422
|
-
def storage_backings(self) -> pulumi.Output[Sequence[str]]:
|
|
426
|
+
def storage_backings(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
423
427
|
"""
|
|
424
428
|
The managed object reference ID of the datastore on which to store the content library items.
|
|
425
429
|
"""
|
|
@@ -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,20 +20,20 @@ __all__ = ['ContentLibraryItemArgs', 'ContentLibraryItem']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class ContentLibraryItemArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
library_id: pulumi.Input[str],
|
|
23
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
24
|
-
file_url: Optional[pulumi.Input[str]] = None,
|
|
25
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
source_uuid: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
type: Optional[pulumi.Input[str]] = None):
|
|
23
|
+
library_id: pulumi.Input[builtins.str],
|
|
24
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
25
|
+
file_url: Optional[pulumi.Input[builtins.str]] = None,
|
|
26
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
27
|
+
source_uuid: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
|
28
29
|
"""
|
|
29
30
|
The set of arguments for constructing a ContentLibraryItem resource.
|
|
30
|
-
:param pulumi.Input[str] library_id: The ID of the content library in which to create the item.
|
|
31
|
-
:param pulumi.Input[str] description: A description for the content library item.
|
|
32
|
-
:param pulumi.Input[str] file_url: File to import as the content library item.
|
|
33
|
-
:param pulumi.Input[str] name: The name of the item to be created in the content library.
|
|
34
|
-
:param pulumi.Input[str] source_uuid: Virtual machine UUID to clone to content library.
|
|
35
|
-
:param pulumi.Input[str] type: Type of content library item.
|
|
31
|
+
:param pulumi.Input[builtins.str] library_id: The ID of the content library in which to create the item.
|
|
32
|
+
:param pulumi.Input[builtins.str] description: A description for the content library item.
|
|
33
|
+
:param pulumi.Input[builtins.str] file_url: File to import as the content library item.
|
|
34
|
+
:param pulumi.Input[builtins.str] name: The name of the item to be created in the content library.
|
|
35
|
+
:param pulumi.Input[builtins.str] source_uuid: Virtual machine UUID to clone to content library.
|
|
36
|
+
:param pulumi.Input[builtins.str] type: Type of content library item.
|
|
36
37
|
One of "ovf", "iso", or "vm-template". Default: `ovf`.
|
|
37
38
|
"""
|
|
38
39
|
pulumi.set(__self__, "library_id", library_id)
|
|
@@ -49,67 +50,67 @@ class ContentLibraryItemArgs:
|
|
|
49
50
|
|
|
50
51
|
@property
|
|
51
52
|
@pulumi.getter(name="libraryId")
|
|
52
|
-
def library_id(self) -> pulumi.Input[str]:
|
|
53
|
+
def library_id(self) -> pulumi.Input[builtins.str]:
|
|
53
54
|
"""
|
|
54
55
|
The ID of the content library in which to create the item.
|
|
55
56
|
"""
|
|
56
57
|
return pulumi.get(self, "library_id")
|
|
57
58
|
|
|
58
59
|
@library_id.setter
|
|
59
|
-
def library_id(self, value: pulumi.Input[str]):
|
|
60
|
+
def library_id(self, value: pulumi.Input[builtins.str]):
|
|
60
61
|
pulumi.set(self, "library_id", value)
|
|
61
62
|
|
|
62
63
|
@property
|
|
63
64
|
@pulumi.getter
|
|
64
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
65
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
65
66
|
"""
|
|
66
67
|
A description for the content library item.
|
|
67
68
|
"""
|
|
68
69
|
return pulumi.get(self, "description")
|
|
69
70
|
|
|
70
71
|
@description.setter
|
|
71
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
72
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
72
73
|
pulumi.set(self, "description", value)
|
|
73
74
|
|
|
74
75
|
@property
|
|
75
76
|
@pulumi.getter(name="fileUrl")
|
|
76
|
-
def file_url(self) -> Optional[pulumi.Input[str]]:
|
|
77
|
+
def file_url(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
77
78
|
"""
|
|
78
79
|
File to import as the content library item.
|
|
79
80
|
"""
|
|
80
81
|
return pulumi.get(self, "file_url")
|
|
81
82
|
|
|
82
83
|
@file_url.setter
|
|
83
|
-
def file_url(self, value: Optional[pulumi.Input[str]]):
|
|
84
|
+
def file_url(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
84
85
|
pulumi.set(self, "file_url", value)
|
|
85
86
|
|
|
86
87
|
@property
|
|
87
88
|
@pulumi.getter
|
|
88
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
89
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
89
90
|
"""
|
|
90
91
|
The name of the item to be created in the content library.
|
|
91
92
|
"""
|
|
92
93
|
return pulumi.get(self, "name")
|
|
93
94
|
|
|
94
95
|
@name.setter
|
|
95
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
96
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
96
97
|
pulumi.set(self, "name", value)
|
|
97
98
|
|
|
98
99
|
@property
|
|
99
100
|
@pulumi.getter(name="sourceUuid")
|
|
100
|
-
def source_uuid(self) -> Optional[pulumi.Input[str]]:
|
|
101
|
+
def source_uuid(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
101
102
|
"""
|
|
102
103
|
Virtual machine UUID to clone to content library.
|
|
103
104
|
"""
|
|
104
105
|
return pulumi.get(self, "source_uuid")
|
|
105
106
|
|
|
106
107
|
@source_uuid.setter
|
|
107
|
-
def source_uuid(self, value: Optional[pulumi.Input[str]]):
|
|
108
|
+
def source_uuid(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
108
109
|
pulumi.set(self, "source_uuid", value)
|
|
109
110
|
|
|
110
111
|
@property
|
|
111
112
|
@pulumi.getter
|
|
112
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
113
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
113
114
|
"""
|
|
114
115
|
Type of content library item.
|
|
115
116
|
One of "ovf", "iso", or "vm-template". Default: `ovf`.
|
|
@@ -117,27 +118,27 @@ class ContentLibraryItemArgs:
|
|
|
117
118
|
return pulumi.get(self, "type")
|
|
118
119
|
|
|
119
120
|
@type.setter
|
|
120
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
121
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
121
122
|
pulumi.set(self, "type", value)
|
|
122
123
|
|
|
123
124
|
|
|
124
125
|
@pulumi.input_type
|
|
125
126
|
class _ContentLibraryItemState:
|
|
126
127
|
def __init__(__self__, *,
|
|
127
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
128
|
-
file_url: Optional[pulumi.Input[str]] = None,
|
|
129
|
-
library_id: Optional[pulumi.Input[str]] = None,
|
|
130
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
131
|
-
source_uuid: Optional[pulumi.Input[str]] = None,
|
|
132
|
-
type: Optional[pulumi.Input[str]] = None):
|
|
128
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
129
|
+
file_url: Optional[pulumi.Input[builtins.str]] = None,
|
|
130
|
+
library_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
131
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
132
|
+
source_uuid: Optional[pulumi.Input[builtins.str]] = None,
|
|
133
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
|
133
134
|
"""
|
|
134
135
|
Input properties used for looking up and filtering ContentLibraryItem resources.
|
|
135
|
-
:param pulumi.Input[str] description: A description for the content library item.
|
|
136
|
-
:param pulumi.Input[str] file_url: File to import as the content library item.
|
|
137
|
-
:param pulumi.Input[str] library_id: The ID of the content library in which to create the item.
|
|
138
|
-
:param pulumi.Input[str] name: The name of the item to be created in the content library.
|
|
139
|
-
:param pulumi.Input[str] source_uuid: Virtual machine UUID to clone to content library.
|
|
140
|
-
:param pulumi.Input[str] type: Type of content library item.
|
|
136
|
+
:param pulumi.Input[builtins.str] description: A description for the content library item.
|
|
137
|
+
:param pulumi.Input[builtins.str] file_url: File to import as the content library item.
|
|
138
|
+
:param pulumi.Input[builtins.str] library_id: The ID of the content library in which to create the item.
|
|
139
|
+
:param pulumi.Input[builtins.str] name: The name of the item to be created in the content library.
|
|
140
|
+
:param pulumi.Input[builtins.str] source_uuid: Virtual machine UUID to clone to content library.
|
|
141
|
+
:param pulumi.Input[builtins.str] type: Type of content library item.
|
|
141
142
|
One of "ovf", "iso", or "vm-template". Default: `ovf`.
|
|
142
143
|
"""
|
|
143
144
|
if description is not None:
|
|
@@ -155,67 +156,67 @@ class _ContentLibraryItemState:
|
|
|
155
156
|
|
|
156
157
|
@property
|
|
157
158
|
@pulumi.getter
|
|
158
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
159
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
159
160
|
"""
|
|
160
161
|
A description for the content library item.
|
|
161
162
|
"""
|
|
162
163
|
return pulumi.get(self, "description")
|
|
163
164
|
|
|
164
165
|
@description.setter
|
|
165
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
166
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
166
167
|
pulumi.set(self, "description", value)
|
|
167
168
|
|
|
168
169
|
@property
|
|
169
170
|
@pulumi.getter(name="fileUrl")
|
|
170
|
-
def file_url(self) -> Optional[pulumi.Input[str]]:
|
|
171
|
+
def file_url(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
171
172
|
"""
|
|
172
173
|
File to import as the content library item.
|
|
173
174
|
"""
|
|
174
175
|
return pulumi.get(self, "file_url")
|
|
175
176
|
|
|
176
177
|
@file_url.setter
|
|
177
|
-
def file_url(self, value: Optional[pulumi.Input[str]]):
|
|
178
|
+
def file_url(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
178
179
|
pulumi.set(self, "file_url", value)
|
|
179
180
|
|
|
180
181
|
@property
|
|
181
182
|
@pulumi.getter(name="libraryId")
|
|
182
|
-
def library_id(self) -> Optional[pulumi.Input[str]]:
|
|
183
|
+
def library_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
183
184
|
"""
|
|
184
185
|
The ID of the content library in which to create the item.
|
|
185
186
|
"""
|
|
186
187
|
return pulumi.get(self, "library_id")
|
|
187
188
|
|
|
188
189
|
@library_id.setter
|
|
189
|
-
def library_id(self, value: Optional[pulumi.Input[str]]):
|
|
190
|
+
def library_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
190
191
|
pulumi.set(self, "library_id", value)
|
|
191
192
|
|
|
192
193
|
@property
|
|
193
194
|
@pulumi.getter
|
|
194
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
195
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
195
196
|
"""
|
|
196
197
|
The name of the item to be created in the content library.
|
|
197
198
|
"""
|
|
198
199
|
return pulumi.get(self, "name")
|
|
199
200
|
|
|
200
201
|
@name.setter
|
|
201
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
202
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
202
203
|
pulumi.set(self, "name", value)
|
|
203
204
|
|
|
204
205
|
@property
|
|
205
206
|
@pulumi.getter(name="sourceUuid")
|
|
206
|
-
def source_uuid(self) -> Optional[pulumi.Input[str]]:
|
|
207
|
+
def source_uuid(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
207
208
|
"""
|
|
208
209
|
Virtual machine UUID to clone to content library.
|
|
209
210
|
"""
|
|
210
211
|
return pulumi.get(self, "source_uuid")
|
|
211
212
|
|
|
212
213
|
@source_uuid.setter
|
|
213
|
-
def source_uuid(self, value: Optional[pulumi.Input[str]]):
|
|
214
|
+
def source_uuid(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
214
215
|
pulumi.set(self, "source_uuid", value)
|
|
215
216
|
|
|
216
217
|
@property
|
|
217
218
|
@pulumi.getter
|
|
218
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
219
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
219
220
|
"""
|
|
220
221
|
Type of content library item.
|
|
221
222
|
One of "ovf", "iso", or "vm-template". Default: `ovf`.
|
|
@@ -223,21 +224,24 @@ class _ContentLibraryItemState:
|
|
|
223
224
|
return pulumi.get(self, "type")
|
|
224
225
|
|
|
225
226
|
@type.setter
|
|
226
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
227
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
227
228
|
pulumi.set(self, "type", value)
|
|
228
229
|
|
|
229
230
|
|
|
230
231
|
class ContentLibraryItem(pulumi.CustomResource):
|
|
232
|
+
|
|
233
|
+
pulumi_type = "vsphere:index/contentLibraryItem:ContentLibraryItem"
|
|
234
|
+
|
|
231
235
|
@overload
|
|
232
236
|
def __init__(__self__,
|
|
233
237
|
resource_name: str,
|
|
234
238
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
235
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
236
|
-
file_url: Optional[pulumi.Input[str]] = None,
|
|
237
|
-
library_id: Optional[pulumi.Input[str]] = None,
|
|
238
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
239
|
-
source_uuid: Optional[pulumi.Input[str]] = None,
|
|
240
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
239
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
240
|
+
file_url: Optional[pulumi.Input[builtins.str]] = None,
|
|
241
|
+
library_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
242
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
243
|
+
source_uuid: Optional[pulumi.Input[builtins.str]] = None,
|
|
244
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
241
245
|
__props__=None):
|
|
242
246
|
"""
|
|
243
247
|
The `ContentLibraryItem` resource can be used to create items in a
|
|
@@ -311,12 +315,12 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
311
315
|
|
|
312
316
|
:param str resource_name: The name of the resource.
|
|
313
317
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
314
|
-
:param pulumi.Input[str] description: A description for the content library item.
|
|
315
|
-
:param pulumi.Input[str] file_url: File to import as the content library item.
|
|
316
|
-
:param pulumi.Input[str] library_id: The ID of the content library in which to create the item.
|
|
317
|
-
:param pulumi.Input[str] name: The name of the item to be created in the content library.
|
|
318
|
-
:param pulumi.Input[str] source_uuid: Virtual machine UUID to clone to content library.
|
|
319
|
-
:param pulumi.Input[str] type: Type of content library item.
|
|
318
|
+
:param pulumi.Input[builtins.str] description: A description for the content library item.
|
|
319
|
+
:param pulumi.Input[builtins.str] file_url: File to import as the content library item.
|
|
320
|
+
:param pulumi.Input[builtins.str] library_id: The ID of the content library in which to create the item.
|
|
321
|
+
:param pulumi.Input[builtins.str] name: The name of the item to be created in the content library.
|
|
322
|
+
:param pulumi.Input[builtins.str] source_uuid: Virtual machine UUID to clone to content library.
|
|
323
|
+
:param pulumi.Input[builtins.str] type: Type of content library item.
|
|
320
324
|
One of "ovf", "iso", or "vm-template". Default: `ovf`.
|
|
321
325
|
"""
|
|
322
326
|
...
|
|
@@ -410,12 +414,12 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
410
414
|
def _internal_init(__self__,
|
|
411
415
|
resource_name: str,
|
|
412
416
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
413
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
414
|
-
file_url: Optional[pulumi.Input[str]] = None,
|
|
415
|
-
library_id: Optional[pulumi.Input[str]] = None,
|
|
416
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
417
|
-
source_uuid: Optional[pulumi.Input[str]] = None,
|
|
418
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
417
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
418
|
+
file_url: Optional[pulumi.Input[builtins.str]] = None,
|
|
419
|
+
library_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
420
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
421
|
+
source_uuid: Optional[pulumi.Input[builtins.str]] = None,
|
|
422
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
419
423
|
__props__=None):
|
|
420
424
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
421
425
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -443,12 +447,12 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
443
447
|
def get(resource_name: str,
|
|
444
448
|
id: pulumi.Input[str],
|
|
445
449
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
446
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
447
|
-
file_url: Optional[pulumi.Input[str]] = None,
|
|
448
|
-
library_id: Optional[pulumi.Input[str]] = None,
|
|
449
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
450
|
-
source_uuid: Optional[pulumi.Input[str]] = None,
|
|
451
|
-
type: Optional[pulumi.Input[str]] = None) -> 'ContentLibraryItem':
|
|
450
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
451
|
+
file_url: Optional[pulumi.Input[builtins.str]] = None,
|
|
452
|
+
library_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
453
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
454
|
+
source_uuid: Optional[pulumi.Input[builtins.str]] = None,
|
|
455
|
+
type: Optional[pulumi.Input[builtins.str]] = None) -> 'ContentLibraryItem':
|
|
452
456
|
"""
|
|
453
457
|
Get an existing ContentLibraryItem resource's state with the given name, id, and optional extra
|
|
454
458
|
properties used to qualify the lookup.
|
|
@@ -456,12 +460,12 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
456
460
|
:param str resource_name: The unique name of the resulting resource.
|
|
457
461
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
458
462
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
459
|
-
:param pulumi.Input[str] description: A description for the content library item.
|
|
460
|
-
:param pulumi.Input[str] file_url: File to import as the content library item.
|
|
461
|
-
:param pulumi.Input[str] library_id: The ID of the content library in which to create the item.
|
|
462
|
-
:param pulumi.Input[str] name: The name of the item to be created in the content library.
|
|
463
|
-
:param pulumi.Input[str] source_uuid: Virtual machine UUID to clone to content library.
|
|
464
|
-
:param pulumi.Input[str] type: Type of content library item.
|
|
463
|
+
:param pulumi.Input[builtins.str] description: A description for the content library item.
|
|
464
|
+
:param pulumi.Input[builtins.str] file_url: File to import as the content library item.
|
|
465
|
+
:param pulumi.Input[builtins.str] library_id: The ID of the content library in which to create the item.
|
|
466
|
+
:param pulumi.Input[builtins.str] name: The name of the item to be created in the content library.
|
|
467
|
+
:param pulumi.Input[builtins.str] source_uuid: Virtual machine UUID to clone to content library.
|
|
468
|
+
:param pulumi.Input[builtins.str] type: Type of content library item.
|
|
465
469
|
One of "ovf", "iso", or "vm-template". Default: `ovf`.
|
|
466
470
|
"""
|
|
467
471
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -478,7 +482,7 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
478
482
|
|
|
479
483
|
@property
|
|
480
484
|
@pulumi.getter
|
|
481
|
-
def description(self) -> pulumi.Output[Optional[str]]:
|
|
485
|
+
def description(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
482
486
|
"""
|
|
483
487
|
A description for the content library item.
|
|
484
488
|
"""
|
|
@@ -486,7 +490,7 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
486
490
|
|
|
487
491
|
@property
|
|
488
492
|
@pulumi.getter(name="fileUrl")
|
|
489
|
-
def file_url(self) -> pulumi.Output[Optional[str]]:
|
|
493
|
+
def file_url(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
490
494
|
"""
|
|
491
495
|
File to import as the content library item.
|
|
492
496
|
"""
|
|
@@ -494,7 +498,7 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
494
498
|
|
|
495
499
|
@property
|
|
496
500
|
@pulumi.getter(name="libraryId")
|
|
497
|
-
def library_id(self) -> pulumi.Output[str]:
|
|
501
|
+
def library_id(self) -> pulumi.Output[builtins.str]:
|
|
498
502
|
"""
|
|
499
503
|
The ID of the content library in which to create the item.
|
|
500
504
|
"""
|
|
@@ -502,7 +506,7 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
502
506
|
|
|
503
507
|
@property
|
|
504
508
|
@pulumi.getter
|
|
505
|
-
def name(self) -> pulumi.Output[str]:
|
|
509
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
506
510
|
"""
|
|
507
511
|
The name of the item to be created in the content library.
|
|
508
512
|
"""
|
|
@@ -510,7 +514,7 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
510
514
|
|
|
511
515
|
@property
|
|
512
516
|
@pulumi.getter(name="sourceUuid")
|
|
513
|
-
def source_uuid(self) -> pulumi.Output[Optional[str]]:
|
|
517
|
+
def source_uuid(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
514
518
|
"""
|
|
515
519
|
Virtual machine UUID to clone to content library.
|
|
516
520
|
"""
|
|
@@ -518,7 +522,7 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
518
522
|
|
|
519
523
|
@property
|
|
520
524
|
@pulumi.getter
|
|
521
|
-
def type(self) -> pulumi.Output[Optional[str]]:
|
|
525
|
+
def type(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
522
526
|
"""
|
|
523
527
|
Type of content library item.
|
|
524
528
|
One of "ovf", "iso", or "vm-template". Default: `ovf`.
|