pulumi-vsphere 4.14.0a1739946909__py3-none-any.whl → 4.17.0a1763710194__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 (89) hide show
  1. pulumi_vsphere/__init__.py +12 -1
  2. pulumi_vsphere/_inputs.py +1172 -1172
  3. pulumi_vsphere/_utilities.py +1 -1
  4. pulumi_vsphere/compute_cluster.py +1226 -1484
  5. pulumi_vsphere/compute_cluster_host_group.py +124 -53
  6. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +88 -87
  7. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +92 -87
  8. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +109 -104
  9. pulumi_vsphere/compute_cluster_vm_group.py +58 -53
  10. pulumi_vsphere/compute_cluster_vm_host_rule.py +126 -121
  11. pulumi_vsphere/config/__init__.py +2 -1
  12. pulumi_vsphere/config/__init__.pyi +2 -2
  13. pulumi_vsphere/config/vars.py +15 -15
  14. pulumi_vsphere/configuration_profile.py +286 -0
  15. pulumi_vsphere/content_library.py +64 -59
  16. pulumi_vsphere/content_library_item.py +109 -104
  17. pulumi_vsphere/custom_attribute.py +41 -36
  18. pulumi_vsphere/datacenter.py +80 -79
  19. pulumi_vsphere/datastore_cluster.py +531 -477
  20. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +92 -87
  21. pulumi_vsphere/distributed_port_group.py +802 -818
  22. pulumi_vsphere/distributed_virtual_switch.py +1590 -1620
  23. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +71 -70
  24. pulumi_vsphere/dpm_host_override.py +159 -70
  25. pulumi_vsphere/drs_vm_override.py +75 -70
  26. pulumi_vsphere/entity_permissions.py +40 -39
  27. pulumi_vsphere/file.py +148 -162
  28. pulumi_vsphere/folder.py +104 -99
  29. pulumi_vsphere/get_compute_cluster.py +18 -18
  30. pulumi_vsphere/get_compute_cluster_host_group.py +18 -22
  31. pulumi_vsphere/get_configuration_profile.py +145 -0
  32. pulumi_vsphere/get_content_library.py +10 -10
  33. pulumi_vsphere/get_content_library_item.py +22 -22
  34. pulumi_vsphere/get_custom_attribute.py +12 -12
  35. pulumi_vsphere/get_datacenter.py +12 -12
  36. pulumi_vsphere/get_datastore.py +22 -22
  37. pulumi_vsphere/get_datastore_cluster.py +19 -19
  38. pulumi_vsphere/get_datastore_stats.py +22 -26
  39. pulumi_vsphere/get_distributed_virtual_switch.py +18 -18
  40. pulumi_vsphere/get_dynamic.py +22 -26
  41. pulumi_vsphere/get_folder.py +140 -18
  42. pulumi_vsphere/get_guest_os_customization.py +74 -21
  43. pulumi_vsphere/get_host.py +18 -18
  44. pulumi_vsphere/get_host_base_images.py +6 -6
  45. pulumi_vsphere/get_host_pci_device.py +30 -30
  46. pulumi_vsphere/get_host_thumbprint.py +22 -22
  47. pulumi_vsphere/get_host_vgpu_profile.py +17 -17
  48. pulumi_vsphere/get_license.py +26 -24
  49. pulumi_vsphere/get_network.py +80 -29
  50. pulumi_vsphere/get_ovf_vm_template.py +126 -126
  51. pulumi_vsphere/get_policy.py +10 -10
  52. pulumi_vsphere/get_resource_pool.py +77 -26
  53. pulumi_vsphere/get_role.py +26 -26
  54. pulumi_vsphere/get_tag.py +18 -18
  55. pulumi_vsphere/get_tag_category.py +16 -16
  56. pulumi_vsphere/get_vapp_container.py +16 -16
  57. pulumi_vsphere/get_virtual_machine.py +273 -273
  58. pulumi_vsphere/get_vmfs_disks.py +24 -24
  59. pulumi_vsphere/guest_os_customization.py +75 -74
  60. pulumi_vsphere/ha_vm_override.py +295 -374
  61. pulumi_vsphere/host.py +304 -249
  62. pulumi_vsphere/host_port_group.py +321 -341
  63. pulumi_vsphere/host_virtual_switch.py +373 -389
  64. pulumi_vsphere/license.py +125 -84
  65. pulumi_vsphere/nas_datastore.py +324 -261
  66. pulumi_vsphere/offline_software_depot.py +26 -21
  67. pulumi_vsphere/outputs.py +1003 -970
  68. pulumi_vsphere/provider.py +165 -146
  69. pulumi_vsphere/pulumi-plugin.json +1 -1
  70. pulumi_vsphere/resource_pool.py +691 -364
  71. pulumi_vsphere/role.py +46 -45
  72. pulumi_vsphere/storage_drs_vm_override.py +92 -87
  73. pulumi_vsphere/supervisor.py +210 -209
  74. pulumi_vsphere/tag.py +58 -53
  75. pulumi_vsphere/tag_category.py +75 -70
  76. pulumi_vsphere/vapp_container.py +262 -257
  77. pulumi_vsphere/vapp_entity.py +177 -172
  78. pulumi_vsphere/virtual_disk.py +130 -125
  79. pulumi_vsphere/virtual_machine.py +1339 -1443
  80. pulumi_vsphere/virtual_machine_class.py +109 -108
  81. pulumi_vsphere/virtual_machine_snapshot.py +122 -121
  82. pulumi_vsphere/vm_storage_policy.py +40 -39
  83. pulumi_vsphere/vmfs_datastore.py +189 -184
  84. pulumi_vsphere/vnic.py +145 -144
  85. {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA +4 -4
  86. pulumi_vsphere-4.17.0a1763710194.dist-info/RECORD +89 -0
  87. {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/WHEEL +1 -1
  88. pulumi_vsphere-4.14.0a1739946909.dist-info/RECORD +0 -87
  89. {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -19,17 +19,17 @@ __all__ = ['ComputeClusterVmGroupArgs', 'ComputeClusterVmGroup']
19
19
  @pulumi.input_type
20
20
  class ComputeClusterVmGroupArgs:
21
21
  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):
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):
25
25
  """
26
26
  The set of arguments for constructing a ComputeClusterVmGroup resource.
27
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
27
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
28
28
  ID of the cluster to put the group in. Forces a new
29
29
  resource if changed.
30
- :param pulumi.Input[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
31
31
  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
32
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
33
33
  group.
34
34
 
35
35
  > **NOTE:** The namespace for cluster names on this resource (defined by the
@@ -48,9 +48,9 @@ class ComputeClusterVmGroupArgs:
48
48
  if virtual_machine_ids is not None:
49
49
  pulumi.set(__self__, "virtual_machine_ids", virtual_machine_ids)
50
50
 
51
- @property
51
+ @_builtins.property
52
52
  @pulumi.getter(name="computeClusterId")
53
- def compute_cluster_id(self) -> pulumi.Input[str]:
53
+ def compute_cluster_id(self) -> pulumi.Input[_builtins.str]:
54
54
  """
55
55
  The managed object reference
56
56
  ID of the cluster to put the group in. Forces a new
@@ -59,12 +59,12 @@ class ComputeClusterVmGroupArgs:
59
59
  return pulumi.get(self, "compute_cluster_id")
60
60
 
61
61
  @compute_cluster_id.setter
62
- def compute_cluster_id(self, value: pulumi.Input[str]):
62
+ def compute_cluster_id(self, value: pulumi.Input[_builtins.str]):
63
63
  pulumi.set(self, "compute_cluster_id", value)
64
64
 
65
- @property
65
+ @_builtins.property
66
66
  @pulumi.getter
67
- def name(self) -> Optional[pulumi.Input[str]]:
67
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
68
68
  """
69
69
  The name of the VM group. This must be unique in the
70
70
  cluster. Forces a new resource if changed.
@@ -72,12 +72,12 @@ class ComputeClusterVmGroupArgs:
72
72
  return pulumi.get(self, "name")
73
73
 
74
74
  @name.setter
75
- def name(self, value: Optional[pulumi.Input[str]]):
75
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
76
76
  pulumi.set(self, "name", value)
77
77
 
78
- @property
78
+ @_builtins.property
79
79
  @pulumi.getter(name="virtualMachineIds")
80
- def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
80
+ def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
81
81
  """
82
82
  The UUIDs of the virtual machines in this
83
83
  group.
@@ -95,24 +95,24 @@ class ComputeClusterVmGroupArgs:
95
95
  return pulumi.get(self, "virtual_machine_ids")
96
96
 
97
97
  @virtual_machine_ids.setter
98
- def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
98
+ def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
99
99
  pulumi.set(self, "virtual_machine_ids", value)
100
100
 
101
101
 
102
102
  @pulumi.input_type
103
103
  class _ComputeClusterVmGroupState:
104
104
  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):
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):
108
108
  """
109
109
  Input properties used for looking up and filtering ComputeClusterVmGroup resources.
110
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
110
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
111
111
  ID of the cluster to put the group in. Forces a new
112
112
  resource if changed.
113
- :param pulumi.Input[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
114
114
  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
115
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
116
116
  group.
117
117
 
118
118
  > **NOTE:** The namespace for cluster names on this resource (defined by the
@@ -132,9 +132,9 @@ class _ComputeClusterVmGroupState:
132
132
  if virtual_machine_ids is not None:
133
133
  pulumi.set(__self__, "virtual_machine_ids", virtual_machine_ids)
134
134
 
135
- @property
135
+ @_builtins.property
136
136
  @pulumi.getter(name="computeClusterId")
137
- def compute_cluster_id(self) -> Optional[pulumi.Input[str]]:
137
+ def compute_cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
138
138
  """
139
139
  The managed object reference
140
140
  ID of the cluster to put the group in. Forces a new
@@ -143,12 +143,12 @@ class _ComputeClusterVmGroupState:
143
143
  return pulumi.get(self, "compute_cluster_id")
144
144
 
145
145
  @compute_cluster_id.setter
146
- def compute_cluster_id(self, value: Optional[pulumi.Input[str]]):
146
+ def compute_cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
147
147
  pulumi.set(self, "compute_cluster_id", value)
148
148
 
149
- @property
149
+ @_builtins.property
150
150
  @pulumi.getter
151
- def name(self) -> Optional[pulumi.Input[str]]:
151
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
152
152
  """
153
153
  The name of the VM group. This must be unique in the
154
154
  cluster. Forces a new resource if changed.
@@ -156,12 +156,12 @@ class _ComputeClusterVmGroupState:
156
156
  return pulumi.get(self, "name")
157
157
 
158
158
  @name.setter
159
- def name(self, value: Optional[pulumi.Input[str]]):
159
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
160
160
  pulumi.set(self, "name", value)
161
161
 
162
- @property
162
+ @_builtins.property
163
163
  @pulumi.getter(name="virtualMachineIds")
164
- def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
164
+ def virtual_machine_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
165
165
  """
166
166
  The UUIDs of the virtual machines in this
167
167
  group.
@@ -179,18 +179,19 @@ class _ComputeClusterVmGroupState:
179
179
  return pulumi.get(self, "virtual_machine_ids")
180
180
 
181
181
  @virtual_machine_ids.setter
182
- def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
182
+ def virtual_machine_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
183
183
  pulumi.set(self, "virtual_machine_ids", value)
184
184
 
185
185
 
186
+ @pulumi.type_token("vsphere:index/computeClusterVmGroup:ComputeClusterVmGroup")
186
187
  class ComputeClusterVmGroup(pulumi.CustomResource):
187
188
  @overload
188
189
  def __init__(__self__,
189
190
  resource_name: str,
190
191
  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,
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,
194
195
  __props__=None):
195
196
  """
196
197
  The `ComputeClusterVmGroup` resource can be used to manage groups of
@@ -264,6 +265,8 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
264
265
 
265
266
  will be returned. An example is below:
266
267
 
268
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
269
+
267
270
  ```sh
268
271
  $ pulumi import vsphere:index/computeClusterVmGroup:ComputeClusterVmGroup cluster_vm_group \\
269
272
  ```
@@ -274,12 +277,12 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
274
277
 
275
278
  :param str resource_name: The name of the resource.
276
279
  :param pulumi.ResourceOptions opts: Options for the resource.
277
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
280
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
278
281
  ID of the cluster to put the group in. Forces a new
279
282
  resource if changed.
280
- :param pulumi.Input[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
281
284
  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
285
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
283
286
  group.
284
287
 
285
288
  > **NOTE:** The namespace for cluster names on this resource (defined by the
@@ -370,6 +373,8 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
370
373
 
371
374
  will be returned. An example is below:
372
375
 
376
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
377
+
373
378
  ```sh
374
379
  $ pulumi import vsphere:index/computeClusterVmGroup:ComputeClusterVmGroup cluster_vm_group \\
375
380
  ```
@@ -393,9 +398,9 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
393
398
  def _internal_init(__self__,
394
399
  resource_name: str,
395
400
  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,
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,
399
404
  __props__=None):
400
405
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
401
406
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -420,9 +425,9 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
420
425
  def get(resource_name: str,
421
426
  id: pulumi.Input[str],
422
427
  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':
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':
426
431
  """
427
432
  Get an existing ComputeClusterVmGroup resource's state with the given name, id, and optional extra
428
433
  properties used to qualify the lookup.
@@ -430,12 +435,12 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
430
435
  :param str resource_name: The unique name of the resulting resource.
431
436
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
432
437
  :param pulumi.ResourceOptions opts: Options for the resource.
433
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
438
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object reference
434
439
  ID of the cluster to put the group in. Forces a new
435
440
  resource if changed.
436
- :param pulumi.Input[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
437
442
  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
443
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_machine_ids: The UUIDs of the virtual machines in this
439
444
  group.
440
445
 
441
446
  > **NOTE:** The namespace for cluster names on this resource (defined by the
@@ -457,9 +462,9 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
457
462
  __props__.__dict__["virtual_machine_ids"] = virtual_machine_ids
458
463
  return ComputeClusterVmGroup(resource_name, opts=opts, __props__=__props__)
459
464
 
460
- @property
465
+ @_builtins.property
461
466
  @pulumi.getter(name="computeClusterId")
462
- def compute_cluster_id(self) -> pulumi.Output[str]:
467
+ def compute_cluster_id(self) -> pulumi.Output[_builtins.str]:
463
468
  """
464
469
  The managed object reference
465
470
  ID of the cluster to put the group in. Forces a new
@@ -467,18 +472,18 @@ class ComputeClusterVmGroup(pulumi.CustomResource):
467
472
  """
468
473
  return pulumi.get(self, "compute_cluster_id")
469
474
 
470
- @property
475
+ @_builtins.property
471
476
  @pulumi.getter
472
- def name(self) -> pulumi.Output[str]:
477
+ def name(self) -> pulumi.Output[_builtins.str]:
473
478
  """
474
479
  The name of the VM group. This must be unique in the
475
480
  cluster. Forces a new resource if changed.
476
481
  """
477
482
  return pulumi.get(self, "name")
478
483
 
479
- @property
484
+ @_builtins.property
480
485
  @pulumi.getter(name="virtualMachineIds")
481
- def virtual_machine_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
486
+ def virtual_machine_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
482
487
  """
483
488
  The UUIDs of the virtual machines in this
484
489
  group.