pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1746734806__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.
- pulumi_vsphere/__init__.py +1 -0
- pulumi_vsphere/_inputs.py +969 -968
- pulumi_vsphere/compute_cluster.py +919 -917
- pulumi_vsphere/compute_cluster_host_group.py +44 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +72 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +72 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +86 -84
- pulumi_vsphere/compute_cluster_vm_group.py +44 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +100 -98
- pulumi_vsphere/config/__init__.py +1 -0
- pulumi_vsphere/config/__init__.pyi +1 -0
- pulumi_vsphere/config/vars.py +1 -0
- pulumi_vsphere/content_library.py +44 -42
- pulumi_vsphere/content_library_item.py +86 -84
- pulumi_vsphere/custom_attribute.py +30 -28
- pulumi_vsphere/datacenter.py +65 -63
- pulumi_vsphere/datastore_cluster.py +352 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +72 -70
- pulumi_vsphere/distributed_port_group.py +646 -644
- pulumi_vsphere/distributed_virtual_switch.py +1283 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +58 -56
- pulumi_vsphere/dpm_host_override.py +58 -56
- pulumi_vsphere/drs_vm_override.py +58 -56
- pulumi_vsphere/entity_permissions.py +30 -28
- pulumi_vsphere/file.py +96 -94
- pulumi_vsphere/folder.py +72 -70
- pulumi_vsphere/get_compute_cluster.py +13 -12
- pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
- pulumi_vsphere/get_content_library.py +7 -6
- pulumi_vsphere/get_content_library_item.py +17 -16
- pulumi_vsphere/get_custom_attribute.py +8 -7
- pulumi_vsphere/get_datacenter.py +8 -7
- pulumi_vsphere/get_datastore.py +17 -16
- pulumi_vsphere/get_datastore_cluster.py +13 -12
- pulumi_vsphere/get_datastore_stats.py +17 -16
- pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
- pulumi_vsphere/get_dynamic.py +17 -16
- pulumi_vsphere/get_folder.py +7 -6
- pulumi_vsphere/get_guest_os_customization.py +11 -10
- pulumi_vsphere/get_host.py +13 -12
- pulumi_vsphere/get_host_base_images.py +3 -2
- pulumi_vsphere/get_host_pci_device.py +23 -22
- pulumi_vsphere/get_host_thumbprint.py +17 -16
- pulumi_vsphere/get_host_vgpu_profile.py +12 -11
- pulumi_vsphere/get_license.py +12 -11
- pulumi_vsphere/get_network.py +18 -17
- pulumi_vsphere/get_ovf_vm_template.py +89 -88
- pulumi_vsphere/get_policy.py +7 -6
- pulumi_vsphere/get_resource_pool.py +12 -11
- pulumi_vsphere/get_role.py +20 -19
- pulumi_vsphere/get_tag.py +13 -12
- pulumi_vsphere/get_tag_category.py +10 -9
- pulumi_vsphere/get_vapp_container.py +12 -11
- pulumi_vsphere/get_virtual_machine.py +204 -203
- pulumi_vsphere/get_vmfs_disks.py +18 -17
- pulumi_vsphere/guest_os_customization.py +58 -56
- pulumi_vsphere/ha_vm_override.py +212 -210
- pulumi_vsphere/host.py +198 -196
- pulumi_vsphere/host_port_group.py +254 -252
- pulumi_vsphere/host_virtual_switch.py +296 -294
- pulumi_vsphere/license.py +58 -56
- pulumi_vsphere/nas_datastore.py +212 -210
- pulumi_vsphere/offline_software_depot.py +16 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +119 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +212 -210
- pulumi_vsphere/role.py +37 -35
- pulumi_vsphere/storage_drs_vm_override.py +72 -70
- pulumi_vsphere/supervisor.py +156 -154
- pulumi_vsphere/tag.py +44 -42
- pulumi_vsphere/tag_category.py +58 -56
- pulumi_vsphere/vapp_container.py +212 -210
- pulumi_vsphere/vapp_entity.py +142 -140
- pulumi_vsphere/virtual_disk.py +100 -98
- pulumi_vsphere/virtual_machine.py +1041 -1039
- pulumi_vsphere/virtual_machine_class.py +86 -84
- pulumi_vsphere/virtual_machine_snapshot.py +100 -98
- pulumi_vsphere/vm_storage_policy.py +30 -28
- pulumi_vsphere/vmfs_datastore.py +149 -147
- pulumi_vsphere/vnic.py +114 -112
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/METADATA +4 -4
- pulumi_vsphere-4.14.0a1746734806.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1741997722.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/top_level.txt +0 -0
pulumi_vsphere/get_dynamic.py
CHANGED
|
@@ -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
|
|
@@ -42,12 +43,12 @@ class GetDynamicResult:
|
|
|
42
43
|
|
|
43
44
|
@property
|
|
44
45
|
@pulumi.getter
|
|
45
|
-
def filters(self) -> Sequence[str]:
|
|
46
|
+
def filters(self) -> Sequence[builtins.str]:
|
|
46
47
|
return pulumi.get(self, "filters")
|
|
47
48
|
|
|
48
49
|
@property
|
|
49
50
|
@pulumi.getter
|
|
50
|
-
def id(self) -> str:
|
|
51
|
+
def id(self) -> builtins.str:
|
|
51
52
|
"""
|
|
52
53
|
The provider-assigned unique ID for this managed resource.
|
|
53
54
|
"""
|
|
@@ -55,12 +56,12 @@ class GetDynamicResult:
|
|
|
55
56
|
|
|
56
57
|
@property
|
|
57
58
|
@pulumi.getter(name="nameRegex")
|
|
58
|
-
def name_regex(self) -> Optional[str]:
|
|
59
|
+
def name_regex(self) -> Optional[builtins.str]:
|
|
59
60
|
return pulumi.get(self, "name_regex")
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def type(self) -> Optional[str]:
|
|
64
|
+
def type(self) -> Optional[builtins.str]:
|
|
64
65
|
return pulumi.get(self, "type")
|
|
65
66
|
|
|
66
67
|
|
|
@@ -76,9 +77,9 @@ class AwaitableGetDynamicResult(GetDynamicResult):
|
|
|
76
77
|
type=self.type)
|
|
77
78
|
|
|
78
79
|
|
|
79
|
-
def get_dynamic(filters: Optional[Sequence[str]] = None,
|
|
80
|
-
name_regex: Optional[str] = None,
|
|
81
|
-
type: Optional[str] = None,
|
|
80
|
+
def get_dynamic(filters: Optional[Sequence[builtins.str]] = None,
|
|
81
|
+
name_regex: Optional[builtins.str] = None,
|
|
82
|
+
type: Optional[builtins.str] = None,
|
|
82
83
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDynamicResult:
|
|
83
84
|
"""
|
|
84
85
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
@@ -108,11 +109,11 @@ def get_dynamic(filters: Optional[Sequence[str]] = None,
|
|
|
108
109
|
```
|
|
109
110
|
|
|
110
111
|
|
|
111
|
-
:param Sequence[str] filters: A list of tag IDs that must be present on an object to
|
|
112
|
+
:param Sequence[builtins.str] filters: A list of tag IDs that must be present on an object to
|
|
112
113
|
be a match.
|
|
113
|
-
:param str name_regex: A regular expression that will be used to match the
|
|
114
|
+
:param builtins.str name_regex: A regular expression that will be used to match the
|
|
114
115
|
object's name.
|
|
115
|
-
:param str type: The managed object type the returned object must match.
|
|
116
|
+
:param builtins.str type: The managed object type the returned object must match.
|
|
116
117
|
The managed object types can be found in the managed object type section
|
|
117
118
|
[here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
|
|
118
119
|
"""
|
|
@@ -128,9 +129,9 @@ def get_dynamic(filters: Optional[Sequence[str]] = None,
|
|
|
128
129
|
id=pulumi.get(__ret__, 'id'),
|
|
129
130
|
name_regex=pulumi.get(__ret__, 'name_regex'),
|
|
130
131
|
type=pulumi.get(__ret__, 'type'))
|
|
131
|
-
def get_dynamic_output(filters: Optional[pulumi.Input[Sequence[str]]] = None,
|
|
132
|
-
name_regex: Optional[pulumi.Input[Optional[str]]] = None,
|
|
133
|
-
type: Optional[pulumi.Input[Optional[str]]] = None,
|
|
132
|
+
def get_dynamic_output(filters: Optional[pulumi.Input[Sequence[builtins.str]]] = None,
|
|
133
|
+
name_regex: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
134
|
+
type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
134
135
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDynamicResult]:
|
|
135
136
|
"""
|
|
136
137
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
@@ -160,11 +161,11 @@ def get_dynamic_output(filters: Optional[pulumi.Input[Sequence[str]]] = None,
|
|
|
160
161
|
```
|
|
161
162
|
|
|
162
163
|
|
|
163
|
-
:param Sequence[str] filters: A list of tag IDs that must be present on an object to
|
|
164
|
+
:param Sequence[builtins.str] filters: A list of tag IDs that must be present on an object to
|
|
164
165
|
be a match.
|
|
165
|
-
:param str name_regex: A regular expression that will be used to match the
|
|
166
|
+
:param builtins.str name_regex: A regular expression that will be used to match the
|
|
166
167
|
object's name.
|
|
167
|
-
:param str type: The managed object type the returned object must match.
|
|
168
|
+
:param builtins.str type: The managed object type the returned object must match.
|
|
168
169
|
The managed object types can be found in the managed object type section
|
|
169
170
|
[here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
|
|
170
171
|
"""
|
pulumi_vsphere/get_folder.py
CHANGED
|
@@ -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
|
|
@@ -36,7 +37,7 @@ class GetFolderResult:
|
|
|
36
37
|
|
|
37
38
|
@property
|
|
38
39
|
@pulumi.getter
|
|
39
|
-
def id(self) -> str:
|
|
40
|
+
def id(self) -> builtins.str:
|
|
40
41
|
"""
|
|
41
42
|
The provider-assigned unique ID for this managed resource.
|
|
42
43
|
"""
|
|
@@ -44,7 +45,7 @@ class GetFolderResult:
|
|
|
44
45
|
|
|
45
46
|
@property
|
|
46
47
|
@pulumi.getter
|
|
47
|
-
def path(self) -> str:
|
|
48
|
+
def path(self) -> builtins.str:
|
|
48
49
|
return pulumi.get(self, "path")
|
|
49
50
|
|
|
50
51
|
|
|
@@ -58,7 +59,7 @@ class AwaitableGetFolderResult(GetFolderResult):
|
|
|
58
59
|
path=self.path)
|
|
59
60
|
|
|
60
61
|
|
|
61
|
-
def get_folder(path: Optional[str] = None,
|
|
62
|
+
def get_folder(path: Optional[builtins.str] = None,
|
|
62
63
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFolderResult:
|
|
63
64
|
"""
|
|
64
65
|
The `Folder` data source can be used to get the general attributes of a
|
|
@@ -78,7 +79,7 @@ def get_folder(path: Optional[str] = None,
|
|
|
78
79
|
```
|
|
79
80
|
|
|
80
81
|
|
|
81
|
-
:param str path: The absolute path of the folder. For example, given a
|
|
82
|
+
:param builtins.str path: The absolute path of the folder. For example, given a
|
|
82
83
|
default datacenter of `default-dc`, a folder of type `vm`, and a folder name
|
|
83
84
|
of `test-folder`, the resulting path would be
|
|
84
85
|
`/default-dc/vm/test-folder`. The valid folder types to be used in
|
|
@@ -92,7 +93,7 @@ def get_folder(path: Optional[str] = None,
|
|
|
92
93
|
return AwaitableGetFolderResult(
|
|
93
94
|
id=pulumi.get(__ret__, 'id'),
|
|
94
95
|
path=pulumi.get(__ret__, 'path'))
|
|
95
|
-
def get_folder_output(path: Optional[pulumi.Input[str]] = None,
|
|
96
|
+
def get_folder_output(path: Optional[pulumi.Input[builtins.str]] = None,
|
|
96
97
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFolderResult]:
|
|
97
98
|
"""
|
|
98
99
|
The `Folder` data source can be used to get the general attributes of a
|
|
@@ -112,7 +113,7 @@ def get_folder_output(path: Optional[pulumi.Input[str]] = None,
|
|
|
112
113
|
```
|
|
113
114
|
|
|
114
115
|
|
|
115
|
-
:param str path: The absolute path of the folder. For example, given a
|
|
116
|
+
:param builtins.str path: The absolute path of the folder. For example, given a
|
|
116
117
|
default datacenter of `default-dc`, a folder of type `vm`, and a folder name
|
|
117
118
|
of `test-folder`, the resulting path would be
|
|
118
119
|
`/default-dc/vm/test-folder`. The valid folder types to be used in
|
|
@@ -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
|
|
@@ -52,17 +53,17 @@ class GetGuestOsCustomizationResult:
|
|
|
52
53
|
|
|
53
54
|
@property
|
|
54
55
|
@pulumi.getter(name="changeVersion")
|
|
55
|
-
def change_version(self) -> str:
|
|
56
|
+
def change_version(self) -> builtins.str:
|
|
56
57
|
return pulumi.get(self, "change_version")
|
|
57
58
|
|
|
58
59
|
@property
|
|
59
60
|
@pulumi.getter
|
|
60
|
-
def description(self) -> str:
|
|
61
|
+
def description(self) -> builtins.str:
|
|
61
62
|
return pulumi.get(self, "description")
|
|
62
63
|
|
|
63
64
|
@property
|
|
64
65
|
@pulumi.getter
|
|
65
|
-
def id(self) -> str:
|
|
66
|
+
def id(self) -> builtins.str:
|
|
66
67
|
"""
|
|
67
68
|
The provider-assigned unique ID for this managed resource.
|
|
68
69
|
"""
|
|
@@ -70,12 +71,12 @@ class GetGuestOsCustomizationResult:
|
|
|
70
71
|
|
|
71
72
|
@property
|
|
72
73
|
@pulumi.getter(name="lastUpdateTime")
|
|
73
|
-
def last_update_time(self) -> str:
|
|
74
|
+
def last_update_time(self) -> builtins.str:
|
|
74
75
|
return pulumi.get(self, "last_update_time")
|
|
75
76
|
|
|
76
77
|
@property
|
|
77
78
|
@pulumi.getter
|
|
78
|
-
def name(self) -> str:
|
|
79
|
+
def name(self) -> builtins.str:
|
|
79
80
|
return pulumi.get(self, "name")
|
|
80
81
|
|
|
81
82
|
@property
|
|
@@ -85,7 +86,7 @@ class GetGuestOsCustomizationResult:
|
|
|
85
86
|
|
|
86
87
|
@property
|
|
87
88
|
@pulumi.getter
|
|
88
|
-
def type(self) -> str:
|
|
89
|
+
def type(self) -> builtins.str:
|
|
89
90
|
return pulumi.get(self, "type")
|
|
90
91
|
|
|
91
92
|
|
|
@@ -104,14 +105,14 @@ class AwaitableGetGuestOsCustomizationResult(GetGuestOsCustomizationResult):
|
|
|
104
105
|
type=self.type)
|
|
105
106
|
|
|
106
107
|
|
|
107
|
-
def get_guest_os_customization(name: Optional[str] = None,
|
|
108
|
+
def get_guest_os_customization(name: Optional[builtins.str] = None,
|
|
108
109
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGuestOsCustomizationResult:
|
|
109
110
|
"""
|
|
110
111
|
The `GuestOsCustomization` data source can be used to discover the
|
|
111
112
|
details about a customization specification for a guest operating system.
|
|
112
113
|
|
|
113
114
|
|
|
114
|
-
:param str name: The name of the customization specification is the unique
|
|
115
|
+
:param builtins.str name: The name of the customization specification is the unique
|
|
115
116
|
identifier per vCenter Server instance. ## Attribute Reference
|
|
116
117
|
"""
|
|
117
118
|
__args__ = dict()
|
|
@@ -127,14 +128,14 @@ def get_guest_os_customization(name: Optional[str] = None,
|
|
|
127
128
|
name=pulumi.get(__ret__, 'name'),
|
|
128
129
|
specs=pulumi.get(__ret__, 'specs'),
|
|
129
130
|
type=pulumi.get(__ret__, 'type'))
|
|
130
|
-
def get_guest_os_customization_output(name: Optional[pulumi.Input[str]] = None,
|
|
131
|
+
def get_guest_os_customization_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
131
132
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGuestOsCustomizationResult]:
|
|
132
133
|
"""
|
|
133
134
|
The `GuestOsCustomization` data source can be used to discover the
|
|
134
135
|
details about a customization specification for a guest operating system.
|
|
135
136
|
|
|
136
137
|
|
|
137
|
-
:param str name: The name of the customization specification is the unique
|
|
138
|
+
:param builtins.str name: The name of the customization specification is the unique
|
|
138
139
|
identifier per vCenter Server instance. ## Attribute Reference
|
|
139
140
|
"""
|
|
140
141
|
__args__ = dict()
|
pulumi_vsphere/get_host.py
CHANGED
|
@@ -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
|
|
@@ -42,12 +43,12 @@ class GetHostResult:
|
|
|
42
43
|
|
|
43
44
|
@property
|
|
44
45
|
@pulumi.getter(name="datacenterId")
|
|
45
|
-
def datacenter_id(self) -> str:
|
|
46
|
+
def datacenter_id(self) -> builtins.str:
|
|
46
47
|
return pulumi.get(self, "datacenter_id")
|
|
47
48
|
|
|
48
49
|
@property
|
|
49
50
|
@pulumi.getter
|
|
50
|
-
def id(self) -> str:
|
|
51
|
+
def id(self) -> builtins.str:
|
|
51
52
|
"""
|
|
52
53
|
The provider-assigned unique ID for this managed resource.
|
|
53
54
|
"""
|
|
@@ -55,12 +56,12 @@ class GetHostResult:
|
|
|
55
56
|
|
|
56
57
|
@property
|
|
57
58
|
@pulumi.getter
|
|
58
|
-
def name(self) -> Optional[str]:
|
|
59
|
+
def name(self) -> Optional[builtins.str]:
|
|
59
60
|
return pulumi.get(self, "name")
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter(name="resourcePoolId")
|
|
63
|
-
def resource_pool_id(self) -> str:
|
|
64
|
+
def resource_pool_id(self) -> builtins.str:
|
|
64
65
|
"""
|
|
65
66
|
The managed object ID of the ESXi
|
|
66
67
|
host's root resource pool.
|
|
@@ -80,8 +81,8 @@ class AwaitableGetHostResult(GetHostResult):
|
|
|
80
81
|
resource_pool_id=self.resource_pool_id)
|
|
81
82
|
|
|
82
83
|
|
|
83
|
-
def get_host(datacenter_id: Optional[str] = None,
|
|
84
|
-
name: Optional[str] = None,
|
|
84
|
+
def get_host(datacenter_id: Optional[builtins.str] = None,
|
|
85
|
+
name: Optional[builtins.str] = None,
|
|
85
86
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostResult:
|
|
86
87
|
"""
|
|
87
88
|
The `Host` data source can be used to discover the ID of an ESXi host.
|
|
@@ -100,9 +101,9 @@ def get_host(datacenter_id: Optional[str] = None,
|
|
|
100
101
|
```
|
|
101
102
|
|
|
102
103
|
|
|
103
|
-
:param str datacenter_id: The managed object reference ID
|
|
104
|
+
:param builtins.str datacenter_id: The managed object reference ID
|
|
104
105
|
of a vSphere datacenter object.
|
|
105
|
-
:param str name: The name of the ESXI host. This can be a name or path.
|
|
106
|
+
:param builtins.str name: The name of the ESXI host. This can be a name or path.
|
|
106
107
|
Can be omitted if there is only one host in your inventory.
|
|
107
108
|
|
|
108
109
|
> **NOTE:** When used against an ESXi host directly, this data source _always_
|
|
@@ -119,8 +120,8 @@ def get_host(datacenter_id: Optional[str] = None,
|
|
|
119
120
|
id=pulumi.get(__ret__, 'id'),
|
|
120
121
|
name=pulumi.get(__ret__, 'name'),
|
|
121
122
|
resource_pool_id=pulumi.get(__ret__, 'resource_pool_id'))
|
|
122
|
-
def get_host_output(datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
123
|
-
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
123
|
+
def get_host_output(datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
124
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
124
125
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHostResult]:
|
|
125
126
|
"""
|
|
126
127
|
The `Host` data source can be used to discover the ID of an ESXi host.
|
|
@@ -139,9 +140,9 @@ def get_host_output(datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
|
139
140
|
```
|
|
140
141
|
|
|
141
142
|
|
|
142
|
-
:param str datacenter_id: The managed object reference ID
|
|
143
|
+
:param builtins.str datacenter_id: The managed object reference ID
|
|
143
144
|
of a vSphere datacenter object.
|
|
144
|
-
:param str name: The name of the ESXI host. This can be a name or path.
|
|
145
|
+
:param builtins.str name: The name of the ESXI host. This can be a name or path.
|
|
145
146
|
Can be omitted if there is only one host in your inventory.
|
|
146
147
|
|
|
147
148
|
> **NOTE:** When used against an ESXi host directly, this data source _always_
|
|
@@ -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
|
|
@@ -36,7 +37,7 @@ class GetHostBaseImagesResult:
|
|
|
36
37
|
|
|
37
38
|
@property
|
|
38
39
|
@pulumi.getter
|
|
39
|
-
def id(self) -> str:
|
|
40
|
+
def id(self) -> builtins.str:
|
|
40
41
|
"""
|
|
41
42
|
The provider-assigned unique ID for this managed resource.
|
|
42
43
|
"""
|
|
@@ -44,7 +45,7 @@ class GetHostBaseImagesResult:
|
|
|
44
45
|
|
|
45
46
|
@property
|
|
46
47
|
@pulumi.getter
|
|
47
|
-
def versions(self) -> Sequence[str]:
|
|
48
|
+
def versions(self) -> Sequence[builtins.str]:
|
|
48
49
|
"""
|
|
49
50
|
The ESXi version identifier for the image
|
|
50
51
|
"""
|
|
@@ -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
|
|
@@ -48,17 +49,17 @@ class GetHostPciDeviceResult:
|
|
|
48
49
|
|
|
49
50
|
@property
|
|
50
51
|
@pulumi.getter(name="classId")
|
|
51
|
-
def class_id(self) -> Optional[str]:
|
|
52
|
+
def class_id(self) -> Optional[builtins.str]:
|
|
52
53
|
return pulumi.get(self, "class_id")
|
|
53
54
|
|
|
54
55
|
@property
|
|
55
56
|
@pulumi.getter(name="hostId")
|
|
56
|
-
def host_id(self) -> str:
|
|
57
|
+
def host_id(self) -> builtins.str:
|
|
57
58
|
return pulumi.get(self, "host_id")
|
|
58
59
|
|
|
59
60
|
@property
|
|
60
61
|
@pulumi.getter
|
|
61
|
-
def id(self) -> str:
|
|
62
|
+
def id(self) -> builtins.str:
|
|
62
63
|
"""
|
|
63
64
|
The provider-assigned unique ID for this managed resource.
|
|
64
65
|
"""
|
|
@@ -66,7 +67,7 @@ class GetHostPciDeviceResult:
|
|
|
66
67
|
|
|
67
68
|
@property
|
|
68
69
|
@pulumi.getter
|
|
69
|
-
def name(self) -> str:
|
|
70
|
+
def name(self) -> builtins.str:
|
|
70
71
|
"""
|
|
71
72
|
The name of the PCI device.
|
|
72
73
|
"""
|
|
@@ -74,12 +75,12 @@ class GetHostPciDeviceResult:
|
|
|
74
75
|
|
|
75
76
|
@property
|
|
76
77
|
@pulumi.getter(name="nameRegex")
|
|
77
|
-
def name_regex(self) -> Optional[str]:
|
|
78
|
+
def name_regex(self) -> Optional[builtins.str]:
|
|
78
79
|
return pulumi.get(self, "name_regex")
|
|
79
80
|
|
|
80
81
|
@property
|
|
81
82
|
@pulumi.getter(name="vendorId")
|
|
82
|
-
def vendor_id(self) -> Optional[str]:
|
|
83
|
+
def vendor_id(self) -> Optional[builtins.str]:
|
|
83
84
|
return pulumi.get(self, "vendor_id")
|
|
84
85
|
|
|
85
86
|
|
|
@@ -97,10 +98,10 @@ class AwaitableGetHostPciDeviceResult(GetHostPciDeviceResult):
|
|
|
97
98
|
vendor_id=self.vendor_id)
|
|
98
99
|
|
|
99
100
|
|
|
100
|
-
def get_host_pci_device(class_id: Optional[str] = None,
|
|
101
|
-
host_id: Optional[str] = None,
|
|
102
|
-
name_regex: Optional[str] = None,
|
|
103
|
-
vendor_id: Optional[str] = None,
|
|
101
|
+
def get_host_pci_device(class_id: Optional[builtins.str] = None,
|
|
102
|
+
host_id: Optional[builtins.str] = None,
|
|
103
|
+
name_regex: Optional[builtins.str] = None,
|
|
104
|
+
vendor_id: Optional[builtins.str] = None,
|
|
104
105
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostPciDeviceResult:
|
|
105
106
|
"""
|
|
106
107
|
The `get_host_pci_device` data source can be used to discover the device ID
|
|
@@ -137,16 +138,16 @@ def get_host_pci_device(class_id: Optional[str] = None,
|
|
|
137
138
|
```
|
|
138
139
|
|
|
139
140
|
|
|
140
|
-
:param str class_id: The hexadecimal PCI device class ID
|
|
141
|
+
:param builtins.str class_id: The hexadecimal PCI device class ID
|
|
141
142
|
|
|
142
143
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
143
144
|
|
|
144
145
|
> **NOTE:** `name_regex`, `vendor_id`, and `class_id` can all be used together.
|
|
145
|
-
:param str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
146
|
+
:param builtins.str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
146
147
|
a host.
|
|
147
|
-
:param str name_regex: A regular expression that will be used to match the
|
|
148
|
+
:param builtins.str name_regex: A regular expression that will be used to match the
|
|
148
149
|
host PCI device name.
|
|
149
|
-
:param str vendor_id: The hexadecimal PCI device vendor ID.
|
|
150
|
+
:param builtins.str vendor_id: The hexadecimal PCI device vendor ID.
|
|
150
151
|
"""
|
|
151
152
|
__args__ = dict()
|
|
152
153
|
__args__['classId'] = class_id
|
|
@@ -163,10 +164,10 @@ def get_host_pci_device(class_id: Optional[str] = None,
|
|
|
163
164
|
name=pulumi.get(__ret__, 'name'),
|
|
164
165
|
name_regex=pulumi.get(__ret__, 'name_regex'),
|
|
165
166
|
vendor_id=pulumi.get(__ret__, 'vendor_id'))
|
|
166
|
-
def get_host_pci_device_output(class_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
167
|
-
host_id: Optional[pulumi.Input[str]] = None,
|
|
168
|
-
name_regex: Optional[pulumi.Input[Optional[str]]] = None,
|
|
169
|
-
vendor_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
167
|
+
def get_host_pci_device_output(class_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
168
|
+
host_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
169
|
+
name_regex: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
170
|
+
vendor_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
170
171
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHostPciDeviceResult]:
|
|
171
172
|
"""
|
|
172
173
|
The `get_host_pci_device` data source can be used to discover the device ID
|
|
@@ -203,16 +204,16 @@ def get_host_pci_device_output(class_id: Optional[pulumi.Input[Optional[str]]] =
|
|
|
203
204
|
```
|
|
204
205
|
|
|
205
206
|
|
|
206
|
-
:param str class_id: The hexadecimal PCI device class ID
|
|
207
|
+
:param builtins.str class_id: The hexadecimal PCI device class ID
|
|
207
208
|
|
|
208
209
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
209
210
|
|
|
210
211
|
> **NOTE:** `name_regex`, `vendor_id`, and `class_id` can all be used together.
|
|
211
|
-
:param str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
212
|
+
:param builtins.str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
212
213
|
a host.
|
|
213
|
-
:param str name_regex: A regular expression that will be used to match the
|
|
214
|
+
:param builtins.str name_regex: A regular expression that will be used to match the
|
|
214
215
|
host PCI device name.
|
|
215
|
-
:param str vendor_id: The hexadecimal PCI device vendor ID.
|
|
216
|
+
:param builtins.str vendor_id: The hexadecimal PCI device vendor ID.
|
|
216
217
|
"""
|
|
217
218
|
__args__ = dict()
|
|
218
219
|
__args__['classId'] = class_id
|
|
@@ -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
|
|
@@ -42,12 +43,12 @@ class GetHostThumbprintResult:
|
|
|
42
43
|
|
|
43
44
|
@property
|
|
44
45
|
@pulumi.getter
|
|
45
|
-
def address(self) -> str:
|
|
46
|
+
def address(self) -> builtins.str:
|
|
46
47
|
return pulumi.get(self, "address")
|
|
47
48
|
|
|
48
49
|
@property
|
|
49
50
|
@pulumi.getter
|
|
50
|
-
def id(self) -> str:
|
|
51
|
+
def id(self) -> builtins.str:
|
|
51
52
|
"""
|
|
52
53
|
The provider-assigned unique ID for this managed resource.
|
|
53
54
|
"""
|
|
@@ -55,12 +56,12 @@ class GetHostThumbprintResult:
|
|
|
55
56
|
|
|
56
57
|
@property
|
|
57
58
|
@pulumi.getter
|
|
58
|
-
def insecure(self) -> Optional[bool]:
|
|
59
|
+
def insecure(self) -> Optional[builtins.bool]:
|
|
59
60
|
return pulumi.get(self, "insecure")
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def port(self) -> Optional[str]:
|
|
64
|
+
def port(self) -> Optional[builtins.str]:
|
|
64
65
|
return pulumi.get(self, "port")
|
|
65
66
|
|
|
66
67
|
|
|
@@ -76,9 +77,9 @@ class AwaitableGetHostThumbprintResult(GetHostThumbprintResult):
|
|
|
76
77
|
port=self.port)
|
|
77
78
|
|
|
78
79
|
|
|
79
|
-
def get_host_thumbprint(address: Optional[str] = None,
|
|
80
|
-
insecure: Optional[bool] = None,
|
|
81
|
-
port: Optional[str] = None,
|
|
80
|
+
def get_host_thumbprint(address: Optional[builtins.str] = None,
|
|
81
|
+
insecure: Optional[builtins.bool] = None,
|
|
82
|
+
port: Optional[builtins.str] = None,
|
|
82
83
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostThumbprintResult:
|
|
83
84
|
"""
|
|
84
85
|
The `vsphere_thumbprint` data source can be used to discover the host thumbprint
|
|
@@ -101,10 +102,10 @@ def get_host_thumbprint(address: Optional[str] = None,
|
|
|
101
102
|
```
|
|
102
103
|
|
|
103
104
|
|
|
104
|
-
:param str address: The address of the ESXi host to retrieve the thumbprint
|
|
105
|
+
:param builtins.str address: The address of the ESXi host to retrieve the thumbprint
|
|
105
106
|
from.
|
|
106
|
-
:param bool insecure: Disables SSL certificate verification. Default: `false`
|
|
107
|
-
:param str port: The port to use connecting to the ESXi host. Default: 443
|
|
107
|
+
:param builtins.bool insecure: Disables SSL certificate verification. Default: `false`
|
|
108
|
+
:param builtins.str port: The port to use connecting to the ESXi host. Default: 443
|
|
108
109
|
"""
|
|
109
110
|
__args__ = dict()
|
|
110
111
|
__args__['address'] = address
|
|
@@ -118,9 +119,9 @@ def get_host_thumbprint(address: Optional[str] = None,
|
|
|
118
119
|
id=pulumi.get(__ret__, 'id'),
|
|
119
120
|
insecure=pulumi.get(__ret__, 'insecure'),
|
|
120
121
|
port=pulumi.get(__ret__, 'port'))
|
|
121
|
-
def get_host_thumbprint_output(address: Optional[pulumi.Input[str]] = None,
|
|
122
|
-
insecure: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
123
|
-
port: Optional[pulumi.Input[Optional[str]]] = None,
|
|
122
|
+
def get_host_thumbprint_output(address: Optional[pulumi.Input[builtins.str]] = None,
|
|
123
|
+
insecure: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
124
|
+
port: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
124
125
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHostThumbprintResult]:
|
|
125
126
|
"""
|
|
126
127
|
The `vsphere_thumbprint` data source can be used to discover the host thumbprint
|
|
@@ -143,10 +144,10 @@ def get_host_thumbprint_output(address: Optional[pulumi.Input[str]] = None,
|
|
|
143
144
|
```
|
|
144
145
|
|
|
145
146
|
|
|
146
|
-
:param str address: The address of the ESXi host to retrieve the thumbprint
|
|
147
|
+
:param builtins.str address: The address of the ESXi host to retrieve the thumbprint
|
|
147
148
|
from.
|
|
148
|
-
:param bool insecure: Disables SSL certificate verification. Default: `false`
|
|
149
|
-
:param str port: The port to use connecting to the ESXi host. Default: 443
|
|
149
|
+
:param builtins.bool insecure: Disables SSL certificate verification. Default: `false`
|
|
150
|
+
:param builtins.str port: The port to use connecting to the ESXi host. Default: 443
|
|
150
151
|
"""
|
|
151
152
|
__args__ = dict()
|
|
152
153
|
__args__['address'] = address
|
|
@@ -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
|
|
@@ -43,7 +44,7 @@ class GetHostVgpuProfileResult:
|
|
|
43
44
|
|
|
44
45
|
@property
|
|
45
46
|
@pulumi.getter(name="hostId")
|
|
46
|
-
def host_id(self) -> str:
|
|
47
|
+
def host_id(self) -> builtins.str:
|
|
47
48
|
"""
|
|
48
49
|
The [managed objectID][docs-about-morefs] of the ESXi host.
|
|
49
50
|
"""
|
|
@@ -51,7 +52,7 @@ class GetHostVgpuProfileResult:
|
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter
|
|
54
|
-
def id(self) -> str:
|
|
55
|
+
def id(self) -> builtins.str:
|
|
55
56
|
"""
|
|
56
57
|
The provider-assigned unique ID for this managed resource.
|
|
57
58
|
"""
|
|
@@ -59,7 +60,7 @@ class GetHostVgpuProfileResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter(name="nameRegex")
|
|
62
|
-
def name_regex(self) -> Optional[str]:
|
|
63
|
+
def name_regex(self) -> Optional[builtins.str]:
|
|
63
64
|
"""
|
|
64
65
|
(Optional) A regular expression that will be used to match the
|
|
65
66
|
host vGPU profile name.
|
|
@@ -88,8 +89,8 @@ class AwaitableGetHostVgpuProfileResult(GetHostVgpuProfileResult):
|
|
|
88
89
|
vgpu_profiles=self.vgpu_profiles)
|
|
89
90
|
|
|
90
91
|
|
|
91
|
-
def get_host_vgpu_profile(host_id: Optional[str] = None,
|
|
92
|
-
name_regex: Optional[str] = None,
|
|
92
|
+
def get_host_vgpu_profile(host_id: Optional[builtins.str] = None,
|
|
93
|
+
name_regex: Optional[builtins.str] = None,
|
|
93
94
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostVgpuProfileResult:
|
|
94
95
|
"""
|
|
95
96
|
The `get_host_vgpu_profile` data source can be used to discover the
|
|
@@ -123,9 +124,9 @@ def get_host_vgpu_profile(host_id: Optional[str] = None,
|
|
|
123
124
|
```
|
|
124
125
|
|
|
125
126
|
|
|
126
|
-
:param str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
127
|
+
:param builtins.str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
127
128
|
a host.
|
|
128
|
-
:param str name_regex: A regular expression that will be used to match the
|
|
129
|
+
:param builtins.str name_regex: A regular expression that will be used to match the
|
|
129
130
|
host vGPU profile name.
|
|
130
131
|
|
|
131
132
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
@@ -141,8 +142,8 @@ def get_host_vgpu_profile(host_id: Optional[str] = None,
|
|
|
141
142
|
id=pulumi.get(__ret__, 'id'),
|
|
142
143
|
name_regex=pulumi.get(__ret__, 'name_regex'),
|
|
143
144
|
vgpu_profiles=pulumi.get(__ret__, 'vgpu_profiles'))
|
|
144
|
-
def get_host_vgpu_profile_output(host_id: Optional[pulumi.Input[str]] = None,
|
|
145
|
-
name_regex: Optional[pulumi.Input[Optional[str]]] = None,
|
|
145
|
+
def get_host_vgpu_profile_output(host_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
146
|
+
name_regex: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
146
147
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHostVgpuProfileResult]:
|
|
147
148
|
"""
|
|
148
149
|
The `get_host_vgpu_profile` data source can be used to discover the
|
|
@@ -176,9 +177,9 @@ def get_host_vgpu_profile_output(host_id: Optional[pulumi.Input[str]] = None,
|
|
|
176
177
|
```
|
|
177
178
|
|
|
178
179
|
|
|
179
|
-
:param str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
180
|
+
:param builtins.str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
180
181
|
a host.
|
|
181
|
-
:param str name_regex: A regular expression that will be used to match the
|
|
182
|
+
:param builtins.str name_regex: A regular expression that will be used to match the
|
|
182
183
|
host vGPU profile name.
|
|
183
184
|
|
|
184
185
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|