pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1746734806__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.

Files changed (86) hide show
  1. pulumi_vsphere/__init__.py +1 -0
  2. pulumi_vsphere/_inputs.py +969 -968
  3. pulumi_vsphere/compute_cluster.py +919 -917
  4. pulumi_vsphere/compute_cluster_host_group.py +44 -42
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +72 -70
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +72 -70
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +86 -84
  8. pulumi_vsphere/compute_cluster_vm_group.py +44 -42
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +100 -98
  10. pulumi_vsphere/config/__init__.py +1 -0
  11. pulumi_vsphere/config/__init__.pyi +1 -0
  12. pulumi_vsphere/config/vars.py +1 -0
  13. pulumi_vsphere/content_library.py +44 -42
  14. pulumi_vsphere/content_library_item.py +86 -84
  15. pulumi_vsphere/custom_attribute.py +30 -28
  16. pulumi_vsphere/datacenter.py +65 -63
  17. pulumi_vsphere/datastore_cluster.py +352 -350
  18. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +72 -70
  19. pulumi_vsphere/distributed_port_group.py +646 -644
  20. pulumi_vsphere/distributed_virtual_switch.py +1283 -1281
  21. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +58 -56
  22. pulumi_vsphere/dpm_host_override.py +58 -56
  23. pulumi_vsphere/drs_vm_override.py +58 -56
  24. pulumi_vsphere/entity_permissions.py +30 -28
  25. pulumi_vsphere/file.py +96 -94
  26. pulumi_vsphere/folder.py +72 -70
  27. pulumi_vsphere/get_compute_cluster.py +13 -12
  28. pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
  29. pulumi_vsphere/get_content_library.py +7 -6
  30. pulumi_vsphere/get_content_library_item.py +17 -16
  31. pulumi_vsphere/get_custom_attribute.py +8 -7
  32. pulumi_vsphere/get_datacenter.py +8 -7
  33. pulumi_vsphere/get_datastore.py +17 -16
  34. pulumi_vsphere/get_datastore_cluster.py +13 -12
  35. pulumi_vsphere/get_datastore_stats.py +17 -16
  36. pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
  37. pulumi_vsphere/get_dynamic.py +17 -16
  38. pulumi_vsphere/get_folder.py +7 -6
  39. pulumi_vsphere/get_guest_os_customization.py +11 -10
  40. pulumi_vsphere/get_host.py +13 -12
  41. pulumi_vsphere/get_host_base_images.py +3 -2
  42. pulumi_vsphere/get_host_pci_device.py +23 -22
  43. pulumi_vsphere/get_host_thumbprint.py +17 -16
  44. pulumi_vsphere/get_host_vgpu_profile.py +12 -11
  45. pulumi_vsphere/get_license.py +12 -11
  46. pulumi_vsphere/get_network.py +18 -17
  47. pulumi_vsphere/get_ovf_vm_template.py +89 -88
  48. pulumi_vsphere/get_policy.py +7 -6
  49. pulumi_vsphere/get_resource_pool.py +12 -11
  50. pulumi_vsphere/get_role.py +20 -19
  51. pulumi_vsphere/get_tag.py +13 -12
  52. pulumi_vsphere/get_tag_category.py +10 -9
  53. pulumi_vsphere/get_vapp_container.py +12 -11
  54. pulumi_vsphere/get_virtual_machine.py +204 -203
  55. pulumi_vsphere/get_vmfs_disks.py +18 -17
  56. pulumi_vsphere/guest_os_customization.py +58 -56
  57. pulumi_vsphere/ha_vm_override.py +212 -210
  58. pulumi_vsphere/host.py +198 -196
  59. pulumi_vsphere/host_port_group.py +254 -252
  60. pulumi_vsphere/host_virtual_switch.py +296 -294
  61. pulumi_vsphere/license.py +58 -56
  62. pulumi_vsphere/nas_datastore.py +212 -210
  63. pulumi_vsphere/offline_software_depot.py +16 -14
  64. pulumi_vsphere/outputs.py +721 -720
  65. pulumi_vsphere/provider.py +119 -97
  66. pulumi_vsphere/pulumi-plugin.json +1 -1
  67. pulumi_vsphere/resource_pool.py +212 -210
  68. pulumi_vsphere/role.py +37 -35
  69. pulumi_vsphere/storage_drs_vm_override.py +72 -70
  70. pulumi_vsphere/supervisor.py +156 -154
  71. pulumi_vsphere/tag.py +44 -42
  72. pulumi_vsphere/tag_category.py +58 -56
  73. pulumi_vsphere/vapp_container.py +212 -210
  74. pulumi_vsphere/vapp_entity.py +142 -140
  75. pulumi_vsphere/virtual_disk.py +100 -98
  76. pulumi_vsphere/virtual_machine.py +1041 -1039
  77. pulumi_vsphere/virtual_machine_class.py +86 -84
  78. pulumi_vsphere/virtual_machine_snapshot.py +100 -98
  79. pulumi_vsphere/vm_storage_policy.py +30 -28
  80. pulumi_vsphere/vmfs_datastore.py +149 -147
  81. pulumi_vsphere/vnic.py +114 -112
  82. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/METADATA +4 -4
  83. pulumi_vsphere-4.14.0a1746734806.dist-info/RECORD +87 -0
  84. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/WHEEL +1 -1
  85. pulumi_vsphere-4.14.0a1741997722.dist-info/RECORD +0 -87
  86. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/top_level.txt +0 -0
pulumi_vsphere/license.py CHANGED
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -19,12 +20,12 @@ __all__ = ['LicenseArgs', 'License']
19
20
  @pulumi.input_type
20
21
  class LicenseArgs:
21
22
  def __init__(__self__, *,
22
- license_key: pulumi.Input[str],
23
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
23
+ license_key: pulumi.Input[builtins.str],
24
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
24
25
  """
25
26
  The set of arguments for constructing a License resource.
26
- :param pulumi.Input[str] license_key: The license key to add.
27
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value pairs to be attached as labels (tags) to the license key.
27
+ :param pulumi.Input[builtins.str] license_key: The license key to add.
28
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of key/value pairs to be attached as labels (tags) to the license key.
28
29
  """
29
30
  pulumi.set(__self__, "license_key", license_key)
30
31
  if labels is not None:
@@ -32,46 +33,46 @@ class LicenseArgs:
32
33
 
33
34
  @property
34
35
  @pulumi.getter(name="licenseKey")
35
- def license_key(self) -> pulumi.Input[str]:
36
+ def license_key(self) -> pulumi.Input[builtins.str]:
36
37
  """
37
38
  The license key to add.
38
39
  """
39
40
  return pulumi.get(self, "license_key")
40
41
 
41
42
  @license_key.setter
42
- def license_key(self, value: pulumi.Input[str]):
43
+ def license_key(self, value: pulumi.Input[builtins.str]):
43
44
  pulumi.set(self, "license_key", value)
44
45
 
45
46
  @property
46
47
  @pulumi.getter
47
- def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
48
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
48
49
  """
49
50
  A map of key/value pairs to be attached as labels (tags) to the license key.
50
51
  """
51
52
  return pulumi.get(self, "labels")
52
53
 
53
54
  @labels.setter
54
- def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
55
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
55
56
  pulumi.set(self, "labels", value)
56
57
 
57
58
 
58
59
  @pulumi.input_type
59
60
  class _LicenseState:
60
61
  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):
62
+ edition_key: Optional[pulumi.Input[builtins.str]] = None,
63
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
64
+ license_key: Optional[pulumi.Input[builtins.str]] = None,
65
+ name: Optional[pulumi.Input[builtins.str]] = None,
66
+ total: Optional[pulumi.Input[builtins.int]] = None,
67
+ used: Optional[pulumi.Input[builtins.int]] = None):
67
68
  """
68
69
  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 key/value pairs to be attached as labels (tags) to the license key.
71
- :param pulumi.Input[str] license_key: The license key to add.
72
- :param pulumi.Input[str] name: The display name for the license.
73
- :param pulumi.Input[int] total: Total number of units (example: CPUs) contained in the license.
74
- :param pulumi.Input[int] used: The number of units (example: CPUs) assigned to this license.
70
+ :param pulumi.Input[builtins.str] edition_key: The product edition of the license key.
71
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of key/value pairs to be attached as labels (tags) to the license key.
72
+ :param pulumi.Input[builtins.str] license_key: The license key to add.
73
+ :param pulumi.Input[builtins.str] name: The display name for the license.
74
+ :param pulumi.Input[builtins.int] total: Total number of units (example: CPUs) contained in the license.
75
+ :param pulumi.Input[builtins.int] used: The number of units (example: CPUs) assigned to this license.
75
76
  """
76
77
  if edition_key is not None:
77
78
  pulumi.set(__self__, "edition_key", edition_key)
@@ -88,92 +89,93 @@ class _LicenseState:
88
89
 
89
90
  @property
90
91
  @pulumi.getter(name="editionKey")
91
- def edition_key(self) -> Optional[pulumi.Input[str]]:
92
+ def edition_key(self) -> Optional[pulumi.Input[builtins.str]]:
92
93
  """
93
94
  The product edition of the license key.
94
95
  """
95
96
  return pulumi.get(self, "edition_key")
96
97
 
97
98
  @edition_key.setter
98
- def edition_key(self, value: Optional[pulumi.Input[str]]):
99
+ def edition_key(self, value: Optional[pulumi.Input[builtins.str]]):
99
100
  pulumi.set(self, "edition_key", value)
100
101
 
101
102
  @property
102
103
  @pulumi.getter
103
- def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
104
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
104
105
  """
105
106
  A map of key/value pairs to be attached as labels (tags) to the license key.
106
107
  """
107
108
  return pulumi.get(self, "labels")
108
109
 
109
110
  @labels.setter
110
- def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
111
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
111
112
  pulumi.set(self, "labels", value)
112
113
 
113
114
  @property
114
115
  @pulumi.getter(name="licenseKey")
115
- def license_key(self) -> Optional[pulumi.Input[str]]:
116
+ def license_key(self) -> Optional[pulumi.Input[builtins.str]]:
116
117
  """
117
118
  The license key to add.
118
119
  """
119
120
  return pulumi.get(self, "license_key")
120
121
 
121
122
  @license_key.setter
122
- def license_key(self, value: Optional[pulumi.Input[str]]):
123
+ def license_key(self, value: Optional[pulumi.Input[builtins.str]]):
123
124
  pulumi.set(self, "license_key", value)
124
125
 
125
126
  @property
126
127
  @pulumi.getter
127
- def name(self) -> Optional[pulumi.Input[str]]:
128
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
128
129
  """
129
130
  The display name for the license.
130
131
  """
131
132
  return pulumi.get(self, "name")
132
133
 
133
134
  @name.setter
134
- def name(self, value: Optional[pulumi.Input[str]]):
135
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
135
136
  pulumi.set(self, "name", value)
136
137
 
137
138
  @property
138
139
  @pulumi.getter
139
- def total(self) -> Optional[pulumi.Input[int]]:
140
+ def total(self) -> Optional[pulumi.Input[builtins.int]]:
140
141
  """
141
142
  Total number of units (example: CPUs) contained in the license.
142
143
  """
143
144
  return pulumi.get(self, "total")
144
145
 
145
146
  @total.setter
146
- def total(self, value: Optional[pulumi.Input[int]]):
147
+ def total(self, value: Optional[pulumi.Input[builtins.int]]):
147
148
  pulumi.set(self, "total", value)
148
149
 
149
150
  @property
150
151
  @pulumi.getter
151
- def used(self) -> Optional[pulumi.Input[int]]:
152
+ def used(self) -> Optional[pulumi.Input[builtins.int]]:
152
153
  """
153
154
  The number of units (example: CPUs) assigned to this license.
154
155
  """
155
156
  return pulumi.get(self, "used")
156
157
 
157
158
  @used.setter
158
- def used(self, value: Optional[pulumi.Input[int]]):
159
+ def used(self, value: Optional[pulumi.Input[builtins.int]]):
159
160
  pulumi.set(self, "used", value)
160
161
 
161
162
 
163
+ @pulumi.type_token("vsphere:index/license:License")
162
164
  class License(pulumi.CustomResource):
163
165
  @overload
164
166
  def __init__(__self__,
165
167
  resource_name: str,
166
168
  opts: Optional[pulumi.ResourceOptions] = None,
167
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
168
- license_key: Optional[pulumi.Input[str]] = None,
169
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
170
+ license_key: Optional[pulumi.Input[builtins.str]] = None,
169
171
  __props__=None):
170
172
  """
171
173
  Provides a VMware vSphere license resource. This can be used to add and remove license keys.
172
174
 
173
175
  :param str resource_name: The name of the resource.
174
176
  :param pulumi.ResourceOptions opts: Options for the resource.
175
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value pairs to be attached as labels (tags) to the license key.
176
- :param pulumi.Input[str] license_key: The license key to add.
177
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of key/value pairs to be attached as labels (tags) to the license key.
178
+ :param pulumi.Input[builtins.str] license_key: The license key to add.
177
179
  """
178
180
  ...
179
181
  @overload
@@ -199,8 +201,8 @@ class License(pulumi.CustomResource):
199
201
  def _internal_init(__self__,
200
202
  resource_name: str,
201
203
  opts: Optional[pulumi.ResourceOptions] = None,
202
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
203
- license_key: Optional[pulumi.Input[str]] = None,
204
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
205
+ license_key: Optional[pulumi.Input[builtins.str]] = None,
204
206
  __props__=None):
205
207
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
206
208
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -228,12 +230,12 @@ class License(pulumi.CustomResource):
228
230
  def get(resource_name: str,
229
231
  id: pulumi.Input[str],
230
232
  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':
233
+ edition_key: Optional[pulumi.Input[builtins.str]] = None,
234
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
235
+ license_key: Optional[pulumi.Input[builtins.str]] = None,
236
+ name: Optional[pulumi.Input[builtins.str]] = None,
237
+ total: Optional[pulumi.Input[builtins.int]] = None,
238
+ used: Optional[pulumi.Input[builtins.int]] = None) -> 'License':
237
239
  """
238
240
  Get an existing License resource's state with the given name, id, and optional extra
239
241
  properties used to qualify the lookup.
@@ -241,12 +243,12 @@ class License(pulumi.CustomResource):
241
243
  :param str resource_name: The unique name of the resulting resource.
242
244
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
243
245
  :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 key/value pairs to be attached as labels (tags) to the license key.
246
- :param pulumi.Input[str] license_key: The license key to add.
247
- :param pulumi.Input[str] name: The display name for the license.
248
- :param pulumi.Input[int] total: Total number of units (example: CPUs) contained in the license.
249
- :param pulumi.Input[int] used: The number of units (example: CPUs) assigned to this license.
246
+ :param pulumi.Input[builtins.str] edition_key: The product edition of the license key.
247
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of key/value pairs to be attached as labels (tags) to the license key.
248
+ :param pulumi.Input[builtins.str] license_key: The license key to add.
249
+ :param pulumi.Input[builtins.str] name: The display name for the license.
250
+ :param pulumi.Input[builtins.int] total: Total number of units (example: CPUs) contained in the license.
251
+ :param pulumi.Input[builtins.int] used: The number of units (example: CPUs) assigned to this license.
250
252
  """
251
253
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
252
254
 
@@ -262,7 +264,7 @@ class License(pulumi.CustomResource):
262
264
 
263
265
  @property
264
266
  @pulumi.getter(name="editionKey")
265
- def edition_key(self) -> pulumi.Output[str]:
267
+ def edition_key(self) -> pulumi.Output[builtins.str]:
266
268
  """
267
269
  The product edition of the license key.
268
270
  """
@@ -270,7 +272,7 @@ class License(pulumi.CustomResource):
270
272
 
271
273
  @property
272
274
  @pulumi.getter
273
- def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
275
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
274
276
  """
275
277
  A map of key/value pairs to be attached as labels (tags) to the license key.
276
278
  """
@@ -278,7 +280,7 @@ class License(pulumi.CustomResource):
278
280
 
279
281
  @property
280
282
  @pulumi.getter(name="licenseKey")
281
- def license_key(self) -> pulumi.Output[str]:
283
+ def license_key(self) -> pulumi.Output[builtins.str]:
282
284
  """
283
285
  The license key to add.
284
286
  """
@@ -286,7 +288,7 @@ class License(pulumi.CustomResource):
286
288
 
287
289
  @property
288
290
  @pulumi.getter
289
- def name(self) -> pulumi.Output[str]:
291
+ def name(self) -> pulumi.Output[builtins.str]:
290
292
  """
291
293
  The display name for the license.
292
294
  """
@@ -294,7 +296,7 @@ class License(pulumi.CustomResource):
294
296
 
295
297
  @property
296
298
  @pulumi.getter
297
- def total(self) -> pulumi.Output[int]:
299
+ def total(self) -> pulumi.Output[builtins.int]:
298
300
  """
299
301
  Total number of units (example: CPUs) contained in the license.
300
302
  """
@@ -302,7 +304,7 @@ class License(pulumi.CustomResource):
302
304
 
303
305
  @property
304
306
  @pulumi.getter
305
- def used(self) -> pulumi.Output[int]:
307
+ def used(self) -> pulumi.Output[builtins.int]:
306
308
  """
307
309
  The number of units (example: CPUs) assigned to this license.
308
310
  """