pulumi-vsphere 4.16.0a1753339697__py3-none-any.whl → 4.16.0a1753398270__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 -1
- pulumi_vsphere/_inputs.py +1171 -1172
- pulumi_vsphere/compute_cluster.py +1127 -1128
- pulumi_vsphere/compute_cluster_host_group.py +52 -53
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +86 -87
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +86 -87
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +103 -104
- pulumi_vsphere/compute_cluster_vm_group.py +52 -53
- pulumi_vsphere/compute_cluster_vm_host_rule.py +120 -121
- pulumi_vsphere/config/__init__.py +1 -1
- pulumi_vsphere/config/__init__.pyi +1 -2
- pulumi_vsphere/config/vars.py +14 -15
- pulumi_vsphere/content_library.py +58 -59
- pulumi_vsphere/content_library_item.py +103 -104
- pulumi_vsphere/custom_attribute.py +35 -36
- pulumi_vsphere/datacenter.py +78 -79
- pulumi_vsphere/datastore_cluster.py +426 -427
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +86 -87
- pulumi_vsphere/distributed_port_group.py +787 -788
- pulumi_vsphere/distributed_virtual_switch.py +1566 -1567
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +69 -70
- pulumi_vsphere/dpm_host_override.py +69 -70
- pulumi_vsphere/drs_vm_override.py +69 -70
- pulumi_vsphere/entity_permissions.py +38 -39
- pulumi_vsphere/file.py +120 -121
- pulumi_vsphere/folder.py +86 -87
- pulumi_vsphere/get_compute_cluster.py +17 -18
- pulumi_vsphere/get_compute_cluster_host_group.py +17 -18
- pulumi_vsphere/get_content_library.py +9 -10
- pulumi_vsphere/get_content_library_item.py +21 -22
- pulumi_vsphere/get_custom_attribute.py +11 -12
- pulumi_vsphere/get_datacenter.py +11 -12
- pulumi_vsphere/get_datastore.py +21 -22
- pulumi_vsphere/get_datastore_cluster.py +17 -18
- pulumi_vsphere/get_datastore_stats.py +21 -22
- pulumi_vsphere/get_distributed_virtual_switch.py +17 -18
- pulumi_vsphere/get_dynamic.py +21 -22
- pulumi_vsphere/get_folder.py +9 -10
- pulumi_vsphere/get_guest_os_customization.py +18 -19
- pulumi_vsphere/get_host.py +17 -18
- pulumi_vsphere/get_host_base_images.py +5 -6
- pulumi_vsphere/get_host_pci_device.py +29 -30
- pulumi_vsphere/get_host_thumbprint.py +21 -22
- pulumi_vsphere/get_host_vgpu_profile.py +16 -17
- pulumi_vsphere/get_license.py +19 -20
- pulumi_vsphere/get_network.py +42 -43
- pulumi_vsphere/get_ovf_vm_template.py +121 -122
- pulumi_vsphere/get_policy.py +9 -10
- pulumi_vsphere/get_resource_pool.py +21 -22
- pulumi_vsphere/get_role.py +25 -26
- pulumi_vsphere/get_tag.py +17 -18
- pulumi_vsphere/get_tag_category.py +15 -16
- pulumi_vsphere/get_vapp_container.py +15 -16
- pulumi_vsphere/get_virtual_machine.py +272 -273
- pulumi_vsphere/get_vmfs_disks.py +23 -24
- pulumi_vsphere/guest_os_customization.py +73 -74
- pulumi_vsphere/ha_vm_override.py +256 -257
- pulumi_vsphere/host.py +242 -243
- pulumi_vsphere/host_port_group.py +310 -311
- pulumi_vsphere/host_virtual_switch.py +358 -359
- pulumi_vsphere/license.py +71 -72
- pulumi_vsphere/nas_datastore.py +260 -261
- pulumi_vsphere/offline_software_depot.py +20 -21
- pulumi_vsphere/outputs.py +981 -982
- pulumi_vsphere/provider.py +120 -121
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +256 -257
- pulumi_vsphere/role.py +44 -45
- pulumi_vsphere/storage_drs_vm_override.py +86 -87
- pulumi_vsphere/supervisor.py +206 -207
- pulumi_vsphere/tag.py +52 -53
- pulumi_vsphere/tag_category.py +69 -70
- pulumi_vsphere/vapp_container.py +256 -257
- pulumi_vsphere/vapp_entity.py +171 -172
- pulumi_vsphere/virtual_disk.py +120 -121
- pulumi_vsphere/virtual_machine.py +1293 -1294
- pulumi_vsphere/virtual_machine_class.py +103 -104
- pulumi_vsphere/virtual_machine_snapshot.py +120 -121
- pulumi_vsphere/vm_storage_policy.py +38 -39
- pulumi_vsphere/vmfs_datastore.py +183 -184
- pulumi_vsphere/vnic.py +143 -144
- {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.16.0a1753398270.dist-info/RECORD +87 -0
- pulumi_vsphere-4.16.0a1753339697.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -20,20 +19,20 @@ __all__ = ['ContentLibraryItemArgs', 'ContentLibraryItem']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class ContentLibraryItemArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
library_id: pulumi.Input[
|
|
24
|
-
description: Optional[pulumi.Input[
|
|
25
|
-
file_url: Optional[pulumi.Input[
|
|
26
|
-
name: Optional[pulumi.Input[
|
|
27
|
-
source_uuid: Optional[pulumi.Input[
|
|
28
|
-
type: Optional[pulumi.Input[
|
|
22
|
+
library_id: pulumi.Input[_builtins.str],
|
|
23
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
|
+
file_url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
source_uuid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
29
28
|
"""
|
|
30
29
|
The set of arguments for constructing a ContentLibraryItem resource.
|
|
31
|
-
:param pulumi.Input[
|
|
32
|
-
:param pulumi.Input[
|
|
33
|
-
:param pulumi.Input[
|
|
34
|
-
:param pulumi.Input[
|
|
35
|
-
:param pulumi.Input[
|
|
36
|
-
:param pulumi.Input[
|
|
30
|
+
:param pulumi.Input[_builtins.str] library_id: The ID of the content library in which to create the item.
|
|
31
|
+
:param pulumi.Input[_builtins.str] description: A description for the content library item.
|
|
32
|
+
:param pulumi.Input[_builtins.str] file_url: File to import as the content library item.
|
|
33
|
+
:param pulumi.Input[_builtins.str] name: The name of the item to be created in the content library.
|
|
34
|
+
:param pulumi.Input[_builtins.str] source_uuid: Virtual machine UUID to clone to content library.
|
|
35
|
+
:param pulumi.Input[_builtins.str] type: Type of content library item.
|
|
37
36
|
One of "ovf", "iso", or "vm-template". Default: `ovf`.
|
|
38
37
|
"""
|
|
39
38
|
pulumi.set(__self__, "library_id", library_id)
|
|
@@ -48,69 +47,69 @@ class ContentLibraryItemArgs:
|
|
|
48
47
|
if type is not None:
|
|
49
48
|
pulumi.set(__self__, "type", type)
|
|
50
49
|
|
|
51
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
52
51
|
@pulumi.getter(name="libraryId")
|
|
53
|
-
def library_id(self) -> pulumi.Input[
|
|
52
|
+
def library_id(self) -> pulumi.Input[_builtins.str]:
|
|
54
53
|
"""
|
|
55
54
|
The ID of the content library in which to create the item.
|
|
56
55
|
"""
|
|
57
56
|
return pulumi.get(self, "library_id")
|
|
58
57
|
|
|
59
58
|
@library_id.setter
|
|
60
|
-
def library_id(self, value: pulumi.Input[
|
|
59
|
+
def library_id(self, value: pulumi.Input[_builtins.str]):
|
|
61
60
|
pulumi.set(self, "library_id", value)
|
|
62
61
|
|
|
63
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
64
63
|
@pulumi.getter
|
|
65
|
-
def description(self) -> Optional[pulumi.Input[
|
|
64
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
66
65
|
"""
|
|
67
66
|
A description for the content library item.
|
|
68
67
|
"""
|
|
69
68
|
return pulumi.get(self, "description")
|
|
70
69
|
|
|
71
70
|
@description.setter
|
|
72
|
-
def description(self, value: Optional[pulumi.Input[
|
|
71
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
73
72
|
pulumi.set(self, "description", value)
|
|
74
73
|
|
|
75
|
-
@property
|
|
74
|
+
@_builtins.property
|
|
76
75
|
@pulumi.getter(name="fileUrl")
|
|
77
|
-
def file_url(self) -> Optional[pulumi.Input[
|
|
76
|
+
def file_url(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
78
77
|
"""
|
|
79
78
|
File to import as the content library item.
|
|
80
79
|
"""
|
|
81
80
|
return pulumi.get(self, "file_url")
|
|
82
81
|
|
|
83
82
|
@file_url.setter
|
|
84
|
-
def file_url(self, value: Optional[pulumi.Input[
|
|
83
|
+
def file_url(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
85
84
|
pulumi.set(self, "file_url", value)
|
|
86
85
|
|
|
87
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
88
87
|
@pulumi.getter
|
|
89
|
-
def name(self) -> Optional[pulumi.Input[
|
|
88
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
90
89
|
"""
|
|
91
90
|
The name of the item to be created in the content library.
|
|
92
91
|
"""
|
|
93
92
|
return pulumi.get(self, "name")
|
|
94
93
|
|
|
95
94
|
@name.setter
|
|
96
|
-
def name(self, value: Optional[pulumi.Input[
|
|
95
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
97
96
|
pulumi.set(self, "name", value)
|
|
98
97
|
|
|
99
|
-
@property
|
|
98
|
+
@_builtins.property
|
|
100
99
|
@pulumi.getter(name="sourceUuid")
|
|
101
|
-
def source_uuid(self) -> Optional[pulumi.Input[
|
|
100
|
+
def source_uuid(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
102
101
|
"""
|
|
103
102
|
Virtual machine UUID to clone to content library.
|
|
104
103
|
"""
|
|
105
104
|
return pulumi.get(self, "source_uuid")
|
|
106
105
|
|
|
107
106
|
@source_uuid.setter
|
|
108
|
-
def source_uuid(self, value: Optional[pulumi.Input[
|
|
107
|
+
def source_uuid(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
109
108
|
pulumi.set(self, "source_uuid", value)
|
|
110
109
|
|
|
111
|
-
@property
|
|
110
|
+
@_builtins.property
|
|
112
111
|
@pulumi.getter
|
|
113
|
-
def type(self) -> Optional[pulumi.Input[
|
|
112
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
114
113
|
"""
|
|
115
114
|
Type of content library item.
|
|
116
115
|
One of "ovf", "iso", or "vm-template". Default: `ovf`.
|
|
@@ -118,27 +117,27 @@ class ContentLibraryItemArgs:
|
|
|
118
117
|
return pulumi.get(self, "type")
|
|
119
118
|
|
|
120
119
|
@type.setter
|
|
121
|
-
def type(self, value: Optional[pulumi.Input[
|
|
120
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
122
121
|
pulumi.set(self, "type", value)
|
|
123
122
|
|
|
124
123
|
|
|
125
124
|
@pulumi.input_type
|
|
126
125
|
class _ContentLibraryItemState:
|
|
127
126
|
def __init__(__self__, *,
|
|
128
|
-
description: Optional[pulumi.Input[
|
|
129
|
-
file_url: Optional[pulumi.Input[
|
|
130
|
-
library_id: Optional[pulumi.Input[
|
|
131
|
-
name: Optional[pulumi.Input[
|
|
132
|
-
source_uuid: Optional[pulumi.Input[
|
|
133
|
-
type: Optional[pulumi.Input[
|
|
127
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
128
|
+
file_url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
129
|
+
library_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
130
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
131
|
+
source_uuid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
132
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
134
133
|
"""
|
|
135
134
|
Input properties used for looking up and filtering ContentLibraryItem resources.
|
|
136
|
-
:param pulumi.Input[
|
|
137
|
-
:param pulumi.Input[
|
|
138
|
-
:param pulumi.Input[
|
|
139
|
-
:param pulumi.Input[
|
|
140
|
-
:param pulumi.Input[
|
|
141
|
-
:param pulumi.Input[
|
|
135
|
+
:param pulumi.Input[_builtins.str] description: A description for the content library item.
|
|
136
|
+
:param pulumi.Input[_builtins.str] file_url: File to import as the content library item.
|
|
137
|
+
:param pulumi.Input[_builtins.str] library_id: The ID of the content library in which to create the item.
|
|
138
|
+
:param pulumi.Input[_builtins.str] name: The name of the item to be created in the content library.
|
|
139
|
+
:param pulumi.Input[_builtins.str] source_uuid: Virtual machine UUID to clone to content library.
|
|
140
|
+
:param pulumi.Input[_builtins.str] type: Type of content library item.
|
|
142
141
|
One of "ovf", "iso", or "vm-template". Default: `ovf`.
|
|
143
142
|
"""
|
|
144
143
|
if description is not None:
|
|
@@ -154,69 +153,69 @@ class _ContentLibraryItemState:
|
|
|
154
153
|
if type is not None:
|
|
155
154
|
pulumi.set(__self__, "type", type)
|
|
156
155
|
|
|
157
|
-
@property
|
|
156
|
+
@_builtins.property
|
|
158
157
|
@pulumi.getter
|
|
159
|
-
def description(self) -> Optional[pulumi.Input[
|
|
158
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
160
159
|
"""
|
|
161
160
|
A description for the content library item.
|
|
162
161
|
"""
|
|
163
162
|
return pulumi.get(self, "description")
|
|
164
163
|
|
|
165
164
|
@description.setter
|
|
166
|
-
def description(self, value: Optional[pulumi.Input[
|
|
165
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
167
166
|
pulumi.set(self, "description", value)
|
|
168
167
|
|
|
169
|
-
@property
|
|
168
|
+
@_builtins.property
|
|
170
169
|
@pulumi.getter(name="fileUrl")
|
|
171
|
-
def file_url(self) -> Optional[pulumi.Input[
|
|
170
|
+
def file_url(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
172
171
|
"""
|
|
173
172
|
File to import as the content library item.
|
|
174
173
|
"""
|
|
175
174
|
return pulumi.get(self, "file_url")
|
|
176
175
|
|
|
177
176
|
@file_url.setter
|
|
178
|
-
def file_url(self, value: Optional[pulumi.Input[
|
|
177
|
+
def file_url(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
179
178
|
pulumi.set(self, "file_url", value)
|
|
180
179
|
|
|
181
|
-
@property
|
|
180
|
+
@_builtins.property
|
|
182
181
|
@pulumi.getter(name="libraryId")
|
|
183
|
-
def library_id(self) -> Optional[pulumi.Input[
|
|
182
|
+
def library_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
184
183
|
"""
|
|
185
184
|
The ID of the content library in which to create the item.
|
|
186
185
|
"""
|
|
187
186
|
return pulumi.get(self, "library_id")
|
|
188
187
|
|
|
189
188
|
@library_id.setter
|
|
190
|
-
def library_id(self, value: Optional[pulumi.Input[
|
|
189
|
+
def library_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
191
190
|
pulumi.set(self, "library_id", value)
|
|
192
191
|
|
|
193
|
-
@property
|
|
192
|
+
@_builtins.property
|
|
194
193
|
@pulumi.getter
|
|
195
|
-
def name(self) -> Optional[pulumi.Input[
|
|
194
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
196
195
|
"""
|
|
197
196
|
The name of the item to be created in the content library.
|
|
198
197
|
"""
|
|
199
198
|
return pulumi.get(self, "name")
|
|
200
199
|
|
|
201
200
|
@name.setter
|
|
202
|
-
def name(self, value: Optional[pulumi.Input[
|
|
201
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
203
202
|
pulumi.set(self, "name", value)
|
|
204
203
|
|
|
205
|
-
@property
|
|
204
|
+
@_builtins.property
|
|
206
205
|
@pulumi.getter(name="sourceUuid")
|
|
207
|
-
def source_uuid(self) -> Optional[pulumi.Input[
|
|
206
|
+
def source_uuid(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
208
207
|
"""
|
|
209
208
|
Virtual machine UUID to clone to content library.
|
|
210
209
|
"""
|
|
211
210
|
return pulumi.get(self, "source_uuid")
|
|
212
211
|
|
|
213
212
|
@source_uuid.setter
|
|
214
|
-
def source_uuid(self, value: Optional[pulumi.Input[
|
|
213
|
+
def source_uuid(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
215
214
|
pulumi.set(self, "source_uuid", value)
|
|
216
215
|
|
|
217
|
-
@property
|
|
216
|
+
@_builtins.property
|
|
218
217
|
@pulumi.getter
|
|
219
|
-
def type(self) -> Optional[pulumi.Input[
|
|
218
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
220
219
|
"""
|
|
221
220
|
Type of content library item.
|
|
222
221
|
One of "ovf", "iso", or "vm-template". Default: `ovf`.
|
|
@@ -224,7 +223,7 @@ class _ContentLibraryItemState:
|
|
|
224
223
|
return pulumi.get(self, "type")
|
|
225
224
|
|
|
226
225
|
@type.setter
|
|
227
|
-
def type(self, value: Optional[pulumi.Input[
|
|
226
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
228
227
|
pulumi.set(self, "type", value)
|
|
229
228
|
|
|
230
229
|
|
|
@@ -234,12 +233,12 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
234
233
|
def __init__(__self__,
|
|
235
234
|
resource_name: str,
|
|
236
235
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
237
|
-
description: Optional[pulumi.Input[
|
|
238
|
-
file_url: Optional[pulumi.Input[
|
|
239
|
-
library_id: Optional[pulumi.Input[
|
|
240
|
-
name: Optional[pulumi.Input[
|
|
241
|
-
source_uuid: Optional[pulumi.Input[
|
|
242
|
-
type: Optional[pulumi.Input[
|
|
236
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
237
|
+
file_url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
238
|
+
library_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
239
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
240
|
+
source_uuid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
241
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
243
242
|
__props__=None):
|
|
244
243
|
"""
|
|
245
244
|
The `ContentLibraryItem` resource can be used to create items in a
|
|
@@ -315,12 +314,12 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
315
314
|
|
|
316
315
|
:param str resource_name: The name of the resource.
|
|
317
316
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
318
|
-
:param pulumi.Input[
|
|
319
|
-
:param pulumi.Input[
|
|
320
|
-
:param pulumi.Input[
|
|
321
|
-
:param pulumi.Input[
|
|
322
|
-
:param pulumi.Input[
|
|
323
|
-
:param pulumi.Input[
|
|
317
|
+
:param pulumi.Input[_builtins.str] description: A description for the content library item.
|
|
318
|
+
:param pulumi.Input[_builtins.str] file_url: File to import as the content library item.
|
|
319
|
+
:param pulumi.Input[_builtins.str] library_id: The ID of the content library in which to create the item.
|
|
320
|
+
:param pulumi.Input[_builtins.str] name: The name of the item to be created in the content library.
|
|
321
|
+
:param pulumi.Input[_builtins.str] source_uuid: Virtual machine UUID to clone to content library.
|
|
322
|
+
:param pulumi.Input[_builtins.str] type: Type of content library item.
|
|
324
323
|
One of "ovf", "iso", or "vm-template". Default: `ovf`.
|
|
325
324
|
"""
|
|
326
325
|
...
|
|
@@ -416,12 +415,12 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
416
415
|
def _internal_init(__self__,
|
|
417
416
|
resource_name: str,
|
|
418
417
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
419
|
-
description: Optional[pulumi.Input[
|
|
420
|
-
file_url: Optional[pulumi.Input[
|
|
421
|
-
library_id: Optional[pulumi.Input[
|
|
422
|
-
name: Optional[pulumi.Input[
|
|
423
|
-
source_uuid: Optional[pulumi.Input[
|
|
424
|
-
type: Optional[pulumi.Input[
|
|
418
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
419
|
+
file_url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
420
|
+
library_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
421
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
422
|
+
source_uuid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
423
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
425
424
|
__props__=None):
|
|
426
425
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
427
426
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -449,12 +448,12 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
449
448
|
def get(resource_name: str,
|
|
450
449
|
id: pulumi.Input[str],
|
|
451
450
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
452
|
-
description: Optional[pulumi.Input[
|
|
453
|
-
file_url: Optional[pulumi.Input[
|
|
454
|
-
library_id: Optional[pulumi.Input[
|
|
455
|
-
name: Optional[pulumi.Input[
|
|
456
|
-
source_uuid: Optional[pulumi.Input[
|
|
457
|
-
type: Optional[pulumi.Input[
|
|
451
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
452
|
+
file_url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
453
|
+
library_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
454
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
455
|
+
source_uuid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
456
|
+
type: Optional[pulumi.Input[_builtins.str]] = None) -> 'ContentLibraryItem':
|
|
458
457
|
"""
|
|
459
458
|
Get an existing ContentLibraryItem resource's state with the given name, id, and optional extra
|
|
460
459
|
properties used to qualify the lookup.
|
|
@@ -462,12 +461,12 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
462
461
|
:param str resource_name: The unique name of the resulting resource.
|
|
463
462
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
464
463
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
465
|
-
:param pulumi.Input[
|
|
466
|
-
:param pulumi.Input[
|
|
467
|
-
:param pulumi.Input[
|
|
468
|
-
:param pulumi.Input[
|
|
469
|
-
:param pulumi.Input[
|
|
470
|
-
:param pulumi.Input[
|
|
464
|
+
:param pulumi.Input[_builtins.str] description: A description for the content library item.
|
|
465
|
+
:param pulumi.Input[_builtins.str] file_url: File to import as the content library item.
|
|
466
|
+
:param pulumi.Input[_builtins.str] library_id: The ID of the content library in which to create the item.
|
|
467
|
+
:param pulumi.Input[_builtins.str] name: The name of the item to be created in the content library.
|
|
468
|
+
:param pulumi.Input[_builtins.str] source_uuid: Virtual machine UUID to clone to content library.
|
|
469
|
+
:param pulumi.Input[_builtins.str] type: Type of content library item.
|
|
471
470
|
One of "ovf", "iso", or "vm-template". Default: `ovf`.
|
|
472
471
|
"""
|
|
473
472
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -482,49 +481,49 @@ class ContentLibraryItem(pulumi.CustomResource):
|
|
|
482
481
|
__props__.__dict__["type"] = type
|
|
483
482
|
return ContentLibraryItem(resource_name, opts=opts, __props__=__props__)
|
|
484
483
|
|
|
485
|
-
@property
|
|
484
|
+
@_builtins.property
|
|
486
485
|
@pulumi.getter
|
|
487
|
-
def description(self) -> pulumi.Output[Optional[
|
|
486
|
+
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
488
487
|
"""
|
|
489
488
|
A description for the content library item.
|
|
490
489
|
"""
|
|
491
490
|
return pulumi.get(self, "description")
|
|
492
491
|
|
|
493
|
-
@property
|
|
492
|
+
@_builtins.property
|
|
494
493
|
@pulumi.getter(name="fileUrl")
|
|
495
|
-
def file_url(self) -> pulumi.Output[Optional[
|
|
494
|
+
def file_url(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
496
495
|
"""
|
|
497
496
|
File to import as the content library item.
|
|
498
497
|
"""
|
|
499
498
|
return pulumi.get(self, "file_url")
|
|
500
499
|
|
|
501
|
-
@property
|
|
500
|
+
@_builtins.property
|
|
502
501
|
@pulumi.getter(name="libraryId")
|
|
503
|
-
def library_id(self) -> pulumi.Output[
|
|
502
|
+
def library_id(self) -> pulumi.Output[_builtins.str]:
|
|
504
503
|
"""
|
|
505
504
|
The ID of the content library in which to create the item.
|
|
506
505
|
"""
|
|
507
506
|
return pulumi.get(self, "library_id")
|
|
508
507
|
|
|
509
|
-
@property
|
|
508
|
+
@_builtins.property
|
|
510
509
|
@pulumi.getter
|
|
511
|
-
def name(self) -> pulumi.Output[
|
|
510
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
512
511
|
"""
|
|
513
512
|
The name of the item to be created in the content library.
|
|
514
513
|
"""
|
|
515
514
|
return pulumi.get(self, "name")
|
|
516
515
|
|
|
517
|
-
@property
|
|
516
|
+
@_builtins.property
|
|
518
517
|
@pulumi.getter(name="sourceUuid")
|
|
519
|
-
def source_uuid(self) -> pulumi.Output[Optional[
|
|
518
|
+
def source_uuid(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
520
519
|
"""
|
|
521
520
|
Virtual machine UUID to clone to content library.
|
|
522
521
|
"""
|
|
523
522
|
return pulumi.get(self, "source_uuid")
|
|
524
523
|
|
|
525
|
-
@property
|
|
524
|
+
@_builtins.property
|
|
526
525
|
@pulumi.getter
|
|
527
|
-
def type(self) -> pulumi.Output[Optional[
|
|
526
|
+
def type(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
528
527
|
"""
|
|
529
528
|
Type of content library item.
|
|
530
529
|
One of "ovf", "iso", or "vm-template". Default: `ovf`.
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -20,23 +19,23 @@ __all__ = ['CustomAttributeArgs', 'CustomAttribute']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class CustomAttributeArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
managed_object_type: Optional[pulumi.Input[
|
|
24
|
-
name: Optional[pulumi.Input[
|
|
22
|
+
managed_object_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
23
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
25
24
|
"""
|
|
26
25
|
The set of arguments for constructing a CustomAttribute resource.
|
|
27
|
-
:param pulumi.Input[
|
|
26
|
+
:param pulumi.Input[_builtins.str] managed_object_type: The object type that this attribute may be
|
|
28
27
|
applied to. If not set, the custom attribute may be applied to any object
|
|
29
28
|
type. For a full list, review the Managed Object Types. Forces a new resource if changed.
|
|
30
|
-
:param pulumi.Input[
|
|
29
|
+
:param pulumi.Input[_builtins.str] name: The name of the custom attribute.
|
|
31
30
|
"""
|
|
32
31
|
if managed_object_type is not None:
|
|
33
32
|
pulumi.set(__self__, "managed_object_type", managed_object_type)
|
|
34
33
|
if name is not None:
|
|
35
34
|
pulumi.set(__self__, "name", name)
|
|
36
35
|
|
|
37
|
-
@property
|
|
36
|
+
@_builtins.property
|
|
38
37
|
@pulumi.getter(name="managedObjectType")
|
|
39
|
-
def managed_object_type(self) -> Optional[pulumi.Input[
|
|
38
|
+
def managed_object_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
40
39
|
"""
|
|
41
40
|
The object type that this attribute may be
|
|
42
41
|
applied to. If not set, the custom attribute may be applied to any object
|
|
@@ -45,42 +44,42 @@ class CustomAttributeArgs:
|
|
|
45
44
|
return pulumi.get(self, "managed_object_type")
|
|
46
45
|
|
|
47
46
|
@managed_object_type.setter
|
|
48
|
-
def managed_object_type(self, value: Optional[pulumi.Input[
|
|
47
|
+
def managed_object_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
49
48
|
pulumi.set(self, "managed_object_type", value)
|
|
50
49
|
|
|
51
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
52
51
|
@pulumi.getter
|
|
53
|
-
def name(self) -> Optional[pulumi.Input[
|
|
52
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
54
53
|
"""
|
|
55
54
|
The name of the custom attribute.
|
|
56
55
|
"""
|
|
57
56
|
return pulumi.get(self, "name")
|
|
58
57
|
|
|
59
58
|
@name.setter
|
|
60
|
-
def name(self, value: Optional[pulumi.Input[
|
|
59
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
61
60
|
pulumi.set(self, "name", value)
|
|
62
61
|
|
|
63
62
|
|
|
64
63
|
@pulumi.input_type
|
|
65
64
|
class _CustomAttributeState:
|
|
66
65
|
def __init__(__self__, *,
|
|
67
|
-
managed_object_type: Optional[pulumi.Input[
|
|
68
|
-
name: Optional[pulumi.Input[
|
|
66
|
+
managed_object_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
67
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
69
68
|
"""
|
|
70
69
|
Input properties used for looking up and filtering CustomAttribute resources.
|
|
71
|
-
:param pulumi.Input[
|
|
70
|
+
:param pulumi.Input[_builtins.str] managed_object_type: The object type that this attribute may be
|
|
72
71
|
applied to. If not set, the custom attribute may be applied to any object
|
|
73
72
|
type. For a full list, review the Managed Object Types. Forces a new resource if changed.
|
|
74
|
-
:param pulumi.Input[
|
|
73
|
+
:param pulumi.Input[_builtins.str] name: The name of the custom attribute.
|
|
75
74
|
"""
|
|
76
75
|
if managed_object_type is not None:
|
|
77
76
|
pulumi.set(__self__, "managed_object_type", managed_object_type)
|
|
78
77
|
if name is not None:
|
|
79
78
|
pulumi.set(__self__, "name", name)
|
|
80
79
|
|
|
81
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
82
81
|
@pulumi.getter(name="managedObjectType")
|
|
83
|
-
def managed_object_type(self) -> Optional[pulumi.Input[
|
|
82
|
+
def managed_object_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
84
83
|
"""
|
|
85
84
|
The object type that this attribute may be
|
|
86
85
|
applied to. If not set, the custom attribute may be applied to any object
|
|
@@ -89,19 +88,19 @@ class _CustomAttributeState:
|
|
|
89
88
|
return pulumi.get(self, "managed_object_type")
|
|
90
89
|
|
|
91
90
|
@managed_object_type.setter
|
|
92
|
-
def managed_object_type(self, value: Optional[pulumi.Input[
|
|
91
|
+
def managed_object_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
93
92
|
pulumi.set(self, "managed_object_type", value)
|
|
94
93
|
|
|
95
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
96
95
|
@pulumi.getter
|
|
97
|
-
def name(self) -> Optional[pulumi.Input[
|
|
96
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
98
97
|
"""
|
|
99
98
|
The name of the custom attribute.
|
|
100
99
|
"""
|
|
101
100
|
return pulumi.get(self, "name")
|
|
102
101
|
|
|
103
102
|
@name.setter
|
|
104
|
-
def name(self, value: Optional[pulumi.Input[
|
|
103
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
105
104
|
pulumi.set(self, "name", value)
|
|
106
105
|
|
|
107
106
|
|
|
@@ -111,8 +110,8 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
111
110
|
def __init__(__self__,
|
|
112
111
|
resource_name: str,
|
|
113
112
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
114
|
-
managed_object_type: Optional[pulumi.Input[
|
|
115
|
-
name: Optional[pulumi.Input[
|
|
113
|
+
managed_object_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
114
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
116
115
|
__props__=None):
|
|
117
116
|
"""
|
|
118
117
|
The `CustomAttribute` resource can be used to create and manage custom
|
|
@@ -155,10 +154,10 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
155
154
|
|
|
156
155
|
:param str resource_name: The name of the resource.
|
|
157
156
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
158
|
-
:param pulumi.Input[
|
|
157
|
+
:param pulumi.Input[_builtins.str] managed_object_type: The object type that this attribute may be
|
|
159
158
|
applied to. If not set, the custom attribute may be applied to any object
|
|
160
159
|
type. For a full list, review the Managed Object Types. Forces a new resource if changed.
|
|
161
|
-
:param pulumi.Input[
|
|
160
|
+
:param pulumi.Input[_builtins.str] name: The name of the custom attribute.
|
|
162
161
|
"""
|
|
163
162
|
...
|
|
164
163
|
@overload
|
|
@@ -220,8 +219,8 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
220
219
|
def _internal_init(__self__,
|
|
221
220
|
resource_name: str,
|
|
222
221
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
223
|
-
managed_object_type: Optional[pulumi.Input[
|
|
224
|
-
name: Optional[pulumi.Input[
|
|
222
|
+
managed_object_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
223
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
225
224
|
__props__=None):
|
|
226
225
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
227
226
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -243,8 +242,8 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
243
242
|
def get(resource_name: str,
|
|
244
243
|
id: pulumi.Input[str],
|
|
245
244
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
246
|
-
managed_object_type: Optional[pulumi.Input[
|
|
247
|
-
name: Optional[pulumi.Input[
|
|
245
|
+
managed_object_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
246
|
+
name: Optional[pulumi.Input[_builtins.str]] = None) -> 'CustomAttribute':
|
|
248
247
|
"""
|
|
249
248
|
Get an existing CustomAttribute resource's state with the given name, id, and optional extra
|
|
250
249
|
properties used to qualify the lookup.
|
|
@@ -252,10 +251,10 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
252
251
|
:param str resource_name: The unique name of the resulting resource.
|
|
253
252
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
254
253
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
255
|
-
:param pulumi.Input[
|
|
254
|
+
:param pulumi.Input[_builtins.str] managed_object_type: The object type that this attribute may be
|
|
256
255
|
applied to. If not set, the custom attribute may be applied to any object
|
|
257
256
|
type. For a full list, review the Managed Object Types. Forces a new resource if changed.
|
|
258
|
-
:param pulumi.Input[
|
|
257
|
+
:param pulumi.Input[_builtins.str] name: The name of the custom attribute.
|
|
259
258
|
"""
|
|
260
259
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
261
260
|
|
|
@@ -265,9 +264,9 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
265
264
|
__props__.__dict__["name"] = name
|
|
266
265
|
return CustomAttribute(resource_name, opts=opts, __props__=__props__)
|
|
267
266
|
|
|
268
|
-
@property
|
|
267
|
+
@_builtins.property
|
|
269
268
|
@pulumi.getter(name="managedObjectType")
|
|
270
|
-
def managed_object_type(self) -> pulumi.Output[Optional[
|
|
269
|
+
def managed_object_type(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
271
270
|
"""
|
|
272
271
|
The object type that this attribute may be
|
|
273
272
|
applied to. If not set, the custom attribute may be applied to any object
|
|
@@ -275,9 +274,9 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
275
274
|
"""
|
|
276
275
|
return pulumi.get(self, "managed_object_type")
|
|
277
276
|
|
|
278
|
-
@property
|
|
277
|
+
@_builtins.property
|
|
279
278
|
@pulumi.getter
|
|
280
|
-
def name(self) -> pulumi.Output[
|
|
279
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
281
280
|
"""
|
|
282
281
|
The name of the custom attribute.
|
|
283
282
|
"""
|