pulumi-vsphere 4.16.0a1753339697__py3-none-any.whl → 4.16.0a1753512455__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 -1
- pulumi_vsphere/_inputs.py +1171 -1172
- pulumi_vsphere/compute_cluster.py +1127 -1128
- pulumi_vsphere/compute_cluster_host_group.py +52 -53
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +86 -87
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +86 -87
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +103 -104
- pulumi_vsphere/compute_cluster_vm_group.py +52 -53
- pulumi_vsphere/compute_cluster_vm_host_rule.py +120 -121
- pulumi_vsphere/config/__init__.py +1 -1
- pulumi_vsphere/config/__init__.pyi +1 -2
- pulumi_vsphere/config/vars.py +14 -15
- pulumi_vsphere/content_library.py +58 -59
- pulumi_vsphere/content_library_item.py +103 -104
- pulumi_vsphere/custom_attribute.py +35 -36
- pulumi_vsphere/datacenter.py +78 -79
- pulumi_vsphere/datastore_cluster.py +426 -427
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +86 -87
- pulumi_vsphere/distributed_port_group.py +787 -788
- pulumi_vsphere/distributed_virtual_switch.py +1566 -1567
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +69 -70
- pulumi_vsphere/dpm_host_override.py +69 -70
- pulumi_vsphere/drs_vm_override.py +69 -70
- pulumi_vsphere/entity_permissions.py +38 -39
- pulumi_vsphere/file.py +120 -121
- pulumi_vsphere/folder.py +86 -87
- pulumi_vsphere/get_compute_cluster.py +17 -18
- pulumi_vsphere/get_compute_cluster_host_group.py +17 -18
- pulumi_vsphere/get_content_library.py +9 -10
- pulumi_vsphere/get_content_library_item.py +21 -22
- pulumi_vsphere/get_custom_attribute.py +11 -12
- pulumi_vsphere/get_datacenter.py +11 -12
- pulumi_vsphere/get_datastore.py +21 -22
- pulumi_vsphere/get_datastore_cluster.py +17 -18
- pulumi_vsphere/get_datastore_stats.py +21 -22
- pulumi_vsphere/get_distributed_virtual_switch.py +17 -18
- pulumi_vsphere/get_dynamic.py +21 -22
- pulumi_vsphere/get_folder.py +9 -10
- pulumi_vsphere/get_guest_os_customization.py +18 -19
- pulumi_vsphere/get_host.py +17 -18
- pulumi_vsphere/get_host_base_images.py +5 -6
- pulumi_vsphere/get_host_pci_device.py +29 -30
- pulumi_vsphere/get_host_thumbprint.py +21 -22
- pulumi_vsphere/get_host_vgpu_profile.py +16 -17
- pulumi_vsphere/get_license.py +19 -20
- pulumi_vsphere/get_network.py +42 -43
- pulumi_vsphere/get_ovf_vm_template.py +121 -122
- pulumi_vsphere/get_policy.py +9 -10
- pulumi_vsphere/get_resource_pool.py +21 -22
- pulumi_vsphere/get_role.py +25 -26
- pulumi_vsphere/get_tag.py +17 -18
- pulumi_vsphere/get_tag_category.py +15 -16
- pulumi_vsphere/get_vapp_container.py +15 -16
- pulumi_vsphere/get_virtual_machine.py +272 -273
- pulumi_vsphere/get_vmfs_disks.py +23 -24
- pulumi_vsphere/guest_os_customization.py +73 -74
- pulumi_vsphere/ha_vm_override.py +256 -257
- pulumi_vsphere/host.py +242 -243
- pulumi_vsphere/host_port_group.py +310 -311
- pulumi_vsphere/host_virtual_switch.py +358 -359
- pulumi_vsphere/license.py +71 -72
- pulumi_vsphere/nas_datastore.py +260 -261
- pulumi_vsphere/offline_software_depot.py +20 -21
- pulumi_vsphere/outputs.py +981 -982
- pulumi_vsphere/provider.py +120 -121
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +256 -257
- pulumi_vsphere/role.py +44 -45
- pulumi_vsphere/storage_drs_vm_override.py +86 -87
- pulumi_vsphere/supervisor.py +206 -207
- pulumi_vsphere/tag.py +52 -53
- pulumi_vsphere/tag_category.py +69 -70
- pulumi_vsphere/vapp_container.py +256 -257
- pulumi_vsphere/vapp_entity.py +171 -172
- pulumi_vsphere/virtual_disk.py +120 -121
- pulumi_vsphere/virtual_machine.py +1293 -1294
- pulumi_vsphere/virtual_machine_class.py +103 -104
- pulumi_vsphere/virtual_machine_snapshot.py +120 -121
- pulumi_vsphere/vm_storage_policy.py +38 -39
- pulumi_vsphere/vmfs_datastore.py +183 -184
- pulumi_vsphere/vnic.py +143 -144
- {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753512455.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.16.0a1753512455.dist-info/RECORD +87 -0
- pulumi_vsphere-4.16.0a1753339697.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753512455.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753512455.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -41,27 +40,27 @@ class GetDistributedVirtualSwitchResult:
|
|
|
41
40
|
raise TypeError("Expected argument 'uplinks' to be a list")
|
|
42
41
|
pulumi.set(__self__, "uplinks", uplinks)
|
|
43
42
|
|
|
44
|
-
@property
|
|
43
|
+
@_builtins.property
|
|
45
44
|
@pulumi.getter(name="datacenterId")
|
|
46
|
-
def datacenter_id(self) -> Optional[
|
|
45
|
+
def datacenter_id(self) -> Optional[_builtins.str]:
|
|
47
46
|
return pulumi.get(self, "datacenter_id")
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter
|
|
51
|
-
def id(self) ->
|
|
50
|
+
def id(self) -> _builtins.str:
|
|
52
51
|
"""
|
|
53
52
|
The provider-assigned unique ID for this managed resource.
|
|
54
53
|
"""
|
|
55
54
|
return pulumi.get(self, "id")
|
|
56
55
|
|
|
57
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
58
57
|
@pulumi.getter
|
|
59
|
-
def name(self) ->
|
|
58
|
+
def name(self) -> _builtins.str:
|
|
60
59
|
return pulumi.get(self, "name")
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter
|
|
64
|
-
def uplinks(self) -> Sequence[
|
|
63
|
+
def uplinks(self) -> Sequence[_builtins.str]:
|
|
65
64
|
"""
|
|
66
65
|
The list of the uplinks on this vSphere distributed switch, as per the
|
|
67
66
|
`uplinks` argument to the
|
|
@@ -83,8 +82,8 @@ class AwaitableGetDistributedVirtualSwitchResult(GetDistributedVirtualSwitchResu
|
|
|
83
82
|
uplinks=self.uplinks)
|
|
84
83
|
|
|
85
84
|
|
|
86
|
-
def get_distributed_virtual_switch(datacenter_id: Optional[
|
|
87
|
-
name: Optional[
|
|
85
|
+
def get_distributed_virtual_switch(datacenter_id: Optional[_builtins.str] = None,
|
|
86
|
+
name: Optional[_builtins.str] = None,
|
|
88
87
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDistributedVirtualSwitchResult:
|
|
89
88
|
"""
|
|
90
89
|
The `DistributedVirtualSwitch` data source can be used to discover
|
|
@@ -118,11 +117,11 @@ def get_distributed_virtual_switch(datacenter_id: Optional[builtins.str] = None,
|
|
|
118
117
|
```
|
|
119
118
|
|
|
120
119
|
|
|
121
|
-
:param
|
|
120
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
122
121
|
of the datacenter the VDS is located in. This can be omitted if the search
|
|
123
122
|
path used in `name` is an absolute path. For default datacenters, use the `id`
|
|
124
123
|
attribute from an empty `Datacenter` data source.
|
|
125
|
-
:param
|
|
124
|
+
:param _builtins.str name: The name of the VDS. This can be a name or path.
|
|
126
125
|
"""
|
|
127
126
|
__args__ = dict()
|
|
128
127
|
__args__['datacenterId'] = datacenter_id
|
|
@@ -135,8 +134,8 @@ def get_distributed_virtual_switch(datacenter_id: Optional[builtins.str] = None,
|
|
|
135
134
|
id=pulumi.get(__ret__, 'id'),
|
|
136
135
|
name=pulumi.get(__ret__, 'name'),
|
|
137
136
|
uplinks=pulumi.get(__ret__, 'uplinks'))
|
|
138
|
-
def get_distributed_virtual_switch_output(datacenter_id: Optional[pulumi.Input[Optional[
|
|
139
|
-
name: Optional[pulumi.Input[
|
|
137
|
+
def get_distributed_virtual_switch_output(datacenter_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
138
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
140
139
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDistributedVirtualSwitchResult]:
|
|
141
140
|
"""
|
|
142
141
|
The `DistributedVirtualSwitch` data source can be used to discover
|
|
@@ -170,11 +169,11 @@ def get_distributed_virtual_switch_output(datacenter_id: Optional[pulumi.Input[O
|
|
|
170
169
|
```
|
|
171
170
|
|
|
172
171
|
|
|
173
|
-
:param
|
|
172
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
174
173
|
of the datacenter the VDS is located in. This can be omitted if the search
|
|
175
174
|
path used in `name` is an absolute path. For default datacenters, use the `id`
|
|
176
175
|
attribute from an empty `Datacenter` data source.
|
|
177
|
-
:param
|
|
176
|
+
:param _builtins.str name: The name of the VDS. This can be a name or path.
|
|
178
177
|
"""
|
|
179
178
|
__args__ = dict()
|
|
180
179
|
__args__['datacenterId'] = datacenter_id
|
pulumi_vsphere/get_dynamic.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -41,27 +40,27 @@ class GetDynamicResult:
|
|
|
41
40
|
raise TypeError("Expected argument 'type' to be a str")
|
|
42
41
|
pulumi.set(__self__, "type", type)
|
|
43
42
|
|
|
44
|
-
@property
|
|
43
|
+
@_builtins.property
|
|
45
44
|
@pulumi.getter
|
|
46
|
-
def filters(self) -> Sequence[
|
|
45
|
+
def filters(self) -> Sequence[_builtins.str]:
|
|
47
46
|
return pulumi.get(self, "filters")
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter
|
|
51
|
-
def id(self) ->
|
|
50
|
+
def id(self) -> _builtins.str:
|
|
52
51
|
"""
|
|
53
52
|
The provider-assigned unique ID for this managed resource.
|
|
54
53
|
"""
|
|
55
54
|
return pulumi.get(self, "id")
|
|
56
55
|
|
|
57
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
58
57
|
@pulumi.getter(name="nameRegex")
|
|
59
|
-
def name_regex(self) -> Optional[
|
|
58
|
+
def name_regex(self) -> Optional[_builtins.str]:
|
|
60
59
|
return pulumi.get(self, "name_regex")
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter
|
|
64
|
-
def type(self) -> Optional[
|
|
63
|
+
def type(self) -> Optional[_builtins.str]:
|
|
65
64
|
return pulumi.get(self, "type")
|
|
66
65
|
|
|
67
66
|
|
|
@@ -77,9 +76,9 @@ class AwaitableGetDynamicResult(GetDynamicResult):
|
|
|
77
76
|
type=self.type)
|
|
78
77
|
|
|
79
78
|
|
|
80
|
-
def get_dynamic(filters: Optional[Sequence[
|
|
81
|
-
name_regex: Optional[
|
|
82
|
-
type: Optional[
|
|
79
|
+
def get_dynamic(filters: Optional[Sequence[_builtins.str]] = None,
|
|
80
|
+
name_regex: Optional[_builtins.str] = None,
|
|
81
|
+
type: Optional[_builtins.str] = None,
|
|
83
82
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDynamicResult:
|
|
84
83
|
"""
|
|
85
84
|
The `get_dynamic` data source can be used to get the
|
|
@@ -107,11 +106,11 @@ def get_dynamic(filters: Optional[Sequence[builtins.str]] = None,
|
|
|
107
106
|
```
|
|
108
107
|
|
|
109
108
|
|
|
110
|
-
:param Sequence[
|
|
109
|
+
:param Sequence[_builtins.str] filters: A list of tag IDs that must be present on an object to
|
|
111
110
|
be a match.
|
|
112
|
-
:param
|
|
111
|
+
:param _builtins.str name_regex: A regular expression that will be used to match the
|
|
113
112
|
object's name.
|
|
114
|
-
:param
|
|
113
|
+
:param _builtins.str type: The managed object type the returned object must match.
|
|
115
114
|
The managed object types can be found in the managed object type section
|
|
116
115
|
[here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
|
|
117
116
|
"""
|
|
@@ -127,9 +126,9 @@ def get_dynamic(filters: Optional[Sequence[builtins.str]] = None,
|
|
|
127
126
|
id=pulumi.get(__ret__, 'id'),
|
|
128
127
|
name_regex=pulumi.get(__ret__, 'name_regex'),
|
|
129
128
|
type=pulumi.get(__ret__, 'type'))
|
|
130
|
-
def get_dynamic_output(filters: Optional[pulumi.Input[Sequence[
|
|
131
|
-
name_regex: Optional[pulumi.Input[Optional[
|
|
132
|
-
type: Optional[pulumi.Input[Optional[
|
|
129
|
+
def get_dynamic_output(filters: Optional[pulumi.Input[Sequence[_builtins.str]]] = None,
|
|
130
|
+
name_regex: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
131
|
+
type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
133
132
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDynamicResult]:
|
|
134
133
|
"""
|
|
135
134
|
The `get_dynamic` data source can be used to get the
|
|
@@ -157,11 +156,11 @@ def get_dynamic_output(filters: Optional[pulumi.Input[Sequence[builtins.str]]] =
|
|
|
157
156
|
```
|
|
158
157
|
|
|
159
158
|
|
|
160
|
-
:param Sequence[
|
|
159
|
+
:param Sequence[_builtins.str] filters: A list of tag IDs that must be present on an object to
|
|
161
160
|
be a match.
|
|
162
|
-
:param
|
|
161
|
+
:param _builtins.str name_regex: A regular expression that will be used to match the
|
|
163
162
|
object's name.
|
|
164
|
-
:param
|
|
163
|
+
:param _builtins.str type: The managed object type the returned object must match.
|
|
165
164
|
The managed object types can be found in the managed object type section
|
|
166
165
|
[here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
|
|
167
166
|
"""
|
pulumi_vsphere/get_folder.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -35,17 +34,17 @@ class GetFolderResult:
|
|
|
35
34
|
raise TypeError("Expected argument 'path' to be a str")
|
|
36
35
|
pulumi.set(__self__, "path", path)
|
|
37
36
|
|
|
38
|
-
@property
|
|
37
|
+
@_builtins.property
|
|
39
38
|
@pulumi.getter
|
|
40
|
-
def id(self) ->
|
|
39
|
+
def id(self) -> _builtins.str:
|
|
41
40
|
"""
|
|
42
41
|
The provider-assigned unique ID for this managed resource.
|
|
43
42
|
"""
|
|
44
43
|
return pulumi.get(self, "id")
|
|
45
44
|
|
|
46
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
47
46
|
@pulumi.getter
|
|
48
|
-
def path(self) ->
|
|
47
|
+
def path(self) -> _builtins.str:
|
|
49
48
|
return pulumi.get(self, "path")
|
|
50
49
|
|
|
51
50
|
|
|
@@ -59,7 +58,7 @@ class AwaitableGetFolderResult(GetFolderResult):
|
|
|
59
58
|
path=self.path)
|
|
60
59
|
|
|
61
60
|
|
|
62
|
-
def get_folder(path: Optional[
|
|
61
|
+
def get_folder(path: Optional[_builtins.str] = None,
|
|
63
62
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFolderResult:
|
|
64
63
|
"""
|
|
65
64
|
The `Folder` data source can be used to get the general attributes of a
|
|
@@ -133,7 +132,7 @@ def get_folder(path: Optional[builtins.str] = None,
|
|
|
133
132
|
```
|
|
134
133
|
|
|
135
134
|
|
|
136
|
-
:param
|
|
135
|
+
:param _builtins.str path: The absolute path of the folder. For example, given a
|
|
137
136
|
default datacenter of `default-dc`, a folder of type `vm`, and a folder name
|
|
138
137
|
of `example-vm-folder`, the resulting `path` would be
|
|
139
138
|
`/default-dc/vm/example-vm-folder`.
|
|
@@ -154,7 +153,7 @@ def get_folder(path: Optional[builtins.str] = None,
|
|
|
154
153
|
return AwaitableGetFolderResult(
|
|
155
154
|
id=pulumi.get(__ret__, 'id'),
|
|
156
155
|
path=pulumi.get(__ret__, 'path'))
|
|
157
|
-
def get_folder_output(path: Optional[pulumi.Input[
|
|
156
|
+
def get_folder_output(path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
158
157
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFolderResult]:
|
|
159
158
|
"""
|
|
160
159
|
The `Folder` data source can be used to get the general attributes of a
|
|
@@ -228,7 +227,7 @@ def get_folder_output(path: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
228
227
|
```
|
|
229
228
|
|
|
230
229
|
|
|
231
|
-
:param
|
|
230
|
+
:param _builtins.str path: The absolute path of the folder. For example, given a
|
|
232
231
|
default datacenter of `default-dc`, a folder of type `vm`, and a folder name
|
|
233
232
|
of `example-vm-folder`, the resulting `path` would be
|
|
234
233
|
`/default-dc/vm/example-vm-folder`.
|
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -51,46 +50,46 @@ class GetGuestOsCustomizationResult:
|
|
|
51
50
|
raise TypeError("Expected argument 'type' to be a str")
|
|
52
51
|
pulumi.set(__self__, "type", type)
|
|
53
52
|
|
|
54
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
55
54
|
@pulumi.getter(name="changeVersion")
|
|
56
|
-
def change_version(self) ->
|
|
55
|
+
def change_version(self) -> _builtins.str:
|
|
57
56
|
"""
|
|
58
57
|
The number of last changed version to the customization
|
|
59
58
|
specification.
|
|
60
59
|
"""
|
|
61
60
|
return pulumi.get(self, "change_version")
|
|
62
61
|
|
|
63
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
64
63
|
@pulumi.getter
|
|
65
|
-
def description(self) ->
|
|
64
|
+
def description(self) -> _builtins.str:
|
|
66
65
|
"""
|
|
67
66
|
The description for the customization specification.
|
|
68
67
|
"""
|
|
69
68
|
return pulumi.get(self, "description")
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter
|
|
73
|
-
def id(self) ->
|
|
72
|
+
def id(self) -> _builtins.str:
|
|
74
73
|
"""
|
|
75
74
|
The provider-assigned unique ID for this managed resource.
|
|
76
75
|
"""
|
|
77
76
|
return pulumi.get(self, "id")
|
|
78
77
|
|
|
79
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
80
79
|
@pulumi.getter(name="lastUpdateTime")
|
|
81
|
-
def last_update_time(self) ->
|
|
80
|
+
def last_update_time(self) -> _builtins.str:
|
|
82
81
|
"""
|
|
83
82
|
The time of last modification to the customization
|
|
84
83
|
specification.
|
|
85
84
|
"""
|
|
86
85
|
return pulumi.get(self, "last_update_time")
|
|
87
86
|
|
|
88
|
-
@property
|
|
87
|
+
@_builtins.property
|
|
89
88
|
@pulumi.getter
|
|
90
|
-
def name(self) ->
|
|
89
|
+
def name(self) -> _builtins.str:
|
|
91
90
|
return pulumi.get(self, "name")
|
|
92
91
|
|
|
93
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
94
93
|
@pulumi.getter
|
|
95
94
|
def specs(self) -> Sequence['outputs.GetGuestOsCustomizationSpecResult']:
|
|
96
95
|
"""
|
|
@@ -100,9 +99,9 @@ class GetGuestOsCustomizationResult:
|
|
|
100
99
|
"""
|
|
101
100
|
return pulumi.get(self, "specs")
|
|
102
101
|
|
|
103
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
104
103
|
@pulumi.getter
|
|
105
|
-
def type(self) ->
|
|
104
|
+
def type(self) -> _builtins.str:
|
|
106
105
|
"""
|
|
107
106
|
The type of customization specification: One among: Windows, Linux.
|
|
108
107
|
"""
|
|
@@ -124,14 +123,14 @@ class AwaitableGetGuestOsCustomizationResult(GetGuestOsCustomizationResult):
|
|
|
124
123
|
type=self.type)
|
|
125
124
|
|
|
126
125
|
|
|
127
|
-
def get_guest_os_customization(name: Optional[
|
|
126
|
+
def get_guest_os_customization(name: Optional[_builtins.str] = None,
|
|
128
127
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGuestOsCustomizationResult:
|
|
129
128
|
"""
|
|
130
129
|
The `GuestOsCustomization` data source can be used to discover the
|
|
131
130
|
details about a customization specification for a guest operating system.
|
|
132
131
|
|
|
133
132
|
|
|
134
|
-
:param
|
|
133
|
+
:param _builtins.str name: The name of the customization specification is the unique
|
|
135
134
|
identifier per vCenter Server instance.
|
|
136
135
|
"""
|
|
137
136
|
__args__ = dict()
|
|
@@ -147,14 +146,14 @@ def get_guest_os_customization(name: Optional[builtins.str] = None,
|
|
|
147
146
|
name=pulumi.get(__ret__, 'name'),
|
|
148
147
|
specs=pulumi.get(__ret__, 'specs'),
|
|
149
148
|
type=pulumi.get(__ret__, 'type'))
|
|
150
|
-
def get_guest_os_customization_output(name: Optional[pulumi.Input[
|
|
149
|
+
def get_guest_os_customization_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
151
150
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGuestOsCustomizationResult]:
|
|
152
151
|
"""
|
|
153
152
|
The `GuestOsCustomization` data source can be used to discover the
|
|
154
153
|
details about a customization specification for a guest operating system.
|
|
155
154
|
|
|
156
155
|
|
|
157
|
-
:param
|
|
156
|
+
:param _builtins.str name: The name of the customization specification is the unique
|
|
158
157
|
identifier per vCenter Server instance.
|
|
159
158
|
"""
|
|
160
159
|
__args__ = dict()
|
pulumi_vsphere/get_host.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -41,27 +40,27 @@ class GetHostResult:
|
|
|
41
40
|
raise TypeError("Expected argument 'resource_pool_id' to be a str")
|
|
42
41
|
pulumi.set(__self__, "resource_pool_id", resource_pool_id)
|
|
43
42
|
|
|
44
|
-
@property
|
|
43
|
+
@_builtins.property
|
|
45
44
|
@pulumi.getter(name="datacenterId")
|
|
46
|
-
def datacenter_id(self) ->
|
|
45
|
+
def datacenter_id(self) -> _builtins.str:
|
|
47
46
|
return pulumi.get(self, "datacenter_id")
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter
|
|
51
|
-
def id(self) ->
|
|
50
|
+
def id(self) -> _builtins.str:
|
|
52
51
|
"""
|
|
53
52
|
The provider-assigned unique ID for this managed resource.
|
|
54
53
|
"""
|
|
55
54
|
return pulumi.get(self, "id")
|
|
56
55
|
|
|
57
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
58
57
|
@pulumi.getter
|
|
59
|
-
def name(self) -> Optional[
|
|
58
|
+
def name(self) -> Optional[_builtins.str]:
|
|
60
59
|
return pulumi.get(self, "name")
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter(name="resourcePoolId")
|
|
64
|
-
def resource_pool_id(self) ->
|
|
63
|
+
def resource_pool_id(self) -> _builtins.str:
|
|
65
64
|
"""
|
|
66
65
|
The managed object ID of the ESXi
|
|
67
66
|
host's root resource pool.
|
|
@@ -81,8 +80,8 @@ class AwaitableGetHostResult(GetHostResult):
|
|
|
81
80
|
resource_pool_id=self.resource_pool_id)
|
|
82
81
|
|
|
83
82
|
|
|
84
|
-
def get_host(datacenter_id: Optional[
|
|
85
|
-
name: Optional[
|
|
83
|
+
def get_host(datacenter_id: Optional[_builtins.str] = None,
|
|
84
|
+
name: Optional[_builtins.str] = None,
|
|
86
85
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostResult:
|
|
87
86
|
"""
|
|
88
87
|
The `Host` data source can be used to discover the ID of an ESXi host.
|
|
@@ -101,9 +100,9 @@ def get_host(datacenter_id: Optional[builtins.str] = None,
|
|
|
101
100
|
```
|
|
102
101
|
|
|
103
102
|
|
|
104
|
-
:param
|
|
103
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
105
104
|
of a vSphere datacenter object.
|
|
106
|
-
:param
|
|
105
|
+
:param _builtins.str name: The name of the ESXI host. This can be a name or path.
|
|
107
106
|
Can be omitted if there is only one host in your inventory.
|
|
108
107
|
|
|
109
108
|
> **NOTE:** When used against an ESXi host directly, this data source _always_
|
|
@@ -120,8 +119,8 @@ def get_host(datacenter_id: Optional[builtins.str] = None,
|
|
|
120
119
|
id=pulumi.get(__ret__, 'id'),
|
|
121
120
|
name=pulumi.get(__ret__, 'name'),
|
|
122
121
|
resource_pool_id=pulumi.get(__ret__, 'resource_pool_id'))
|
|
123
|
-
def get_host_output(datacenter_id: Optional[pulumi.Input[
|
|
124
|
-
name: Optional[pulumi.Input[Optional[
|
|
122
|
+
def get_host_output(datacenter_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
123
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
125
124
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHostResult]:
|
|
126
125
|
"""
|
|
127
126
|
The `Host` data source can be used to discover the ID of an ESXi host.
|
|
@@ -140,9 +139,9 @@ def get_host_output(datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
140
139
|
```
|
|
141
140
|
|
|
142
141
|
|
|
143
|
-
:param
|
|
142
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
144
143
|
of a vSphere datacenter object.
|
|
145
|
-
:param
|
|
144
|
+
:param _builtins.str name: The name of the ESXI host. This can be a name or path.
|
|
146
145
|
Can be omitted if there is only one host in your inventory.
|
|
147
146
|
|
|
148
147
|
> **NOTE:** When used against an ESXi host directly, this data source _always_
|
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -35,17 +34,17 @@ class GetHostBaseImagesResult:
|
|
|
35
34
|
raise TypeError("Expected argument 'versions' to be a list")
|
|
36
35
|
pulumi.set(__self__, "versions", versions)
|
|
37
36
|
|
|
38
|
-
@property
|
|
37
|
+
@_builtins.property
|
|
39
38
|
@pulumi.getter
|
|
40
|
-
def id(self) ->
|
|
39
|
+
def id(self) -> _builtins.str:
|
|
41
40
|
"""
|
|
42
41
|
The provider-assigned unique ID for this managed resource.
|
|
43
42
|
"""
|
|
44
43
|
return pulumi.get(self, "id")
|
|
45
44
|
|
|
46
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
47
46
|
@pulumi.getter
|
|
48
|
-
def versions(self) -> Sequence[
|
|
47
|
+
def versions(self) -> Sequence[_builtins.str]:
|
|
49
48
|
"""
|
|
50
49
|
The ESXi version identifier for the image
|
|
51
50
|
"""
|
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -47,40 +46,40 @@ class GetHostPciDeviceResult:
|
|
|
47
46
|
raise TypeError("Expected argument 'vendor_id' to be a str")
|
|
48
47
|
pulumi.set(__self__, "vendor_id", vendor_id)
|
|
49
48
|
|
|
50
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
51
50
|
@pulumi.getter(name="classId")
|
|
52
|
-
def class_id(self) -> Optional[
|
|
51
|
+
def class_id(self) -> Optional[_builtins.str]:
|
|
53
52
|
return pulumi.get(self, "class_id")
|
|
54
53
|
|
|
55
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
56
55
|
@pulumi.getter(name="hostId")
|
|
57
|
-
def host_id(self) ->
|
|
56
|
+
def host_id(self) -> _builtins.str:
|
|
58
57
|
return pulumi.get(self, "host_id")
|
|
59
58
|
|
|
60
|
-
@property
|
|
59
|
+
@_builtins.property
|
|
61
60
|
@pulumi.getter
|
|
62
|
-
def id(self) ->
|
|
61
|
+
def id(self) -> _builtins.str:
|
|
63
62
|
"""
|
|
64
63
|
The provider-assigned unique ID for this managed resource.
|
|
65
64
|
"""
|
|
66
65
|
return pulumi.get(self, "id")
|
|
67
66
|
|
|
68
|
-
@property
|
|
67
|
+
@_builtins.property
|
|
69
68
|
@pulumi.getter
|
|
70
|
-
def name(self) ->
|
|
69
|
+
def name(self) -> _builtins.str:
|
|
71
70
|
"""
|
|
72
71
|
The name of the PCI device.
|
|
73
72
|
"""
|
|
74
73
|
return pulumi.get(self, "name")
|
|
75
74
|
|
|
76
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
77
76
|
@pulumi.getter(name="nameRegex")
|
|
78
|
-
def name_regex(self) -> Optional[
|
|
77
|
+
def name_regex(self) -> Optional[_builtins.str]:
|
|
79
78
|
return pulumi.get(self, "name_regex")
|
|
80
79
|
|
|
81
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
82
81
|
@pulumi.getter(name="vendorId")
|
|
83
|
-
def vendor_id(self) -> Optional[
|
|
82
|
+
def vendor_id(self) -> Optional[_builtins.str]:
|
|
84
83
|
return pulumi.get(self, "vendor_id")
|
|
85
84
|
|
|
86
85
|
|
|
@@ -98,10 +97,10 @@ class AwaitableGetHostPciDeviceResult(GetHostPciDeviceResult):
|
|
|
98
97
|
vendor_id=self.vendor_id)
|
|
99
98
|
|
|
100
99
|
|
|
101
|
-
def get_host_pci_device(class_id: Optional[
|
|
102
|
-
host_id: Optional[
|
|
103
|
-
name_regex: Optional[
|
|
104
|
-
vendor_id: Optional[
|
|
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,
|
|
105
104
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostPciDeviceResult:
|
|
106
105
|
"""
|
|
107
106
|
The `get_host_pci_device` data source can be used to discover the device ID
|
|
@@ -138,16 +137,16 @@ def get_host_pci_device(class_id: Optional[builtins.str] = None,
|
|
|
138
137
|
```
|
|
139
138
|
|
|
140
139
|
|
|
141
|
-
:param
|
|
140
|
+
:param _builtins.str class_id: The hexadecimal PCI device class ID
|
|
142
141
|
|
|
143
142
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
144
143
|
|
|
145
144
|
> **NOTE:** `name_regex`, `vendor_id`, and `class_id` can all be used together.
|
|
146
|
-
:param
|
|
145
|
+
:param _builtins.str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
147
146
|
a host.
|
|
148
|
-
:param
|
|
147
|
+
:param _builtins.str name_regex: A regular expression that will be used to match the
|
|
149
148
|
host PCI device name.
|
|
150
|
-
:param
|
|
149
|
+
:param _builtins.str vendor_id: The hexadecimal PCI device vendor ID.
|
|
151
150
|
"""
|
|
152
151
|
__args__ = dict()
|
|
153
152
|
__args__['classId'] = class_id
|
|
@@ -164,10 +163,10 @@ def get_host_pci_device(class_id: Optional[builtins.str] = None,
|
|
|
164
163
|
name=pulumi.get(__ret__, 'name'),
|
|
165
164
|
name_regex=pulumi.get(__ret__, 'name_regex'),
|
|
166
165
|
vendor_id=pulumi.get(__ret__, 'vendor_id'))
|
|
167
|
-
def get_host_pci_device_output(class_id: Optional[pulumi.Input[Optional[
|
|
168
|
-
host_id: Optional[pulumi.Input[
|
|
169
|
-
name_regex: Optional[pulumi.Input[Optional[
|
|
170
|
-
vendor_id: Optional[pulumi.Input[Optional[
|
|
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,
|
|
171
170
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHostPciDeviceResult]:
|
|
172
171
|
"""
|
|
173
172
|
The `get_host_pci_device` data source can be used to discover the device ID
|
|
@@ -204,16 +203,16 @@ def get_host_pci_device_output(class_id: Optional[pulumi.Input[Optional[builtins
|
|
|
204
203
|
```
|
|
205
204
|
|
|
206
205
|
|
|
207
|
-
:param
|
|
206
|
+
:param _builtins.str class_id: The hexadecimal PCI device class ID
|
|
208
207
|
|
|
209
208
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
210
209
|
|
|
211
210
|
> **NOTE:** `name_regex`, `vendor_id`, and `class_id` can all be used together.
|
|
212
|
-
:param
|
|
211
|
+
:param _builtins.str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
213
212
|
a host.
|
|
214
|
-
:param
|
|
213
|
+
:param _builtins.str name_regex: A regular expression that will be used to match the
|
|
215
214
|
host PCI device name.
|
|
216
|
-
:param
|
|
215
|
+
:param _builtins.str vendor_id: The hexadecimal PCI device vendor ID.
|
|
217
216
|
"""
|
|
218
217
|
__args__ = dict()
|
|
219
218
|
__args__['classId'] = class_id
|