pulumi-vsphere 4.10.0a1709017641__py3-none-any.whl → 4.17.0a1763710194__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +51 -1
- pulumi_vsphere/_inputs.py +2568 -1025
- pulumi_vsphere/_utilities.py +50 -10
- pulumi_vsphere/compute_cluster.py +1564 -2373
- pulumi_vsphere/compute_cluster_host_group.py +191 -55
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +157 -113
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +133 -89
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +314 -106
- pulumi_vsphere/compute_cluster_vm_group.py +256 -55
- pulumi_vsphere/compute_cluster_vm_host_rule.py +323 -123
- pulumi_vsphere/config/__init__.py +2 -1
- pulumi_vsphere/config/__init__.pyi +7 -2
- pulumi_vsphere/config/vars.py +20 -15
- pulumi_vsphere/configuration_profile.py +286 -0
- pulumi_vsphere/content_library.py +177 -71
- pulumi_vsphere/content_library_item.py +252 -106
- pulumi_vsphere/custom_attribute.py +118 -38
- pulumi_vsphere/datacenter.py +128 -107
- pulumi_vsphere/datastore_cluster.py +636 -731
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +251 -89
- pulumi_vsphere/distributed_port_group.py +1129 -967
- pulumi_vsphere/distributed_virtual_switch.py +1971 -2239
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +294 -0
- pulumi_vsphere/dpm_host_override.py +222 -72
- pulumi_vsphere/drs_vm_override.py +236 -72
- pulumi_vsphere/entity_permissions.py +96 -69
- pulumi_vsphere/file.py +173 -178
- pulumi_vsphere/folder.py +236 -113
- pulumi_vsphere/get_compute_cluster.py +34 -23
- pulumi_vsphere/get_compute_cluster_host_group.py +52 -41
- pulumi_vsphere/get_configuration_profile.py +145 -0
- pulumi_vsphere/get_content_library.py +33 -21
- pulumi_vsphere/get_content_library_item.py +47 -31
- pulumi_vsphere/get_custom_attribute.py +26 -17
- pulumi_vsphere/get_datacenter.py +40 -18
- pulumi_vsphere/get_datastore.py +60 -24
- pulumi_vsphere/get_datastore_cluster.py +47 -22
- pulumi_vsphere/get_datastore_stats.py +204 -0
- pulumi_vsphere/get_distributed_virtual_switch.py +36 -23
- pulumi_vsphere/get_dynamic.py +55 -45
- pulumi_vsphere/get_folder.py +163 -25
- pulumi_vsphere/get_guest_os_customization.py +68 -37
- pulumi_vsphere/get_host.py +34 -23
- pulumi_vsphere/get_host_base_images.py +104 -0
- pulumi_vsphere/get_host_pci_device.py +78 -35
- pulumi_vsphere/get_host_thumbprint.py +58 -38
- pulumi_vsphere/get_host_vgpu_profile.py +195 -0
- pulumi_vsphere/get_license.py +44 -28
- pulumi_vsphere/get_network.py +157 -46
- pulumi_vsphere/get_ovf_vm_template.py +184 -301
- pulumi_vsphere/get_policy.py +23 -15
- pulumi_vsphere/get_resource_pool.py +107 -40
- pulumi_vsphere/get_role.py +49 -35
- pulumi_vsphere/get_tag.py +34 -23
- pulumi_vsphere/get_tag_category.py +32 -21
- pulumi_vsphere/get_vapp_container.py +31 -21
- pulumi_vsphere/get_virtual_machine.py +499 -287
- pulumi_vsphere/get_vmfs_disks.py +42 -29
- pulumi_vsphere/guest_os_customization.py +135 -79
- pulumi_vsphere/ha_vm_override.py +470 -577
- pulumi_vsphere/host.py +515 -262
- pulumi_vsphere/host_port_group.py +352 -355
- pulumi_vsphere/host_virtual_switch.py +580 -580
- pulumi_vsphere/license.py +110 -92
- pulumi_vsphere/nas_datastore.py +398 -270
- pulumi_vsphere/offline_software_depot.py +190 -0
- pulumi_vsphere/outputs.py +1582 -1027
- pulumi_vsphere/provider.py +172 -152
- pulumi_vsphere/pulumi-plugin.json +2 -1
- pulumi_vsphere/resource_pool.py +357 -273
- pulumi_vsphere/role.py +79 -47
- pulumi_vsphere/storage_drs_vm_override.py +225 -89
- pulumi_vsphere/supervisor.py +1064 -0
- pulumi_vsphere/tag.py +217 -55
- pulumi_vsphere/tag_category.py +158 -72
- pulumi_vsphere/vapp_container.py +425 -259
- pulumi_vsphere/vapp_entity.py +324 -174
- pulumi_vsphere/virtual_disk.py +245 -153
- pulumi_vsphere/virtual_machine.py +1696 -1836
- pulumi_vsphere/virtual_machine_class.py +448 -0
- pulumi_vsphere/virtual_machine_snapshot.py +137 -131
- pulumi_vsphere/vm_storage_policy.py +160 -154
- pulumi_vsphere/vmfs_datastore.py +460 -186
- pulumi_vsphere/vnic.py +249 -231
- {pulumi_vsphere-4.10.0a1709017641.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA +7 -6
- pulumi_vsphere-4.17.0a1763710194.dist-info/RECORD +89 -0
- {pulumi_vsphere-4.10.0a1709017641.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.10.0a1709017641.dist-info/RECORD +0 -80
- {pulumi_vsphere-4.10.0a1709017641.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/top_level.txt +0 -0
pulumi_vsphere/license.py
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['LicenseArgs', 'License']
|
|
@@ -14,59 +19,65 @@ __all__ = ['LicenseArgs', 'License']
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class LicenseArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
license_key: pulumi.Input[str],
|
|
18
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
22
|
+
license_key: pulumi.Input[_builtins.str],
|
|
23
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
19
24
|
"""
|
|
20
25
|
The set of arguments for constructing a License resource.
|
|
21
|
-
:param pulumi.Input[str] license_key: The license key
|
|
22
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of
|
|
26
|
+
:param pulumi.Input[_builtins.str] license_key: The license key value.
|
|
27
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: A map of labels to be applied to the license key.
|
|
28
|
+
|
|
29
|
+
> **NOTE:** Labels are not allowed for unmanaged ESX hosts.
|
|
23
30
|
"""
|
|
24
31
|
pulumi.set(__self__, "license_key", license_key)
|
|
25
32
|
if labels is not None:
|
|
26
33
|
pulumi.set(__self__, "labels", labels)
|
|
27
34
|
|
|
28
|
-
@property
|
|
35
|
+
@_builtins.property
|
|
29
36
|
@pulumi.getter(name="licenseKey")
|
|
30
|
-
def license_key(self) -> pulumi.Input[str]:
|
|
37
|
+
def license_key(self) -> pulumi.Input[_builtins.str]:
|
|
31
38
|
"""
|
|
32
|
-
The license key
|
|
39
|
+
The license key value.
|
|
33
40
|
"""
|
|
34
41
|
return pulumi.get(self, "license_key")
|
|
35
42
|
|
|
36
43
|
@license_key.setter
|
|
37
|
-
def license_key(self, value: pulumi.Input[str]):
|
|
44
|
+
def license_key(self, value: pulumi.Input[_builtins.str]):
|
|
38
45
|
pulumi.set(self, "license_key", value)
|
|
39
46
|
|
|
40
|
-
@property
|
|
47
|
+
@_builtins.property
|
|
41
48
|
@pulumi.getter
|
|
42
|
-
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
49
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
43
50
|
"""
|
|
44
|
-
A map of
|
|
51
|
+
A map of labels to be applied to the license key.
|
|
52
|
+
|
|
53
|
+
> **NOTE:** Labels are not allowed for unmanaged ESX hosts.
|
|
45
54
|
"""
|
|
46
55
|
return pulumi.get(self, "labels")
|
|
47
56
|
|
|
48
57
|
@labels.setter
|
|
49
|
-
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
58
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
50
59
|
pulumi.set(self, "labels", value)
|
|
51
60
|
|
|
52
61
|
|
|
53
62
|
@pulumi.input_type
|
|
54
63
|
class _LicenseState:
|
|
55
64
|
def __init__(__self__, *,
|
|
56
|
-
edition_key: Optional[pulumi.Input[str]] = None,
|
|
57
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
58
|
-
license_key: Optional[pulumi.Input[str]] = None,
|
|
59
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
60
|
-
total: Optional[pulumi.Input[int]] = None,
|
|
61
|
-
used: Optional[pulumi.Input[int]] = None):
|
|
65
|
+
edition_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
66
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
67
|
+
license_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
68
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
69
|
+
total: Optional[pulumi.Input[_builtins.int]] = None,
|
|
70
|
+
used: Optional[pulumi.Input[_builtins.int]] = None):
|
|
62
71
|
"""
|
|
63
72
|
Input properties used for looking up and filtering License resources.
|
|
64
|
-
:param pulumi.Input[str] edition_key: The product edition of the license key.
|
|
65
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
:param pulumi.Input[
|
|
69
|
-
:param pulumi.Input[
|
|
73
|
+
:param pulumi.Input[_builtins.str] edition_key: The product edition of the license key.
|
|
74
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: A map of labels to be applied to the license key.
|
|
75
|
+
|
|
76
|
+
> **NOTE:** Labels are not allowed for unmanaged ESX hosts.
|
|
77
|
+
:param pulumi.Input[_builtins.str] license_key: The license key value.
|
|
78
|
+
:param pulumi.Input[_builtins.str] name: The display name for the license key.
|
|
79
|
+
:param pulumi.Input[_builtins.int] total: The total number of units contained in the license key.
|
|
80
|
+
:param pulumi.Input[_builtins.int] used: The number of units assigned to this license key.
|
|
70
81
|
"""
|
|
71
82
|
if edition_key is not None:
|
|
72
83
|
pulumi.set(__self__, "edition_key", edition_key)
|
|
@@ -81,86 +92,89 @@ class _LicenseState:
|
|
|
81
92
|
if used is not None:
|
|
82
93
|
pulumi.set(__self__, "used", used)
|
|
83
94
|
|
|
84
|
-
@property
|
|
95
|
+
@_builtins.property
|
|
85
96
|
@pulumi.getter(name="editionKey")
|
|
86
|
-
def edition_key(self) -> Optional[pulumi.Input[str]]:
|
|
97
|
+
def edition_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
87
98
|
"""
|
|
88
99
|
The product edition of the license key.
|
|
89
100
|
"""
|
|
90
101
|
return pulumi.get(self, "edition_key")
|
|
91
102
|
|
|
92
103
|
@edition_key.setter
|
|
93
|
-
def edition_key(self, value: Optional[pulumi.Input[str]]):
|
|
104
|
+
def edition_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
94
105
|
pulumi.set(self, "edition_key", value)
|
|
95
106
|
|
|
96
|
-
@property
|
|
107
|
+
@_builtins.property
|
|
97
108
|
@pulumi.getter
|
|
98
|
-
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
109
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
99
110
|
"""
|
|
100
|
-
A map of
|
|
111
|
+
A map of labels to be applied to the license key.
|
|
112
|
+
|
|
113
|
+
> **NOTE:** Labels are not allowed for unmanaged ESX hosts.
|
|
101
114
|
"""
|
|
102
115
|
return pulumi.get(self, "labels")
|
|
103
116
|
|
|
104
117
|
@labels.setter
|
|
105
|
-
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
118
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
106
119
|
pulumi.set(self, "labels", value)
|
|
107
120
|
|
|
108
|
-
@property
|
|
121
|
+
@_builtins.property
|
|
109
122
|
@pulumi.getter(name="licenseKey")
|
|
110
|
-
def license_key(self) -> Optional[pulumi.Input[str]]:
|
|
123
|
+
def license_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
111
124
|
"""
|
|
112
|
-
The license key
|
|
125
|
+
The license key value.
|
|
113
126
|
"""
|
|
114
127
|
return pulumi.get(self, "license_key")
|
|
115
128
|
|
|
116
129
|
@license_key.setter
|
|
117
|
-
def license_key(self, value: Optional[pulumi.Input[str]]):
|
|
130
|
+
def license_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
118
131
|
pulumi.set(self, "license_key", value)
|
|
119
132
|
|
|
120
|
-
@property
|
|
133
|
+
@_builtins.property
|
|
121
134
|
@pulumi.getter
|
|
122
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
135
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
123
136
|
"""
|
|
124
|
-
The display name for the license.
|
|
137
|
+
The display name for the license key.
|
|
125
138
|
"""
|
|
126
139
|
return pulumi.get(self, "name")
|
|
127
140
|
|
|
128
141
|
@name.setter
|
|
129
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
142
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
130
143
|
pulumi.set(self, "name", value)
|
|
131
144
|
|
|
132
|
-
@property
|
|
145
|
+
@_builtins.property
|
|
133
146
|
@pulumi.getter
|
|
134
|
-
def total(self) -> Optional[pulumi.Input[int]]:
|
|
147
|
+
def total(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
135
148
|
"""
|
|
136
|
-
|
|
149
|
+
The total number of units contained in the license key.
|
|
137
150
|
"""
|
|
138
151
|
return pulumi.get(self, "total")
|
|
139
152
|
|
|
140
153
|
@total.setter
|
|
141
|
-
def total(self, value: Optional[pulumi.Input[int]]):
|
|
154
|
+
def total(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
142
155
|
pulumi.set(self, "total", value)
|
|
143
156
|
|
|
144
|
-
@property
|
|
157
|
+
@_builtins.property
|
|
145
158
|
@pulumi.getter
|
|
146
|
-
def used(self) -> Optional[pulumi.Input[int]]:
|
|
159
|
+
def used(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
147
160
|
"""
|
|
148
|
-
The number of units
|
|
161
|
+
The number of units assigned to this license key.
|
|
149
162
|
"""
|
|
150
163
|
return pulumi.get(self, "used")
|
|
151
164
|
|
|
152
165
|
@used.setter
|
|
153
|
-
def used(self, value: Optional[pulumi.Input[int]]):
|
|
166
|
+
def used(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
154
167
|
pulumi.set(self, "used", value)
|
|
155
168
|
|
|
156
169
|
|
|
170
|
+
@pulumi.type_token("vsphere:index/license:License")
|
|
157
171
|
class License(pulumi.CustomResource):
|
|
158
172
|
@overload
|
|
159
173
|
def __init__(__self__,
|
|
160
174
|
resource_name: str,
|
|
161
175
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
162
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
163
|
-
license_key: Optional[pulumi.Input[str]] = None,
|
|
176
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
177
|
+
license_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
164
178
|
__props__=None):
|
|
165
179
|
"""
|
|
166
180
|
Provides a VMware vSphere license resource. This can be used to add and remove license keys.
|
|
@@ -172,17 +186,18 @@ class License(pulumi.CustomResource):
|
|
|
172
186
|
import pulumi_vsphere as vsphere
|
|
173
187
|
|
|
174
188
|
license_key = vsphere.License("licenseKey",
|
|
189
|
+
license_key="00000-00000-00000-00000-00000",
|
|
175
190
|
labels={
|
|
176
|
-
"VpxClientLicenseLabel": "
|
|
177
|
-
|
|
178
|
-
},
|
|
179
|
-
license_key="452CQ-2EK54-K8742-00000-00000")
|
|
191
|
+
"VpxClientLicenseLabel": "example",
|
|
192
|
+
})
|
|
180
193
|
```
|
|
181
194
|
|
|
182
195
|
:param str resource_name: The name of the resource.
|
|
183
196
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
184
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of
|
|
185
|
-
|
|
197
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: A map of labels to be applied to the license key.
|
|
198
|
+
|
|
199
|
+
> **NOTE:** Labels are not allowed for unmanaged ESX hosts.
|
|
200
|
+
:param pulumi.Input[_builtins.str] license_key: The license key value.
|
|
186
201
|
"""
|
|
187
202
|
...
|
|
188
203
|
@overload
|
|
@@ -200,11 +215,10 @@ class License(pulumi.CustomResource):
|
|
|
200
215
|
import pulumi_vsphere as vsphere
|
|
201
216
|
|
|
202
217
|
license_key = vsphere.License("licenseKey",
|
|
218
|
+
license_key="00000-00000-00000-00000-00000",
|
|
203
219
|
labels={
|
|
204
|
-
"VpxClientLicenseLabel": "
|
|
205
|
-
|
|
206
|
-
},
|
|
207
|
-
license_key="452CQ-2EK54-K8742-00000-00000")
|
|
220
|
+
"VpxClientLicenseLabel": "example",
|
|
221
|
+
})
|
|
208
222
|
```
|
|
209
223
|
|
|
210
224
|
:param str resource_name: The name of the resource.
|
|
@@ -222,8 +236,8 @@ class License(pulumi.CustomResource):
|
|
|
222
236
|
def _internal_init(__self__,
|
|
223
237
|
resource_name: str,
|
|
224
238
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
225
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
226
|
-
license_key: Optional[pulumi.Input[str]] = None,
|
|
239
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
240
|
+
license_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
227
241
|
__props__=None):
|
|
228
242
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
229
243
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -251,12 +265,12 @@ class License(pulumi.CustomResource):
|
|
|
251
265
|
def get(resource_name: str,
|
|
252
266
|
id: pulumi.Input[str],
|
|
253
267
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
254
|
-
edition_key: Optional[pulumi.Input[str]] = None,
|
|
255
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
256
|
-
license_key: Optional[pulumi.Input[str]] = None,
|
|
257
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
258
|
-
total: Optional[pulumi.Input[int]] = None,
|
|
259
|
-
used: Optional[pulumi.Input[int]] = None) -> 'License':
|
|
268
|
+
edition_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
269
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
270
|
+
license_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
271
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
272
|
+
total: Optional[pulumi.Input[_builtins.int]] = None,
|
|
273
|
+
used: Optional[pulumi.Input[_builtins.int]] = None) -> 'License':
|
|
260
274
|
"""
|
|
261
275
|
Get an existing License resource's state with the given name, id, and optional extra
|
|
262
276
|
properties used to qualify the lookup.
|
|
@@ -264,12 +278,14 @@ class License(pulumi.CustomResource):
|
|
|
264
278
|
:param str resource_name: The unique name of the resulting resource.
|
|
265
279
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
266
280
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
267
|
-
:param pulumi.Input[str] edition_key: The product edition of the license key.
|
|
268
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
:param pulumi.Input[
|
|
272
|
-
:param pulumi.Input[
|
|
281
|
+
:param pulumi.Input[_builtins.str] edition_key: The product edition of the license key.
|
|
282
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: A map of labels to be applied to the license key.
|
|
283
|
+
|
|
284
|
+
> **NOTE:** Labels are not allowed for unmanaged ESX hosts.
|
|
285
|
+
:param pulumi.Input[_builtins.str] license_key: The license key value.
|
|
286
|
+
:param pulumi.Input[_builtins.str] name: The display name for the license key.
|
|
287
|
+
:param pulumi.Input[_builtins.int] total: The total number of units contained in the license key.
|
|
288
|
+
:param pulumi.Input[_builtins.int] used: The number of units assigned to this license key.
|
|
273
289
|
"""
|
|
274
290
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
275
291
|
|
|
@@ -283,51 +299,53 @@ class License(pulumi.CustomResource):
|
|
|
283
299
|
__props__.__dict__["used"] = used
|
|
284
300
|
return License(resource_name, opts=opts, __props__=__props__)
|
|
285
301
|
|
|
286
|
-
@property
|
|
302
|
+
@_builtins.property
|
|
287
303
|
@pulumi.getter(name="editionKey")
|
|
288
|
-
def edition_key(self) -> pulumi.Output[str]:
|
|
304
|
+
def edition_key(self) -> pulumi.Output[_builtins.str]:
|
|
289
305
|
"""
|
|
290
306
|
The product edition of the license key.
|
|
291
307
|
"""
|
|
292
308
|
return pulumi.get(self, "edition_key")
|
|
293
309
|
|
|
294
|
-
@property
|
|
310
|
+
@_builtins.property
|
|
295
311
|
@pulumi.getter
|
|
296
|
-
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
312
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
297
313
|
"""
|
|
298
|
-
A map of
|
|
314
|
+
A map of labels to be applied to the license key.
|
|
315
|
+
|
|
316
|
+
> **NOTE:** Labels are not allowed for unmanaged ESX hosts.
|
|
299
317
|
"""
|
|
300
318
|
return pulumi.get(self, "labels")
|
|
301
319
|
|
|
302
|
-
@property
|
|
320
|
+
@_builtins.property
|
|
303
321
|
@pulumi.getter(name="licenseKey")
|
|
304
|
-
def license_key(self) -> pulumi.Output[str]:
|
|
322
|
+
def license_key(self) -> pulumi.Output[_builtins.str]:
|
|
305
323
|
"""
|
|
306
|
-
The license key
|
|
324
|
+
The license key value.
|
|
307
325
|
"""
|
|
308
326
|
return pulumi.get(self, "license_key")
|
|
309
327
|
|
|
310
|
-
@property
|
|
328
|
+
@_builtins.property
|
|
311
329
|
@pulumi.getter
|
|
312
|
-
def name(self) -> pulumi.Output[str]:
|
|
330
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
313
331
|
"""
|
|
314
|
-
The display name for the license.
|
|
332
|
+
The display name for the license key.
|
|
315
333
|
"""
|
|
316
334
|
return pulumi.get(self, "name")
|
|
317
335
|
|
|
318
|
-
@property
|
|
336
|
+
@_builtins.property
|
|
319
337
|
@pulumi.getter
|
|
320
|
-
def total(self) -> pulumi.Output[int]:
|
|
338
|
+
def total(self) -> pulumi.Output[_builtins.int]:
|
|
321
339
|
"""
|
|
322
|
-
|
|
340
|
+
The total number of units contained in the license key.
|
|
323
341
|
"""
|
|
324
342
|
return pulumi.get(self, "total")
|
|
325
343
|
|
|
326
|
-
@property
|
|
344
|
+
@_builtins.property
|
|
327
345
|
@pulumi.getter
|
|
328
|
-
def used(self) -> pulumi.Output[int]:
|
|
346
|
+
def used(self) -> pulumi.Output[_builtins.int]:
|
|
329
347
|
"""
|
|
330
|
-
The number of units
|
|
348
|
+
The number of units assigned to this license key.
|
|
331
349
|
"""
|
|
332
350
|
return pulumi.get(self, "used")
|
|
333
351
|
|