pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1745952392__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 +921 -917
- pulumi_vsphere/compute_cluster_host_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +88 -84
- pulumi_vsphere/compute_cluster_vm_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +102 -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 +46 -42
- pulumi_vsphere/content_library_item.py +88 -84
- pulumi_vsphere/custom_attribute.py +32 -28
- pulumi_vsphere/datacenter.py +67 -63
- pulumi_vsphere/datastore_cluster.py +354 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/distributed_port_group.py +648 -644
- pulumi_vsphere/distributed_virtual_switch.py +1285 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +60 -56
- pulumi_vsphere/dpm_host_override.py +60 -56
- pulumi_vsphere/drs_vm_override.py +60 -56
- pulumi_vsphere/entity_permissions.py +32 -28
- pulumi_vsphere/file.py +98 -94
- pulumi_vsphere/folder.py +74 -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 +60 -56
- pulumi_vsphere/ha_vm_override.py +214 -210
- pulumi_vsphere/host.py +200 -196
- pulumi_vsphere/host_port_group.py +256 -252
- pulumi_vsphere/host_virtual_switch.py +298 -294
- pulumi_vsphere/license.py +60 -56
- pulumi_vsphere/nas_datastore.py +214 -210
- pulumi_vsphere/offline_software_depot.py +18 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +101 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +214 -210
- pulumi_vsphere/role.py +39 -35
- pulumi_vsphere/storage_drs_vm_override.py +74 -70
- pulumi_vsphere/supervisor.py +158 -154
- pulumi_vsphere/tag.py +46 -42
- pulumi_vsphere/tag_category.py +60 -56
- pulumi_vsphere/vapp_container.py +214 -210
- pulumi_vsphere/vapp_entity.py +144 -140
- pulumi_vsphere/virtual_disk.py +102 -98
- pulumi_vsphere/virtual_machine.py +1043 -1039
- pulumi_vsphere/virtual_machine_class.py +88 -84
- pulumi_vsphere/virtual_machine_snapshot.py +102 -98
- pulumi_vsphere/vm_storage_policy.py +32 -28
- pulumi_vsphere/vmfs_datastore.py +151 -147
- pulumi_vsphere/vnic.py +116 -112
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.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.0a1745952392.dist-info}/top_level.txt +0 -0
pulumi_vsphere/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
|
|
@@ -21,37 +22,37 @@ __all__ = ['HostArgs', 'Host']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class HostArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
hostname: pulumi.Input[str],
|
|
25
|
-
password: pulumi.Input[str],
|
|
26
|
-
username: pulumi.Input[str],
|
|
27
|
-
cluster: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
cluster_managed: Optional[pulumi.Input[bool]] = None,
|
|
29
|
-
connected: Optional[pulumi.Input[bool]] = None,
|
|
30
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
31
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
force: Optional[pulumi.Input[bool]] = None,
|
|
33
|
-
license: Optional[pulumi.Input[str]] = None,
|
|
34
|
-
lockdown: Optional[pulumi.Input[str]] = None,
|
|
35
|
-
maintenance: Optional[pulumi.Input[bool]] = None,
|
|
25
|
+
hostname: pulumi.Input[builtins.str],
|
|
26
|
+
password: pulumi.Input[builtins.str],
|
|
27
|
+
username: pulumi.Input[builtins.str],
|
|
28
|
+
cluster: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
|
+
cluster_managed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
30
|
+
connected: Optional[pulumi.Input[builtins.bool]] = None,
|
|
31
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
32
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
|
+
force: Optional[pulumi.Input[builtins.bool]] = None,
|
|
34
|
+
license: Optional[pulumi.Input[builtins.str]] = None,
|
|
35
|
+
lockdown: Optional[pulumi.Input[builtins.str]] = None,
|
|
36
|
+
maintenance: Optional[pulumi.Input[builtins.bool]] = None,
|
|
36
37
|
services: Optional[pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]]] = None,
|
|
37
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
38
|
-
thumbprint: Optional[pulumi.Input[str]] = None):
|
|
38
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
39
|
+
thumbprint: Optional[pulumi.Input[builtins.str]] = None):
|
|
39
40
|
"""
|
|
40
41
|
The set of arguments for constructing a Host resource.
|
|
41
|
-
:param pulumi.Input[str] hostname: FQDN or IP address of the host to be added.
|
|
42
|
-
:param pulumi.Input[str] password: Password that will be used by vSphere to authenticate
|
|
42
|
+
:param pulumi.Input[builtins.str] hostname: FQDN or IP address of the host to be added.
|
|
43
|
+
:param pulumi.Input[builtins.str] password: Password that will be used by vSphere to authenticate
|
|
43
44
|
to the host.
|
|
44
|
-
:param pulumi.Input[str] username: Username that will be used by vSphere to authenticate
|
|
45
|
+
:param pulumi.Input[builtins.str] username: Username that will be used by vSphere to authenticate
|
|
45
46
|
to the host.
|
|
46
|
-
:param pulumi.Input[str] cluster: The ID of the Compute Cluster this host should
|
|
47
|
+
:param pulumi.Input[builtins.str] cluster: The ID of the Compute Cluster this host should
|
|
47
48
|
be added to. This should not be set if `datacenter` is set. Conflicts with:
|
|
48
49
|
`cluster_managed`.
|
|
49
|
-
:param pulumi.Input[bool] cluster_managed: Can be set to `true` if compute cluster
|
|
50
|
+
:param pulumi.Input[builtins.bool] cluster_managed: Can be set to `true` if compute cluster
|
|
50
51
|
membership will be managed through the `compute_cluster` resource rather
|
|
51
52
|
than the`host` resource. Conflicts with: `cluster`.
|
|
52
|
-
:param pulumi.Input[bool] connected: If set to false then the host will be disconnected.
|
|
53
|
+
:param pulumi.Input[builtins.bool] connected: If set to false then the host will be disconnected.
|
|
53
54
|
Default is `false`.
|
|
54
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A map of custom attribute IDs and string
|
|
55
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A map of custom attribute IDs and string
|
|
55
56
|
values to apply to the resource. Please refer to the
|
|
56
57
|
`vsphere_custom_attributes` resource for more information on applying
|
|
57
58
|
tags to resources.
|
|
@@ -60,25 +61,25 @@ class HostArgs:
|
|
|
60
61
|
connections and require vCenter Server.
|
|
61
62
|
|
|
62
63
|
[docs-host-thumbprint-data-source]: /docs/providers/vsphere/d/host_thumbprint.html
|
|
63
|
-
:param pulumi.Input[str] datacenter: The ID of the datacenter this host should
|
|
64
|
+
:param pulumi.Input[builtins.str] datacenter: The ID of the datacenter this host should
|
|
64
65
|
be added to. This should not be set if `cluster` is set.
|
|
65
|
-
:param pulumi.Input[bool] force: If set to `true` then it will force the host to be added,
|
|
66
|
+
:param pulumi.Input[builtins.bool] force: If set to `true` then it will force the host to be added,
|
|
66
67
|
even if the host is already connected to a different vCenter Server instance.
|
|
67
68
|
Default is `false`.
|
|
68
|
-
:param pulumi.Input[str] license: The license key that will be applied to the host.
|
|
69
|
+
:param pulumi.Input[builtins.str] license: The license key that will be applied to the host.
|
|
69
70
|
The license key is expected to be present in vSphere.
|
|
70
|
-
:param pulumi.Input[str] lockdown: Set the lockdown state of the host. Valid options are
|
|
71
|
+
:param pulumi.Input[builtins.str] lockdown: Set the lockdown state of the host. Valid options are
|
|
71
72
|
`disabled`, `normal`, and `strict`. Default is `disabled`.
|
|
72
|
-
:param pulumi.Input[bool] maintenance: Set the management state of the host.
|
|
73
|
+
:param pulumi.Input[builtins.bool] maintenance: Set the management state of the host.
|
|
73
74
|
Default is `false`.
|
|
74
75
|
:param pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]] services: Set Services on host, the settings to be set are based on service being set as part of import.
|
|
75
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
76
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
76
77
|
refer to the `Tag` resource for more information on applying
|
|
77
78
|
tags to resources.
|
|
78
79
|
|
|
79
80
|
> **NOTE:** Tagging support is not supported on direct ESXi host
|
|
80
81
|
connections and require vCenter Server.
|
|
81
|
-
:param pulumi.Input[str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
|
|
82
|
+
:param pulumi.Input[builtins.str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
|
|
82
83
|
CA that signed the host's certificate should be trusted. If the CA is not
|
|
83
84
|
trusted and no thumbprint is set then the operation will fail. See data source
|
|
84
85
|
[`get_host_thumbprint`][docs-host-thumbprint-data-source].
|
|
@@ -113,19 +114,19 @@ class HostArgs:
|
|
|
113
114
|
|
|
114
115
|
@property
|
|
115
116
|
@pulumi.getter
|
|
116
|
-
def hostname(self) -> pulumi.Input[str]:
|
|
117
|
+
def hostname(self) -> pulumi.Input[builtins.str]:
|
|
117
118
|
"""
|
|
118
119
|
FQDN or IP address of the host to be added.
|
|
119
120
|
"""
|
|
120
121
|
return pulumi.get(self, "hostname")
|
|
121
122
|
|
|
122
123
|
@hostname.setter
|
|
123
|
-
def hostname(self, value: pulumi.Input[str]):
|
|
124
|
+
def hostname(self, value: pulumi.Input[builtins.str]):
|
|
124
125
|
pulumi.set(self, "hostname", value)
|
|
125
126
|
|
|
126
127
|
@property
|
|
127
128
|
@pulumi.getter
|
|
128
|
-
def password(self) -> pulumi.Input[str]:
|
|
129
|
+
def password(self) -> pulumi.Input[builtins.str]:
|
|
129
130
|
"""
|
|
130
131
|
Password that will be used by vSphere to authenticate
|
|
131
132
|
to the host.
|
|
@@ -133,12 +134,12 @@ class HostArgs:
|
|
|
133
134
|
return pulumi.get(self, "password")
|
|
134
135
|
|
|
135
136
|
@password.setter
|
|
136
|
-
def password(self, value: pulumi.Input[str]):
|
|
137
|
+
def password(self, value: pulumi.Input[builtins.str]):
|
|
137
138
|
pulumi.set(self, "password", value)
|
|
138
139
|
|
|
139
140
|
@property
|
|
140
141
|
@pulumi.getter
|
|
141
|
-
def username(self) -> pulumi.Input[str]:
|
|
142
|
+
def username(self) -> pulumi.Input[builtins.str]:
|
|
142
143
|
"""
|
|
143
144
|
Username that will be used by vSphere to authenticate
|
|
144
145
|
to the host.
|
|
@@ -146,12 +147,12 @@ class HostArgs:
|
|
|
146
147
|
return pulumi.get(self, "username")
|
|
147
148
|
|
|
148
149
|
@username.setter
|
|
149
|
-
def username(self, value: pulumi.Input[str]):
|
|
150
|
+
def username(self, value: pulumi.Input[builtins.str]):
|
|
150
151
|
pulumi.set(self, "username", value)
|
|
151
152
|
|
|
152
153
|
@property
|
|
153
154
|
@pulumi.getter
|
|
154
|
-
def cluster(self) -> Optional[pulumi.Input[str]]:
|
|
155
|
+
def cluster(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
155
156
|
"""
|
|
156
157
|
The ID of the Compute Cluster this host should
|
|
157
158
|
be added to. This should not be set if `datacenter` is set. Conflicts with:
|
|
@@ -160,12 +161,12 @@ class HostArgs:
|
|
|
160
161
|
return pulumi.get(self, "cluster")
|
|
161
162
|
|
|
162
163
|
@cluster.setter
|
|
163
|
-
def cluster(self, value: Optional[pulumi.Input[str]]):
|
|
164
|
+
def cluster(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
164
165
|
pulumi.set(self, "cluster", value)
|
|
165
166
|
|
|
166
167
|
@property
|
|
167
168
|
@pulumi.getter(name="clusterManaged")
|
|
168
|
-
def cluster_managed(self) -> Optional[pulumi.Input[bool]]:
|
|
169
|
+
def cluster_managed(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
169
170
|
"""
|
|
170
171
|
Can be set to `true` if compute cluster
|
|
171
172
|
membership will be managed through the `compute_cluster` resource rather
|
|
@@ -174,12 +175,12 @@ class HostArgs:
|
|
|
174
175
|
return pulumi.get(self, "cluster_managed")
|
|
175
176
|
|
|
176
177
|
@cluster_managed.setter
|
|
177
|
-
def cluster_managed(self, value: Optional[pulumi.Input[bool]]):
|
|
178
|
+
def cluster_managed(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
178
179
|
pulumi.set(self, "cluster_managed", value)
|
|
179
180
|
|
|
180
181
|
@property
|
|
181
182
|
@pulumi.getter
|
|
182
|
-
def connected(self) -> Optional[pulumi.Input[bool]]:
|
|
183
|
+
def connected(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
183
184
|
"""
|
|
184
185
|
If set to false then the host will be disconnected.
|
|
185
186
|
Default is `false`.
|
|
@@ -187,12 +188,12 @@ class HostArgs:
|
|
|
187
188
|
return pulumi.get(self, "connected")
|
|
188
189
|
|
|
189
190
|
@connected.setter
|
|
190
|
-
def connected(self, value: Optional[pulumi.Input[bool]]):
|
|
191
|
+
def connected(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
191
192
|
pulumi.set(self, "connected", value)
|
|
192
193
|
|
|
193
194
|
@property
|
|
194
195
|
@pulumi.getter(name="customAttributes")
|
|
195
|
-
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
196
|
+
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
196
197
|
"""
|
|
197
198
|
A map of custom attribute IDs and string
|
|
198
199
|
values to apply to the resource. Please refer to the
|
|
@@ -207,12 +208,12 @@ class HostArgs:
|
|
|
207
208
|
return pulumi.get(self, "custom_attributes")
|
|
208
209
|
|
|
209
210
|
@custom_attributes.setter
|
|
210
|
-
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
211
|
+
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
211
212
|
pulumi.set(self, "custom_attributes", value)
|
|
212
213
|
|
|
213
214
|
@property
|
|
214
215
|
@pulumi.getter
|
|
215
|
-
def datacenter(self) -> Optional[pulumi.Input[str]]:
|
|
216
|
+
def datacenter(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
216
217
|
"""
|
|
217
218
|
The ID of the datacenter this host should
|
|
218
219
|
be added to. This should not be set if `cluster` is set.
|
|
@@ -220,12 +221,12 @@ class HostArgs:
|
|
|
220
221
|
return pulumi.get(self, "datacenter")
|
|
221
222
|
|
|
222
223
|
@datacenter.setter
|
|
223
|
-
def datacenter(self, value: Optional[pulumi.Input[str]]):
|
|
224
|
+
def datacenter(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
224
225
|
pulumi.set(self, "datacenter", value)
|
|
225
226
|
|
|
226
227
|
@property
|
|
227
228
|
@pulumi.getter
|
|
228
|
-
def force(self) -> Optional[pulumi.Input[bool]]:
|
|
229
|
+
def force(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
229
230
|
"""
|
|
230
231
|
If set to `true` then it will force the host to be added,
|
|
231
232
|
even if the host is already connected to a different vCenter Server instance.
|
|
@@ -234,12 +235,12 @@ class HostArgs:
|
|
|
234
235
|
return pulumi.get(self, "force")
|
|
235
236
|
|
|
236
237
|
@force.setter
|
|
237
|
-
def force(self, value: Optional[pulumi.Input[bool]]):
|
|
238
|
+
def force(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
238
239
|
pulumi.set(self, "force", value)
|
|
239
240
|
|
|
240
241
|
@property
|
|
241
242
|
@pulumi.getter
|
|
242
|
-
def license(self) -> Optional[pulumi.Input[str]]:
|
|
243
|
+
def license(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
243
244
|
"""
|
|
244
245
|
The license key that will be applied to the host.
|
|
245
246
|
The license key is expected to be present in vSphere.
|
|
@@ -247,12 +248,12 @@ class HostArgs:
|
|
|
247
248
|
return pulumi.get(self, "license")
|
|
248
249
|
|
|
249
250
|
@license.setter
|
|
250
|
-
def license(self, value: Optional[pulumi.Input[str]]):
|
|
251
|
+
def license(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
251
252
|
pulumi.set(self, "license", value)
|
|
252
253
|
|
|
253
254
|
@property
|
|
254
255
|
@pulumi.getter
|
|
255
|
-
def lockdown(self) -> Optional[pulumi.Input[str]]:
|
|
256
|
+
def lockdown(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
256
257
|
"""
|
|
257
258
|
Set the lockdown state of the host. Valid options are
|
|
258
259
|
`disabled`, `normal`, and `strict`. Default is `disabled`.
|
|
@@ -260,12 +261,12 @@ class HostArgs:
|
|
|
260
261
|
return pulumi.get(self, "lockdown")
|
|
261
262
|
|
|
262
263
|
@lockdown.setter
|
|
263
|
-
def lockdown(self, value: Optional[pulumi.Input[str]]):
|
|
264
|
+
def lockdown(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
264
265
|
pulumi.set(self, "lockdown", value)
|
|
265
266
|
|
|
266
267
|
@property
|
|
267
268
|
@pulumi.getter
|
|
268
|
-
def maintenance(self) -> Optional[pulumi.Input[bool]]:
|
|
269
|
+
def maintenance(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
269
270
|
"""
|
|
270
271
|
Set the management state of the host.
|
|
271
272
|
Default is `false`.
|
|
@@ -273,7 +274,7 @@ class HostArgs:
|
|
|
273
274
|
return pulumi.get(self, "maintenance")
|
|
274
275
|
|
|
275
276
|
@maintenance.setter
|
|
276
|
-
def maintenance(self, value: Optional[pulumi.Input[bool]]):
|
|
277
|
+
def maintenance(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
277
278
|
pulumi.set(self, "maintenance", value)
|
|
278
279
|
|
|
279
280
|
@property
|
|
@@ -290,7 +291,7 @@ class HostArgs:
|
|
|
290
291
|
|
|
291
292
|
@property
|
|
292
293
|
@pulumi.getter
|
|
293
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
294
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
294
295
|
"""
|
|
295
296
|
The IDs of any tags to attach to this resource. Please
|
|
296
297
|
refer to the `Tag` resource for more information on applying
|
|
@@ -302,12 +303,12 @@ class HostArgs:
|
|
|
302
303
|
return pulumi.get(self, "tags")
|
|
303
304
|
|
|
304
305
|
@tags.setter
|
|
305
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
306
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
306
307
|
pulumi.set(self, "tags", value)
|
|
307
308
|
|
|
308
309
|
@property
|
|
309
310
|
@pulumi.getter
|
|
310
|
-
def thumbprint(self) -> Optional[pulumi.Input[str]]:
|
|
311
|
+
def thumbprint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
311
312
|
"""
|
|
312
313
|
Host's certificate SHA-1 thumbprint. If not set the
|
|
313
314
|
CA that signed the host's certificate should be trusted. If the CA is not
|
|
@@ -317,39 +318,39 @@ class HostArgs:
|
|
|
317
318
|
return pulumi.get(self, "thumbprint")
|
|
318
319
|
|
|
319
320
|
@thumbprint.setter
|
|
320
|
-
def thumbprint(self, value: Optional[pulumi.Input[str]]):
|
|
321
|
+
def thumbprint(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
321
322
|
pulumi.set(self, "thumbprint", value)
|
|
322
323
|
|
|
323
324
|
|
|
324
325
|
@pulumi.input_type
|
|
325
326
|
class _HostState:
|
|
326
327
|
def __init__(__self__, *,
|
|
327
|
-
cluster: Optional[pulumi.Input[str]] = None,
|
|
328
|
-
cluster_managed: Optional[pulumi.Input[bool]] = None,
|
|
329
|
-
connected: Optional[pulumi.Input[bool]] = None,
|
|
330
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
331
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
332
|
-
force: Optional[pulumi.Input[bool]] = None,
|
|
333
|
-
hostname: Optional[pulumi.Input[str]] = None,
|
|
334
|
-
license: Optional[pulumi.Input[str]] = None,
|
|
335
|
-
lockdown: Optional[pulumi.Input[str]] = None,
|
|
336
|
-
maintenance: Optional[pulumi.Input[bool]] = None,
|
|
337
|
-
password: Optional[pulumi.Input[str]] = None,
|
|
328
|
+
cluster: Optional[pulumi.Input[builtins.str]] = None,
|
|
329
|
+
cluster_managed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
330
|
+
connected: Optional[pulumi.Input[builtins.bool]] = None,
|
|
331
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
332
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
333
|
+
force: Optional[pulumi.Input[builtins.bool]] = None,
|
|
334
|
+
hostname: Optional[pulumi.Input[builtins.str]] = None,
|
|
335
|
+
license: Optional[pulumi.Input[builtins.str]] = None,
|
|
336
|
+
lockdown: Optional[pulumi.Input[builtins.str]] = None,
|
|
337
|
+
maintenance: Optional[pulumi.Input[builtins.bool]] = None,
|
|
338
|
+
password: Optional[pulumi.Input[builtins.str]] = None,
|
|
338
339
|
services: Optional[pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]]] = None,
|
|
339
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
340
|
-
thumbprint: Optional[pulumi.Input[str]] = None,
|
|
341
|
-
username: Optional[pulumi.Input[str]] = None):
|
|
340
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
341
|
+
thumbprint: Optional[pulumi.Input[builtins.str]] = None,
|
|
342
|
+
username: Optional[pulumi.Input[builtins.str]] = None):
|
|
342
343
|
"""
|
|
343
344
|
Input properties used for looking up and filtering Host resources.
|
|
344
|
-
:param pulumi.Input[str] cluster: The ID of the Compute Cluster this host should
|
|
345
|
+
:param pulumi.Input[builtins.str] cluster: The ID of the Compute Cluster this host should
|
|
345
346
|
be added to. This should not be set if `datacenter` is set. Conflicts with:
|
|
346
347
|
`cluster_managed`.
|
|
347
|
-
:param pulumi.Input[bool] cluster_managed: Can be set to `true` if compute cluster
|
|
348
|
+
:param pulumi.Input[builtins.bool] cluster_managed: Can be set to `true` if compute cluster
|
|
348
349
|
membership will be managed through the `compute_cluster` resource rather
|
|
349
350
|
than the`host` resource. Conflicts with: `cluster`.
|
|
350
|
-
:param pulumi.Input[bool] connected: If set to false then the host will be disconnected.
|
|
351
|
+
:param pulumi.Input[builtins.bool] connected: If set to false then the host will be disconnected.
|
|
351
352
|
Default is `false`.
|
|
352
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A map of custom attribute IDs and string
|
|
353
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A map of custom attribute IDs and string
|
|
353
354
|
values to apply to the resource. Please refer to the
|
|
354
355
|
`vsphere_custom_attributes` resource for more information on applying
|
|
355
356
|
tags to resources.
|
|
@@ -358,32 +359,32 @@ class _HostState:
|
|
|
358
359
|
connections and require vCenter Server.
|
|
359
360
|
|
|
360
361
|
[docs-host-thumbprint-data-source]: /docs/providers/vsphere/d/host_thumbprint.html
|
|
361
|
-
:param pulumi.Input[str] datacenter: The ID of the datacenter this host should
|
|
362
|
+
:param pulumi.Input[builtins.str] datacenter: The ID of the datacenter this host should
|
|
362
363
|
be added to. This should not be set if `cluster` is set.
|
|
363
|
-
:param pulumi.Input[bool] force: If set to `true` then it will force the host to be added,
|
|
364
|
+
:param pulumi.Input[builtins.bool] force: If set to `true` then it will force the host to be added,
|
|
364
365
|
even if the host is already connected to a different vCenter Server instance.
|
|
365
366
|
Default is `false`.
|
|
366
|
-
:param pulumi.Input[str] hostname: FQDN or IP address of the host to be added.
|
|
367
|
-
:param pulumi.Input[str] license: The license key that will be applied to the host.
|
|
367
|
+
:param pulumi.Input[builtins.str] hostname: FQDN or IP address of the host to be added.
|
|
368
|
+
:param pulumi.Input[builtins.str] license: The license key that will be applied to the host.
|
|
368
369
|
The license key is expected to be present in vSphere.
|
|
369
|
-
:param pulumi.Input[str] lockdown: Set the lockdown state of the host. Valid options are
|
|
370
|
+
:param pulumi.Input[builtins.str] lockdown: Set the lockdown state of the host. Valid options are
|
|
370
371
|
`disabled`, `normal`, and `strict`. Default is `disabled`.
|
|
371
|
-
:param pulumi.Input[bool] maintenance: Set the management state of the host.
|
|
372
|
+
:param pulumi.Input[builtins.bool] maintenance: Set the management state of the host.
|
|
372
373
|
Default is `false`.
|
|
373
|
-
:param pulumi.Input[str] password: Password that will be used by vSphere to authenticate
|
|
374
|
+
:param pulumi.Input[builtins.str] password: Password that will be used by vSphere to authenticate
|
|
374
375
|
to the host.
|
|
375
376
|
:param pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]] services: Set Services on host, the settings to be set are based on service being set as part of import.
|
|
376
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
377
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
377
378
|
refer to the `Tag` resource for more information on applying
|
|
378
379
|
tags to resources.
|
|
379
380
|
|
|
380
381
|
> **NOTE:** Tagging support is not supported on direct ESXi host
|
|
381
382
|
connections and require vCenter Server.
|
|
382
|
-
:param pulumi.Input[str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
|
|
383
|
+
:param pulumi.Input[builtins.str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
|
|
383
384
|
CA that signed the host's certificate should be trusted. If the CA is not
|
|
384
385
|
trusted and no thumbprint is set then the operation will fail. See data source
|
|
385
386
|
[`get_host_thumbprint`][docs-host-thumbprint-data-source].
|
|
386
|
-
:param pulumi.Input[str] username: Username that will be used by vSphere to authenticate
|
|
387
|
+
:param pulumi.Input[builtins.str] username: Username that will be used by vSphere to authenticate
|
|
387
388
|
to the host.
|
|
388
389
|
"""
|
|
389
390
|
if cluster is not None:
|
|
@@ -419,7 +420,7 @@ class _HostState:
|
|
|
419
420
|
|
|
420
421
|
@property
|
|
421
422
|
@pulumi.getter
|
|
422
|
-
def cluster(self) -> Optional[pulumi.Input[str]]:
|
|
423
|
+
def cluster(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
423
424
|
"""
|
|
424
425
|
The ID of the Compute Cluster this host should
|
|
425
426
|
be added to. This should not be set if `datacenter` is set. Conflicts with:
|
|
@@ -428,12 +429,12 @@ class _HostState:
|
|
|
428
429
|
return pulumi.get(self, "cluster")
|
|
429
430
|
|
|
430
431
|
@cluster.setter
|
|
431
|
-
def cluster(self, value: Optional[pulumi.Input[str]]):
|
|
432
|
+
def cluster(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
432
433
|
pulumi.set(self, "cluster", value)
|
|
433
434
|
|
|
434
435
|
@property
|
|
435
436
|
@pulumi.getter(name="clusterManaged")
|
|
436
|
-
def cluster_managed(self) -> Optional[pulumi.Input[bool]]:
|
|
437
|
+
def cluster_managed(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
437
438
|
"""
|
|
438
439
|
Can be set to `true` if compute cluster
|
|
439
440
|
membership will be managed through the `compute_cluster` resource rather
|
|
@@ -442,12 +443,12 @@ class _HostState:
|
|
|
442
443
|
return pulumi.get(self, "cluster_managed")
|
|
443
444
|
|
|
444
445
|
@cluster_managed.setter
|
|
445
|
-
def cluster_managed(self, value: Optional[pulumi.Input[bool]]):
|
|
446
|
+
def cluster_managed(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
446
447
|
pulumi.set(self, "cluster_managed", value)
|
|
447
448
|
|
|
448
449
|
@property
|
|
449
450
|
@pulumi.getter
|
|
450
|
-
def connected(self) -> Optional[pulumi.Input[bool]]:
|
|
451
|
+
def connected(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
451
452
|
"""
|
|
452
453
|
If set to false then the host will be disconnected.
|
|
453
454
|
Default is `false`.
|
|
@@ -455,12 +456,12 @@ class _HostState:
|
|
|
455
456
|
return pulumi.get(self, "connected")
|
|
456
457
|
|
|
457
458
|
@connected.setter
|
|
458
|
-
def connected(self, value: Optional[pulumi.Input[bool]]):
|
|
459
|
+
def connected(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
459
460
|
pulumi.set(self, "connected", value)
|
|
460
461
|
|
|
461
462
|
@property
|
|
462
463
|
@pulumi.getter(name="customAttributes")
|
|
463
|
-
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
464
|
+
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
464
465
|
"""
|
|
465
466
|
A map of custom attribute IDs and string
|
|
466
467
|
values to apply to the resource. Please refer to the
|
|
@@ -475,12 +476,12 @@ class _HostState:
|
|
|
475
476
|
return pulumi.get(self, "custom_attributes")
|
|
476
477
|
|
|
477
478
|
@custom_attributes.setter
|
|
478
|
-
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
479
|
+
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
479
480
|
pulumi.set(self, "custom_attributes", value)
|
|
480
481
|
|
|
481
482
|
@property
|
|
482
483
|
@pulumi.getter
|
|
483
|
-
def datacenter(self) -> Optional[pulumi.Input[str]]:
|
|
484
|
+
def datacenter(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
484
485
|
"""
|
|
485
486
|
The ID of the datacenter this host should
|
|
486
487
|
be added to. This should not be set if `cluster` is set.
|
|
@@ -488,12 +489,12 @@ class _HostState:
|
|
|
488
489
|
return pulumi.get(self, "datacenter")
|
|
489
490
|
|
|
490
491
|
@datacenter.setter
|
|
491
|
-
def datacenter(self, value: Optional[pulumi.Input[str]]):
|
|
492
|
+
def datacenter(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
492
493
|
pulumi.set(self, "datacenter", value)
|
|
493
494
|
|
|
494
495
|
@property
|
|
495
496
|
@pulumi.getter
|
|
496
|
-
def force(self) -> Optional[pulumi.Input[bool]]:
|
|
497
|
+
def force(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
497
498
|
"""
|
|
498
499
|
If set to `true` then it will force the host to be added,
|
|
499
500
|
even if the host is already connected to a different vCenter Server instance.
|
|
@@ -502,24 +503,24 @@ class _HostState:
|
|
|
502
503
|
return pulumi.get(self, "force")
|
|
503
504
|
|
|
504
505
|
@force.setter
|
|
505
|
-
def force(self, value: Optional[pulumi.Input[bool]]):
|
|
506
|
+
def force(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
506
507
|
pulumi.set(self, "force", value)
|
|
507
508
|
|
|
508
509
|
@property
|
|
509
510
|
@pulumi.getter
|
|
510
|
-
def hostname(self) -> Optional[pulumi.Input[str]]:
|
|
511
|
+
def hostname(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
511
512
|
"""
|
|
512
513
|
FQDN or IP address of the host to be added.
|
|
513
514
|
"""
|
|
514
515
|
return pulumi.get(self, "hostname")
|
|
515
516
|
|
|
516
517
|
@hostname.setter
|
|
517
|
-
def hostname(self, value: Optional[pulumi.Input[str]]):
|
|
518
|
+
def hostname(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
518
519
|
pulumi.set(self, "hostname", value)
|
|
519
520
|
|
|
520
521
|
@property
|
|
521
522
|
@pulumi.getter
|
|
522
|
-
def license(self) -> Optional[pulumi.Input[str]]:
|
|
523
|
+
def license(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
523
524
|
"""
|
|
524
525
|
The license key that will be applied to the host.
|
|
525
526
|
The license key is expected to be present in vSphere.
|
|
@@ -527,12 +528,12 @@ class _HostState:
|
|
|
527
528
|
return pulumi.get(self, "license")
|
|
528
529
|
|
|
529
530
|
@license.setter
|
|
530
|
-
def license(self, value: Optional[pulumi.Input[str]]):
|
|
531
|
+
def license(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
531
532
|
pulumi.set(self, "license", value)
|
|
532
533
|
|
|
533
534
|
@property
|
|
534
535
|
@pulumi.getter
|
|
535
|
-
def lockdown(self) -> Optional[pulumi.Input[str]]:
|
|
536
|
+
def lockdown(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
536
537
|
"""
|
|
537
538
|
Set the lockdown state of the host. Valid options are
|
|
538
539
|
`disabled`, `normal`, and `strict`. Default is `disabled`.
|
|
@@ -540,12 +541,12 @@ class _HostState:
|
|
|
540
541
|
return pulumi.get(self, "lockdown")
|
|
541
542
|
|
|
542
543
|
@lockdown.setter
|
|
543
|
-
def lockdown(self, value: Optional[pulumi.Input[str]]):
|
|
544
|
+
def lockdown(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
544
545
|
pulumi.set(self, "lockdown", value)
|
|
545
546
|
|
|
546
547
|
@property
|
|
547
548
|
@pulumi.getter
|
|
548
|
-
def maintenance(self) -> Optional[pulumi.Input[bool]]:
|
|
549
|
+
def maintenance(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
549
550
|
"""
|
|
550
551
|
Set the management state of the host.
|
|
551
552
|
Default is `false`.
|
|
@@ -553,12 +554,12 @@ class _HostState:
|
|
|
553
554
|
return pulumi.get(self, "maintenance")
|
|
554
555
|
|
|
555
556
|
@maintenance.setter
|
|
556
|
-
def maintenance(self, value: Optional[pulumi.Input[bool]]):
|
|
557
|
+
def maintenance(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
557
558
|
pulumi.set(self, "maintenance", value)
|
|
558
559
|
|
|
559
560
|
@property
|
|
560
561
|
@pulumi.getter
|
|
561
|
-
def password(self) -> Optional[pulumi.Input[str]]:
|
|
562
|
+
def password(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
562
563
|
"""
|
|
563
564
|
Password that will be used by vSphere to authenticate
|
|
564
565
|
to the host.
|
|
@@ -566,7 +567,7 @@ class _HostState:
|
|
|
566
567
|
return pulumi.get(self, "password")
|
|
567
568
|
|
|
568
569
|
@password.setter
|
|
569
|
-
def password(self, value: Optional[pulumi.Input[str]]):
|
|
570
|
+
def password(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
570
571
|
pulumi.set(self, "password", value)
|
|
571
572
|
|
|
572
573
|
@property
|
|
@@ -583,7 +584,7 @@ class _HostState:
|
|
|
583
584
|
|
|
584
585
|
@property
|
|
585
586
|
@pulumi.getter
|
|
586
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
587
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
587
588
|
"""
|
|
588
589
|
The IDs of any tags to attach to this resource. Please
|
|
589
590
|
refer to the `Tag` resource for more information on applying
|
|
@@ -595,12 +596,12 @@ class _HostState:
|
|
|
595
596
|
return pulumi.get(self, "tags")
|
|
596
597
|
|
|
597
598
|
@tags.setter
|
|
598
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
599
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
599
600
|
pulumi.set(self, "tags", value)
|
|
600
601
|
|
|
601
602
|
@property
|
|
602
603
|
@pulumi.getter
|
|
603
|
-
def thumbprint(self) -> Optional[pulumi.Input[str]]:
|
|
604
|
+
def thumbprint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
604
605
|
"""
|
|
605
606
|
Host's certificate SHA-1 thumbprint. If not set the
|
|
606
607
|
CA that signed the host's certificate should be trusted. If the CA is not
|
|
@@ -610,12 +611,12 @@ class _HostState:
|
|
|
610
611
|
return pulumi.get(self, "thumbprint")
|
|
611
612
|
|
|
612
613
|
@thumbprint.setter
|
|
613
|
-
def thumbprint(self, value: Optional[pulumi.Input[str]]):
|
|
614
|
+
def thumbprint(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
614
615
|
pulumi.set(self, "thumbprint", value)
|
|
615
616
|
|
|
616
617
|
@property
|
|
617
618
|
@pulumi.getter
|
|
618
|
-
def username(self) -> Optional[pulumi.Input[str]]:
|
|
619
|
+
def username(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
619
620
|
"""
|
|
620
621
|
Username that will be used by vSphere to authenticate
|
|
621
622
|
to the host.
|
|
@@ -623,30 +624,33 @@ class _HostState:
|
|
|
623
624
|
return pulumi.get(self, "username")
|
|
624
625
|
|
|
625
626
|
@username.setter
|
|
626
|
-
def username(self, value: Optional[pulumi.Input[str]]):
|
|
627
|
+
def username(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
627
628
|
pulumi.set(self, "username", value)
|
|
628
629
|
|
|
629
630
|
|
|
630
631
|
class Host(pulumi.CustomResource):
|
|
632
|
+
|
|
633
|
+
pulumi_type = "vsphere:index/host:Host"
|
|
634
|
+
|
|
631
635
|
@overload
|
|
632
636
|
def __init__(__self__,
|
|
633
637
|
resource_name: str,
|
|
634
638
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
635
|
-
cluster: Optional[pulumi.Input[str]] = None,
|
|
636
|
-
cluster_managed: Optional[pulumi.Input[bool]] = None,
|
|
637
|
-
connected: Optional[pulumi.Input[bool]] = None,
|
|
638
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
639
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
640
|
-
force: Optional[pulumi.Input[bool]] = None,
|
|
641
|
-
hostname: Optional[pulumi.Input[str]] = None,
|
|
642
|
-
license: Optional[pulumi.Input[str]] = None,
|
|
643
|
-
lockdown: Optional[pulumi.Input[str]] = None,
|
|
644
|
-
maintenance: Optional[pulumi.Input[bool]] = None,
|
|
645
|
-
password: Optional[pulumi.Input[str]] = None,
|
|
639
|
+
cluster: Optional[pulumi.Input[builtins.str]] = None,
|
|
640
|
+
cluster_managed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
641
|
+
connected: Optional[pulumi.Input[builtins.bool]] = None,
|
|
642
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
643
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
644
|
+
force: Optional[pulumi.Input[builtins.bool]] = None,
|
|
645
|
+
hostname: Optional[pulumi.Input[builtins.str]] = None,
|
|
646
|
+
license: Optional[pulumi.Input[builtins.str]] = None,
|
|
647
|
+
lockdown: Optional[pulumi.Input[builtins.str]] = None,
|
|
648
|
+
maintenance: Optional[pulumi.Input[builtins.bool]] = None,
|
|
649
|
+
password: Optional[pulumi.Input[builtins.str]] = None,
|
|
646
650
|
services: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HostServiceArgs', 'HostServiceArgsDict']]]]] = None,
|
|
647
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
648
|
-
thumbprint: Optional[pulumi.Input[str]] = None,
|
|
649
|
-
username: Optional[pulumi.Input[str]] = None,
|
|
651
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
652
|
+
thumbprint: Optional[pulumi.Input[builtins.str]] = None,
|
|
653
|
+
username: Optional[pulumi.Input[builtins.str]] = None,
|
|
650
654
|
__props__=None):
|
|
651
655
|
"""
|
|
652
656
|
Provides a VMware vSphere host resource. This represents an ESXi host that
|
|
@@ -776,15 +780,15 @@ class Host(pulumi.CustomResource):
|
|
|
776
780
|
|
|
777
781
|
:param str resource_name: The name of the resource.
|
|
778
782
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
779
|
-
:param pulumi.Input[str] cluster: The ID of the Compute Cluster this host should
|
|
783
|
+
:param pulumi.Input[builtins.str] cluster: The ID of the Compute Cluster this host should
|
|
780
784
|
be added to. This should not be set if `datacenter` is set. Conflicts with:
|
|
781
785
|
`cluster_managed`.
|
|
782
|
-
:param pulumi.Input[bool] cluster_managed: Can be set to `true` if compute cluster
|
|
786
|
+
:param pulumi.Input[builtins.bool] cluster_managed: Can be set to `true` if compute cluster
|
|
783
787
|
membership will be managed through the `compute_cluster` resource rather
|
|
784
788
|
than the`host` resource. Conflicts with: `cluster`.
|
|
785
|
-
:param pulumi.Input[bool] connected: If set to false then the host will be disconnected.
|
|
789
|
+
:param pulumi.Input[builtins.bool] connected: If set to false then the host will be disconnected.
|
|
786
790
|
Default is `false`.
|
|
787
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A map of custom attribute IDs and string
|
|
791
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A map of custom attribute IDs and string
|
|
788
792
|
values to apply to the resource. Please refer to the
|
|
789
793
|
`vsphere_custom_attributes` resource for more information on applying
|
|
790
794
|
tags to resources.
|
|
@@ -793,32 +797,32 @@ class Host(pulumi.CustomResource):
|
|
|
793
797
|
connections and require vCenter Server.
|
|
794
798
|
|
|
795
799
|
[docs-host-thumbprint-data-source]: /docs/providers/vsphere/d/host_thumbprint.html
|
|
796
|
-
:param pulumi.Input[str] datacenter: The ID of the datacenter this host should
|
|
800
|
+
:param pulumi.Input[builtins.str] datacenter: The ID of the datacenter this host should
|
|
797
801
|
be added to. This should not be set if `cluster` is set.
|
|
798
|
-
:param pulumi.Input[bool] force: If set to `true` then it will force the host to be added,
|
|
802
|
+
:param pulumi.Input[builtins.bool] force: If set to `true` then it will force the host to be added,
|
|
799
803
|
even if the host is already connected to a different vCenter Server instance.
|
|
800
804
|
Default is `false`.
|
|
801
|
-
:param pulumi.Input[str] hostname: FQDN or IP address of the host to be added.
|
|
802
|
-
:param pulumi.Input[str] license: The license key that will be applied to the host.
|
|
805
|
+
:param pulumi.Input[builtins.str] hostname: FQDN or IP address of the host to be added.
|
|
806
|
+
:param pulumi.Input[builtins.str] license: The license key that will be applied to the host.
|
|
803
807
|
The license key is expected to be present in vSphere.
|
|
804
|
-
:param pulumi.Input[str] lockdown: Set the lockdown state of the host. Valid options are
|
|
808
|
+
:param pulumi.Input[builtins.str] lockdown: Set the lockdown state of the host. Valid options are
|
|
805
809
|
`disabled`, `normal`, and `strict`. Default is `disabled`.
|
|
806
|
-
:param pulumi.Input[bool] maintenance: Set the management state of the host.
|
|
810
|
+
:param pulumi.Input[builtins.bool] maintenance: Set the management state of the host.
|
|
807
811
|
Default is `false`.
|
|
808
|
-
:param pulumi.Input[str] password: Password that will be used by vSphere to authenticate
|
|
812
|
+
:param pulumi.Input[builtins.str] password: Password that will be used by vSphere to authenticate
|
|
809
813
|
to the host.
|
|
810
814
|
:param pulumi.Input[Sequence[pulumi.Input[Union['HostServiceArgs', 'HostServiceArgsDict']]]] services: Set Services on host, the settings to be set are based on service being set as part of import.
|
|
811
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
815
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
812
816
|
refer to the `Tag` resource for more information on applying
|
|
813
817
|
tags to resources.
|
|
814
818
|
|
|
815
819
|
> **NOTE:** Tagging support is not supported on direct ESXi host
|
|
816
820
|
connections and require vCenter Server.
|
|
817
|
-
:param pulumi.Input[str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
|
|
821
|
+
:param pulumi.Input[builtins.str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
|
|
818
822
|
CA that signed the host's certificate should be trusted. If the CA is not
|
|
819
823
|
trusted and no thumbprint is set then the operation will fail. See data source
|
|
820
824
|
[`get_host_thumbprint`][docs-host-thumbprint-data-source].
|
|
821
|
-
:param pulumi.Input[str] username: Username that will be used by vSphere to authenticate
|
|
825
|
+
:param pulumi.Input[builtins.str] username: Username that will be used by vSphere to authenticate
|
|
822
826
|
to the host.
|
|
823
827
|
"""
|
|
824
828
|
...
|
|
@@ -968,21 +972,21 @@ class Host(pulumi.CustomResource):
|
|
|
968
972
|
def _internal_init(__self__,
|
|
969
973
|
resource_name: str,
|
|
970
974
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
971
|
-
cluster: Optional[pulumi.Input[str]] = None,
|
|
972
|
-
cluster_managed: Optional[pulumi.Input[bool]] = None,
|
|
973
|
-
connected: Optional[pulumi.Input[bool]] = None,
|
|
974
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
975
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
976
|
-
force: Optional[pulumi.Input[bool]] = None,
|
|
977
|
-
hostname: Optional[pulumi.Input[str]] = None,
|
|
978
|
-
license: Optional[pulumi.Input[str]] = None,
|
|
979
|
-
lockdown: Optional[pulumi.Input[str]] = None,
|
|
980
|
-
maintenance: Optional[pulumi.Input[bool]] = None,
|
|
981
|
-
password: Optional[pulumi.Input[str]] = None,
|
|
975
|
+
cluster: Optional[pulumi.Input[builtins.str]] = None,
|
|
976
|
+
cluster_managed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
977
|
+
connected: Optional[pulumi.Input[builtins.bool]] = None,
|
|
978
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
979
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
980
|
+
force: Optional[pulumi.Input[builtins.bool]] = None,
|
|
981
|
+
hostname: Optional[pulumi.Input[builtins.str]] = None,
|
|
982
|
+
license: Optional[pulumi.Input[builtins.str]] = None,
|
|
983
|
+
lockdown: Optional[pulumi.Input[builtins.str]] = None,
|
|
984
|
+
maintenance: Optional[pulumi.Input[builtins.bool]] = None,
|
|
985
|
+
password: Optional[pulumi.Input[builtins.str]] = None,
|
|
982
986
|
services: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HostServiceArgs', 'HostServiceArgsDict']]]]] = None,
|
|
983
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
984
|
-
thumbprint: Optional[pulumi.Input[str]] = None,
|
|
985
|
-
username: Optional[pulumi.Input[str]] = None,
|
|
987
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
988
|
+
thumbprint: Optional[pulumi.Input[builtins.str]] = None,
|
|
989
|
+
username: Optional[pulumi.Input[builtins.str]] = None,
|
|
986
990
|
__props__=None):
|
|
987
991
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
988
992
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1025,21 +1029,21 @@ class Host(pulumi.CustomResource):
|
|
|
1025
1029
|
def get(resource_name: str,
|
|
1026
1030
|
id: pulumi.Input[str],
|
|
1027
1031
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1028
|
-
cluster: Optional[pulumi.Input[str]] = None,
|
|
1029
|
-
cluster_managed: Optional[pulumi.Input[bool]] = None,
|
|
1030
|
-
connected: Optional[pulumi.Input[bool]] = None,
|
|
1031
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1032
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
1033
|
-
force: Optional[pulumi.Input[bool]] = None,
|
|
1034
|
-
hostname: Optional[pulumi.Input[str]] = None,
|
|
1035
|
-
license: Optional[pulumi.Input[str]] = None,
|
|
1036
|
-
lockdown: Optional[pulumi.Input[str]] = None,
|
|
1037
|
-
maintenance: Optional[pulumi.Input[bool]] = None,
|
|
1038
|
-
password: Optional[pulumi.Input[str]] = None,
|
|
1032
|
+
cluster: Optional[pulumi.Input[builtins.str]] = None,
|
|
1033
|
+
cluster_managed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1034
|
+
connected: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1035
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
1036
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
1037
|
+
force: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1038
|
+
hostname: Optional[pulumi.Input[builtins.str]] = None,
|
|
1039
|
+
license: Optional[pulumi.Input[builtins.str]] = None,
|
|
1040
|
+
lockdown: Optional[pulumi.Input[builtins.str]] = None,
|
|
1041
|
+
maintenance: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1042
|
+
password: Optional[pulumi.Input[builtins.str]] = None,
|
|
1039
1043
|
services: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HostServiceArgs', 'HostServiceArgsDict']]]]] = None,
|
|
1040
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1041
|
-
thumbprint: Optional[pulumi.Input[str]] = None,
|
|
1042
|
-
username: Optional[pulumi.Input[str]] = None) -> 'Host':
|
|
1044
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1045
|
+
thumbprint: Optional[pulumi.Input[builtins.str]] = None,
|
|
1046
|
+
username: Optional[pulumi.Input[builtins.str]] = None) -> 'Host':
|
|
1043
1047
|
"""
|
|
1044
1048
|
Get an existing Host resource's state with the given name, id, and optional extra
|
|
1045
1049
|
properties used to qualify the lookup.
|
|
@@ -1047,15 +1051,15 @@ class Host(pulumi.CustomResource):
|
|
|
1047
1051
|
:param str resource_name: The unique name of the resulting resource.
|
|
1048
1052
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1049
1053
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1050
|
-
:param pulumi.Input[str] cluster: The ID of the Compute Cluster this host should
|
|
1054
|
+
:param pulumi.Input[builtins.str] cluster: The ID of the Compute Cluster this host should
|
|
1051
1055
|
be added to. This should not be set if `datacenter` is set. Conflicts with:
|
|
1052
1056
|
`cluster_managed`.
|
|
1053
|
-
:param pulumi.Input[bool] cluster_managed: Can be set to `true` if compute cluster
|
|
1057
|
+
:param pulumi.Input[builtins.bool] cluster_managed: Can be set to `true` if compute cluster
|
|
1054
1058
|
membership will be managed through the `compute_cluster` resource rather
|
|
1055
1059
|
than the`host` resource. Conflicts with: `cluster`.
|
|
1056
|
-
:param pulumi.Input[bool] connected: If set to false then the host will be disconnected.
|
|
1060
|
+
:param pulumi.Input[builtins.bool] connected: If set to false then the host will be disconnected.
|
|
1057
1061
|
Default is `false`.
|
|
1058
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A map of custom attribute IDs and string
|
|
1062
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A map of custom attribute IDs and string
|
|
1059
1063
|
values to apply to the resource. Please refer to the
|
|
1060
1064
|
`vsphere_custom_attributes` resource for more information on applying
|
|
1061
1065
|
tags to resources.
|
|
@@ -1064,32 +1068,32 @@ class Host(pulumi.CustomResource):
|
|
|
1064
1068
|
connections and require vCenter Server.
|
|
1065
1069
|
|
|
1066
1070
|
[docs-host-thumbprint-data-source]: /docs/providers/vsphere/d/host_thumbprint.html
|
|
1067
|
-
:param pulumi.Input[str] datacenter: The ID of the datacenter this host should
|
|
1071
|
+
:param pulumi.Input[builtins.str] datacenter: The ID of the datacenter this host should
|
|
1068
1072
|
be added to. This should not be set if `cluster` is set.
|
|
1069
|
-
:param pulumi.Input[bool] force: If set to `true` then it will force the host to be added,
|
|
1073
|
+
:param pulumi.Input[builtins.bool] force: If set to `true` then it will force the host to be added,
|
|
1070
1074
|
even if the host is already connected to a different vCenter Server instance.
|
|
1071
1075
|
Default is `false`.
|
|
1072
|
-
:param pulumi.Input[str] hostname: FQDN or IP address of the host to be added.
|
|
1073
|
-
:param pulumi.Input[str] license: The license key that will be applied to the host.
|
|
1076
|
+
:param pulumi.Input[builtins.str] hostname: FQDN or IP address of the host to be added.
|
|
1077
|
+
:param pulumi.Input[builtins.str] license: The license key that will be applied to the host.
|
|
1074
1078
|
The license key is expected to be present in vSphere.
|
|
1075
|
-
:param pulumi.Input[str] lockdown: Set the lockdown state of the host. Valid options are
|
|
1079
|
+
:param pulumi.Input[builtins.str] lockdown: Set the lockdown state of the host. Valid options are
|
|
1076
1080
|
`disabled`, `normal`, and `strict`. Default is `disabled`.
|
|
1077
|
-
:param pulumi.Input[bool] maintenance: Set the management state of the host.
|
|
1081
|
+
:param pulumi.Input[builtins.bool] maintenance: Set the management state of the host.
|
|
1078
1082
|
Default is `false`.
|
|
1079
|
-
:param pulumi.Input[str] password: Password that will be used by vSphere to authenticate
|
|
1083
|
+
:param pulumi.Input[builtins.str] password: Password that will be used by vSphere to authenticate
|
|
1080
1084
|
to the host.
|
|
1081
1085
|
:param pulumi.Input[Sequence[pulumi.Input[Union['HostServiceArgs', 'HostServiceArgsDict']]]] services: Set Services on host, the settings to be set are based on service being set as part of import.
|
|
1082
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
1086
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
1083
1087
|
refer to the `Tag` resource for more information on applying
|
|
1084
1088
|
tags to resources.
|
|
1085
1089
|
|
|
1086
1090
|
> **NOTE:** Tagging support is not supported on direct ESXi host
|
|
1087
1091
|
connections and require vCenter Server.
|
|
1088
|
-
:param pulumi.Input[str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
|
|
1092
|
+
:param pulumi.Input[builtins.str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
|
|
1089
1093
|
CA that signed the host's certificate should be trusted. If the CA is not
|
|
1090
1094
|
trusted and no thumbprint is set then the operation will fail. See data source
|
|
1091
1095
|
[`get_host_thumbprint`][docs-host-thumbprint-data-source].
|
|
1092
|
-
:param pulumi.Input[str] username: Username that will be used by vSphere to authenticate
|
|
1096
|
+
:param pulumi.Input[builtins.str] username: Username that will be used by vSphere to authenticate
|
|
1093
1097
|
to the host.
|
|
1094
1098
|
"""
|
|
1095
1099
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1115,7 +1119,7 @@ class Host(pulumi.CustomResource):
|
|
|
1115
1119
|
|
|
1116
1120
|
@property
|
|
1117
1121
|
@pulumi.getter
|
|
1118
|
-
def cluster(self) -> pulumi.Output[Optional[str]]:
|
|
1122
|
+
def cluster(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1119
1123
|
"""
|
|
1120
1124
|
The ID of the Compute Cluster this host should
|
|
1121
1125
|
be added to. This should not be set if `datacenter` is set. Conflicts with:
|
|
@@ -1125,7 +1129,7 @@ class Host(pulumi.CustomResource):
|
|
|
1125
1129
|
|
|
1126
1130
|
@property
|
|
1127
1131
|
@pulumi.getter(name="clusterManaged")
|
|
1128
|
-
def cluster_managed(self) -> pulumi.Output[Optional[bool]]:
|
|
1132
|
+
def cluster_managed(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1129
1133
|
"""
|
|
1130
1134
|
Can be set to `true` if compute cluster
|
|
1131
1135
|
membership will be managed through the `compute_cluster` resource rather
|
|
@@ -1135,7 +1139,7 @@ class Host(pulumi.CustomResource):
|
|
|
1135
1139
|
|
|
1136
1140
|
@property
|
|
1137
1141
|
@pulumi.getter
|
|
1138
|
-
def connected(self) -> pulumi.Output[Optional[bool]]:
|
|
1142
|
+
def connected(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1139
1143
|
"""
|
|
1140
1144
|
If set to false then the host will be disconnected.
|
|
1141
1145
|
Default is `false`.
|
|
@@ -1144,7 +1148,7 @@ class Host(pulumi.CustomResource):
|
|
|
1144
1148
|
|
|
1145
1149
|
@property
|
|
1146
1150
|
@pulumi.getter(name="customAttributes")
|
|
1147
|
-
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
1151
|
+
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
1148
1152
|
"""
|
|
1149
1153
|
A map of custom attribute IDs and string
|
|
1150
1154
|
values to apply to the resource. Please refer to the
|
|
@@ -1160,7 +1164,7 @@ class Host(pulumi.CustomResource):
|
|
|
1160
1164
|
|
|
1161
1165
|
@property
|
|
1162
1166
|
@pulumi.getter
|
|
1163
|
-
def datacenter(self) -> pulumi.Output[Optional[str]]:
|
|
1167
|
+
def datacenter(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1164
1168
|
"""
|
|
1165
1169
|
The ID of the datacenter this host should
|
|
1166
1170
|
be added to. This should not be set if `cluster` is set.
|
|
@@ -1169,7 +1173,7 @@ class Host(pulumi.CustomResource):
|
|
|
1169
1173
|
|
|
1170
1174
|
@property
|
|
1171
1175
|
@pulumi.getter
|
|
1172
|
-
def force(self) -> pulumi.Output[Optional[bool]]:
|
|
1176
|
+
def force(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1173
1177
|
"""
|
|
1174
1178
|
If set to `true` then it will force the host to be added,
|
|
1175
1179
|
even if the host is already connected to a different vCenter Server instance.
|
|
@@ -1179,7 +1183,7 @@ class Host(pulumi.CustomResource):
|
|
|
1179
1183
|
|
|
1180
1184
|
@property
|
|
1181
1185
|
@pulumi.getter
|
|
1182
|
-
def hostname(self) -> pulumi.Output[str]:
|
|
1186
|
+
def hostname(self) -> pulumi.Output[builtins.str]:
|
|
1183
1187
|
"""
|
|
1184
1188
|
FQDN or IP address of the host to be added.
|
|
1185
1189
|
"""
|
|
@@ -1187,7 +1191,7 @@ class Host(pulumi.CustomResource):
|
|
|
1187
1191
|
|
|
1188
1192
|
@property
|
|
1189
1193
|
@pulumi.getter
|
|
1190
|
-
def license(self) -> pulumi.Output[Optional[str]]:
|
|
1194
|
+
def license(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1191
1195
|
"""
|
|
1192
1196
|
The license key that will be applied to the host.
|
|
1193
1197
|
The license key is expected to be present in vSphere.
|
|
@@ -1196,7 +1200,7 @@ class Host(pulumi.CustomResource):
|
|
|
1196
1200
|
|
|
1197
1201
|
@property
|
|
1198
1202
|
@pulumi.getter
|
|
1199
|
-
def lockdown(self) -> pulumi.Output[Optional[str]]:
|
|
1203
|
+
def lockdown(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1200
1204
|
"""
|
|
1201
1205
|
Set the lockdown state of the host. Valid options are
|
|
1202
1206
|
`disabled`, `normal`, and `strict`. Default is `disabled`.
|
|
@@ -1205,7 +1209,7 @@ class Host(pulumi.CustomResource):
|
|
|
1205
1209
|
|
|
1206
1210
|
@property
|
|
1207
1211
|
@pulumi.getter
|
|
1208
|
-
def maintenance(self) -> pulumi.Output[Optional[bool]]:
|
|
1212
|
+
def maintenance(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1209
1213
|
"""
|
|
1210
1214
|
Set the management state of the host.
|
|
1211
1215
|
Default is `false`.
|
|
@@ -1214,7 +1218,7 @@ class Host(pulumi.CustomResource):
|
|
|
1214
1218
|
|
|
1215
1219
|
@property
|
|
1216
1220
|
@pulumi.getter
|
|
1217
|
-
def password(self) -> pulumi.Output[str]:
|
|
1221
|
+
def password(self) -> pulumi.Output[builtins.str]:
|
|
1218
1222
|
"""
|
|
1219
1223
|
Password that will be used by vSphere to authenticate
|
|
1220
1224
|
to the host.
|
|
@@ -1231,7 +1235,7 @@ class Host(pulumi.CustomResource):
|
|
|
1231
1235
|
|
|
1232
1236
|
@property
|
|
1233
1237
|
@pulumi.getter
|
|
1234
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1238
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1235
1239
|
"""
|
|
1236
1240
|
The IDs of any tags to attach to this resource. Please
|
|
1237
1241
|
refer to the `Tag` resource for more information on applying
|
|
@@ -1244,7 +1248,7 @@ class Host(pulumi.CustomResource):
|
|
|
1244
1248
|
|
|
1245
1249
|
@property
|
|
1246
1250
|
@pulumi.getter
|
|
1247
|
-
def thumbprint(self) -> pulumi.Output[Optional[str]]:
|
|
1251
|
+
def thumbprint(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1248
1252
|
"""
|
|
1249
1253
|
Host's certificate SHA-1 thumbprint. If not set the
|
|
1250
1254
|
CA that signed the host's certificate should be trusted. If the CA is not
|
|
@@ -1255,7 +1259,7 @@ class Host(pulumi.CustomResource):
|
|
|
1255
1259
|
|
|
1256
1260
|
@property
|
|
1257
1261
|
@pulumi.getter
|
|
1258
|
-
def username(self) -> pulumi.Output[str]:
|
|
1262
|
+
def username(self) -> pulumi.Output[builtins.str]:
|
|
1259
1263
|
"""
|
|
1260
1264
|
Username that will be used by vSphere to authenticate
|
|
1261
1265
|
to the host.
|