pulumi-vsphere 4.14.0a1739946909__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 +12 -1
- pulumi_vsphere/_inputs.py +1172 -1172
- pulumi_vsphere/_utilities.py +1 -1
- pulumi_vsphere/compute_cluster.py +1226 -1484
- pulumi_vsphere/compute_cluster_host_group.py +124 -53
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +88 -87
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +92 -87
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +109 -104
- pulumi_vsphere/compute_cluster_vm_group.py +58 -53
- pulumi_vsphere/compute_cluster_vm_host_rule.py +126 -121
- pulumi_vsphere/config/__init__.py +2 -1
- pulumi_vsphere/config/__init__.pyi +2 -2
- pulumi_vsphere/config/vars.py +15 -15
- pulumi_vsphere/configuration_profile.py +286 -0
- pulumi_vsphere/content_library.py +64 -59
- pulumi_vsphere/content_library_item.py +109 -104
- pulumi_vsphere/custom_attribute.py +41 -36
- pulumi_vsphere/datacenter.py +80 -79
- pulumi_vsphere/datastore_cluster.py +531 -477
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +92 -87
- pulumi_vsphere/distributed_port_group.py +802 -818
- pulumi_vsphere/distributed_virtual_switch.py +1590 -1620
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +71 -70
- pulumi_vsphere/dpm_host_override.py +159 -70
- pulumi_vsphere/drs_vm_override.py +75 -70
- pulumi_vsphere/entity_permissions.py +40 -39
- pulumi_vsphere/file.py +148 -162
- pulumi_vsphere/folder.py +104 -99
- pulumi_vsphere/get_compute_cluster.py +18 -18
- pulumi_vsphere/get_compute_cluster_host_group.py +18 -22
- pulumi_vsphere/get_configuration_profile.py +145 -0
- pulumi_vsphere/get_content_library.py +10 -10
- pulumi_vsphere/get_content_library_item.py +22 -22
- pulumi_vsphere/get_custom_attribute.py +12 -12
- pulumi_vsphere/get_datacenter.py +12 -12
- pulumi_vsphere/get_datastore.py +22 -22
- pulumi_vsphere/get_datastore_cluster.py +19 -19
- pulumi_vsphere/get_datastore_stats.py +22 -26
- pulumi_vsphere/get_distributed_virtual_switch.py +18 -18
- pulumi_vsphere/get_dynamic.py +22 -26
- pulumi_vsphere/get_folder.py +140 -18
- pulumi_vsphere/get_guest_os_customization.py +74 -21
- pulumi_vsphere/get_host.py +18 -18
- pulumi_vsphere/get_host_base_images.py +6 -6
- pulumi_vsphere/get_host_pci_device.py +30 -30
- pulumi_vsphere/get_host_thumbprint.py +22 -22
- pulumi_vsphere/get_host_vgpu_profile.py +17 -17
- pulumi_vsphere/get_license.py +26 -24
- pulumi_vsphere/get_network.py +80 -29
- pulumi_vsphere/get_ovf_vm_template.py +126 -126
- pulumi_vsphere/get_policy.py +10 -10
- pulumi_vsphere/get_resource_pool.py +77 -26
- pulumi_vsphere/get_role.py +26 -26
- pulumi_vsphere/get_tag.py +18 -18
- pulumi_vsphere/get_tag_category.py +16 -16
- pulumi_vsphere/get_vapp_container.py +16 -16
- pulumi_vsphere/get_virtual_machine.py +273 -273
- pulumi_vsphere/get_vmfs_disks.py +24 -24
- pulumi_vsphere/guest_os_customization.py +75 -74
- pulumi_vsphere/ha_vm_override.py +295 -374
- pulumi_vsphere/host.py +304 -249
- pulumi_vsphere/host_port_group.py +321 -341
- pulumi_vsphere/host_virtual_switch.py +373 -389
- pulumi_vsphere/license.py +125 -84
- pulumi_vsphere/nas_datastore.py +324 -261
- pulumi_vsphere/offline_software_depot.py +26 -21
- pulumi_vsphere/outputs.py +1003 -970
- pulumi_vsphere/provider.py +165 -146
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +691 -364
- pulumi_vsphere/role.py +46 -45
- pulumi_vsphere/storage_drs_vm_override.py +92 -87
- pulumi_vsphere/supervisor.py +210 -209
- pulumi_vsphere/tag.py +58 -53
- pulumi_vsphere/tag_category.py +75 -70
- pulumi_vsphere/vapp_container.py +262 -257
- pulumi_vsphere/vapp_entity.py +177 -172
- pulumi_vsphere/virtual_disk.py +130 -125
- pulumi_vsphere/virtual_machine.py +1339 -1443
- pulumi_vsphere/virtual_machine_class.py +109 -108
- pulumi_vsphere/virtual_machine_snapshot.py +122 -121
- pulumi_vsphere/vm_storage_policy.py +40 -39
- pulumi_vsphere/vmfs_datastore.py +189 -184
- pulumi_vsphere/vnic.py +145 -144
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA +4 -4
- pulumi_vsphere-4.17.0a1763710194.dist-info/RECORD +89 -0
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1739946909.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/top_level.txt +0 -0
pulumi_vsphere/license.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -19,59 +19,65 @@ __all__ = ['LicenseArgs', 'License']
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class LicenseArgs:
|
|
21
21
|
def __init__(__self__, *,
|
|
22
|
-
license_key: pulumi.Input[str],
|
|
23
|
-
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):
|
|
24
24
|
"""
|
|
25
25
|
The set of arguments for constructing a License resource.
|
|
26
|
-
:param pulumi.Input[str] license_key: The license key
|
|
27
|
-
: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.
|
|
28
30
|
"""
|
|
29
31
|
pulumi.set(__self__, "license_key", license_key)
|
|
30
32
|
if labels is not None:
|
|
31
33
|
pulumi.set(__self__, "labels", labels)
|
|
32
34
|
|
|
33
|
-
@property
|
|
35
|
+
@_builtins.property
|
|
34
36
|
@pulumi.getter(name="licenseKey")
|
|
35
|
-
def license_key(self) -> pulumi.Input[str]:
|
|
37
|
+
def license_key(self) -> pulumi.Input[_builtins.str]:
|
|
36
38
|
"""
|
|
37
|
-
The license key
|
|
39
|
+
The license key value.
|
|
38
40
|
"""
|
|
39
41
|
return pulumi.get(self, "license_key")
|
|
40
42
|
|
|
41
43
|
@license_key.setter
|
|
42
|
-
def license_key(self, value: pulumi.Input[str]):
|
|
44
|
+
def license_key(self, value: pulumi.Input[_builtins.str]):
|
|
43
45
|
pulumi.set(self, "license_key", value)
|
|
44
46
|
|
|
45
|
-
@property
|
|
47
|
+
@_builtins.property
|
|
46
48
|
@pulumi.getter
|
|
47
|
-
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
49
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
48
50
|
"""
|
|
49
|
-
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.
|
|
50
54
|
"""
|
|
51
55
|
return pulumi.get(self, "labels")
|
|
52
56
|
|
|
53
57
|
@labels.setter
|
|
54
|
-
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]]]]):
|
|
55
59
|
pulumi.set(self, "labels", value)
|
|
56
60
|
|
|
57
61
|
|
|
58
62
|
@pulumi.input_type
|
|
59
63
|
class _LicenseState:
|
|
60
64
|
def __init__(__self__, *,
|
|
61
|
-
edition_key: Optional[pulumi.Input[str]] = None,
|
|
62
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
63
|
-
license_key: Optional[pulumi.Input[str]] = None,
|
|
64
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
65
|
-
total: Optional[pulumi.Input[int]] = None,
|
|
66
|
-
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):
|
|
67
71
|
"""
|
|
68
72
|
Input properties used for looking up and filtering License resources.
|
|
69
|
-
:param pulumi.Input[str] edition_key: The product edition of the license key.
|
|
70
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
:param pulumi.Input[
|
|
74
|
-
: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.
|
|
75
81
|
"""
|
|
76
82
|
if edition_key is not None:
|
|
77
83
|
pulumi.set(__self__, "edition_key", edition_key)
|
|
@@ -86,94 +92,112 @@ class _LicenseState:
|
|
|
86
92
|
if used is not None:
|
|
87
93
|
pulumi.set(__self__, "used", used)
|
|
88
94
|
|
|
89
|
-
@property
|
|
95
|
+
@_builtins.property
|
|
90
96
|
@pulumi.getter(name="editionKey")
|
|
91
|
-
def edition_key(self) -> Optional[pulumi.Input[str]]:
|
|
97
|
+
def edition_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
92
98
|
"""
|
|
93
99
|
The product edition of the license key.
|
|
94
100
|
"""
|
|
95
101
|
return pulumi.get(self, "edition_key")
|
|
96
102
|
|
|
97
103
|
@edition_key.setter
|
|
98
|
-
def edition_key(self, value: Optional[pulumi.Input[str]]):
|
|
104
|
+
def edition_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
99
105
|
pulumi.set(self, "edition_key", value)
|
|
100
106
|
|
|
101
|
-
@property
|
|
107
|
+
@_builtins.property
|
|
102
108
|
@pulumi.getter
|
|
103
|
-
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
109
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
104
110
|
"""
|
|
105
|
-
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.
|
|
106
114
|
"""
|
|
107
115
|
return pulumi.get(self, "labels")
|
|
108
116
|
|
|
109
117
|
@labels.setter
|
|
110
|
-
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]]]]):
|
|
111
119
|
pulumi.set(self, "labels", value)
|
|
112
120
|
|
|
113
|
-
@property
|
|
121
|
+
@_builtins.property
|
|
114
122
|
@pulumi.getter(name="licenseKey")
|
|
115
|
-
def license_key(self) -> Optional[pulumi.Input[str]]:
|
|
123
|
+
def license_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
116
124
|
"""
|
|
117
|
-
The license key
|
|
125
|
+
The license key value.
|
|
118
126
|
"""
|
|
119
127
|
return pulumi.get(self, "license_key")
|
|
120
128
|
|
|
121
129
|
@license_key.setter
|
|
122
|
-
def license_key(self, value: Optional[pulumi.Input[str]]):
|
|
130
|
+
def license_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
123
131
|
pulumi.set(self, "license_key", value)
|
|
124
132
|
|
|
125
|
-
@property
|
|
133
|
+
@_builtins.property
|
|
126
134
|
@pulumi.getter
|
|
127
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
135
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
128
136
|
"""
|
|
129
|
-
The display name for the license.
|
|
137
|
+
The display name for the license key.
|
|
130
138
|
"""
|
|
131
139
|
return pulumi.get(self, "name")
|
|
132
140
|
|
|
133
141
|
@name.setter
|
|
134
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
142
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
135
143
|
pulumi.set(self, "name", value)
|
|
136
144
|
|
|
137
|
-
@property
|
|
145
|
+
@_builtins.property
|
|
138
146
|
@pulumi.getter
|
|
139
|
-
def total(self) -> Optional[pulumi.Input[int]]:
|
|
147
|
+
def total(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
140
148
|
"""
|
|
141
|
-
|
|
149
|
+
The total number of units contained in the license key.
|
|
142
150
|
"""
|
|
143
151
|
return pulumi.get(self, "total")
|
|
144
152
|
|
|
145
153
|
@total.setter
|
|
146
|
-
def total(self, value: Optional[pulumi.Input[int]]):
|
|
154
|
+
def total(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
147
155
|
pulumi.set(self, "total", value)
|
|
148
156
|
|
|
149
|
-
@property
|
|
157
|
+
@_builtins.property
|
|
150
158
|
@pulumi.getter
|
|
151
|
-
def used(self) -> Optional[pulumi.Input[int]]:
|
|
159
|
+
def used(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
152
160
|
"""
|
|
153
|
-
The number of units
|
|
161
|
+
The number of units assigned to this license key.
|
|
154
162
|
"""
|
|
155
163
|
return pulumi.get(self, "used")
|
|
156
164
|
|
|
157
165
|
@used.setter
|
|
158
|
-
def used(self, value: Optional[pulumi.Input[int]]):
|
|
166
|
+
def used(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
159
167
|
pulumi.set(self, "used", value)
|
|
160
168
|
|
|
161
169
|
|
|
170
|
+
@pulumi.type_token("vsphere:index/license:License")
|
|
162
171
|
class License(pulumi.CustomResource):
|
|
163
172
|
@overload
|
|
164
173
|
def __init__(__self__,
|
|
165
174
|
resource_name: str,
|
|
166
175
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
167
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
168
|
-
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,
|
|
169
178
|
__props__=None):
|
|
170
179
|
"""
|
|
171
180
|
Provides a VMware vSphere license resource. This can be used to add and remove license keys.
|
|
172
181
|
|
|
182
|
+
## Example Usage
|
|
183
|
+
|
|
184
|
+
```python
|
|
185
|
+
import pulumi
|
|
186
|
+
import pulumi_vsphere as vsphere
|
|
187
|
+
|
|
188
|
+
license_key = vsphere.License("licenseKey",
|
|
189
|
+
license_key="00000-00000-00000-00000-00000",
|
|
190
|
+
labels={
|
|
191
|
+
"VpxClientLicenseLabel": "example",
|
|
192
|
+
})
|
|
193
|
+
```
|
|
194
|
+
|
|
173
195
|
:param str resource_name: The name of the resource.
|
|
174
196
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
175
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of
|
|
176
|
-
|
|
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.
|
|
177
201
|
"""
|
|
178
202
|
...
|
|
179
203
|
@overload
|
|
@@ -184,6 +208,19 @@ class License(pulumi.CustomResource):
|
|
|
184
208
|
"""
|
|
185
209
|
Provides a VMware vSphere license resource. This can be used to add and remove license keys.
|
|
186
210
|
|
|
211
|
+
## Example Usage
|
|
212
|
+
|
|
213
|
+
```python
|
|
214
|
+
import pulumi
|
|
215
|
+
import pulumi_vsphere as vsphere
|
|
216
|
+
|
|
217
|
+
license_key = vsphere.License("licenseKey",
|
|
218
|
+
license_key="00000-00000-00000-00000-00000",
|
|
219
|
+
labels={
|
|
220
|
+
"VpxClientLicenseLabel": "example",
|
|
221
|
+
})
|
|
222
|
+
```
|
|
223
|
+
|
|
187
224
|
:param str resource_name: The name of the resource.
|
|
188
225
|
:param LicenseArgs args: The arguments to use to populate this resource's properties.
|
|
189
226
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -199,8 +236,8 @@ class License(pulumi.CustomResource):
|
|
|
199
236
|
def _internal_init(__self__,
|
|
200
237
|
resource_name: str,
|
|
201
238
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
202
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
203
|
-
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,
|
|
204
241
|
__props__=None):
|
|
205
242
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
206
243
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -228,12 +265,12 @@ class License(pulumi.CustomResource):
|
|
|
228
265
|
def get(resource_name: str,
|
|
229
266
|
id: pulumi.Input[str],
|
|
230
267
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
231
|
-
edition_key: Optional[pulumi.Input[str]] = None,
|
|
232
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
233
|
-
license_key: Optional[pulumi.Input[str]] = None,
|
|
234
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
235
|
-
total: Optional[pulumi.Input[int]] = None,
|
|
236
|
-
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':
|
|
237
274
|
"""
|
|
238
275
|
Get an existing License resource's state with the given name, id, and optional extra
|
|
239
276
|
properties used to qualify the lookup.
|
|
@@ -241,12 +278,14 @@ class License(pulumi.CustomResource):
|
|
|
241
278
|
:param str resource_name: The unique name of the resulting resource.
|
|
242
279
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
243
280
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
244
|
-
:param pulumi.Input[str] edition_key: The product edition of the license key.
|
|
245
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
:param pulumi.Input[
|
|
249
|
-
: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.
|
|
250
289
|
"""
|
|
251
290
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
252
291
|
|
|
@@ -260,51 +299,53 @@ class License(pulumi.CustomResource):
|
|
|
260
299
|
__props__.__dict__["used"] = used
|
|
261
300
|
return License(resource_name, opts=opts, __props__=__props__)
|
|
262
301
|
|
|
263
|
-
@property
|
|
302
|
+
@_builtins.property
|
|
264
303
|
@pulumi.getter(name="editionKey")
|
|
265
|
-
def edition_key(self) -> pulumi.Output[str]:
|
|
304
|
+
def edition_key(self) -> pulumi.Output[_builtins.str]:
|
|
266
305
|
"""
|
|
267
306
|
The product edition of the license key.
|
|
268
307
|
"""
|
|
269
308
|
return pulumi.get(self, "edition_key")
|
|
270
309
|
|
|
271
|
-
@property
|
|
310
|
+
@_builtins.property
|
|
272
311
|
@pulumi.getter
|
|
273
|
-
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
312
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
274
313
|
"""
|
|
275
|
-
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.
|
|
276
317
|
"""
|
|
277
318
|
return pulumi.get(self, "labels")
|
|
278
319
|
|
|
279
|
-
@property
|
|
320
|
+
@_builtins.property
|
|
280
321
|
@pulumi.getter(name="licenseKey")
|
|
281
|
-
def license_key(self) -> pulumi.Output[str]:
|
|
322
|
+
def license_key(self) -> pulumi.Output[_builtins.str]:
|
|
282
323
|
"""
|
|
283
|
-
The license key
|
|
324
|
+
The license key value.
|
|
284
325
|
"""
|
|
285
326
|
return pulumi.get(self, "license_key")
|
|
286
327
|
|
|
287
|
-
@property
|
|
328
|
+
@_builtins.property
|
|
288
329
|
@pulumi.getter
|
|
289
|
-
def name(self) -> pulumi.Output[str]:
|
|
330
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
290
331
|
"""
|
|
291
|
-
The display name for the license.
|
|
332
|
+
The display name for the license key.
|
|
292
333
|
"""
|
|
293
334
|
return pulumi.get(self, "name")
|
|
294
335
|
|
|
295
|
-
@property
|
|
336
|
+
@_builtins.property
|
|
296
337
|
@pulumi.getter
|
|
297
|
-
def total(self) -> pulumi.Output[int]:
|
|
338
|
+
def total(self) -> pulumi.Output[_builtins.int]:
|
|
298
339
|
"""
|
|
299
|
-
|
|
340
|
+
The total number of units contained in the license key.
|
|
300
341
|
"""
|
|
301
342
|
return pulumi.get(self, "total")
|
|
302
343
|
|
|
303
|
-
@property
|
|
344
|
+
@_builtins.property
|
|
304
345
|
@pulumi.getter
|
|
305
|
-
def used(self) -> pulumi.Output[int]:
|
|
346
|
+
def used(self) -> pulumi.Output[_builtins.int]:
|
|
306
347
|
"""
|
|
307
|
-
The number of units
|
|
348
|
+
The number of units assigned to this license key.
|
|
308
349
|
"""
|
|
309
350
|
return pulumi.get(self, "used")
|
|
310
351
|
|