pulumi-vsphere 4.15.0a1753206257__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.

Files changed (86) hide show
  1. pulumi_vsphere/__init__.py +1 -1
  2. pulumi_vsphere/_inputs.py +1171 -1172
  3. pulumi_vsphere/compute_cluster.py +1127 -1128
  4. pulumi_vsphere/compute_cluster_host_group.py +52 -53
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +86 -87
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +86 -87
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +103 -104
  8. pulumi_vsphere/compute_cluster_vm_group.py +52 -53
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +120 -121
  10. pulumi_vsphere/config/__init__.py +1 -1
  11. pulumi_vsphere/config/__init__.pyi +1 -2
  12. pulumi_vsphere/config/vars.py +14 -15
  13. pulumi_vsphere/content_library.py +58 -59
  14. pulumi_vsphere/content_library_item.py +103 -104
  15. pulumi_vsphere/custom_attribute.py +35 -36
  16. pulumi_vsphere/datacenter.py +78 -79
  17. pulumi_vsphere/datastore_cluster.py +426 -427
  18. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +86 -87
  19. pulumi_vsphere/distributed_port_group.py +787 -788
  20. pulumi_vsphere/distributed_virtual_switch.py +1566 -1567
  21. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +69 -70
  22. pulumi_vsphere/dpm_host_override.py +69 -70
  23. pulumi_vsphere/drs_vm_override.py +69 -70
  24. pulumi_vsphere/entity_permissions.py +38 -39
  25. pulumi_vsphere/file.py +120 -121
  26. pulumi_vsphere/folder.py +86 -87
  27. pulumi_vsphere/get_compute_cluster.py +17 -18
  28. pulumi_vsphere/get_compute_cluster_host_group.py +17 -18
  29. pulumi_vsphere/get_content_library.py +9 -10
  30. pulumi_vsphere/get_content_library_item.py +21 -22
  31. pulumi_vsphere/get_custom_attribute.py +11 -12
  32. pulumi_vsphere/get_datacenter.py +11 -12
  33. pulumi_vsphere/get_datastore.py +21 -22
  34. pulumi_vsphere/get_datastore_cluster.py +17 -18
  35. pulumi_vsphere/get_datastore_stats.py +21 -22
  36. pulumi_vsphere/get_distributed_virtual_switch.py +17 -18
  37. pulumi_vsphere/get_dynamic.py +21 -22
  38. pulumi_vsphere/get_folder.py +9 -10
  39. pulumi_vsphere/get_guest_os_customization.py +18 -19
  40. pulumi_vsphere/get_host.py +17 -18
  41. pulumi_vsphere/get_host_base_images.py +5 -6
  42. pulumi_vsphere/get_host_pci_device.py +29 -30
  43. pulumi_vsphere/get_host_thumbprint.py +21 -22
  44. pulumi_vsphere/get_host_vgpu_profile.py +16 -17
  45. pulumi_vsphere/get_license.py +19 -20
  46. pulumi_vsphere/get_network.py +42 -43
  47. pulumi_vsphere/get_ovf_vm_template.py +121 -122
  48. pulumi_vsphere/get_policy.py +9 -10
  49. pulumi_vsphere/get_resource_pool.py +21 -22
  50. pulumi_vsphere/get_role.py +25 -26
  51. pulumi_vsphere/get_tag.py +17 -18
  52. pulumi_vsphere/get_tag_category.py +15 -16
  53. pulumi_vsphere/get_vapp_container.py +15 -16
  54. pulumi_vsphere/get_virtual_machine.py +272 -273
  55. pulumi_vsphere/get_vmfs_disks.py +23 -24
  56. pulumi_vsphere/guest_os_customization.py +73 -74
  57. pulumi_vsphere/ha_vm_override.py +256 -257
  58. pulumi_vsphere/host.py +242 -243
  59. pulumi_vsphere/host_port_group.py +310 -311
  60. pulumi_vsphere/host_virtual_switch.py +358 -359
  61. pulumi_vsphere/license.py +71 -72
  62. pulumi_vsphere/nas_datastore.py +260 -261
  63. pulumi_vsphere/offline_software_depot.py +20 -21
  64. pulumi_vsphere/outputs.py +981 -982
  65. pulumi_vsphere/provider.py +120 -121
  66. pulumi_vsphere/pulumi-plugin.json +1 -1
  67. pulumi_vsphere/resource_pool.py +256 -257
  68. pulumi_vsphere/role.py +44 -45
  69. pulumi_vsphere/storage_drs_vm_override.py +86 -87
  70. pulumi_vsphere/supervisor.py +206 -207
  71. pulumi_vsphere/tag.py +52 -53
  72. pulumi_vsphere/tag_category.py +69 -70
  73. pulumi_vsphere/vapp_container.py +256 -257
  74. pulumi_vsphere/vapp_entity.py +171 -172
  75. pulumi_vsphere/virtual_disk.py +120 -121
  76. pulumi_vsphere/virtual_machine.py +1293 -1294
  77. pulumi_vsphere/virtual_machine_class.py +103 -104
  78. pulumi_vsphere/virtual_machine_snapshot.py +120 -121
  79. pulumi_vsphere/vm_storage_policy.py +38 -39
  80. pulumi_vsphere/vmfs_datastore.py +183 -184
  81. pulumi_vsphere/vnic.py +143 -144
  82. {pulumi_vsphere-4.15.0a1753206257.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/METADATA +1 -1
  83. pulumi_vsphere-4.16.0a1753398270.dist-info/RECORD +87 -0
  84. pulumi_vsphere-4.15.0a1753206257.dist-info/RECORD +0 -87
  85. {pulumi_vsphere-4.15.0a1753206257.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/WHEEL +0 -0
  86. {pulumi_vsphere-4.15.0a1753206257.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,22 +19,22 @@ __all__ = ['ComputeClusterHostGroupArgs', 'ComputeClusterHostGroup']
20
19
  @pulumi.input_type
21
20
  class ComputeClusterHostGroupArgs:
22
21
  def __init__(__self__, *,
23
- compute_cluster_id: pulumi.Input[builtins.str],
24
- host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
25
- name: Optional[pulumi.Input[builtins.str]] = None):
22
+ compute_cluster_id: pulumi.Input[_builtins.str],
23
+ host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
24
+ name: Optional[pulumi.Input[_builtins.str]] = None):
26
25
  """
27
26
  The set of arguments for constructing a ComputeClusterHostGroup resource.
28
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
27
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
29
28
  ID of the cluster to put the group in. Forces a new
30
29
  resource if changed.
31
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of
30
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] host_system_ids: The managed object IDs of
32
31
  the hosts to put in the cluster.
33
32
 
34
33
  > **NOTE:** The namespace for cluster names on this resource (defined by the
35
34
  `name` argument) is shared with the
36
35
  `ComputeClusterVmGroup`
37
36
  resource. Make sure your names are unique across both resources.
38
- :param pulumi.Input[builtins.str] name: The name of the host group. This must be unique in the
37
+ :param pulumi.Input[_builtins.str] name: The name of the host group. This must be unique in the
39
38
  cluster. Forces a new resource if changed.
40
39
  """
41
40
  pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
@@ -44,9 +43,9 @@ class ComputeClusterHostGroupArgs:
44
43
  if name is not None:
45
44
  pulumi.set(__self__, "name", name)
46
45
 
47
- @property
46
+ @_builtins.property
48
47
  @pulumi.getter(name="computeClusterId")
49
- def compute_cluster_id(self) -> pulumi.Input[builtins.str]:
48
+ def compute_cluster_id(self) -> pulumi.Input[_builtins.str]:
50
49
  """
51
50
  The managed object reference
52
51
  ID of the cluster to put the group in. Forces a new
@@ -55,12 +54,12 @@ class ComputeClusterHostGroupArgs:
55
54
  return pulumi.get(self, "compute_cluster_id")
56
55
 
57
56
  @compute_cluster_id.setter
58
- def compute_cluster_id(self, value: pulumi.Input[builtins.str]):
57
+ def compute_cluster_id(self, value: pulumi.Input[_builtins.str]):
59
58
  pulumi.set(self, "compute_cluster_id", value)
60
59
 
61
- @property
60
+ @_builtins.property
62
61
  @pulumi.getter(name="hostSystemIds")
63
- def host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
62
+ def host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
64
63
  """
65
64
  The managed object IDs of
66
65
  the hosts to put in the cluster.
@@ -73,12 +72,12 @@ class ComputeClusterHostGroupArgs:
73
72
  return pulumi.get(self, "host_system_ids")
74
73
 
75
74
  @host_system_ids.setter
76
- def host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
75
+ def host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
77
76
  pulumi.set(self, "host_system_ids", value)
78
77
 
79
- @property
78
+ @_builtins.property
80
79
  @pulumi.getter
81
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
80
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
82
81
  """
83
82
  The name of the host group. This must be unique in the
84
83
  cluster. Forces a new resource if changed.
@@ -86,29 +85,29 @@ class ComputeClusterHostGroupArgs:
86
85
  return pulumi.get(self, "name")
87
86
 
88
87
  @name.setter
89
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
88
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
90
89
  pulumi.set(self, "name", value)
91
90
 
92
91
 
93
92
  @pulumi.input_type
94
93
  class _ComputeClusterHostGroupState:
95
94
  def __init__(__self__, *,
96
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
97
- host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
98
- name: Optional[pulumi.Input[builtins.str]] = None):
95
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
96
+ host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
97
+ name: Optional[pulumi.Input[_builtins.str]] = None):
99
98
  """
100
99
  Input properties used for looking up and filtering ComputeClusterHostGroup resources.
101
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
100
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
102
101
  ID of the cluster to put the group in. Forces a new
103
102
  resource if changed.
104
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of
103
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] host_system_ids: The managed object IDs of
105
104
  the hosts to put in the cluster.
106
105
 
107
106
  > **NOTE:** The namespace for cluster names on this resource (defined by the
108
107
  `name` argument) is shared with the
109
108
  `ComputeClusterVmGroup`
110
109
  resource. Make sure your names are unique across both resources.
111
- :param pulumi.Input[builtins.str] name: The name of the host group. This must be unique in the
110
+ :param pulumi.Input[_builtins.str] name: The name of the host group. This must be unique in the
112
111
  cluster. Forces a new resource if changed.
113
112
  """
114
113
  if compute_cluster_id is not None:
@@ -118,9 +117,9 @@ class _ComputeClusterHostGroupState:
118
117
  if name is not None:
119
118
  pulumi.set(__self__, "name", name)
120
119
 
121
- @property
120
+ @_builtins.property
122
121
  @pulumi.getter(name="computeClusterId")
123
- def compute_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
122
+ def compute_cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
124
123
  """
125
124
  The managed object reference
126
125
  ID of the cluster to put the group in. Forces a new
@@ -129,12 +128,12 @@ class _ComputeClusterHostGroupState:
129
128
  return pulumi.get(self, "compute_cluster_id")
130
129
 
131
130
  @compute_cluster_id.setter
132
- def compute_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
131
+ def compute_cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
133
132
  pulumi.set(self, "compute_cluster_id", value)
134
133
 
135
- @property
134
+ @_builtins.property
136
135
  @pulumi.getter(name="hostSystemIds")
137
- def host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
136
+ def host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
138
137
  """
139
138
  The managed object IDs of
140
139
  the hosts to put in the cluster.
@@ -147,12 +146,12 @@ class _ComputeClusterHostGroupState:
147
146
  return pulumi.get(self, "host_system_ids")
148
147
 
149
148
  @host_system_ids.setter
150
- def host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
149
+ def host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
151
150
  pulumi.set(self, "host_system_ids", value)
152
151
 
153
- @property
152
+ @_builtins.property
154
153
  @pulumi.getter
155
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
154
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
156
155
  """
157
156
  The name of the host group. This must be unique in the
158
157
  cluster. Forces a new resource if changed.
@@ -160,7 +159,7 @@ class _ComputeClusterHostGroupState:
160
159
  return pulumi.get(self, "name")
161
160
 
162
161
  @name.setter
163
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
162
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
164
163
  pulumi.set(self, "name", value)
165
164
 
166
165
 
@@ -170,9 +169,9 @@ class ComputeClusterHostGroup(pulumi.CustomResource):
170
169
  def __init__(__self__,
171
170
  resource_name: str,
172
171
  opts: Optional[pulumi.ResourceOptions] = None,
173
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
174
- host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
175
- name: Optional[pulumi.Input[builtins.str]] = None,
172
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
173
+ host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
174
+ name: Optional[pulumi.Input[_builtins.str]] = None,
176
175
  __props__=None):
177
176
  """
178
177
  The `ComputeClusterHostGroup` resource can be used to manage groups
@@ -243,17 +242,17 @@ class ComputeClusterHostGroup(pulumi.CustomResource):
243
242
 
244
243
  :param str resource_name: The name of the resource.
245
244
  :param pulumi.ResourceOptions opts: Options for the resource.
246
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
245
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
247
246
  ID of the cluster to put the group in. Forces a new
248
247
  resource if changed.
249
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of
248
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] host_system_ids: The managed object IDs of
250
249
  the hosts to put in the cluster.
251
250
 
252
251
  > **NOTE:** The namespace for cluster names on this resource (defined by the
253
252
  `name` argument) is shared with the
254
253
  `ComputeClusterVmGroup`
255
254
  resource. Make sure your names are unique across both resources.
256
- :param pulumi.Input[builtins.str] name: The name of the host group. This must be unique in the
255
+ :param pulumi.Input[_builtins.str] name: The name of the host group. This must be unique in the
257
256
  cluster. Forces a new resource if changed.
258
257
  """
259
258
  ...
@@ -344,9 +343,9 @@ class ComputeClusterHostGroup(pulumi.CustomResource):
344
343
  def _internal_init(__self__,
345
344
  resource_name: str,
346
345
  opts: Optional[pulumi.ResourceOptions] = None,
347
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
348
- host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
349
- name: Optional[pulumi.Input[builtins.str]] = None,
346
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
347
+ host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
348
+ name: Optional[pulumi.Input[_builtins.str]] = None,
350
349
  __props__=None):
351
350
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
352
351
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -371,9 +370,9 @@ class ComputeClusterHostGroup(pulumi.CustomResource):
371
370
  def get(resource_name: str,
372
371
  id: pulumi.Input[str],
373
372
  opts: Optional[pulumi.ResourceOptions] = None,
374
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
375
- host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
376
- name: Optional[pulumi.Input[builtins.str]] = None) -> 'ComputeClusterHostGroup':
373
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
374
+ host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
375
+ name: Optional[pulumi.Input[_builtins.str]] = None) -> 'ComputeClusterHostGroup':
377
376
  """
378
377
  Get an existing ComputeClusterHostGroup resource's state with the given name, id, and optional extra
379
378
  properties used to qualify the lookup.
@@ -381,17 +380,17 @@ class ComputeClusterHostGroup(pulumi.CustomResource):
381
380
  :param str resource_name: The unique name of the resulting resource.
382
381
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
383
382
  :param pulumi.ResourceOptions opts: Options for the resource.
384
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
383
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
385
384
  ID of the cluster to put the group in. Forces a new
386
385
  resource if changed.
387
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of
386
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] host_system_ids: The managed object IDs of
388
387
  the hosts to put in the cluster.
389
388
 
390
389
  > **NOTE:** The namespace for cluster names on this resource (defined by the
391
390
  `name` argument) is shared with the
392
391
  `ComputeClusterVmGroup`
393
392
  resource. Make sure your names are unique across both resources.
394
- :param pulumi.Input[builtins.str] name: The name of the host group. This must be unique in the
393
+ :param pulumi.Input[_builtins.str] name: The name of the host group. This must be unique in the
395
394
  cluster. Forces a new resource if changed.
396
395
  """
397
396
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -403,9 +402,9 @@ class ComputeClusterHostGroup(pulumi.CustomResource):
403
402
  __props__.__dict__["name"] = name
404
403
  return ComputeClusterHostGroup(resource_name, opts=opts, __props__=__props__)
405
404
 
406
- @property
405
+ @_builtins.property
407
406
  @pulumi.getter(name="computeClusterId")
408
- def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
407
+ def compute_cluster_id(self) -> pulumi.Output[_builtins.str]:
409
408
  """
410
409
  The managed object reference
411
410
  ID of the cluster to put the group in. Forces a new
@@ -413,9 +412,9 @@ class ComputeClusterHostGroup(pulumi.CustomResource):
413
412
  """
414
413
  return pulumi.get(self, "compute_cluster_id")
415
414
 
416
- @property
415
+ @_builtins.property
417
416
  @pulumi.getter(name="hostSystemIds")
418
- def host_system_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
417
+ def host_system_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
419
418
  """
420
419
  The managed object IDs of
421
420
  the hosts to put in the cluster.
@@ -427,9 +426,9 @@ class ComputeClusterHostGroup(pulumi.CustomResource):
427
426
  """
428
427
  return pulumi.get(self, "host_system_ids")
429
428
 
430
- @property
429
+ @_builtins.property
431
430
  @pulumi.getter
432
- def name(self) -> pulumi.Output[builtins.str]:
431
+ def name(self) -> pulumi.Output[_builtins.str]:
433
432
  """
434
433
  The name of the host group. This must be unique in the
435
434
  cluster. Forces a new resource if changed.