pulumi-vsphere 4.13.1__py3-none-any.whl → 4.13.2__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 (87) hide show
  1. pulumi_vsphere/__init__.py +1 -0
  2. pulumi_vsphere/_inputs.py +969 -968
  3. pulumi_vsphere/_utilities.py +8 -4
  4. pulumi_vsphere/compute_cluster.py +918 -917
  5. pulumi_vsphere/compute_cluster_host_group.py +43 -42
  6. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +71 -70
  7. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +71 -70
  8. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +85 -84
  9. pulumi_vsphere/compute_cluster_vm_group.py +43 -42
  10. pulumi_vsphere/compute_cluster_vm_host_rule.py +99 -98
  11. pulumi_vsphere/config/__init__.py +1 -0
  12. pulumi_vsphere/config/__init__.pyi +1 -0
  13. pulumi_vsphere/config/vars.py +1 -0
  14. pulumi_vsphere/content_library.py +43 -42
  15. pulumi_vsphere/content_library_item.py +85 -84
  16. pulumi_vsphere/custom_attribute.py +29 -28
  17. pulumi_vsphere/datacenter.py +64 -63
  18. pulumi_vsphere/datastore_cluster.py +351 -350
  19. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +71 -70
  20. pulumi_vsphere/distributed_port_group.py +645 -644
  21. pulumi_vsphere/distributed_virtual_switch.py +1282 -1281
  22. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +57 -56
  23. pulumi_vsphere/dpm_host_override.py +57 -56
  24. pulumi_vsphere/drs_vm_override.py +57 -56
  25. pulumi_vsphere/entity_permissions.py +29 -28
  26. pulumi_vsphere/file.py +95 -94
  27. pulumi_vsphere/folder.py +71 -70
  28. pulumi_vsphere/get_compute_cluster.py +13 -12
  29. pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
  30. pulumi_vsphere/get_content_library.py +7 -6
  31. pulumi_vsphere/get_content_library_item.py +17 -16
  32. pulumi_vsphere/get_custom_attribute.py +8 -7
  33. pulumi_vsphere/get_datacenter.py +8 -7
  34. pulumi_vsphere/get_datastore.py +17 -16
  35. pulumi_vsphere/get_datastore_cluster.py +13 -12
  36. pulumi_vsphere/get_datastore_stats.py +17 -16
  37. pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
  38. pulumi_vsphere/get_dynamic.py +17 -16
  39. pulumi_vsphere/get_folder.py +7 -6
  40. pulumi_vsphere/get_guest_os_customization.py +11 -10
  41. pulumi_vsphere/get_host.py +13 -12
  42. pulumi_vsphere/get_host_base_images.py +3 -2
  43. pulumi_vsphere/get_host_pci_device.py +23 -22
  44. pulumi_vsphere/get_host_thumbprint.py +17 -16
  45. pulumi_vsphere/get_host_vgpu_profile.py +12 -11
  46. pulumi_vsphere/get_license.py +12 -11
  47. pulumi_vsphere/get_network.py +18 -17
  48. pulumi_vsphere/get_ovf_vm_template.py +89 -88
  49. pulumi_vsphere/get_policy.py +7 -6
  50. pulumi_vsphere/get_resource_pool.py +12 -11
  51. pulumi_vsphere/get_role.py +20 -19
  52. pulumi_vsphere/get_tag.py +13 -12
  53. pulumi_vsphere/get_tag_category.py +10 -9
  54. pulumi_vsphere/get_vapp_container.py +12 -11
  55. pulumi_vsphere/get_virtual_machine.py +204 -203
  56. pulumi_vsphere/get_vmfs_disks.py +18 -17
  57. pulumi_vsphere/guest_os_customization.py +57 -56
  58. pulumi_vsphere/ha_vm_override.py +211 -210
  59. pulumi_vsphere/host.py +197 -196
  60. pulumi_vsphere/host_port_group.py +253 -252
  61. pulumi_vsphere/host_virtual_switch.py +295 -294
  62. pulumi_vsphere/license.py +57 -56
  63. pulumi_vsphere/nas_datastore.py +211 -210
  64. pulumi_vsphere/offline_software_depot.py +15 -14
  65. pulumi_vsphere/outputs.py +721 -720
  66. pulumi_vsphere/provider.py +98 -97
  67. pulumi_vsphere/pulumi-plugin.json +1 -1
  68. pulumi_vsphere/resource_pool.py +211 -210
  69. pulumi_vsphere/role.py +36 -35
  70. pulumi_vsphere/storage_drs_vm_override.py +71 -70
  71. pulumi_vsphere/supervisor.py +155 -154
  72. pulumi_vsphere/tag.py +43 -42
  73. pulumi_vsphere/tag_category.py +57 -56
  74. pulumi_vsphere/vapp_container.py +211 -210
  75. pulumi_vsphere/vapp_entity.py +141 -140
  76. pulumi_vsphere/virtual_disk.py +99 -98
  77. pulumi_vsphere/virtual_machine.py +1040 -1039
  78. pulumi_vsphere/virtual_machine_class.py +85 -84
  79. pulumi_vsphere/virtual_machine_snapshot.py +99 -98
  80. pulumi_vsphere/vm_storage_policy.py +29 -28
  81. pulumi_vsphere/vmfs_datastore.py +148 -147
  82. pulumi_vsphere/vnic.py +113 -112
  83. {pulumi_vsphere-4.13.1.dist-info → pulumi_vsphere-4.13.2.dist-info}/METADATA +2 -2
  84. pulumi_vsphere-4.13.2.dist-info/RECORD +87 -0
  85. {pulumi_vsphere-4.13.1.dist-info → pulumi_vsphere-4.13.2.dist-info}/WHEEL +1 -1
  86. pulumi_vsphere-4.13.1.dist-info/RECORD +0 -87
  87. {pulumi_vsphere-4.13.1.dist-info → pulumi_vsphere-4.13.2.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,74 +89,74 @@ 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
 
@@ -164,16 +165,16 @@ class License(pulumi.CustomResource):
164
165
  def __init__(__self__,
165
166
  resource_name: str,
166
167
  opts: Optional[pulumi.ResourceOptions] = None,
167
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
168
- license_key: Optional[pulumi.Input[str]] = None,
168
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
169
+ license_key: Optional[pulumi.Input[builtins.str]] = None,
169
170
  __props__=None):
170
171
  """
171
172
  Provides a VMware vSphere license resource. This can be used to add and remove license keys.
172
173
 
173
174
  :param str resource_name: The name of the resource.
174
175
  :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.
176
+ :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.
177
+ :param pulumi.Input[builtins.str] license_key: The license key to add.
177
178
  """
178
179
  ...
179
180
  @overload
@@ -199,8 +200,8 @@ class License(pulumi.CustomResource):
199
200
  def _internal_init(__self__,
200
201
  resource_name: str,
201
202
  opts: Optional[pulumi.ResourceOptions] = None,
202
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
203
- license_key: Optional[pulumi.Input[str]] = None,
203
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
204
+ license_key: Optional[pulumi.Input[builtins.str]] = None,
204
205
  __props__=None):
205
206
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
206
207
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -228,12 +229,12 @@ class License(pulumi.CustomResource):
228
229
  def get(resource_name: str,
229
230
  id: pulumi.Input[str],
230
231
  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':
232
+ edition_key: Optional[pulumi.Input[builtins.str]] = None,
233
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
234
+ license_key: Optional[pulumi.Input[builtins.str]] = None,
235
+ name: Optional[pulumi.Input[builtins.str]] = None,
236
+ total: Optional[pulumi.Input[builtins.int]] = None,
237
+ used: Optional[pulumi.Input[builtins.int]] = None) -> 'License':
237
238
  """
238
239
  Get an existing License resource's state with the given name, id, and optional extra
239
240
  properties used to qualify the lookup.
@@ -241,12 +242,12 @@ class License(pulumi.CustomResource):
241
242
  :param str resource_name: The unique name of the resulting resource.
242
243
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
243
244
  :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.
245
+ :param pulumi.Input[builtins.str] edition_key: The product edition of the license key.
246
+ :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.
247
+ :param pulumi.Input[builtins.str] license_key: The license key to add.
248
+ :param pulumi.Input[builtins.str] name: The display name for the license.
249
+ :param pulumi.Input[builtins.int] total: Total number of units (example: CPUs) contained in the license.
250
+ :param pulumi.Input[builtins.int] used: The number of units (example: CPUs) assigned to this license.
250
251
  """
251
252
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
252
253
 
@@ -262,7 +263,7 @@ class License(pulumi.CustomResource):
262
263
 
263
264
  @property
264
265
  @pulumi.getter(name="editionKey")
265
- def edition_key(self) -> pulumi.Output[str]:
266
+ def edition_key(self) -> pulumi.Output[builtins.str]:
266
267
  """
267
268
  The product edition of the license key.
268
269
  """
@@ -270,7 +271,7 @@ class License(pulumi.CustomResource):
270
271
 
271
272
  @property
272
273
  @pulumi.getter
273
- def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
274
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
274
275
  """
275
276
  A map of key/value pairs to be attached as labels (tags) to the license key.
276
277
  """
@@ -278,7 +279,7 @@ class License(pulumi.CustomResource):
278
279
 
279
280
  @property
280
281
  @pulumi.getter(name="licenseKey")
281
- def license_key(self) -> pulumi.Output[str]:
282
+ def license_key(self) -> pulumi.Output[builtins.str]:
282
283
  """
283
284
  The license key to add.
284
285
  """
@@ -286,7 +287,7 @@ class License(pulumi.CustomResource):
286
287
 
287
288
  @property
288
289
  @pulumi.getter
289
- def name(self) -> pulumi.Output[str]:
290
+ def name(self) -> pulumi.Output[builtins.str]:
290
291
  """
291
292
  The display name for the license.
292
293
  """
@@ -294,7 +295,7 @@ class License(pulumi.CustomResource):
294
295
 
295
296
  @property
296
297
  @pulumi.getter
297
- def total(self) -> pulumi.Output[int]:
298
+ def total(self) -> pulumi.Output[builtins.int]:
298
299
  """
299
300
  Total number of units (example: CPUs) contained in the license.
300
301
  """
@@ -302,7 +303,7 @@ class License(pulumi.CustomResource):
302
303
 
303
304
  @property
304
305
  @pulumi.getter
305
- def used(self) -> pulumi.Output[int]:
306
+ def used(self) -> pulumi.Output[builtins.int]:
306
307
  """
307
308
  The number of units (example: CPUs) assigned to this license.
308
309
  """