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.
- pulumi_vsphere/__init__.py +12 -1
- pulumi_vsphere/_inputs.py +1172 -1172
- pulumi_vsphere/_utilities.py +1 -1
- pulumi_vsphere/compute_cluster.py +1226 -1484
- pulumi_vsphere/compute_cluster_host_group.py +124 -53
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +88 -87
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +92 -87
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +109 -104
- pulumi_vsphere/compute_cluster_vm_group.py +58 -53
- pulumi_vsphere/compute_cluster_vm_host_rule.py +126 -121
- pulumi_vsphere/config/__init__.py +2 -1
- pulumi_vsphere/config/__init__.pyi +2 -2
- pulumi_vsphere/config/vars.py +15 -15
- pulumi_vsphere/configuration_profile.py +286 -0
- pulumi_vsphere/content_library.py +64 -59
- pulumi_vsphere/content_library_item.py +109 -104
- pulumi_vsphere/custom_attribute.py +41 -36
- pulumi_vsphere/datacenter.py +80 -79
- pulumi_vsphere/datastore_cluster.py +531 -477
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +92 -87
- pulumi_vsphere/distributed_port_group.py +802 -818
- pulumi_vsphere/distributed_virtual_switch.py +1590 -1620
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +71 -70
- pulumi_vsphere/dpm_host_override.py +159 -70
- pulumi_vsphere/drs_vm_override.py +75 -70
- pulumi_vsphere/entity_permissions.py +40 -39
- pulumi_vsphere/file.py +148 -162
- pulumi_vsphere/folder.py +104 -99
- pulumi_vsphere/get_compute_cluster.py +18 -18
- pulumi_vsphere/get_compute_cluster_host_group.py +18 -22
- pulumi_vsphere/get_configuration_profile.py +145 -0
- pulumi_vsphere/get_content_library.py +10 -10
- pulumi_vsphere/get_content_library_item.py +22 -22
- pulumi_vsphere/get_custom_attribute.py +12 -12
- pulumi_vsphere/get_datacenter.py +12 -12
- pulumi_vsphere/get_datastore.py +22 -22
- pulumi_vsphere/get_datastore_cluster.py +19 -19
- pulumi_vsphere/get_datastore_stats.py +22 -26
- pulumi_vsphere/get_distributed_virtual_switch.py +18 -18
- pulumi_vsphere/get_dynamic.py +22 -26
- pulumi_vsphere/get_folder.py +140 -18
- pulumi_vsphere/get_guest_os_customization.py +74 -21
- pulumi_vsphere/get_host.py +18 -18
- pulumi_vsphere/get_host_base_images.py +6 -6
- pulumi_vsphere/get_host_pci_device.py +30 -30
- pulumi_vsphere/get_host_thumbprint.py +22 -22
- pulumi_vsphere/get_host_vgpu_profile.py +17 -17
- pulumi_vsphere/get_license.py +26 -24
- pulumi_vsphere/get_network.py +80 -29
- pulumi_vsphere/get_ovf_vm_template.py +126 -126
- pulumi_vsphere/get_policy.py +10 -10
- pulumi_vsphere/get_resource_pool.py +77 -26
- pulumi_vsphere/get_role.py +26 -26
- pulumi_vsphere/get_tag.py +18 -18
- pulumi_vsphere/get_tag_category.py +16 -16
- pulumi_vsphere/get_vapp_container.py +16 -16
- pulumi_vsphere/get_virtual_machine.py +273 -273
- pulumi_vsphere/get_vmfs_disks.py +24 -24
- pulumi_vsphere/guest_os_customization.py +75 -74
- pulumi_vsphere/ha_vm_override.py +295 -374
- pulumi_vsphere/host.py +304 -249
- pulumi_vsphere/host_port_group.py +321 -341
- pulumi_vsphere/host_virtual_switch.py +373 -389
- pulumi_vsphere/license.py +125 -84
- pulumi_vsphere/nas_datastore.py +324 -261
- pulumi_vsphere/offline_software_depot.py +26 -21
- pulumi_vsphere/outputs.py +1003 -970
- pulumi_vsphere/provider.py +165 -146
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +691 -364
- pulumi_vsphere/role.py +46 -45
- pulumi_vsphere/storage_drs_vm_override.py +92 -87
- pulumi_vsphere/supervisor.py +210 -209
- pulumi_vsphere/tag.py +58 -53
- pulumi_vsphere/tag_category.py +75 -70
- pulumi_vsphere/vapp_container.py +262 -257
- pulumi_vsphere/vapp_entity.py +177 -172
- pulumi_vsphere/virtual_disk.py +130 -125
- pulumi_vsphere/virtual_machine.py +1339 -1443
- pulumi_vsphere/virtual_machine_class.py +109 -108
- pulumi_vsphere/virtual_machine_snapshot.py +122 -121
- pulumi_vsphere/vm_storage_policy.py +40 -39
- pulumi_vsphere/vmfs_datastore.py +189 -184
- pulumi_vsphere/vnic.py +145 -144
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA +4 -4
- pulumi_vsphere-4.17.0a1763710194.dist-info/RECORD +89 -0
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1739946909.dist-info/RECORD +0 -87
- {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
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -50,42 +50,61 @@ class GetGuestOsCustomizationResult:
|
|
|
50
50
|
raise TypeError("Expected argument 'type' to be a str")
|
|
51
51
|
pulumi.set(__self__, "type", type)
|
|
52
52
|
|
|
53
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
54
54
|
@pulumi.getter(name="changeVersion")
|
|
55
|
-
def change_version(self) -> str:
|
|
55
|
+
def change_version(self) -> _builtins.str:
|
|
56
|
+
"""
|
|
57
|
+
The number of last changed version to the customization
|
|
58
|
+
specification.
|
|
59
|
+
"""
|
|
56
60
|
return pulumi.get(self, "change_version")
|
|
57
61
|
|
|
58
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
59
63
|
@pulumi.getter
|
|
60
|
-
def description(self) -> str:
|
|
64
|
+
def description(self) -> _builtins.str:
|
|
65
|
+
"""
|
|
66
|
+
The description for the customization specification.
|
|
67
|
+
"""
|
|
61
68
|
return pulumi.get(self, "description")
|
|
62
69
|
|
|
63
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
64
71
|
@pulumi.getter
|
|
65
|
-
def id(self) -> str:
|
|
72
|
+
def id(self) -> _builtins.str:
|
|
66
73
|
"""
|
|
67
74
|
The provider-assigned unique ID for this managed resource.
|
|
68
75
|
"""
|
|
69
76
|
return pulumi.get(self, "id")
|
|
70
77
|
|
|
71
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
72
79
|
@pulumi.getter(name="lastUpdateTime")
|
|
73
|
-
def last_update_time(self) -> str:
|
|
80
|
+
def last_update_time(self) -> _builtins.str:
|
|
81
|
+
"""
|
|
82
|
+
The time of last modification to the customization
|
|
83
|
+
specification.
|
|
84
|
+
"""
|
|
74
85
|
return pulumi.get(self, "last_update_time")
|
|
75
86
|
|
|
76
|
-
@property
|
|
87
|
+
@_builtins.property
|
|
77
88
|
@pulumi.getter
|
|
78
|
-
def name(self) -> str:
|
|
89
|
+
def name(self) -> _builtins.str:
|
|
79
90
|
return pulumi.get(self, "name")
|
|
80
91
|
|
|
81
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
82
93
|
@pulumi.getter
|
|
83
94
|
def specs(self) -> Sequence['outputs.GetGuestOsCustomizationSpecResult']:
|
|
95
|
+
"""
|
|
96
|
+
Container object for the guest operating system properties to be
|
|
97
|
+
customized. See
|
|
98
|
+
virtual machine customizations
|
|
99
|
+
"""
|
|
84
100
|
return pulumi.get(self, "specs")
|
|
85
101
|
|
|
86
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
87
103
|
@pulumi.getter
|
|
88
|
-
def type(self) -> str:
|
|
104
|
+
def type(self) -> _builtins.str:
|
|
105
|
+
"""
|
|
106
|
+
The type of customization specification: One among: Windows, Linux.
|
|
107
|
+
"""
|
|
89
108
|
return pulumi.get(self, "type")
|
|
90
109
|
|
|
91
110
|
|
|
@@ -104,15 +123,32 @@ class AwaitableGetGuestOsCustomizationResult(GetGuestOsCustomizationResult):
|
|
|
104
123
|
type=self.type)
|
|
105
124
|
|
|
106
125
|
|
|
107
|
-
def get_guest_os_customization(name: Optional[str] = None,
|
|
126
|
+
def get_guest_os_customization(name: Optional[_builtins.str] = None,
|
|
108
127
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGuestOsCustomizationResult:
|
|
109
128
|
"""
|
|
110
129
|
The `GuestOsCustomization` data source can be used to discover the
|
|
111
130
|
details about a customization specification for a guest operating system.
|
|
112
131
|
|
|
132
|
+
## Example Usage
|
|
133
|
+
|
|
134
|
+
```python
|
|
135
|
+
import pulumi
|
|
136
|
+
import pulumi_vsphere as vsphere
|
|
137
|
+
|
|
138
|
+
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
139
|
+
template = vsphere.get_virtual_machine(name="windows-template",
|
|
140
|
+
datacenter_id=datacenter.id)
|
|
141
|
+
windows = vsphere.get_guest_os_customization(name="windows")
|
|
142
|
+
vm = vsphere.VirtualMachine("vm",
|
|
143
|
+
template_uuid=template.id,
|
|
144
|
+
customization_spec=[{
|
|
145
|
+
"id": windows.id,
|
|
146
|
+
}])
|
|
147
|
+
```
|
|
113
148
|
|
|
114
|
-
|
|
115
|
-
|
|
149
|
+
|
|
150
|
+
:param _builtins.str name: The name of the customization specification is the unique
|
|
151
|
+
identifier per vCenter Server instance.
|
|
116
152
|
"""
|
|
117
153
|
__args__ = dict()
|
|
118
154
|
__args__['name'] = name
|
|
@@ -127,15 +163,32 @@ def get_guest_os_customization(name: Optional[str] = None,
|
|
|
127
163
|
name=pulumi.get(__ret__, 'name'),
|
|
128
164
|
specs=pulumi.get(__ret__, 'specs'),
|
|
129
165
|
type=pulumi.get(__ret__, 'type'))
|
|
130
|
-
def get_guest_os_customization_output(name: Optional[pulumi.Input[str]] = None,
|
|
166
|
+
def get_guest_os_customization_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
131
167
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGuestOsCustomizationResult]:
|
|
132
168
|
"""
|
|
133
169
|
The `GuestOsCustomization` data source can be used to discover the
|
|
134
170
|
details about a customization specification for a guest operating system.
|
|
135
171
|
|
|
172
|
+
## Example Usage
|
|
173
|
+
|
|
174
|
+
```python
|
|
175
|
+
import pulumi
|
|
176
|
+
import pulumi_vsphere as vsphere
|
|
177
|
+
|
|
178
|
+
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
179
|
+
template = vsphere.get_virtual_machine(name="windows-template",
|
|
180
|
+
datacenter_id=datacenter.id)
|
|
181
|
+
windows = vsphere.get_guest_os_customization(name="windows")
|
|
182
|
+
vm = vsphere.VirtualMachine("vm",
|
|
183
|
+
template_uuid=template.id,
|
|
184
|
+
customization_spec=[{
|
|
185
|
+
"id": windows.id,
|
|
186
|
+
}])
|
|
187
|
+
```
|
|
188
|
+
|
|
136
189
|
|
|
137
|
-
:param str name: The name of the customization specification is the unique
|
|
138
|
-
identifier per vCenter Server instance.
|
|
190
|
+
:param _builtins.str name: The name of the customization specification is the unique
|
|
191
|
+
identifier per vCenter Server instance.
|
|
139
192
|
"""
|
|
140
193
|
__args__ = dict()
|
|
141
194
|
__args__['name'] = name
|
pulumi_vsphere/get_host.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -40,27 +40,27 @@ class GetHostResult:
|
|
|
40
40
|
raise TypeError("Expected argument 'resource_pool_id' to be a str")
|
|
41
41
|
pulumi.set(__self__, "resource_pool_id", resource_pool_id)
|
|
42
42
|
|
|
43
|
-
@property
|
|
43
|
+
@_builtins.property
|
|
44
44
|
@pulumi.getter(name="datacenterId")
|
|
45
|
-
def datacenter_id(self) -> str:
|
|
45
|
+
def datacenter_id(self) -> _builtins.str:
|
|
46
46
|
return pulumi.get(self, "datacenter_id")
|
|
47
47
|
|
|
48
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
49
49
|
@pulumi.getter
|
|
50
|
-
def id(self) -> str:
|
|
50
|
+
def id(self) -> _builtins.str:
|
|
51
51
|
"""
|
|
52
52
|
The provider-assigned unique ID for this managed resource.
|
|
53
53
|
"""
|
|
54
54
|
return pulumi.get(self, "id")
|
|
55
55
|
|
|
56
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
57
57
|
@pulumi.getter
|
|
58
|
-
def name(self) -> Optional[str]:
|
|
58
|
+
def name(self) -> Optional[_builtins.str]:
|
|
59
59
|
return pulumi.get(self, "name")
|
|
60
60
|
|
|
61
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
62
62
|
@pulumi.getter(name="resourcePoolId")
|
|
63
|
-
def resource_pool_id(self) -> str:
|
|
63
|
+
def resource_pool_id(self) -> _builtins.str:
|
|
64
64
|
"""
|
|
65
65
|
The managed object ID of the ESXi
|
|
66
66
|
host's root resource pool.
|
|
@@ -80,8 +80,8 @@ class AwaitableGetHostResult(GetHostResult):
|
|
|
80
80
|
resource_pool_id=self.resource_pool_id)
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
def get_host(datacenter_id: Optional[str] = None,
|
|
84
|
-
name: Optional[str] = None,
|
|
83
|
+
def get_host(datacenter_id: Optional[_builtins.str] = None,
|
|
84
|
+
name: Optional[_builtins.str] = None,
|
|
85
85
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostResult:
|
|
86
86
|
"""
|
|
87
87
|
The `Host` data source can be used to discover the ID of an ESXi host.
|
|
@@ -100,9 +100,9 @@ def get_host(datacenter_id: Optional[str] = None,
|
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
:param str datacenter_id: The managed object reference ID
|
|
103
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
104
104
|
of a vSphere datacenter object.
|
|
105
|
-
:param str name: The name of the ESXI host. This can be a name or path.
|
|
105
|
+
:param _builtins.str name: The name of the ESXI host. This can be a name or path.
|
|
106
106
|
Can be omitted if there is only one host in your inventory.
|
|
107
107
|
|
|
108
108
|
> **NOTE:** When used against an ESXi host directly, this data source _always_
|
|
@@ -119,8 +119,8 @@ def get_host(datacenter_id: Optional[str] = None,
|
|
|
119
119
|
id=pulumi.get(__ret__, 'id'),
|
|
120
120
|
name=pulumi.get(__ret__, 'name'),
|
|
121
121
|
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,
|
|
122
|
+
def get_host_output(datacenter_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
123
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
124
124
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHostResult]:
|
|
125
125
|
"""
|
|
126
126
|
The `Host` data source can be used to discover the ID of an ESXi host.
|
|
@@ -139,9 +139,9 @@ def get_host_output(datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
|
139
139
|
```
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
:param str datacenter_id: The managed object reference ID
|
|
142
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
143
143
|
of a vSphere datacenter object.
|
|
144
|
-
:param str name: The name of the ESXI host. This can be a name or path.
|
|
144
|
+
:param _builtins.str name: The name of the ESXI host. This can be a name or path.
|
|
145
145
|
Can be omitted if there is only one host in your inventory.
|
|
146
146
|
|
|
147
147
|
> **NOTE:** When used against an ESXi host directly, this data source _always_
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -34,17 +34,17 @@ class GetHostBaseImagesResult:
|
|
|
34
34
|
raise TypeError("Expected argument 'versions' to be a list")
|
|
35
35
|
pulumi.set(__self__, "versions", versions)
|
|
36
36
|
|
|
37
|
-
@property
|
|
37
|
+
@_builtins.property
|
|
38
38
|
@pulumi.getter
|
|
39
|
-
def id(self) -> str:
|
|
39
|
+
def id(self) -> _builtins.str:
|
|
40
40
|
"""
|
|
41
41
|
The provider-assigned unique ID for this managed resource.
|
|
42
42
|
"""
|
|
43
43
|
return pulumi.get(self, "id")
|
|
44
44
|
|
|
45
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
46
46
|
@pulumi.getter
|
|
47
|
-
def versions(self) -> Sequence[str]:
|
|
47
|
+
def versions(self) -> Sequence[_builtins.str]:
|
|
48
48
|
"""
|
|
49
49
|
The ESXi version identifier for the image
|
|
50
50
|
"""
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -46,40 +46,40 @@ class GetHostPciDeviceResult:
|
|
|
46
46
|
raise TypeError("Expected argument 'vendor_id' to be a str")
|
|
47
47
|
pulumi.set(__self__, "vendor_id", vendor_id)
|
|
48
48
|
|
|
49
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
50
50
|
@pulumi.getter(name="classId")
|
|
51
|
-
def class_id(self) -> Optional[str]:
|
|
51
|
+
def class_id(self) -> Optional[_builtins.str]:
|
|
52
52
|
return pulumi.get(self, "class_id")
|
|
53
53
|
|
|
54
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
55
55
|
@pulumi.getter(name="hostId")
|
|
56
|
-
def host_id(self) -> str:
|
|
56
|
+
def host_id(self) -> _builtins.str:
|
|
57
57
|
return pulumi.get(self, "host_id")
|
|
58
58
|
|
|
59
|
-
@property
|
|
59
|
+
@_builtins.property
|
|
60
60
|
@pulumi.getter
|
|
61
|
-
def id(self) -> str:
|
|
61
|
+
def id(self) -> _builtins.str:
|
|
62
62
|
"""
|
|
63
63
|
The provider-assigned unique ID for this managed resource.
|
|
64
64
|
"""
|
|
65
65
|
return pulumi.get(self, "id")
|
|
66
66
|
|
|
67
|
-
@property
|
|
67
|
+
@_builtins.property
|
|
68
68
|
@pulumi.getter
|
|
69
|
-
def name(self) -> str:
|
|
69
|
+
def name(self) -> _builtins.str:
|
|
70
70
|
"""
|
|
71
71
|
The name of the PCI device.
|
|
72
72
|
"""
|
|
73
73
|
return pulumi.get(self, "name")
|
|
74
74
|
|
|
75
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
76
76
|
@pulumi.getter(name="nameRegex")
|
|
77
|
-
def name_regex(self) -> Optional[str]:
|
|
77
|
+
def name_regex(self) -> Optional[_builtins.str]:
|
|
78
78
|
return pulumi.get(self, "name_regex")
|
|
79
79
|
|
|
80
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
81
81
|
@pulumi.getter(name="vendorId")
|
|
82
|
-
def vendor_id(self) -> Optional[str]:
|
|
82
|
+
def vendor_id(self) -> Optional[_builtins.str]:
|
|
83
83
|
return pulumi.get(self, "vendor_id")
|
|
84
84
|
|
|
85
85
|
|
|
@@ -97,10 +97,10 @@ class AwaitableGetHostPciDeviceResult(GetHostPciDeviceResult):
|
|
|
97
97
|
vendor_id=self.vendor_id)
|
|
98
98
|
|
|
99
99
|
|
|
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,
|
|
100
|
+
def get_host_pci_device(class_id: Optional[_builtins.str] = None,
|
|
101
|
+
host_id: Optional[_builtins.str] = None,
|
|
102
|
+
name_regex: Optional[_builtins.str] = None,
|
|
103
|
+
vendor_id: Optional[_builtins.str] = None,
|
|
104
104
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostPciDeviceResult:
|
|
105
105
|
"""
|
|
106
106
|
The `get_host_pci_device` data source can be used to discover the device ID
|
|
@@ -137,16 +137,16 @@ def get_host_pci_device(class_id: Optional[str] = None,
|
|
|
137
137
|
```
|
|
138
138
|
|
|
139
139
|
|
|
140
|
-
:param str class_id: The hexadecimal PCI device class ID
|
|
140
|
+
:param _builtins.str class_id: The hexadecimal PCI device class ID
|
|
141
141
|
|
|
142
142
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
143
143
|
|
|
144
144
|
> **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
|
|
145
|
+
:param _builtins.str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
146
146
|
a host.
|
|
147
|
-
:param str name_regex: A regular expression that will be used to match the
|
|
147
|
+
:param _builtins.str name_regex: A regular expression that will be used to match the
|
|
148
148
|
host PCI device name.
|
|
149
|
-
:param str vendor_id: The hexadecimal PCI device vendor ID.
|
|
149
|
+
:param _builtins.str vendor_id: The hexadecimal PCI device vendor ID.
|
|
150
150
|
"""
|
|
151
151
|
__args__ = dict()
|
|
152
152
|
__args__['classId'] = class_id
|
|
@@ -163,10 +163,10 @@ def get_host_pci_device(class_id: Optional[str] = None,
|
|
|
163
163
|
name=pulumi.get(__ret__, 'name'),
|
|
164
164
|
name_regex=pulumi.get(__ret__, 'name_regex'),
|
|
165
165
|
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,
|
|
166
|
+
def get_host_pci_device_output(class_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
167
|
+
host_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
168
|
+
name_regex: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
169
|
+
vendor_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
170
170
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHostPciDeviceResult]:
|
|
171
171
|
"""
|
|
172
172
|
The `get_host_pci_device` data source can be used to discover the device ID
|
|
@@ -203,16 +203,16 @@ def get_host_pci_device_output(class_id: Optional[pulumi.Input[Optional[str]]] =
|
|
|
203
203
|
```
|
|
204
204
|
|
|
205
205
|
|
|
206
|
-
:param str class_id: The hexadecimal PCI device class ID
|
|
206
|
+
:param _builtins.str class_id: The hexadecimal PCI device class ID
|
|
207
207
|
|
|
208
208
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
209
209
|
|
|
210
210
|
> **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
|
|
211
|
+
:param _builtins.str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
212
212
|
a host.
|
|
213
|
-
:param str name_regex: A regular expression that will be used to match the
|
|
213
|
+
:param _builtins.str name_regex: A regular expression that will be used to match the
|
|
214
214
|
host PCI device name.
|
|
215
|
-
:param str vendor_id: The hexadecimal PCI device vendor ID.
|
|
215
|
+
:param _builtins.str vendor_id: The hexadecimal PCI device vendor ID.
|
|
216
216
|
"""
|
|
217
217
|
__args__ = dict()
|
|
218
218
|
__args__['classId'] = class_id
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -40,27 +40,27 @@ class GetHostThumbprintResult:
|
|
|
40
40
|
raise TypeError("Expected argument 'port' to be a str")
|
|
41
41
|
pulumi.set(__self__, "port", port)
|
|
42
42
|
|
|
43
|
-
@property
|
|
43
|
+
@_builtins.property
|
|
44
44
|
@pulumi.getter
|
|
45
|
-
def address(self) -> str:
|
|
45
|
+
def address(self) -> _builtins.str:
|
|
46
46
|
return pulumi.get(self, "address")
|
|
47
47
|
|
|
48
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
49
49
|
@pulumi.getter
|
|
50
|
-
def id(self) -> str:
|
|
50
|
+
def id(self) -> _builtins.str:
|
|
51
51
|
"""
|
|
52
52
|
The provider-assigned unique ID for this managed resource.
|
|
53
53
|
"""
|
|
54
54
|
return pulumi.get(self, "id")
|
|
55
55
|
|
|
56
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
57
57
|
@pulumi.getter
|
|
58
|
-
def insecure(self) -> Optional[bool]:
|
|
58
|
+
def insecure(self) -> Optional[_builtins.bool]:
|
|
59
59
|
return pulumi.get(self, "insecure")
|
|
60
60
|
|
|
61
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
62
62
|
@pulumi.getter
|
|
63
|
-
def port(self) -> Optional[str]:
|
|
63
|
+
def port(self) -> Optional[_builtins.str]:
|
|
64
64
|
return pulumi.get(self, "port")
|
|
65
65
|
|
|
66
66
|
|
|
@@ -76,9 +76,9 @@ class AwaitableGetHostThumbprintResult(GetHostThumbprintResult):
|
|
|
76
76
|
port=self.port)
|
|
77
77
|
|
|
78
78
|
|
|
79
|
-
def get_host_thumbprint(address: Optional[str] = None,
|
|
80
|
-
insecure: Optional[bool] = None,
|
|
81
|
-
port: Optional[str] = None,
|
|
79
|
+
def get_host_thumbprint(address: Optional[_builtins.str] = None,
|
|
80
|
+
insecure: Optional[_builtins.bool] = None,
|
|
81
|
+
port: Optional[_builtins.str] = None,
|
|
82
82
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostThumbprintResult:
|
|
83
83
|
"""
|
|
84
84
|
The `vsphere_thumbprint` data source can be used to discover the host thumbprint
|
|
@@ -101,10 +101,10 @@ def get_host_thumbprint(address: Optional[str] = None,
|
|
|
101
101
|
```
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
:param str address: The address of the ESXi host to retrieve the thumbprint
|
|
104
|
+
:param _builtins.str address: The address of the ESXi host to retrieve the thumbprint
|
|
105
105
|
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
|
|
106
|
+
:param _builtins.bool insecure: Disables SSL certificate verification. Default: `false`
|
|
107
|
+
:param _builtins.str port: The port to use connecting to the ESXi host. Default: 443
|
|
108
108
|
"""
|
|
109
109
|
__args__ = dict()
|
|
110
110
|
__args__['address'] = address
|
|
@@ -118,9 +118,9 @@ def get_host_thumbprint(address: Optional[str] = None,
|
|
|
118
118
|
id=pulumi.get(__ret__, 'id'),
|
|
119
119
|
insecure=pulumi.get(__ret__, 'insecure'),
|
|
120
120
|
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,
|
|
121
|
+
def get_host_thumbprint_output(address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
122
|
+
insecure: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
123
|
+
port: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
124
124
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHostThumbprintResult]:
|
|
125
125
|
"""
|
|
126
126
|
The `vsphere_thumbprint` data source can be used to discover the host thumbprint
|
|
@@ -143,10 +143,10 @@ def get_host_thumbprint_output(address: Optional[pulumi.Input[str]] = None,
|
|
|
143
143
|
```
|
|
144
144
|
|
|
145
145
|
|
|
146
|
-
:param str address: The address of the ESXi host to retrieve the thumbprint
|
|
146
|
+
:param _builtins.str address: The address of the ESXi host to retrieve the thumbprint
|
|
147
147
|
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
|
|
148
|
+
:param _builtins.bool insecure: Disables SSL certificate verification. Default: `false`
|
|
149
|
+
:param _builtins.str port: The port to use connecting to the ESXi host. Default: 443
|
|
150
150
|
"""
|
|
151
151
|
__args__ = dict()
|
|
152
152
|
__args__['address'] = address
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -41,32 +41,32 @@ class GetHostVgpuProfileResult:
|
|
|
41
41
|
raise TypeError("Expected argument 'vgpu_profiles' to be a list")
|
|
42
42
|
pulumi.set(__self__, "vgpu_profiles", vgpu_profiles)
|
|
43
43
|
|
|
44
|
-
@property
|
|
44
|
+
@_builtins.property
|
|
45
45
|
@pulumi.getter(name="hostId")
|
|
46
|
-
def host_id(self) -> str:
|
|
46
|
+
def host_id(self) -> _builtins.str:
|
|
47
47
|
"""
|
|
48
48
|
The [managed objectID][docs-about-morefs] of the ESXi host.
|
|
49
49
|
"""
|
|
50
50
|
return pulumi.get(self, "host_id")
|
|
51
51
|
|
|
52
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
53
53
|
@pulumi.getter
|
|
54
|
-
def id(self) -> str:
|
|
54
|
+
def id(self) -> _builtins.str:
|
|
55
55
|
"""
|
|
56
56
|
The provider-assigned unique ID for this managed resource.
|
|
57
57
|
"""
|
|
58
58
|
return pulumi.get(self, "id")
|
|
59
59
|
|
|
60
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
61
61
|
@pulumi.getter(name="nameRegex")
|
|
62
|
-
def name_regex(self) -> Optional[str]:
|
|
62
|
+
def name_regex(self) -> Optional[_builtins.str]:
|
|
63
63
|
"""
|
|
64
64
|
(Optional) A regular expression that will be used to match the
|
|
65
65
|
host vGPU profile name.
|
|
66
66
|
"""
|
|
67
67
|
return pulumi.get(self, "name_regex")
|
|
68
68
|
|
|
69
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
70
70
|
@pulumi.getter(name="vgpuProfiles")
|
|
71
71
|
def vgpu_profiles(self) -> Sequence['outputs.GetHostVgpuProfileVgpuProfileResult']:
|
|
72
72
|
"""
|
|
@@ -88,8 +88,8 @@ class AwaitableGetHostVgpuProfileResult(GetHostVgpuProfileResult):
|
|
|
88
88
|
vgpu_profiles=self.vgpu_profiles)
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
def get_host_vgpu_profile(host_id: Optional[str] = None,
|
|
92
|
-
name_regex: Optional[str] = None,
|
|
91
|
+
def get_host_vgpu_profile(host_id: Optional[_builtins.str] = None,
|
|
92
|
+
name_regex: Optional[_builtins.str] = None,
|
|
93
93
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostVgpuProfileResult:
|
|
94
94
|
"""
|
|
95
95
|
The `get_host_vgpu_profile` data source can be used to discover the
|
|
@@ -123,9 +123,9 @@ def get_host_vgpu_profile(host_id: Optional[str] = None,
|
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
|
|
126
|
-
:param str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
126
|
+
:param _builtins.str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
127
127
|
a host.
|
|
128
|
-
:param str name_regex: A regular expression that will be used to match the
|
|
128
|
+
:param _builtins.str name_regex: A regular expression that will be used to match the
|
|
129
129
|
host vGPU profile name.
|
|
130
130
|
|
|
131
131
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
@@ -141,8 +141,8 @@ def get_host_vgpu_profile(host_id: Optional[str] = None,
|
|
|
141
141
|
id=pulumi.get(__ret__, 'id'),
|
|
142
142
|
name_regex=pulumi.get(__ret__, 'name_regex'),
|
|
143
143
|
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,
|
|
144
|
+
def get_host_vgpu_profile_output(host_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
145
|
+
name_regex: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
146
146
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHostVgpuProfileResult]:
|
|
147
147
|
"""
|
|
148
148
|
The `get_host_vgpu_profile` data source can be used to discover the
|
|
@@ -176,9 +176,9 @@ def get_host_vgpu_profile_output(host_id: Optional[pulumi.Input[str]] = None,
|
|
|
176
176
|
```
|
|
177
177
|
|
|
178
178
|
|
|
179
|
-
:param str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
179
|
+
:param _builtins.str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
180
180
|
a host.
|
|
181
|
-
:param str name_regex: A regular expression that will be used to match the
|
|
181
|
+
:param _builtins.str name_regex: A regular expression that will be used to match the
|
|
182
182
|
host vGPU profile name.
|
|
183
183
|
|
|
184
184
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|