pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1745952392__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 +921 -917
  4. pulumi_vsphere/compute_cluster_host_group.py +46 -42
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +74 -70
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +74 -70
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +88 -84
  8. pulumi_vsphere/compute_cluster_vm_group.py +46 -42
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +102 -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 +46 -42
  14. pulumi_vsphere/content_library_item.py +88 -84
  15. pulumi_vsphere/custom_attribute.py +32 -28
  16. pulumi_vsphere/datacenter.py +67 -63
  17. pulumi_vsphere/datastore_cluster.py +354 -350
  18. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +74 -70
  19. pulumi_vsphere/distributed_port_group.py +648 -644
  20. pulumi_vsphere/distributed_virtual_switch.py +1285 -1281
  21. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +60 -56
  22. pulumi_vsphere/dpm_host_override.py +60 -56
  23. pulumi_vsphere/drs_vm_override.py +60 -56
  24. pulumi_vsphere/entity_permissions.py +32 -28
  25. pulumi_vsphere/file.py +98 -94
  26. pulumi_vsphere/folder.py +74 -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 +60 -56
  57. pulumi_vsphere/ha_vm_override.py +214 -210
  58. pulumi_vsphere/host.py +200 -196
  59. pulumi_vsphere/host_port_group.py +256 -252
  60. pulumi_vsphere/host_virtual_switch.py +298 -294
  61. pulumi_vsphere/license.py +60 -56
  62. pulumi_vsphere/nas_datastore.py +214 -210
  63. pulumi_vsphere/offline_software_depot.py +18 -14
  64. pulumi_vsphere/outputs.py +721 -720
  65. pulumi_vsphere/provider.py +101 -97
  66. pulumi_vsphere/pulumi-plugin.json +1 -1
  67. pulumi_vsphere/resource_pool.py +214 -210
  68. pulumi_vsphere/role.py +39 -35
  69. pulumi_vsphere/storage_drs_vm_override.py +74 -70
  70. pulumi_vsphere/supervisor.py +158 -154
  71. pulumi_vsphere/tag.py +46 -42
  72. pulumi_vsphere/tag_category.py +60 -56
  73. pulumi_vsphere/vapp_container.py +214 -210
  74. pulumi_vsphere/vapp_entity.py +144 -140
  75. pulumi_vsphere/virtual_disk.py +102 -98
  76. pulumi_vsphere/virtual_machine.py +1043 -1039
  77. pulumi_vsphere/virtual_machine_class.py +88 -84
  78. pulumi_vsphere/virtual_machine_snapshot.py +102 -98
  79. pulumi_vsphere/vm_storage_policy.py +32 -28
  80. pulumi_vsphere/vmfs_datastore.py +151 -147
  81. pulumi_vsphere/vnic.py +116 -112
  82. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/METADATA +2 -2
  83. pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +87 -0
  84. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.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.0a1745952392.dist-info}/top_level.txt +0 -0
@@ -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,17 +20,17 @@ __all__ = ['ComputeClusterVmGroupArgs', 'ComputeClusterVmGroup']
19
20
  @pulumi.input_type
20
21
  class ComputeClusterVmGroupArgs:
21
22
  def __init__(__self__, *,
22
- compute_cluster_id: pulumi.Input[str],
23
- name: Optional[pulumi.Input[str]] = None,
24
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
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):
25
26
  """
26
27
  The set of arguments for constructing a ComputeClusterVmGroup resource.
27
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
28
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
28
29
  ID of the cluster to put the group in. Forces a new
29
30
  resource if changed.
30
- :param pulumi.Input[str] name: The name of the VM group. This must be unique in the
31
+ :param pulumi.Input[builtins.str] name: The name of the VM group. This must be unique in the
31
32
  cluster. Forces a new resource if changed.
32
- :param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
33
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
33
34
  group.
34
35
 
35
36
  > **NOTE:** The namespace for cluster names on this resource (defined by the
@@ -50,7 +51,7 @@ class ComputeClusterVmGroupArgs:
50
51
 
51
52
  @property
52
53
  @pulumi.getter(name="computeClusterId")
53
- def compute_cluster_id(self) -> pulumi.Input[str]:
54
+ def compute_cluster_id(self) -> pulumi.Input[builtins.str]:
54
55
  """
55
56
  The managed object reference
56
57
  ID of the cluster to put the group in. Forces a new
@@ -59,12 +60,12 @@ class ComputeClusterVmGroupArgs:
59
60
  return pulumi.get(self, "compute_cluster_id")
60
61
 
61
62
  @compute_cluster_id.setter
62
- def compute_cluster_id(self, value: pulumi.Input[str]):
63
+ def compute_cluster_id(self, value: pulumi.Input[builtins.str]):
63
64
  pulumi.set(self, "compute_cluster_id", value)
64
65
 
65
66
  @property
66
67
  @pulumi.getter
67
- def name(self) -> Optional[pulumi.Input[str]]:
68
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
68
69
  """
69
70
  The name of the VM group. This must be unique in the
70
71
  cluster. Forces a new resource if changed.
@@ -72,12 +73,12 @@ class ComputeClusterVmGroupArgs:
72
73
  return pulumi.get(self, "name")
73
74
 
74
75
  @name.setter
75
- def name(self, value: Optional[pulumi.Input[str]]):
76
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
76
77
  pulumi.set(self, "name", value)
77
78
 
78
79
  @property
79
80
  @pulumi.getter(name="virtualMachineIds")
80
- def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
81
+ def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
81
82
  """
82
83
  The UUIDs of the virtual machines in this
83
84
  group.
@@ -95,24 +96,24 @@ class ComputeClusterVmGroupArgs:
95
96
  return pulumi.get(self, "virtual_machine_ids")
96
97
 
97
98
  @virtual_machine_ids.setter
98
- def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
99
+ def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
99
100
  pulumi.set(self, "virtual_machine_ids", value)
100
101
 
101
102
 
102
103
  @pulumi.input_type
103
104
  class _ComputeClusterVmGroupState:
104
105
  def __init__(__self__, *,
105
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
106
- name: Optional[pulumi.Input[str]] = None,
107
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
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):
108
109
  """
109
110
  Input properties used for looking up and filtering ComputeClusterVmGroup resources.
110
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
111
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
111
112
  ID of the cluster to put the group in. Forces a new
112
113
  resource if changed.
113
- :param pulumi.Input[str] name: The name of the VM group. This must be unique in the
114
+ :param pulumi.Input[builtins.str] name: The name of the VM group. This must be unique in the
114
115
  cluster. Forces a new resource if changed.
115
- :param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
116
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
116
117
  group.
117
118
 
118
119
  > **NOTE:** The namespace for cluster names on this resource (defined by the
@@ -134,7 +135,7 @@ class _ComputeClusterVmGroupState:
134
135
 
135
136
  @property
136
137
  @pulumi.getter(name="computeClusterId")
137
- def compute_cluster_id(self) -> Optional[pulumi.Input[str]]:
138
+ def compute_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
138
139
  """
139
140
  The managed object reference
140
141
  ID of the cluster to put the group in. Forces a new
@@ -143,12 +144,12 @@ class _ComputeClusterVmGroupState:
143
144
  return pulumi.get(self, "compute_cluster_id")
144
145
 
145
146
  @compute_cluster_id.setter
146
- def compute_cluster_id(self, value: Optional[pulumi.Input[str]]):
147
+ def compute_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
147
148
  pulumi.set(self, "compute_cluster_id", value)
148
149
 
149
150
  @property
150
151
  @pulumi.getter
151
- def name(self) -> Optional[pulumi.Input[str]]:
152
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
152
153
  """
153
154
  The name of the VM group. This must be unique in the
154
155
  cluster. Forces a new resource if changed.
@@ -156,12 +157,12 @@ class _ComputeClusterVmGroupState:
156
157
  return pulumi.get(self, "name")
157
158
 
158
159
  @name.setter
159
- def name(self, value: Optional[pulumi.Input[str]]):
160
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
160
161
  pulumi.set(self, "name", value)
161
162
 
162
163
  @property
163
164
  @pulumi.getter(name="virtualMachineIds")
164
- def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
165
+ def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
165
166
  """
166
167
  The UUIDs of the virtual machines in this
167
168
  group.
@@ -179,18 +180,21 @@ class _ComputeClusterVmGroupState:
179
180
  return pulumi.get(self, "virtual_machine_ids")
180
181
 
181
182
  @virtual_machine_ids.setter
182
- def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
183
+ def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
183
184
  pulumi.set(self, "virtual_machine_ids", value)
184
185
 
185
186
 
186
187
  class ComputeClusterVmGroup(pulumi.CustomResource):
188
+
189
+ pulumi_type = "vsphere:index/computeClusterVmGroup:ComputeClusterVmGroup"
190
+
187
191
  @overload
188
192
  def __init__(__self__,
189
193
  resource_name: str,
190
194
  opts: Optional[pulumi.ResourceOptions] = None,
191
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
192
- name: Optional[pulumi.Input[str]] = None,
193
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
195
+ compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
196
+ name: Optional[pulumi.Input[builtins.str]] = None,
197
+ virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
194
198
  __props__=None):
195
199
  """
196
200
  The `ComputeClusterVmGroup` resource can be used to manage groups of
@@ -274,12 +278,12 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
274
278
 
275
279
  :param str resource_name: The name of the resource.
276
280
  :param pulumi.ResourceOptions opts: Options for the resource.
277
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
281
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
278
282
  ID of the cluster to put the group in. Forces a new
279
283
  resource if changed.
280
- :param pulumi.Input[str] name: The name of the VM group. This must be unique in the
284
+ :param pulumi.Input[builtins.str] name: The name of the VM group. This must be unique in the
281
285
  cluster. Forces a new resource if changed.
282
- :param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
286
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
283
287
  group.
284
288
 
285
289
  > **NOTE:** The namespace for cluster names on this resource (defined by the
@@ -393,9 +397,9 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
393
397
  def _internal_init(__self__,
394
398
  resource_name: str,
395
399
  opts: Optional[pulumi.ResourceOptions] = None,
396
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
397
- name: Optional[pulumi.Input[str]] = None,
398
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
400
+ compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
401
+ name: Optional[pulumi.Input[builtins.str]] = None,
402
+ virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
399
403
  __props__=None):
400
404
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
401
405
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -420,9 +424,9 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
420
424
  def get(resource_name: str,
421
425
  id: pulumi.Input[str],
422
426
  opts: Optional[pulumi.ResourceOptions] = None,
423
- compute_cluster_id: Optional[pulumi.Input[str]] = None,
424
- name: Optional[pulumi.Input[str]] = None,
425
- virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'ComputeClusterVmGroup':
427
+ compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
428
+ name: Optional[pulumi.Input[builtins.str]] = None,
429
+ virtual_machine_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'ComputeClusterVmGroup':
426
430
  """
427
431
  Get an existing ComputeClusterVmGroup resource's state with the given name, id, and optional extra
428
432
  properties used to qualify the lookup.
@@ -430,12 +434,12 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
430
434
  :param str resource_name: The unique name of the resulting resource.
431
435
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
432
436
  :param pulumi.ResourceOptions opts: Options for the resource.
433
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
437
+ :param pulumi.Input[builtins.str] compute_cluster_id: The managed object reference
434
438
  ID of the cluster to put the group in. Forces a new
435
439
  resource if changed.
436
- :param pulumi.Input[str] name: The name of the VM group. This must be unique in the
440
+ :param pulumi.Input[builtins.str] name: The name of the VM group. This must be unique in the
437
441
  cluster. Forces a new resource if changed.
438
- :param pulumi.Input[Sequence[pulumi.Input[str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
442
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
439
443
  group.
440
444
 
441
445
  > **NOTE:** The namespace for cluster names on this resource (defined by the
@@ -459,7 +463,7 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
459
463
 
460
464
  @property
461
465
  @pulumi.getter(name="computeClusterId")
462
- def compute_cluster_id(self) -> pulumi.Output[str]:
466
+ def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
463
467
  """
464
468
  The managed object reference
465
469
  ID of the cluster to put the group in. Forces a new
@@ -469,7 +473,7 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
469
473
 
470
474
  @property
471
475
  @pulumi.getter
472
- def name(self) -> pulumi.Output[str]:
476
+ def name(self) -> pulumi.Output[builtins.str]:
473
477
  """
474
478
  The name of the VM group. This must be unique in the
475
479
  cluster. Forces a new resource if changed.
@@ -478,7 +482,7 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
478
482
 
479
483
  @property
480
484
  @pulumi.getter(name="virtualMachineIds")
481
- def virtual_machine_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
485
+ def virtual_machine_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
482
486
  """
483
487
  The UUIDs of the virtual machines in this
484
488
  group.