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,17 +19,17 @@ __all__ = ['ComputeClusterVmGroupArgs', 'ComputeClusterVmGroup']
20
19
  @pulumi.input_type
21
20
  class ComputeClusterVmGroupArgs:
22
21
  def __init__(__self__, *,
23
- compute_cluster_id: pulumi.Input[builtins.str],
24
- name: Optional[pulumi.Input[builtins.str]] = None,
25
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
22
+ compute_cluster_id: pulumi.Input[_builtins.str],
23
+ name: Optional[pulumi.Input[_builtins.str]] = None,
24
+ virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
26
25
  """
27
26
  The set of arguments for constructing a ComputeClusterVmGroup 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[builtins.str] name: The name of the VM group. This must be unique in the
30
+ :param pulumi.Input[_builtins.str] name: The name of the VM group. This must be unique in the
32
31
  cluster. Forces a new resource if changed.
33
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
32
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
34
33
  group.
35
34
 
36
35
  > **NOTE:** The namespace for cluster names on this resource (defined by the
@@ -49,9 +48,9 @@ class ComputeClusterVmGroupArgs:
49
48
  if virtual_machine_ids is not None:
50
49
  pulumi.set(__self__, "virtual_machine_ids", virtual_machine_ids)
51
50
 
52
- @property
51
+ @_builtins.property
53
52
  @pulumi.getter(name="computeClusterId")
54
- def compute_cluster_id(self) -> pulumi.Input[builtins.str]:
53
+ def compute_cluster_id(self) -> pulumi.Input[_builtins.str]:
55
54
  """
56
55
  The managed object reference
57
56
  ID of the cluster to put the group in. Forces a new
@@ -60,12 +59,12 @@ class ComputeClusterVmGroupArgs:
60
59
  return pulumi.get(self, "compute_cluster_id")
61
60
 
62
61
  @compute_cluster_id.setter
63
- def compute_cluster_id(self, value: pulumi.Input[builtins.str]):
62
+ def compute_cluster_id(self, value: pulumi.Input[_builtins.str]):
64
63
  pulumi.set(self, "compute_cluster_id", value)
65
64
 
66
- @property
65
+ @_builtins.property
67
66
  @pulumi.getter
68
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
67
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
69
68
  """
70
69
  The name of the VM group. This must be unique in the
71
70
  cluster. Forces a new resource if changed.
@@ -73,12 +72,12 @@ class ComputeClusterVmGroupArgs:
73
72
  return pulumi.get(self, "name")
74
73
 
75
74
  @name.setter
76
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
75
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
77
76
  pulumi.set(self, "name", value)
78
77
 
79
- @property
78
+ @_builtins.property
80
79
  @pulumi.getter(name="virtualMachineIds")
81
- def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
80
+ def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
82
81
  """
83
82
  The UUIDs of the virtual machines in this
84
83
  group.
@@ -96,24 +95,24 @@ class ComputeClusterVmGroupArgs:
96
95
  return pulumi.get(self, "virtual_machine_ids")
97
96
 
98
97
  @virtual_machine_ids.setter
99
- def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
98
+ def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
100
99
  pulumi.set(self, "virtual_machine_ids", value)
101
100
 
102
101
 
103
102
  @pulumi.input_type
104
103
  class _ComputeClusterVmGroupState:
105
104
  def __init__(__self__, *,
106
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
107
- name: Optional[pulumi.Input[builtins.str]] = None,
108
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
105
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
106
+ name: Optional[pulumi.Input[_builtins.str]] = None,
107
+ virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
109
108
  """
110
109
  Input properties used for looking up and filtering ComputeClusterVmGroup resources.
111
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
110
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
112
111
  ID of the cluster to put the group in. Forces a new
113
112
  resource if changed.
114
- :param pulumi.Input[builtins.str] name: The name of the VM group. This must be unique in the
113
+ :param pulumi.Input[_builtins.str] name: The name of the VM group. This must be unique in the
115
114
  cluster. Forces a new resource if changed.
116
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
115
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
117
116
  group.
118
117
 
119
118
  > **NOTE:** The namespace for cluster names on this resource (defined by the
@@ -133,9 +132,9 @@ class _ComputeClusterVmGroupState:
133
132
  if virtual_machine_ids is not None:
134
133
  pulumi.set(__self__, "virtual_machine_ids", virtual_machine_ids)
135
134
 
136
- @property
135
+ @_builtins.property
137
136
  @pulumi.getter(name="computeClusterId")
138
- def compute_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
137
+ def compute_cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
139
138
  """
140
139
  The managed object reference
141
140
  ID of the cluster to put the group in. Forces a new
@@ -144,12 +143,12 @@ class _ComputeClusterVmGroupState:
144
143
  return pulumi.get(self, "compute_cluster_id")
145
144
 
146
145
  @compute_cluster_id.setter
147
- def compute_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
146
+ def compute_cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
148
147
  pulumi.set(self, "compute_cluster_id", value)
149
148
 
150
- @property
149
+ @_builtins.property
151
150
  @pulumi.getter
152
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
151
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
153
152
  """
154
153
  The name of the VM group. This must be unique in the
155
154
  cluster. Forces a new resource if changed.
@@ -157,12 +156,12 @@ class _ComputeClusterVmGroupState:
157
156
  return pulumi.get(self, "name")
158
157
 
159
158
  @name.setter
160
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
159
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
161
160
  pulumi.set(self, "name", value)
162
161
 
163
- @property
162
+ @_builtins.property
164
163
  @pulumi.getter(name="virtualMachineIds")
165
- def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
164
+ def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
166
165
  """
167
166
  The UUIDs of the virtual machines in this
168
167
  group.
@@ -180,7 +179,7 @@ class _ComputeClusterVmGroupState:
180
179
  return pulumi.get(self, "virtual_machine_ids")
181
180
 
182
181
  @virtual_machine_ids.setter
183
- def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
182
+ def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
184
183
  pulumi.set(self, "virtual_machine_ids", value)
185
184
 
186
185
 
@@ -190,9 +189,9 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
190
189
  def __init__(__self__,
191
190
  resource_name: str,
192
191
  opts: Optional[pulumi.ResourceOptions] = None,
193
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
194
- name: Optional[pulumi.Input[builtins.str]] = None,
195
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
192
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
193
+ name: Optional[pulumi.Input[_builtins.str]] = None,
194
+ virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
196
195
  __props__=None):
197
196
  """
198
197
  The `ComputeClusterVmGroup` resource can be used to manage groups of
@@ -278,12 +277,12 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
278
277
 
279
278
  :param str resource_name: The name of the resource.
280
279
  :param pulumi.ResourceOptions opts: Options for the resource.
281
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
280
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
282
281
  ID of the cluster to put the group in. Forces a new
283
282
  resource if changed.
284
- :param pulumi.Input[builtins.str] name: The name of the VM group. This must be unique in the
283
+ :param pulumi.Input[_builtins.str] name: The name of the VM group. This must be unique in the
285
284
  cluster. Forces a new resource if changed.
286
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
285
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
287
286
  group.
288
287
 
289
288
  > **NOTE:** The namespace for cluster names on this resource (defined by the
@@ -399,9 +398,9 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
399
398
  def _internal_init(__self__,
400
399
  resource_name: str,
401
400
  opts: Optional[pulumi.ResourceOptions] = None,
402
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
403
- name: Optional[pulumi.Input[builtins.str]] = None,
404
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
401
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
402
+ name: Optional[pulumi.Input[_builtins.str]] = None,
403
+ virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
405
404
  __props__=None):
406
405
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
407
406
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -426,9 +425,9 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
426
425
  def get(resource_name: str,
427
426
  id: pulumi.Input[str],
428
427
  opts: Optional[pulumi.ResourceOptions] = None,
429
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
430
- name: Optional[pulumi.Input[builtins.str]] = None,
431
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'ComputeClusterVmGroup':
428
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
429
+ name: Optional[pulumi.Input[_builtins.str]] = None,
430
+ virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None) -> 'ComputeClusterVmGroup':
432
431
  """
433
432
  Get an existing ComputeClusterVmGroup resource's state with the given name, id, and optional extra
434
433
  properties used to qualify the lookup.
@@ -436,12 +435,12 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
436
435
  :param str resource_name: The unique name of the resulting resource.
437
436
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
438
437
  :param pulumi.ResourceOptions opts: Options for the resource.
439
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
438
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
440
439
  ID of the cluster to put the group in. Forces a new
441
440
  resource if changed.
442
- :param pulumi.Input[builtins.str] name: The name of the VM group. This must be unique in the
441
+ :param pulumi.Input[_builtins.str] name: The name of the VM group. This must be unique in the
443
442
  cluster. Forces a new resource if changed.
444
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
443
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
445
444
  group.
446
445
 
447
446
  > **NOTE:** The namespace for cluster names on this resource (defined by the
@@ -463,9 +462,9 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
463
462
  __props__.__dict__["virtual_machine_ids"] = virtual_machine_ids
464
463
  return ComputeClusterVmGroup(resource_name, opts=opts, __props__=__props__)
465
464
 
466
- @property
465
+ @_builtins.property
467
466
  @pulumi.getter(name="computeClusterId")
468
- def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
467
+ def compute_cluster_id(self) -> pulumi.Output[_builtins.str]:
469
468
  """
470
469
  The managed object reference
471
470
  ID of the cluster to put the group in. Forces a new
@@ -473,18 +472,18 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
473
472
  """
474
473
  return pulumi.get(self, "compute_cluster_id")
475
474
 
476
- @property
475
+ @_builtins.property
477
476
  @pulumi.getter
478
- def name(self) -> pulumi.Output[builtins.str]:
477
+ def name(self) -> pulumi.Output[_builtins.str]:
479
478
  """
480
479
  The name of the VM group. This must be unique in the
481
480
  cluster. Forces a new resource if changed.
482
481
  """
483
482
  return pulumi.get(self, "name")
484
483
 
485
- @property
484
+ @_builtins.property
486
485
  @pulumi.getter(name="virtualMachineIds")
487
- def virtual_machine_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
486
+ def virtual_machine_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
488
487
  """
489
488
  The UUIDs of the virtual machines in this
490
489
  group.