pulumi-vsphere 4.10.1__py3-none-any.whl → 4.10.2a1720054582__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 (47) hide show
  1. pulumi_vsphere/__init__.py +28 -0
  2. pulumi_vsphere/_inputs.py +470 -6
  3. pulumi_vsphere/_utilities.py +35 -0
  4. pulumi_vsphere/compute_cluster.py +47 -0
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +0 -4
  6. pulumi_vsphere/datacenter.py +7 -28
  7. pulumi_vsphere/datastore_cluster.py +0 -14
  8. pulumi_vsphere/distributed_port_group.py +56 -7
  9. pulumi_vsphere/distributed_virtual_switch.py +7 -28
  10. pulumi_vsphere/entity_permissions.py +56 -35
  11. pulumi_vsphere/folder.py +7 -28
  12. pulumi_vsphere/get_compute_cluster_host_group.py +18 -16
  13. pulumi_vsphere/get_content_library.py +10 -6
  14. pulumi_vsphere/get_content_library_item.py +12 -8
  15. pulumi_vsphere/get_datastore.py +9 -9
  16. pulumi_vsphere/get_datastore_stats.py +34 -32
  17. pulumi_vsphere/get_dynamic.py +14 -12
  18. pulumi_vsphere/get_folder.py +10 -2
  19. pulumi_vsphere/get_guest_os_customization.py +8 -43
  20. pulumi_vsphere/get_host_base_images.py +97 -0
  21. pulumi_vsphere/get_host_pci_device.py +4 -2
  22. pulumi_vsphere/get_host_thumbprint.py +12 -12
  23. pulumi_vsphere/get_host_vgpu_profile.py +4 -2
  24. pulumi_vsphere/get_license.py +2 -1
  25. pulumi_vsphere/get_network.py +14 -14
  26. pulumi_vsphere/get_resource_pool.py +12 -8
  27. pulumi_vsphere/get_role.py +4 -4
  28. pulumi_vsphere/get_virtual_machine.py +58 -33
  29. pulumi_vsphere/guest_os_customization.py +4 -4
  30. pulumi_vsphere/nas_datastore.py +7 -7
  31. pulumi_vsphere/offline_software_depot.py +180 -0
  32. pulumi_vsphere/outputs.py +495 -40
  33. pulumi_vsphere/provider.py +2 -6
  34. pulumi_vsphere/pulumi-plugin.json +2 -1
  35. pulumi_vsphere/resource_pool.py +2 -2
  36. pulumi_vsphere/supervisor.py +962 -0
  37. pulumi_vsphere/virtual_disk.py +10 -16
  38. pulumi_vsphere/virtual_machine.py +2 -2
  39. pulumi_vsphere/virtual_machine_class.py +442 -0
  40. pulumi_vsphere/virtual_machine_snapshot.py +2 -2
  41. pulumi_vsphere/vm_storage_policy.py +2 -2
  42. pulumi_vsphere/vnic.py +61 -65
  43. {pulumi_vsphere-4.10.1.dist-info → pulumi_vsphere-4.10.2a1720054582.dist-info}/METADATA +1 -1
  44. pulumi_vsphere-4.10.2a1720054582.dist-info/RECORD +86 -0
  45. {pulumi_vsphere-4.10.1.dist-info → pulumi_vsphere-4.10.2a1720054582.dist-info}/WHEEL +1 -1
  46. pulumi_vsphere-4.10.1.dist-info/RECORD +0 -82
  47. {pulumi_vsphere-4.10.1.dist-info → pulumi_vsphere-4.10.2a1720054582.dist-info}/top_level.txt +0 -0
@@ -39,8 +39,8 @@ class GetDatastoreStatsResult:
39
39
  @pulumi.getter
40
40
  def capacity(self) -> Optional[Mapping[str, Any]]:
41
41
  """
42
- A mapping of the capacity for all datastore in the datacenter
43
- , where the name of the datastore is used as key and the capacity as value.
42
+ A mapping of the capacity for all datastore in the datacenter,
43
+ where the name of the datastore is used as key and the capacity as value.
44
44
  """
45
45
  return pulumi.get(self, "capacity")
46
46
 
@@ -48,8 +48,8 @@ class GetDatastoreStatsResult:
48
48
  @pulumi.getter(name="datacenterId")
49
49
  def datacenter_id(self) -> str:
50
50
  """
51
- The [managed object reference ID][docs-about-morefs]
52
- of the datacenter the datastores are located in.
51
+ The [managed object reference ID][docs-about-morefs] of the
52
+ datacenter the datastores are located in.
53
53
  """
54
54
  return pulumi.get(self, "datacenter_id")
55
55
 
@@ -58,8 +58,8 @@ class GetDatastoreStatsResult:
58
58
  def free_space(self) -> Optional[Mapping[str, Any]]:
59
59
  """
60
60
  A mapping of the free space for each datastore in the
61
- datacenter, where the name of the datastore is used as key and the free
62
- space as value.
61
+ datacenter, where the name of the datastore is used as key and the free space
62
+ as value.
63
63
  """
64
64
  return pulumi.get(self, "free_space")
65
65
 
@@ -89,9 +89,10 @@ def get_datastore_stats(capacity: Optional[Mapping[str, Any]] = None,
89
89
  free_space: Optional[Mapping[str, Any]] = None,
90
90
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatastoreStatsResult:
91
91
  """
92
- The `get_datastore_stats` data source can be used to retrieve the usage stats
93
- of all vSphere datastore objects in a datacenter. This can then be used as a
94
- standalone datasource to get information required as input to other data sources.
92
+ The `get_datastore_stats` data source can be used to retrieve the usage
93
+ stats of all vSphere datastore objects in a datacenter. This can then be used as
94
+ a standalone data source to get information required as input to other data
95
+ sources.
95
96
 
96
97
  ## Example Usage
97
98
 
@@ -103,9 +104,8 @@ def get_datastore_stats(capacity: Optional[Mapping[str, Any]] = None,
103
104
  datastore_stats = vsphere.get_datastore_stats(datacenter_id=datacenter.id)
104
105
  ```
105
106
 
106
- A usefull example of this datasource would be to determine the
107
- datastore with the most free space. For example, in addition to
108
- the above:
107
+ A useful example of this data source would be to determine the datastore with
108
+ the most free space. For example, in addition to the above:
109
109
 
110
110
  Create an `outputs.tf` like that:
111
111
 
@@ -119,16 +119,17 @@ def get_datastore_stats(capacity: Optional[Mapping[str, Any]] = None,
119
119
  and a `locals.tf` like that:
120
120
 
121
121
 
122
- :param Mapping[str, Any] capacity: A mapping of the capacity for all datastore in the datacenter
123
- , where the name of the datastore is used as key and the capacity as value.
124
- :param str datacenter_id: The [managed object reference ID][docs-about-morefs]
125
- of the datacenter the datastores are located in. For default datacenters, use
126
- the `id` attribute from an empty `Datacenter` data source.
122
+ :param Mapping[str, Any] capacity: A mapping of the capacity for all datastore in the datacenter,
123
+ where the name of the datastore is used as key and the capacity as value.
124
+ :param str datacenter_id: The
125
+ [managed object reference ID][docs-about-morefs] of the datacenter the
126
+ datastores are located in. For default datacenters, use the `id` attribute
127
+ from an empty `Datacenter` data source.
127
128
 
128
129
  [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
129
130
  :param Mapping[str, Any] free_space: A mapping of the free space for each datastore in the
130
- datacenter, where the name of the datastore is used as key and the free
131
- space as value.
131
+ datacenter, where the name of the datastore is used as key and the free space
132
+ as value.
132
133
  """
133
134
  __args__ = dict()
134
135
  __args__['capacity'] = capacity
@@ -150,9 +151,10 @@ def get_datastore_stats_output(capacity: Optional[pulumi.Input[Optional[Mapping[
150
151
  free_space: Optional[pulumi.Input[Optional[Mapping[str, Any]]]] = None,
151
152
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatastoreStatsResult]:
152
153
  """
153
- The `get_datastore_stats` data source can be used to retrieve the usage stats
154
- of all vSphere datastore objects in a datacenter. This can then be used as a
155
- standalone datasource to get information required as input to other data sources.
154
+ The `get_datastore_stats` data source can be used to retrieve the usage
155
+ stats of all vSphere datastore objects in a datacenter. This can then be used as
156
+ a standalone data source to get information required as input to other data
157
+ sources.
156
158
 
157
159
  ## Example Usage
158
160
 
@@ -164,9 +166,8 @@ def get_datastore_stats_output(capacity: Optional[pulumi.Input[Optional[Mapping[
164
166
  datastore_stats = vsphere.get_datastore_stats(datacenter_id=datacenter.id)
165
167
  ```
166
168
 
167
- A usefull example of this datasource would be to determine the
168
- datastore with the most free space. For example, in addition to
169
- the above:
169
+ A useful example of this data source would be to determine the datastore with
170
+ the most free space. For example, in addition to the above:
170
171
 
171
172
  Create an `outputs.tf` like that:
172
173
 
@@ -180,15 +181,16 @@ def get_datastore_stats_output(capacity: Optional[pulumi.Input[Optional[Mapping[
180
181
  and a `locals.tf` like that:
181
182
 
182
183
 
183
- :param Mapping[str, Any] capacity: A mapping of the capacity for all datastore in the datacenter
184
- , where the name of the datastore is used as key and the capacity as value.
185
- :param str datacenter_id: The [managed object reference ID][docs-about-morefs]
186
- of the datacenter the datastores are located in. For default datacenters, use
187
- the `id` attribute from an empty `Datacenter` data source.
184
+ :param Mapping[str, Any] capacity: A mapping of the capacity for all datastore in the datacenter,
185
+ where the name of the datastore is used as key and the capacity as value.
186
+ :param str datacenter_id: The
187
+ [managed object reference ID][docs-about-morefs] of the datacenter the
188
+ datastores are located in. For default datacenters, use the `id` attribute
189
+ from an empty `Datacenter` data source.
188
190
 
189
191
  [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
190
192
  :param Mapping[str, Any] free_space: A mapping of the free space for each datastore in the
191
- datacenter, where the name of the datastore is used as key and the free
192
- space as value.
193
+ datacenter, where the name of the datastore is used as key and the free space
194
+ as value.
193
195
  """
194
196
  ...
@@ -78,9 +78,10 @@ def get_dynamic(filters: Optional[Sequence[str]] = None,
78
78
  """
79
79
  [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
80
80
 
81
- The `get_dynamic` data source can be used to get the [managed object reference ID][docs-about-morefs]
82
- of any tagged managed object in vCenter Server by providing a list of tag IDs
83
- and an optional regular expression to filter objects by name.
81
+ The `get_dynamic` data source can be used to get the
82
+ [managed object reference ID][docs-about-morefs] of any tagged managed object in
83
+ vCenter Server by providing a list of tag IDs and an optional regular expression
84
+ to filter objects by name.
84
85
 
85
86
  ## Example Usage
86
87
 
@@ -104,11 +105,11 @@ def get_dynamic(filters: Optional[Sequence[str]] = None,
104
105
 
105
106
  :param Sequence[str] filters: A list of tag IDs that must be present on an object to
106
107
  be a match.
107
- :param str name_regex: A regular expression that will be used to match
108
- the object's name.
108
+ :param str name_regex: A regular expression that will be used to match the
109
+ object's name.
109
110
  :param str type: The managed object type the returned object must match.
110
111
  The managed object types can be found in the managed object type section
111
- [here](https://developer.vmware.com/apis/968/vsphere).
112
+ [here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
112
113
  """
113
114
  __args__ = dict()
114
115
  __args__['filters'] = filters
@@ -132,9 +133,10 @@ def get_dynamic_output(filters: Optional[pulumi.Input[Sequence[str]]] = None,
132
133
  """
133
134
  [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
134
135
 
135
- The `get_dynamic` data source can be used to get the [managed object reference ID][docs-about-morefs]
136
- of any tagged managed object in vCenter Server by providing a list of tag IDs
137
- and an optional regular expression to filter objects by name.
136
+ The `get_dynamic` data source can be used to get the
137
+ [managed object reference ID][docs-about-morefs] of any tagged managed object in
138
+ vCenter Server by providing a list of tag IDs and an optional regular expression
139
+ to filter objects by name.
138
140
 
139
141
  ## Example Usage
140
142
 
@@ -158,10 +160,10 @@ def get_dynamic_output(filters: Optional[pulumi.Input[Sequence[str]]] = None,
158
160
 
159
161
  :param Sequence[str] filters: A list of tag IDs that must be present on an object to
160
162
  be a match.
161
- :param str name_regex: A regular expression that will be used to match
162
- the object's name.
163
+ :param str name_regex: A regular expression that will be used to match the
164
+ object's name.
163
165
  :param str type: The managed object type the returned object must match.
164
166
  The managed object types can be found in the managed object type section
165
- [here](https://developer.vmware.com/apis/968/vsphere).
167
+ [here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
166
168
  """
167
169
  ...
@@ -57,7 +57,11 @@ def get_folder(path: Optional[str] = None,
57
57
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFolderResult:
58
58
  """
59
59
  The `Folder` data source can be used to get the general attributes of a
60
- vSphere inventory folder. Paths are absolute and must include the datacenter.
60
+ vSphere inventory folder. The data source supports creating folders of the 5
61
+ major types - datacenter folders, host and cluster folders, virtual machine
62
+ folders, storage folders, and network folders.
63
+
64
+ Paths are absolute and must include the datacenter.
61
65
 
62
66
  ## Example Usage
63
67
 
@@ -90,7 +94,11 @@ def get_folder_output(path: Optional[pulumi.Input[str]] = None,
90
94
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFolderResult]:
91
95
  """
92
96
  The `Folder` data source can be used to get the general attributes of a
93
- vSphere inventory folder. Paths are absolute and must include the datacenter.
97
+ vSphere inventory folder. The data source supports creating folders of the 5
98
+ major types - datacenter folders, host and cluster folders, virtual machine
99
+ folders, storage folders, and network folders.
100
+
101
+ Paths are absolute and must include the datacenter.
94
102
 
95
103
  ## Example Usage
96
104
 
@@ -48,17 +48,11 @@ class GetGuestOsCustomizationResult:
48
48
  @property
49
49
  @pulumi.getter(name="changeVersion")
50
50
  def change_version(self) -> str:
51
- """
52
- The number of last changed version to the customization specification.
53
- """
54
51
  return pulumi.get(self, "change_version")
55
52
 
56
53
  @property
57
54
  @pulumi.getter
58
55
  def description(self) -> str:
59
- """
60
- The description for the customization specification.
61
- """
62
56
  return pulumi.get(self, "description")
63
57
 
64
58
  @property
@@ -72,9 +66,6 @@ class GetGuestOsCustomizationResult:
72
66
  @property
73
67
  @pulumi.getter(name="lastUpdateTime")
74
68
  def last_update_time(self) -> str:
75
- """
76
- The time of last modification to the customization specification.
77
- """
78
69
  return pulumi.get(self, "last_update_time")
79
70
 
80
71
  @property
@@ -85,17 +76,11 @@ class GetGuestOsCustomizationResult:
85
76
  @property
86
77
  @pulumi.getter
87
78
  def specs(self) -> Sequence['outputs.GetGuestOsCustomizationSpecResult']:
88
- """
89
- Container object for the guest operating system properties to be customized. See virtual machine customizations
90
- """
91
79
  return pulumi.get(self, "specs")
92
80
 
93
81
  @property
94
82
  @pulumi.getter
95
83
  def type(self) -> str:
96
- """
97
- The type of customization specification: One among: Windows, Linux.
98
- """
99
84
  return pulumi.get(self, "type")
100
85
 
101
86
 
@@ -117,22 +102,12 @@ class AwaitableGetGuestOsCustomizationResult(GetGuestOsCustomizationResult):
117
102
  def get_guest_os_customization(name: Optional[str] = None,
118
103
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGuestOsCustomizationResult:
119
104
  """
120
- The `GuestOsCustomization` data source can be used to discover the details about a customization specification for a guest operating system.
121
-
122
- Suggested change
123
- > **NOTE:** The name attribute is the unique identifier for the customization specification per vCenter Server instance.
124
-
125
- ## Example Usage
126
-
127
- ```python
128
- import pulumi
129
- import pulumi_vsphere as vsphere
130
-
131
- gosc1 = vsphere.get_guest_os_customization(name="linux-spec")
132
- ```
105
+ The `GuestOsCustomization` data source can be used to discover the
106
+ details about a customization specification for a guest operating system.
133
107
 
134
108
 
135
- :param str name: The name of the customization specification is the unique identifier per vCenter Server instance.
109
+ :param str name: The name of the customization specification is the unique
110
+ identifier per vCenter Server instance. ## Attribute Reference
136
111
  """
137
112
  __args__ = dict()
138
113
  __args__['name'] = name
@@ -153,21 +128,11 @@ def get_guest_os_customization(name: Optional[str] = None,
153
128
  def get_guest_os_customization_output(name: Optional[pulumi.Input[str]] = None,
154
129
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGuestOsCustomizationResult]:
155
130
  """
156
- The `GuestOsCustomization` data source can be used to discover the details about a customization specification for a guest operating system.
157
-
158
- Suggested change
159
- > **NOTE:** The name attribute is the unique identifier for the customization specification per vCenter Server instance.
160
-
161
- ## Example Usage
162
-
163
- ```python
164
- import pulumi
165
- import pulumi_vsphere as vsphere
166
-
167
- gosc1 = vsphere.get_guest_os_customization(name="linux-spec")
168
- ```
131
+ The `GuestOsCustomization` data source can be used to discover the
132
+ details about a customization specification for a guest operating system.
169
133
 
170
134
 
171
- :param str name: The name of the customization specification is the unique identifier per vCenter Server instance.
135
+ :param str name: The name of the customization specification is the unique
136
+ identifier per vCenter Server instance. ## Attribute Reference
172
137
  """
173
138
  ...
@@ -0,0 +1,97 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from . import _utilities
11
+
12
+ __all__ = [
13
+ 'GetHostBaseImagesResult',
14
+ 'AwaitableGetHostBaseImagesResult',
15
+ 'get_host_base_images',
16
+ 'get_host_base_images_output',
17
+ ]
18
+
19
+ @pulumi.output_type
20
+ class GetHostBaseImagesResult:
21
+ """
22
+ A collection of values returned by getHostBaseImages.
23
+ """
24
+ def __init__(__self__, id=None, versions=None):
25
+ if id and not isinstance(id, str):
26
+ raise TypeError("Expected argument 'id' to be a str")
27
+ pulumi.set(__self__, "id", id)
28
+ if versions and not isinstance(versions, list):
29
+ raise TypeError("Expected argument 'versions' to be a list")
30
+ pulumi.set(__self__, "versions", versions)
31
+
32
+ @property
33
+ @pulumi.getter
34
+ def id(self) -> str:
35
+ """
36
+ The provider-assigned unique ID for this managed resource.
37
+ """
38
+ return pulumi.get(self, "id")
39
+
40
+ @property
41
+ @pulumi.getter
42
+ def versions(self) -> Sequence[str]:
43
+ """
44
+ The ESXi version identifier for the image
45
+ """
46
+ return pulumi.get(self, "versions")
47
+
48
+
49
+ class AwaitableGetHostBaseImagesResult(GetHostBaseImagesResult):
50
+ # pylint: disable=using-constant-test
51
+ def __await__(self):
52
+ if False:
53
+ yield self
54
+ return GetHostBaseImagesResult(
55
+ id=self.id,
56
+ versions=self.versions)
57
+
58
+
59
+ def get_host_base_images(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostBaseImagesResult:
60
+ """
61
+ The `get_host_base_images` data source can be used to get the list of ESXi
62
+ base images available for cluster software management.
63
+
64
+ ## Example Usage
65
+
66
+ ```python
67
+ import pulumi
68
+ import pulumi_vsphere as vsphere
69
+
70
+ base_images = vsphere.get_host_base_images()
71
+ ```
72
+ """
73
+ __args__ = dict()
74
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
75
+ __ret__ = pulumi.runtime.invoke('vsphere:index/getHostBaseImages:getHostBaseImages', __args__, opts=opts, typ=GetHostBaseImagesResult).value
76
+
77
+ return AwaitableGetHostBaseImagesResult(
78
+ id=pulumi.get(__ret__, 'id'),
79
+ versions=pulumi.get(__ret__, 'versions'))
80
+
81
+
82
+ @_utilities.lift_output_func(get_host_base_images)
83
+ def get_host_base_images_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostBaseImagesResult]:
84
+ """
85
+ The `get_host_base_images` data source can be used to get the list of ESXi
86
+ base images available for cluster software management.
87
+
88
+ ## Example Usage
89
+
90
+ ```python
91
+ import pulumi
92
+ import pulumi_vsphere as vsphere
93
+
94
+ base_images = vsphere.get_host_base_images()
95
+ ```
96
+ """
97
+ ...
@@ -137,7 +137,8 @@ def get_host_pci_device(class_id: Optional[str] = None,
137
137
  [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
138
138
 
139
139
  > **NOTE:** `name_regex`, `vendor_id`, and `class_id` can all be used together.
140
- :param str host_id: The [managed object reference ID][docs-about-morefs] of a host.
140
+ :param str host_id: The [managed object reference ID][docs-about-morefs] of
141
+ a host.
141
142
  :param str name_regex: A regular expression that will be used to match the
142
143
  host PCI device name.
143
144
  :param str vendor_id: The hexadecimal PCI device vendor ID.
@@ -205,7 +206,8 @@ def get_host_pci_device_output(class_id: Optional[pulumi.Input[Optional[str]]] =
205
206
  [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
206
207
 
207
208
  > **NOTE:** `name_regex`, `vendor_id`, and `class_id` can all be used together.
208
- :param str host_id: The [managed object reference ID][docs-about-morefs] of a host.
209
+ :param str host_id: The [managed object reference ID][docs-about-morefs] of
210
+ a host.
209
211
  :param str name_regex: A regular expression that will be used to match the
210
212
  host PCI device name.
211
213
  :param str vendor_id: The hexadecimal PCI device vendor ID.
@@ -76,10 +76,10 @@ def get_host_thumbprint(address: Optional[str] = None,
76
76
  port: Optional[str] = None,
77
77
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostThumbprintResult:
78
78
  """
79
- The `vsphere_thumbprint` data source can be used to discover the host
80
- thumbprint of an ESXi host. This can be used when adding the `Host`
81
- resource. If the ESXi host is using a certificate chain, the first one returned
82
- will be used to generate the thumbprint.
79
+ The `vsphere_thumbprint` data source can be used to discover the host thumbprint
80
+ of an ESXi host. This can be used when adding the `Host` resource. If
81
+ the ESXi host is using a certificate chain, the first one returned will be used
82
+ to generate the thumbprint.
83
83
 
84
84
  ## Example Usage
85
85
 
@@ -91,8 +91,8 @@ def get_host_thumbprint(address: Optional[str] = None,
91
91
  ```
92
92
 
93
93
 
94
- :param str address: The address of the ESXi host to retrieve the
95
- thumbprint from.
94
+ :param str address: The address of the ESXi host to retrieve the thumbprint
95
+ from.
96
96
  :param bool insecure: Disables SSL certificate verification.
97
97
  Default: `false`
98
98
  :param str port: The port to use connecting to the ESXi host. Default: 443
@@ -117,10 +117,10 @@ def get_host_thumbprint_output(address: Optional[pulumi.Input[str]] = None,
117
117
  port: Optional[pulumi.Input[Optional[str]]] = None,
118
118
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostThumbprintResult]:
119
119
  """
120
- The `vsphere_thumbprint` data source can be used to discover the host
121
- thumbprint of an ESXi host. This can be used when adding the `Host`
122
- resource. If the ESXi host is using a certificate chain, the first one returned
123
- will be used to generate the thumbprint.
120
+ The `vsphere_thumbprint` data source can be used to discover the host thumbprint
121
+ of an ESXi host. This can be used when adding the `Host` resource. If
122
+ the ESXi host is using a certificate chain, the first one returned will be used
123
+ to generate the thumbprint.
124
124
 
125
125
  ## Example Usage
126
126
 
@@ -132,8 +132,8 @@ def get_host_thumbprint_output(address: Optional[pulumi.Input[str]] = None,
132
132
  ```
133
133
 
134
134
 
135
- :param str address: The address of the ESXi host to retrieve the
136
- thumbprint from.
135
+ :param str address: The address of the ESXi host to retrieve the thumbprint
136
+ from.
137
137
  :param bool insecure: Disables SSL certificate verification.
138
138
  Default: `false`
139
139
  :param str port: The port to use connecting to the ESXi host. Default: 443
@@ -118,7 +118,8 @@ def get_host_vgpu_profile(host_id: Optional[str] = None,
118
118
  ```
119
119
 
120
120
 
121
- :param str host_id: The [managed object reference ID][docs-about-morefs] of a host.
121
+ :param str host_id: The [managed object reference ID][docs-about-morefs] of
122
+ a host.
122
123
  :param str name_regex: A regular expression that will be used to match the
123
124
  host vGPU profile name.
124
125
 
@@ -173,7 +174,8 @@ def get_host_vgpu_profile_output(host_id: Optional[pulumi.Input[str]] = None,
173
174
  ```
174
175
 
175
176
 
176
- :param str host_id: The [managed object reference ID][docs-about-morefs] of a host.
177
+ :param str host_id: The [managed object reference ID][docs-about-morefs] of
178
+ a host.
177
179
  :param str name_regex: A regular expression that will be used to match the
178
180
  host vGPU profile name.
179
181
 
@@ -61,7 +61,8 @@ class GetLicenseResult:
61
61
  @pulumi.getter
62
62
  def labels(self) -> Mapping[str, str]:
63
63
  """
64
- A map of key/value pairs attached as labels (tags) to the license key.
64
+ A map of key/value pairs attached as labels (tags) to the license
65
+ key.
65
66
  """
66
67
  return pulumi.get(self, "labels")
67
68
 
@@ -91,11 +91,11 @@ def get_network(datacenter_id: Optional[str] = None,
91
91
  name: Optional[str] = None,
92
92
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkResult:
93
93
  """
94
- The `get_network` data source can be used to discover the ID of a network
95
- in vSphere. This can be any network that can be used as the backing for a
96
- network interface for `VirtualMachine` or any other vSphere resource
97
- that requires a network. This includes standard (host-based) port groups,
98
- distributed port groups, or opaque networks such as those managed by NSX.
94
+ The `get_network` data source can be used to discover the ID of a network in
95
+ vSphere. This can be any network that can be used as the backing for a network
96
+ interface for `VirtualMachine` or any other vSphere resource that
97
+ requires a network. This includes standard (host-based) port groups, distributed
98
+ port groups, or opaque networks such as those managed by NSX.
99
99
 
100
100
  ## Example Usage
101
101
 
@@ -115,8 +115,8 @@ def get_network(datacenter_id: Optional[str] = None,
115
115
  use the `id` attribute from an empty `Datacenter` data source.
116
116
  :param str distributed_virtual_switch_uuid: For distributed port group type
117
117
  network objects, the ID of the distributed virtual switch for which the port
118
- group belongs. It is useful to differentiate port groups with same name
119
- using the distributed virtual switch ID.
118
+ group belongs. It is useful to differentiate port groups with same name using
119
+ the distributed virtual switch ID.
120
120
  :param str name: The name of the network. This can be a name or path.
121
121
  """
122
122
  __args__ = dict()
@@ -140,11 +140,11 @@ def get_network_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = No
140
140
  name: Optional[pulumi.Input[str]] = None,
141
141
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkResult]:
142
142
  """
143
- The `get_network` data source can be used to discover the ID of a network
144
- in vSphere. This can be any network that can be used as the backing for a
145
- network interface for `VirtualMachine` or any other vSphere resource
146
- that requires a network. This includes standard (host-based) port groups,
147
- distributed port groups, or opaque networks such as those managed by NSX.
143
+ The `get_network` data source can be used to discover the ID of a network in
144
+ vSphere. This can be any network that can be used as the backing for a network
145
+ interface for `VirtualMachine` or any other vSphere resource that
146
+ requires a network. This includes standard (host-based) port groups, distributed
147
+ port groups, or opaque networks such as those managed by NSX.
148
148
 
149
149
  ## Example Usage
150
150
 
@@ -164,8 +164,8 @@ def get_network_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = No
164
164
  use the `id` attribute from an empty `Datacenter` data source.
165
165
  :param str distributed_virtual_switch_uuid: For distributed port group type
166
166
  network objects, the ID of the distributed virtual switch for which the port
167
- group belongs. It is useful to differentiate port groups with same name
168
- using the distributed virtual switch ID.
167
+ group belongs. It is useful to differentiate port groups with same name using
168
+ the distributed virtual switch ID.
169
169
  :param str name: The name of the network. This can be a name or path.
170
170
  """
171
171
  ...
@@ -89,8 +89,8 @@ def get_resource_pool(datacenter_id: Optional[str] = None,
89
89
  data source.
90
90
 
91
91
  All compute resources in vSphere have a resource pool, even if one has not been
92
- explicitly created. This resource pool is referred to as the
93
- _root resource pool_ and can be looked up by specifying the path.
92
+ explicitly created. This resource pool is referred to as the _root resource
93
+ pool_ and can be looked up by specifying the path.
94
94
 
95
95
  ```python
96
96
  import pulumi
@@ -100,9 +100,11 @@ def get_resource_pool(datacenter_id: Optional[str] = None,
100
100
  datacenter_id=datacenter["id"])
101
101
  ```
102
102
 
103
- For more information on the root resource pool, see [Managing Resource Pools][vmware-docs-resource-pools] in the vSphere documentation.
103
+ For more information on the root resource pool, see
104
+ [Managing Resource Pools][vmware-docs-resource-pools] in the vSphere
105
+ documentation.
104
106
 
105
- [vmware-docs-resource-pools]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-60077B40-66FF-4625-934A-641703ED7601.html
107
+ [vmware-docs-resource-pools]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-resource-management/GUID-60077B40-66FF-4625-934A-641703ED7601.html
106
108
 
107
109
 
108
110
  :param str datacenter_id: The managed object reference ID
@@ -157,8 +159,8 @@ def get_resource_pool_output(datacenter_id: Optional[pulumi.Input[Optional[str]]
157
159
  data source.
158
160
 
159
161
  All compute resources in vSphere have a resource pool, even if one has not been
160
- explicitly created. This resource pool is referred to as the
161
- _root resource pool_ and can be looked up by specifying the path.
162
+ explicitly created. This resource pool is referred to as the _root resource
163
+ pool_ and can be looked up by specifying the path.
162
164
 
163
165
  ```python
164
166
  import pulumi
@@ -168,9 +170,11 @@ def get_resource_pool_output(datacenter_id: Optional[pulumi.Input[Optional[str]]
168
170
  datacenter_id=datacenter["id"])
169
171
  ```
170
172
 
171
- For more information on the root resource pool, see [Managing Resource Pools][vmware-docs-resource-pools] in the vSphere documentation.
173
+ For more information on the root resource pool, see
174
+ [Managing Resource Pools][vmware-docs-resource-pools] in the vSphere
175
+ documentation.
172
176
 
173
- [vmware-docs-resource-pools]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-60077B40-66FF-4625-934A-641703ED7601.html
177
+ [vmware-docs-resource-pools]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-resource-management/GUID-60077B40-66FF-4625-934A-641703ED7601.html
174
178
 
175
179
 
176
180
  :param str datacenter_id: The managed object reference ID
@@ -95,8 +95,8 @@ def get_role(description: Optional[str] = None,
95
95
  role_privileges: Optional[Sequence[str]] = None,
96
96
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRoleResult:
97
97
  """
98
- The `Role` data source can be used to discover the `id` and privileges associated
99
- with a role given its name or display label.
98
+ The `Role` data source can be used to discover the `id` and privileges
99
+ associated with a role given its name or display label.
100
100
 
101
101
  ## Example Usage
102
102
 
@@ -135,8 +135,8 @@ def get_role_output(description: Optional[pulumi.Input[Optional[str]]] = None,
135
135
  role_privileges: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
136
136
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRoleResult]:
137
137
  """
138
- The `Role` data source can be used to discover the `id` and privileges associated
139
- with a role given its name or display label.
138
+ The `Role` data source can be used to discover the `id` and privileges
139
+ associated with a role given its name or display label.
140
140
 
141
141
  ## Example Usage
142
142